@templatical/editor 0.51.0 → 0.52.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/THIRD_PARTY_NOTICES.md +208 -0
- package/dist/{AiAltTextPopover-BZQ95GXL.js → AiAltTextPopover-Cm11CsKH.js} +7 -8
- package/dist/{AiAltTextReview-DoBEudnE.js → AiAltTextReview-DE8t8Rud.js} +8 -9
- package/dist/{AiChatPanel-Bs6sES3b.js → AiChatPanel-7ftS7d40.js} +18 -20
- package/dist/{AiPanels-CfN7A-ZA.js → AiPanels-CxGp6klr.js} +5 -7
- package/dist/{AiRewriteMenu-C3ZfDDYy.js → AiRewriteMenu-DNI-5CUj.js} +21 -22
- package/dist/{BlockIssueBadge-CKwZ1Vgn.js → BlockIssueBadge-6Ri2FfX-.js} +6 -7
- package/dist/{BlockPreviewCanvas-BXNLLLYi.js → BlockPreviewCanvas-Df9iz7sK.js} +10 -11
- package/dist/{CloudHeaderExtras-CsJMEiyN.js → CloudHeaderExtras-CsgyNNV1.js} +3 -4
- package/dist/{CloudPanels-B4F5m7vy.js → CloudPanels-BDV4XQ_l.js} +8 -9
- package/dist/{CollaborationNotices-CNuDp7Y2.js → CollaborationNotices-JQ3vQoqO.js} +4 -5
- package/dist/{CollaboratorBar-BtHPiuHq.js → CollaboratorBar-EeqqWcX6.js} +4 -5
- package/dist/{CommentsPanel-CyCM-BvT.js → CommentsPanel-BuftXc0U.js} +3 -5
- package/dist/{CommentsSidebar-Ca3DyFOX.js → CommentsSidebar-Co3x4uH0.js} +16 -17
- package/dist/{CountdownBlock-DR4Xm2-T.js → CountdownBlock-BT3ZTH1F.js} +5 -6
- package/dist/{CountdownToolbar-CEIMPojJ.js → CountdownToolbar-CrL4WKy9.js} +8 -9
- package/dist/{IssuesPanel-C8nMUccy.js → IssuesPanel-BHFQ3wrP.js} +12 -13
- package/dist/{LoadingTrack-B0RKQWq3.js → LoadingTrack-DZA5AoP9.js} +3 -4
- package/dist/{LogicTagInsertButton-CqfU52CO.js → LogicTagInsertButton-CSD9cfJB.js} +23 -30
- package/dist/{MediaEditModal-DHtkZ4OU.js → MediaEditModal-DQl5w44r.js} +7 -10
- package/dist/{MediaPanels-CGcOB2pR.js → MediaPanels-BFWYuJot.js} +3 -5
- package/dist/{MergeTagInput-YnEkorTZ.js → MergeTagInput-DE7kWwXx.js} +5 -6
- package/dist/{MergeTagModeToggle-Dhb1DAcQ.js → MergeTagModeToggle-DvD0ne7N.js} +7 -8
- package/dist/{MergeTagTextarea-e4lnwtqZ.js → MergeTagTextarea-DVPQkiYY.js} +3 -4
- package/dist/{ParagraphEditor-B6NK0ytw.js → ParagraphEditor-D-nqs82g.js} +55 -58
- package/dist/{RestoreVersionDialog-Bq_IGOLJ.js → RestoreVersionDialog-DqUPsLB9.js} +7 -8
- package/dist/{RichTextEditorContent-AOM6fylS.js → RichTextEditorContent-Xq9D0Zs3.js} +9 -10
- package/dist/{SaveBlockDialog-C8GngfQx.js → SaveBlockDialog-DAPv70p4.js} +13 -14
- package/dist/{SavedBlocksBrowserModal-wnkvxpm_.js → SavedBlocksBrowserModal-SRtN5h9q.js} +17 -18
- package/dist/{SavedBlocksPanels-C2s3q0pJ.js → SavedBlocksPanels-ChbL9v9x.js} +3 -5
- package/dist/{SavedBlocksPickBar-BjcTiV87.js → SavedBlocksPickBar-hRaiLNdu.js} +6 -7
- package/dist/{TemplateSettings-BVBWpiDU.js → TemplateSettings-D0XcH32O.js} +14 -15
- package/dist/{TestEmailModal-SyhO9bn3.js → TestEmailModal-Cb5t0yB2.js} +16 -18
- package/dist/{TestEmailPanel-BDd2Rtav.js → TestEmailPanel-COJQa2A9.js} +3 -5
- package/dist/{TitleEditor-pxD53y_l.js → TitleEditor-BYk_9SpQ.js} +14 -15
- package/dist/{ToggleSwitch-D51U9cmR.js → ToggleSwitch-poGWbduy.js} +2 -3
- package/dist/{Toolbar-CZSPZYbj.js → Toolbar-Dku_pZni.js} +134 -142
- package/dist/{TplModal-DCzBzicE.js → TplModal-9IndEYk5.js} +6 -7
- package/dist/{VersionHistoryMenu-BQeWPT85.js → VersionHistoryMenu-BG5qayvg.js} +12 -13
- package/dist/{VersionHistoryPanels-BBm7YbRQ.js → VersionHistoryPanels-hPg7Q5-f.js} +3 -5
- package/dist/{VersionPreviewBanner-DUGF0tUJ.js → VersionPreviewBanner-CSs7zum_.js} +5 -6
- package/dist/{WrapperBlock-BO619LAb.js → WrapperBlock-DwjK_IdJ.js} +6 -7
- package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
- package/dist/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +3 -5
- package/dist/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +2 -3
- package/dist/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +1 -2
- package/dist/{blockTypeIcons-NzaYvAI4.js → blockTypeIcons-yt7SLzub.js} +3 -4
- package/dist/bundle-stats.json +7 -7
- package/dist/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +1 -2
- package/dist/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +1 -2
- package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js → AiAltTextPopover-DjMoJCgU.js} +7 -8
- package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js.map → AiAltTextPopover-DjMoJCgU.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js → AiAltTextReview-BafAtBoA.js} +8 -9
- package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js.map → AiAltTextReview-BafAtBoA.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js → AiChatPanel-DXeZgc7D.js} +15 -17
- package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js.map → AiChatPanel-DXeZgc7D.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js → AiPanels-B4uAVRoO.js} +5 -7
- package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js.map → AiPanels-B4uAVRoO.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-Bhh71zcc.js → AiRewriteMenu-4F6vwhJ5.js} +21 -22
- package/dist/cdn/chunks/AiRewriteMenu-4F6vwhJ5.js.map +1 -0
- package/dist/cdn/chunks/{BlockIssueBadge-DAn2vsMJ.js → BlockIssueBadge-DIJDqqcY.js} +6 -7
- package/dist/cdn/chunks/{BlockIssueBadge-DAn2vsMJ.js.map → BlockIssueBadge-DIJDqqcY.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js → BlockPreviewCanvas-Ny1X_mee.js} +9 -10
- package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js.map → BlockPreviewCanvas-Ny1X_mee.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js → CloudHeaderExtras-DtMORiLS.js} +4 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js.map → CloudHeaderExtras-DtMORiLS.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js → CloudPanels-BkmLc2Fl.js} +7 -8
- package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js.map → CloudPanels-BkmLc2Fl.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js → CollaborationNotices-Hf8r08Sw.js} +5 -6
- package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js.map → CollaborationNotices-Hf8r08Sw.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js → CollaboratorBar-II8eYtKu.js} +6 -7
- package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js.map → CollaboratorBar-II8eYtKu.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js → CommentsPanel-CAiwilM2.js} +4 -6
- package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js.map → CommentsPanel-CAiwilM2.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js → CommentsSidebar-Dj8sDiLN.js} +18 -19
- package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js.map → CommentsSidebar-Dj8sDiLN.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js → CountdownBlock-Dyr5P0IP.js} +6 -7
- package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js.map → CountdownBlock-Dyr5P0IP.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js → CountdownToolbar-CguFJdqn.js} +9 -10
- package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js.map → CountdownToolbar-CguFJdqn.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js → IssuesPanel-pr7_nuLI.js} +9 -10
- package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js.map → IssuesPanel-pr7_nuLI.js.map} +1 -1
- package/dist/cdn/chunks/LoadingTrack-DfJ_C33G.js +11 -0
- package/dist/cdn/chunks/{LoadingTrack-BIcL4NiY.js.map → LoadingTrack-DfJ_C33G.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js → LogicTagInsertButton-B_ldj3TO.js} +18 -25
- package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js.map → LogicTagInsertButton-B_ldj3TO.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js → MediaEditModal-CGfzcHwP.js} +7 -10
- package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js.map → MediaEditModal-CGfzcHwP.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js → MediaPanels-D0BdxdqP.js} +4 -6
- package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js.map → MediaPanels-D0BdxdqP.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js → MergeTagInput-CFu9VXPS.js} +6 -7
- package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js.map → MergeTagInput-CFu9VXPS.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js → MergeTagModeToggle-BFpK5dxg.js} +7 -8
- package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js.map → MergeTagModeToggle-BFpK5dxg.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js → MergeTagTextarea-Zo0mYWbf.js} +4 -5
- package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js.map → MergeTagTextarea-Zo0mYWbf.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js → ParagraphEditor-DsPLVAgm.js} +35 -38
- package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js.map → ParagraphEditor-DsPLVAgm.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js → RestoreVersionDialog-B866zFP0.js} +9 -10
- package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js.map → RestoreVersionDialog-B866zFP0.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js → RichTextEditorContent-DaY63kye.js} +9 -10
- package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js.map → RichTextEditorContent-DaY63kye.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js → SaveBlockDialog-B7nftAAS.js} +11 -12
- package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js.map → SaveBlockDialog-B7nftAAS.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js → SavedBlocksBrowserModal-B9XCjDfm.js} +13 -14
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js.map → SavedBlocksBrowserModal-B9XCjDfm.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js → SavedBlocksPanels-C3nK90pz.js} +4 -6
- package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js.map → SavedBlocksPanels-C3nK90pz.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js → SavedBlocksPickBar-B166Mek9.js} +7 -8
- package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js.map → SavedBlocksPickBar-B166Mek9.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js → TemplateSettings-jWpmuWDR.js} +13 -14
- package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js.map → TemplateSettings-jWpmuWDR.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js → TestEmailModal-DcwKhFnI.js} +15 -17
- package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js.map → TestEmailModal-DcwKhFnI.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js → TestEmailPanel-BDBAvAfI.js} +4 -6
- package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js.map → TestEmailPanel-BDBAvAfI.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js → TitleEditor-R2lQw6WA.js} +15 -16
- package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js.map → TitleEditor-R2lQw6WA.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js → ToggleSwitch-BDMugNES.js} +3 -4
- package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js.map → ToggleSwitch-BDMugNES.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-DoprRgTn.js → Toolbar-CnvfW72e.js} +156 -164
- package/dist/cdn/chunks/{Toolbar-DoprRgTn.js.map → Toolbar-CnvfW72e.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-BXQzmsJX.js → TplModal-BDyeS69p.js} +6 -7
- package/dist/cdn/chunks/{TplModal-BXQzmsJX.js.map → TplModal-BDyeS69p.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js → VersionHistoryMenu-CmpgUI4Q.js} +13 -14
- package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js.map → VersionHistoryMenu-CmpgUI4Q.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js → VersionHistoryPanels-DB_FZyyg.js} +4 -6
- package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js.map → VersionHistoryPanels-DB_FZyyg.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js → VersionPreviewBanner-CZ--HOoa.js} +6 -7
- package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js.map → VersionPreviewBanner-CZ--HOoa.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js → WrapperBlock-D3obNGab.js} +7 -8
- package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js.map → WrapperBlock-D3obNGab.js.map} +1 -1
- package/dist/cdn/chunks/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
- package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +4 -6
- package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js.map → aiErrors-C3QEMB0x.js.map} +1 -1
- package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +3 -4
- package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js.map → aiImageContext-BQ5mQ6B5.js.map} +1 -1
- package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +2 -3
- package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js.map → aiRewritePreview-DlMyx6Si.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-ikZAmd6U.js → blockTypeIcons-DFf7AyqI.js} +3 -4
- package/dist/cdn/chunks/{blockTypeIcons-ikZAmd6U.js.map → blockTypeIcons-DFf7AyqI.js.map} +1 -1
- package/dist/cdn/chunks/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +2 -3
- package/dist/cdn/chunks/{ca-C7mTzW1r.js.map → ca-CD-Kt1qz.js.map} +1 -1
- package/dist/cdn/chunks/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +2 -3
- package/dist/cdn/chunks/{ca-CYQH3J0b.js.map → ca-Cc6eL0ZS.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js → createCloudRuntime-D6niZ2Rc.js} +27 -46
- package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js.map → createCloudRuntime-D6niZ2Rc.js.map} +1 -1
- package/dist/cdn/chunks/{de-DBOTcDj2.js → de-6M4JoHoD.js} +2 -3
- package/dist/cdn/chunks/{de-DBOTcDj2.js.map → de-6M4JoHoD.js.map} +1 -1
- package/dist/cdn/chunks/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +2 -3
- package/dist/cdn/chunks/{de-DNuYQTmS.js.map → de-CeFJ6wbM.js.map} +1 -1
- package/dist/cdn/chunks/{de-JvCTMJPy.js → de-DtrXVcuY.js} +2 -3
- package/dist/cdn/chunks/{de-JvCTMJPy.js.map → de-DtrXVcuY.js.map} +1 -1
- package/dist/cdn/chunks/{dist-Bo8Thh8v.js → dist-C2epoAwW.js} +3 -4
- package/dist/cdn/chunks/{dist-Bo8Thh8v.js.map → dist-C2epoAwW.js.map} +1 -1
- package/dist/cdn/chunks/{dist-S-rLGqax.js → dist-CONcGNwy.js} +4 -5
- package/dist/cdn/chunks/{dist-S-rLGqax.js.map → dist-CONcGNwy.js.map} +1 -1
- package/dist/cdn/chunks/dompurify-JVtr5-B1.js +872 -0
- package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +1 -0
- package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js → draggable-B8hTTYFO.js} +19 -22
- package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js.map → draggable-B8hTTYFO.js.map} +1 -1
- package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js → editor-modal-cvYkpbHD.js} +66 -81
- package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js.map → editor-modal-cvYkpbHD.js.map} +1 -1
- package/dist/cdn/chunks/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +2 -3
- package/dist/cdn/chunks/{emojiData-6m0DBh7O.js.map → emojiData-CBNuCfum.js.map} +1 -1
- package/dist/cdn/chunks/en-CKAXAo3Z.js +1 -0
- package/dist/cdn/chunks/{en-CW71OK66.js → en-D14i5nFh.js} +2 -3
- package/dist/cdn/chunks/{en-CW71OK66.js.map → en-D14i5nFh.js.map} +1 -1
- package/dist/cdn/chunks/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +2 -3
- package/dist/cdn/chunks/{en-CDhWRrF_.js.map → en-FzUuJ8HW.js.map} +1 -1
- package/dist/cdn/chunks/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +2 -3
- package/dist/cdn/chunks/{es-CAv-Vldw.js.map → es-Dw_h7Oll.js.map} +1 -1
- package/dist/cdn/chunks/{es-DdK7zQfi.js → es-zDacbMhs.js} +2 -3
- package/dist/cdn/chunks/{es-DdK7zQfi.js.map → es-zDacbMhs.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-taJTZlLK.js → extensions-ClDhn88e.js} +12 -17
- package/dist/cdn/chunks/{extensions-taJTZlLK.js.map → extensions-ClDhn88e.js.map} +1 -1
- package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +2 -3
- package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js.map → formatAbsoluteDateTime-Ck2_zXra.js.map} +1 -1
- package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +1 -2
- package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js.map → formatRelativeTime-BTD8Ktt-.js.map} +1 -1
- package/dist/cdn/chunks/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +2 -3
- package/dist/cdn/chunks/{fr-DVPtxpR6.js.map → fr-BJaeKu_8.js.map} +1 -1
- package/dist/cdn/chunks/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +2 -3
- package/dist/cdn/chunks/{fr-Dz5Bgb7-.js.map → fr-CSgYtjOd.js.map} +1 -1
- package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js → htmlparser-hu3YnNQU.js} +6 -11
- package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js.map → htmlparser-hu3YnNQU.js.map} +1 -1
- package/dist/cdn/chunks/{icons-DNX6StSs.js → icons-HCBP93Ch.js} +50 -55
- package/dist/cdn/chunks/{icons-DNX6StSs.js.map → icons-HCBP93Ch.js.map} +1 -1
- package/dist/cdn/chunks/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +2 -3
- package/dist/cdn/chunks/{ja-Di-zJiT8.js.map → ja-B7H3ID8O.js.map} +1 -1
- package/dist/cdn/chunks/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +2 -3
- package/dist/cdn/chunks/{ja-dcWzjStz.js.map → ja-Cu2HdYaK.js.map} +1 -1
- package/dist/cdn/chunks/{keys-BTpmg2Tt.js → keys-BF9gazbd.js} +3 -4
- package/dist/cdn/chunks/{keys-BTpmg2Tt.js.map → keys-BF9gazbd.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-Bbt17cVz.js → liquid.browser-DkLBNrft.js} +705 -687
- package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +1 -0
- package/dist/cdn/chunks/{logger-Tj0RPskW.js → logger-CqQTfJGx.js} +2 -3
- package/dist/cdn/chunks/{logger-Tj0RPskW.js.map → logger-CqQTfJGx.js.map} +1 -1
- package/dist/cdn/chunks/{nl-CvVuHYFL.js → nl-176ySmc5.js} +2 -3
- package/dist/cdn/chunks/{nl-CvVuHYFL.js.map → nl-176ySmc5.js.map} +1 -1
- package/dist/cdn/chunks/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +2 -3
- package/dist/cdn/chunks/{nl-LZNqQgE4.js.map → nl-1Ai2NykB.js.map} +1 -1
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js → normalizeMergeTagMarkup-DpHCSESZ.js} +3 -4
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js.map → normalizeMergeTagMarkup-DpHCSESZ.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js → preRenderCustomBlocks-D-dsBq5t.js} +6 -7
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js.map → preRenderCustomBlocks-D-dsBq5t.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +2 -3
- package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js.map → pt-BR-Bp92Fc6J.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +2 -3
- package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js.map → pt-BR-CIbp__Z7.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +2 -3
- package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js.map → pt-BR-dDlTwX18.js.map} +1 -1
- package/dist/cdn/chunks/{pusher-Cs4GGEtd.js → pusher-x9rNqzon.js} +3 -4
- package/dist/cdn/chunks/{pusher-Cs4GGEtd.js.map → pusher-x9rNqzon.js.map} +1 -1
- package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +2 -3
- package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js.map → readableTextColor-BfZUGnVj.js.map} +1 -1
- package/dist/cdn/chunks/{rolldown-runtime-Y_bBpyJl.js → rolldown-runtime-QGRDbDUS.js} +1 -2
- package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js +72 -0
- package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js.map +1 -0
- package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js → socialIcons-rJoqO1TJ.js} +167 -191
- package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js.map → socialIcons-rJoqO1TJ.js.map} +1 -1
- package/dist/cdn/chunks/{src-Bs_yxk3h.js → src-BKpAis_q.js} +502 -537
- package/dist/cdn/chunks/src-BKpAis_q.js.map +1 -0
- package/dist/cdn/chunks/{src-BNFnxfrA.js → src-C9DTvn1H.js} +207 -171
- package/dist/cdn/chunks/src-C9DTvn1H.js.map +1 -0
- package/dist/cdn/chunks/src-CUH_EI7k.js +647 -0
- package/dist/cdn/chunks/src-CUH_EI7k.js.map +1 -0
- package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +2 -3
- package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js.map → styleConstants-B8xVRiwX.js.map} +1 -1
- package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +2 -3
- package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js.map → templateSettingsFields-cjlP-jdw.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-CtVrAViq.js → tiptap-ChSZybTi.js} +3364 -3240
- package/dist/cdn/chunks/tiptap-ChSZybTi.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js → useCloudI18n-RJXyVnIf.js} +4 -5
- package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js.map → useCloudI18n-RJXyVnIf.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-CCVFi1YZ.js → useEditorCore-CjaEV_01.js} +534 -586
- package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +9 -0
- package/dist/cdn/chunks/{useEditorRoot-CR5GjJD6.js.map → useEditorRoot-BT3c9CXj.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-CbVubQhM.js → useI18n-11iqzC6m.js} +4 -5
- package/dist/cdn/chunks/{useI18n-CbVubQhM.js.map → useI18n-11iqzC6m.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js → useLogicTag-vy5KGg5D.js} +5 -6
- package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js.map → useLogicTag-vy5KGg5D.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js → useMergeTag-BFBBjnwh.js} +5 -6
- package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js.map → useMergeTag-BFBBjnwh.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js → usePopoverPosition-AnVIwiVv.js} +7 -11
- package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js.map → usePopoverPosition-AnVIwiVv.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js → useScrollToBlock-C0dawxGr.js} +5 -7
- package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js.map → useScrollToBlock-C0dawxGr.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js → withCurrentFont-C3CquBQN.js} +3 -4
- package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js.map → withCurrentFont-C3CquBQN.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +389 -378
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-yYsp5Xpk.js → check-N3x4z_rH.js} +1 -2
- package/dist/{chevron-down-DTmD06_j.js → chevron-down-gXu9qNwO.js} +1 -2
- package/dist/{chevron-right-BSeYZOxc.js → chevron-right-rL0ayGk5.js} +1 -2
- package/dist/{chevron-up-BOApwrxi.js → chevron-up-0ugh8HnW.js} +1 -2
- package/dist/{circle-alert-BMszY8im.js → circle-alert-B9Ls75B5.js} +1 -2
- package/dist/{clock-HADxnl6-.js → clock-BqHBaCLm.js} +1 -2
- package/dist/{createCloudRuntime-DVQI_ReU.js → createCloudRuntime-B5VIdnwz.js} +11 -17
- package/dist/{createLucideIcon-0lYYH3EW.js → createLucideIcon-BV7Gwz_Z.js} +6 -11
- package/dist/{de-DBOTcDj2.js → de-6M4JoHoD.js} +1 -2
- package/dist/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +1 -2
- package/dist/{de-JvCTMJPy.js → de-DtrXVcuY.js} +1 -2
- package/dist/{dist-DI4_YSnG.js → dist-BA-jTQgw.js} +3 -4
- package/dist/{dist-BC-ZEYLd.js → dist-BF5zEHop.js} +2 -3
- package/dist/{dist-CyBwSiAa.js → dist-BS5uKktL.js} +2 -3
- package/dist/{dist-C7EtxNCb.js → dist-CEdyyDn7.js} +2 -3
- package/dist/{dist-Cr7RPxI9.js → dist-CWSG7Kj0.js} +478 -461
- package/dist/{dist-DXyGqIDE.js → dist-Cy8I5scI.js} +2 -3
- package/dist/{dist-DtOF3bDW.js → dist-CzrLYq2s.js} +398 -344
- package/dist/{dist-DVNjPKsH.js → dist-D6fZec6r.js} +3 -4
- package/dist/{dist-C_dV9QAx.js → dist-DDN7yR-w.js} +7 -7
- package/dist/{dist-CuLwJF7H.js → dist-Dd5MU2Ev.js} +23 -14
- package/dist/dist-DyFArF_G.js +4 -0
- package/dist/{dist-DBxgrOeo.js → dist-V7W1UhVr.js} +1882 -1792
- package/dist/{dist-DPcf6XZ8.js → dist-p3wymUDt.js} +2 -3
- package/dist/dist-pA3ooG6N.js +4 -0
- package/dist/{dist-3HpYixwF.js → dist-txQLT2sF.js} +173 -161
- package/dist/{editor-modal-Bzhl-PgI.js → editor-modal-Du9VI9q4.js} +203 -218
- package/dist/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +1 -2
- package/dist/en-CyEE7FPY.js +1 -0
- package/dist/{en-CW71OK66.js → en-D14i5nFh.js} +1 -2
- package/dist/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +1 -2
- package/dist/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +1 -2
- package/dist/{es-DdK7zQfi.js → es-zDacbMhs.js} +1 -2
- package/dist/{extensions-CdyweA50.js → extensions-FRYhx7qa.js} +59 -68
- package/dist/{eye-DWkSvYpj.js → eye-BKj9Tfnc.js} +1 -2
- package/dist/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +1 -2
- package/dist/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +0 -1
- package/dist/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +1 -2
- package/dist/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +1 -2
- package/dist/{image-DesWjcZ4.js → image-DNdvdTla.js} +1 -2
- package/dist/index.d.ts +6 -6
- package/dist/{info-ClWJGoZy.js → info-Bx-kBkbH.js} +1 -2
- package/dist/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +1 -2
- package/dist/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +1 -2
- package/dist/{keys-Zd9KWRD1.js → keys-DBjrQkYH.js} +2 -3
- package/dist/{link-BqRicFTA.js → link-D8-rYdIQ.js} +1 -2
- package/dist/{liquid.browser-Ct2-EezB.js → liquid.browser-D1RxawkY.js} +704 -686
- package/dist/{list-bojQr9bn.js → list-BneisA27.js} +1 -2
- package/dist/{loader-circle-B2B8LbUu.js → loader-circle-DBEXphyx.js} +1 -2
- package/dist/{logger-k9Nbj3Cp.js → logger-BOu7oEtk.js} +1 -2
- package/dist/{message-circle-BEuiNsyZ.js → message-circle-Bg4xInCM.js} +1 -2
- package/dist/{nl-CvVuHYFL.js → nl-176ySmc5.js} +1 -2
- package/dist/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +1 -2
- package/dist/{normalizeMergeTagMarkup-P6SUBuPv.js → normalizeMergeTagMarkup-IH8COHzd.js} +30 -31
- package/dist/{package-DCROB4aM.js → package-B40Vkfsp.js} +1 -2
- package/dist/{pencil-CEotCKbf.js → pencil-CYdAHTds.js} +1 -2
- package/dist/{preRenderCustomBlocks-D8rr61_z.js → preRenderCustomBlocks-AbZArwkR.js} +4 -5
- package/dist/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +1 -2
- package/dist/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +1 -2
- package/dist/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +1 -2
- package/dist/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +1 -2
- package/dist/{refresh-cw-C6M2mHNC.js → refresh-cw-Bb1FWrU0.js} +1 -2
- package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
- package/dist/{runtime-dom.esm-bundler-B8WCZWUm.js → runtime-dom.esm-bundler-CLGymEyk.js} +7 -8
- package/dist/sanitizeHtml-CnOA1efV.js +942 -0
- package/dist/{search-Cy99zPYf.js → search-BZEo08gi.js} +1 -2
- package/dist/{send-BDLJFsf3.js → send-DHtrnXQs.js} +1 -2
- package/dist/{smartphone-CVvQaNA4.js → smartphone-dlN3vpA3.js} +1 -2
- package/dist/{socialIcons-Dd-jRiVe.js → socialIcons-B_d52_eS.js} +256 -267
- package/dist/{sparkles-Ce0Qz0ox.js → sparkles-NOttoDnJ.js} +1 -2
- package/dist/{square-BWlolnXe.js → square-B1CJgdt2.js} +1 -2
- package/dist/style.css +1 -1
- package/dist/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +1 -2
- package/dist/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +1 -2
- package/dist/templatical-editor.js +413 -401
- package/dist/{text-align-start-D1V5gPTy.js → text-align-start-zpoXmb-Z.js} +1 -2
- package/dist/{trash-CZfiUFmw.js → trash-CGbk4Sgt.js} +1 -2
- package/dist/{triangle-alert-CFDzyFC7.js → triangle-alert-CKLMyGVp.js} +1 -2
- package/dist/{upload-BJfvdIrD.js → upload-DQoackAn.js} +1 -2
- package/dist/{useCloudI18n-Dcjua65H.js → useCloudI18n-DcLtxOQZ.js} +3 -4
- package/dist/{useEditorCore-BTLeAVlM.js → useEditorCore-DG9UvWUm.js} +931 -984
- package/dist/useEditorRoot-BKr6nNkC.js +7 -0
- package/dist/{useI18n-BdoY7xDE.js → useI18n-CeTm777E.js} +3 -4
- package/dist/{useLogicTag-DKLZ1T9H.js → useLogicTag-DFDYJeMN.js} +4 -5
- package/dist/{useMergeTag-Bhdx7AKk.js → useMergeTag-B46vACAG.js} +4 -5
- package/dist/{usePopoverPosition-BZea45XK.js → usePopoverPosition-C42kD7zt.js} +6 -10
- package/dist/{useScrollToBlock-FmNMALM_.js → useScrollToBlock-C-NzvjeO.js} +4 -6
- package/dist/{vue.runtime.esm-bundler-DgFJ6GPG.js → vue.runtime.esm-bundler-CrlI8j5R.js} +14 -18
- package/dist/{withCurrentFont-BATJHNve.js → withCurrentFont-v_a4Oso8.js} +2 -3
- package/dist/{x-CZ0Js0hA.js → x-zcrnmcmU.js} +1 -2
- package/package.json +24 -22
- package/dist/AiHeaderMenu-BEaTazx4.js +0 -36
- package/dist/cdn/chunks/AiHeaderMenu-oldAAFyL.js +0 -37
- package/dist/cdn/chunks/AiHeaderMenu-oldAAFyL.js.map +0 -1
- package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +0 -1
- package/dist/cdn/chunks/LoadingTrack-BIcL4NiY.js +0 -12
- package/dist/cdn/chunks/en-ifvu6oPv.js +0 -1
- package/dist/cdn/chunks/liquid.browser-Bbt17cVz.js.map +0 -1
- package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +0 -62
- package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +0 -1
- package/dist/cdn/chunks/src-BNFnxfrA.js.map +0 -1
- package/dist/cdn/chunks/src-Bs_yxk3h.js.map +0 -1
- package/dist/cdn/chunks/src-K6fw_35b.js +0 -649
- package/dist/cdn/chunks/src-K6fw_35b.js.map +0 -1
- package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +0 -10
- package/dist/dist-BPFcLKTw.js +0 -5
- package/dist/dist-D7Yj7E-F.js +0 -5
- package/dist/en-DwV15ltA.js +0 -1
- package/dist/sanitizeRichTextHtml-DeISfLFr.js +0 -60
- package/dist/useEditorRoot-DUy67lJu.js +0 -8
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { n as e } from "./rolldown-runtime-
|
|
2
|
-
import { $ as t, C as n, D as r, I as i, L as a, P as o, S as s, U as c, V as l, W as u, X as d, Z as f, _ as p, b as m, dt as h, g, h as _, lt as v, m as y, o as b, ot as x, p as S, s as C, u as w, ut as T, x as E, z as D } from "./draggable-
|
|
3
|
-
import {
|
|
4
|
-
import { N as
|
|
5
|
-
import { _ as be } from "./dist-
|
|
6
|
-
import { $ as xe, C as Se, L as Ce, P as we, W as Te, d as Ee, g as De, h as Oe, n as ke, p as Ae, v as je, x as Me } from "./keys-
|
|
7
|
-
import { t as B } from "./useI18n-
|
|
8
|
-
import { o as Ne } from "./usePopoverPosition-
|
|
9
|
-
import { $ as Pe, At as Fe, H as V,
|
|
10
|
-
import { t as $e } from "./_plugin-vue_export-helper-
|
|
11
|
-
import { _ as et, b as tt, c as nt, g as H, h as U, m as W, p as G, r as rt, v as it } from "./styleConstants-
|
|
12
|
-
import { t as at } from "./blockTypeIcons-
|
|
13
|
-
import { c as K } from "./LogicTagInsertButton-
|
|
14
|
-
import { t as ot } from "./MergeTagTextarea-
|
|
15
|
-
import { t as q } from "./ToggleSwitch-
|
|
16
|
-
import { n as st, t as ct } from "./withCurrentFont-
|
|
17
|
-
import { t as J } from "./MergeTagInput-
|
|
18
|
-
|
|
1
|
+
import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
|
|
2
|
+
import { $ as t, C as n, D as r, I as i, L as a, P as o, S as s, U as c, V as l, W as u, X as d, Z as f, _ as p, b as m, dt as h, g, h as _, lt as v, m as y, o as b, ot as x, p as S, s as C, u as w, ut as T, x as E, z as D } from "./draggable-B8hTTYFO.js";
|
|
3
|
+
import { Et as O, Ft as k, Ht as A, It as j, Jt as M, Lt as N, Pt as P, Rt as ee, Vt as F, Wt as te, Yt as ne, Z as I, j as re, n as ie, ot as ae, r as L } from "./src-C9DTvn1H.js";
|
|
4
|
+
import { N as oe, _ as se, c as ce, d as le, f as ue, g as de, h as fe, i as pe, l as me, m as he, o as ge, p as _e, r as R, u as ve, w as ye, y as z } from "./socialIcons-rJoqO1TJ.js";
|
|
5
|
+
import { _ as be } from "./dist-C2epoAwW.js";
|
|
6
|
+
import { $ as xe, C as Se, L as Ce, P as we, W as Te, d as Ee, g as De, h as Oe, n as ke, p as Ae, v as je, x as Me } from "./keys-BF9gazbd.js";
|
|
7
|
+
import { t as B } from "./useI18n-11iqzC6m.js";
|
|
8
|
+
import { o as Ne } from "./usePopoverPosition-AnVIwiVv.js";
|
|
9
|
+
import { $ as Pe, At as Fe, H as V, Lt as Ie, O as Le, Ot as Re, Pt as ze, R as Be, _ as Ve, c as He, et as Ue, f as We, h as Ge, ht as Ke, it as qe, lt as Je, mt as Ye, rt as Xe, t as Ze, v as Qe } from "./icons-HCBP93Ch.js";
|
|
10
|
+
import { t as $e } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
11
|
+
import { _ as et, b as tt, c as nt, g as H, h as U, m as W, p as G, r as rt, v as it } from "./styleConstants-B8xVRiwX.js";
|
|
12
|
+
import { t as at } from "./blockTypeIcons-DFf7AyqI.js";
|
|
13
|
+
import { c as K } from "./LogicTagInsertButton-B_ldj3TO.js";
|
|
14
|
+
import { t as ot } from "./MergeTagTextarea-Zo0mYWbf.js";
|
|
15
|
+
import { t as q } from "./ToggleSwitch-BDMugNES.js";
|
|
16
|
+
import { n as st, t as ct } from "./withCurrentFont-C3CquBQN.js";
|
|
17
|
+
import { t as J } from "./MergeTagInput-CFu9VXPS.js";
|
|
18
|
+
// src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
|
|
19
19
|
var lt = [
|
|
20
20
|
"aria-checked",
|
|
21
21
|
"aria-label",
|
|
@@ -156,7 +156,7 @@ var lt = [
|
|
|
156
156
|
}
|
|
157
157
|
let u = S(() => {
|
|
158
158
|
let e = r.modelValue;
|
|
159
|
-
return !e ||
|
|
159
|
+
return !e || A.every((t) => c(e[t], e.top));
|
|
160
160
|
}), d = t(u.value);
|
|
161
161
|
l(u, (e) => {
|
|
162
162
|
!e && d.value && (d.value = !1);
|
|
@@ -164,13 +164,13 @@ var lt = [
|
|
|
164
164
|
let f = t("top"), m = S(() => r.modelValue?.[d.value ? "top" : f.value] ?? s), _ = (e) => !!e && e.width > 0;
|
|
165
165
|
function b(e) {
|
|
166
166
|
if (d.value) {
|
|
167
|
-
i("update:modelValue", _(e) ?
|
|
167
|
+
i("update:modelValue", _(e) ? ne(e) : void 0);
|
|
168
168
|
return;
|
|
169
169
|
}
|
|
170
170
|
let t = {
|
|
171
|
-
...r.modelValue ??
|
|
171
|
+
...r.modelValue ?? ne(s),
|
|
172
172
|
[f.value]: e
|
|
173
|
-
}, n =
|
|
173
|
+
}, n = A.some((e) => _(t[e]));
|
|
174
174
|
i("update:modelValue", n ? t : void 0);
|
|
175
175
|
}
|
|
176
176
|
function C(e) {
|
|
@@ -193,10 +193,10 @@ var lt = [
|
|
|
193
193
|
d.value = !0;
|
|
194
194
|
let e = r.modelValue;
|
|
195
195
|
if (!e) return;
|
|
196
|
-
let t = _(e[f.value]) ? e[f.value] :
|
|
197
|
-
i("update:modelValue", t ?
|
|
196
|
+
let t = _(e[f.value]) ? e[f.value] : A.map((t) => e[t]).find(_);
|
|
197
|
+
i("update:modelValue", t ? ne(t) : void 0);
|
|
198
198
|
}
|
|
199
|
-
let O = S(() =>
|
|
199
|
+
let O = S(() => A.map((e) => ({
|
|
200
200
|
value: e,
|
|
201
201
|
label: a.spacingControl[e]
|
|
202
202
|
})));
|
|
@@ -279,7 +279,7 @@ var lt = [
|
|
|
279
279
|
bottomRight: e,
|
|
280
280
|
bottomLeft: e
|
|
281
281
|
} : e;
|
|
282
|
-
}), f = S(() =>
|
|
282
|
+
}), f = S(() => F.every((e) => d.value[e] === d.value.topLeft)), m = t(f.value);
|
|
283
283
|
l(f, (e) => {
|
|
284
284
|
!e && m.value && (m.value = !1);
|
|
285
285
|
});
|
|
@@ -626,19 +626,18 @@ var lt = [
|
|
|
626
626
|
])]));
|
|
627
627
|
}
|
|
628
628
|
}), [["__scopeId", "data-v-69591c1e"]]);
|
|
629
|
-
|
|
630
|
-
//#region src/composables/useNaturalImageSize.ts
|
|
629
|
+
// src/composables/useNaturalImageSize.ts
|
|
631
630
|
function yn(e) {
|
|
632
631
|
let n = t(null), r = () => {};
|
|
633
632
|
return l(e, (e) => {
|
|
634
|
-
r(), n.value = null, e && (r =
|
|
633
|
+
r(), n.value = null, e && (r = ue(e, (e) => {
|
|
635
634
|
n.value = e;
|
|
636
635
|
}));
|
|
637
636
|
}, { immediate: !0 }), n;
|
|
638
637
|
}
|
|
639
638
|
function bn() {
|
|
640
639
|
let e = r(Me, null);
|
|
641
|
-
return async (t) =>
|
|
640
|
+
return async (t) => _e(e ? await xn(e, t) : t);
|
|
642
641
|
}
|
|
643
642
|
function xn(e, t) {
|
|
644
643
|
let n = (e) => typeof e == "string" && e.length > 0 ? e : t;
|
|
@@ -650,8 +649,7 @@ function xn(e, t) {
|
|
|
650
649
|
});
|
|
651
650
|
}) : Promise.resolve(n(r));
|
|
652
651
|
}
|
|
653
|
-
|
|
654
|
-
//#region src/components/toolbar/BackgroundImageControl.vue?vue&type=script&setup=true&lang.ts
|
|
652
|
+
// src/components/toolbar/BackgroundImageControl.vue?vue&type=script&setup=true&lang.ts
|
|
655
653
|
var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"], Tn = ["data-testid"], En = ["aria-label", "data-testid"], Dn = [
|
|
656
654
|
"aria-label",
|
|
657
655
|
"title",
|
|
@@ -668,14 +666,14 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
668
666
|
},
|
|
669
667
|
emits: ["update:modelValue"],
|
|
670
668
|
setup(e, { emit: n }) {
|
|
671
|
-
let a = e, s = n, { t: c } = B(), l = r(we,
|
|
669
|
+
let a = e, s = n, { t: c } = B(), l = r(we, ie.liquid), u = S(() => typeof a.modelValue?.url == "string" ? a.modelValue.url : ""), f = S(() => u.value.trim() !== ""), b = bn(), C;
|
|
672
670
|
d(() => clearTimeout(C));
|
|
673
671
|
function T(e) {
|
|
674
672
|
a.measure && !L(e, l) && (C = setTimeout(async () => {
|
|
675
673
|
let t = await b(e), n = a.modelValue;
|
|
676
674
|
t && n?.url === e && s("update:modelValue", {
|
|
677
675
|
...n,
|
|
678
|
-
...
|
|
676
|
+
...he(t)
|
|
679
677
|
});
|
|
680
678
|
}, 300));
|
|
681
679
|
}
|
|
@@ -688,7 +686,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
688
686
|
s("update:modelValue", {
|
|
689
687
|
...i,
|
|
690
688
|
url: e,
|
|
691
|
-
...o ?
|
|
689
|
+
...o ? he(o) : {}
|
|
692
690
|
}), o || T(e);
|
|
693
691
|
}
|
|
694
692
|
function O(e) {
|
|
@@ -720,28 +718,28 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
720
718
|
"bottom-left": c.blockSettings.backgroundPositionBottomLeft,
|
|
721
719
|
"bottom-center": c.blockSettings.backgroundPositionBottomCenter,
|
|
722
720
|
"bottom-right": c.blockSettings.backgroundPositionBottomRight
|
|
723
|
-
})),
|
|
721
|
+
})), M = S(() => N.flatMap((e) => j.map((t) => ({
|
|
724
722
|
x: t,
|
|
725
723
|
y: e,
|
|
726
724
|
label: A.value[`${e}-${t}`]
|
|
727
725
|
}))));
|
|
728
|
-
function
|
|
726
|
+
function P(e) {
|
|
729
727
|
return a.modelValue?.position?.x === e.x && a.modelValue?.position?.y === e.y;
|
|
730
728
|
}
|
|
731
|
-
let
|
|
732
|
-
target:
|
|
729
|
+
let F = t(), { canBrowse: te, isUploading: ne, showOverlay: I, openMediaBrowser: re } = me({
|
|
730
|
+
target: F,
|
|
733
731
|
blocked: () => L(u.value, l),
|
|
734
|
-
apply: (e) => D(e.url,
|
|
732
|
+
apply: (e) => D(e.url, de(e.width, e.height))
|
|
735
733
|
});
|
|
736
734
|
return (t, n) => (o(), p("div", Sn, [y("div", null, [y("label", { class: v(x(H)) }, h(x(c).blockSettings.backgroundImage), 3), y("div", {
|
|
737
735
|
ref_key: "dropZoneRef",
|
|
738
|
-
ref:
|
|
736
|
+
ref: F,
|
|
739
737
|
class: "tpl:relative",
|
|
740
738
|
"data-testid": `${e.testidPrefix}-bg-url`
|
|
741
739
|
}, [
|
|
742
|
-
x(
|
|
740
|
+
x(I) ? (o(), _(le, {
|
|
743
741
|
key: 0,
|
|
744
|
-
uploading: x(
|
|
742
|
+
uploading: x(ne)
|
|
745
743
|
}, null, 8, ["uploading"])) : g("", !0),
|
|
746
744
|
E(J, {
|
|
747
745
|
"model-value": u.value,
|
|
@@ -759,7 +757,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
759
757
|
color: "var(--tpl-primary)",
|
|
760
758
|
"background-color": "var(--tpl-bg)"
|
|
761
759
|
},
|
|
762
|
-
onClick: n[0] ||= (...e) => x(
|
|
760
|
+
onClick: n[0] ||= (...e) => x(re) && x(re)(...e)
|
|
763
761
|
}, [E(x(Ke), {
|
|
764
762
|
size: 14,
|
|
765
763
|
"stroke-width": 1.5
|
|
@@ -778,19 +776,19 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
778
776
|
"aria-label": x(c).blockSettings.backgroundPosition,
|
|
779
777
|
"data-testid": `${e.testidPrefix}-bg-position`,
|
|
780
778
|
class: "tpl:grid tpl:w-24 tpl:grid-cols-3 tpl:gap-1"
|
|
781
|
-
}, [(o(!0), p(w, null, i(
|
|
779
|
+
}, [(o(!0), p(w, null, i(M.value, (t) => (o(), p("button", {
|
|
782
780
|
key: `${t.y}-${t.x}`,
|
|
783
781
|
type: "button",
|
|
784
782
|
"aria-label": t.label,
|
|
785
783
|
title: t.label,
|
|
786
|
-
"aria-pressed":
|
|
784
|
+
"aria-pressed": P(t),
|
|
787
785
|
"data-testid": `${e.testidPrefix}-bg-position-${t.y}-${t.x}`,
|
|
788
|
-
class: v(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors",
|
|
786
|
+
class: v(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", P(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
|
|
789
787
|
onClick: (e) => O({ position: {
|
|
790
788
|
x: t.x,
|
|
791
789
|
y: t.y
|
|
792
790
|
} })
|
|
793
|
-
}, [y("span", { class: v(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full",
|
|
791
|
+
}, [y("span", { class: v(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", P(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, Dn))), 128))], 8, En)]),
|
|
794
792
|
e.heroMode ? g("", !0) : (o(), p("div", {
|
|
795
793
|
key: 1,
|
|
796
794
|
"data-testid": `${e.testidPrefix}-bg-repeat`
|
|
@@ -817,7 +815,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
817
815
|
"data-testid": e.headerTestId,
|
|
818
816
|
class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
|
|
819
817
|
onClick: n[0] ||= (e) => t.$emit("toggle")
|
|
820
|
-
}, [E(x(
|
|
818
|
+
}, [E(x(Ie), {
|
|
821
819
|
class: v(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
|
|
822
820
|
size: 12,
|
|
823
821
|
"stroke-width": 2
|
|
@@ -848,7 +846,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
848
846
|
function n(e) {
|
|
849
847
|
return typeof e == "number" && Number.isFinite(e) && e >= 1;
|
|
850
848
|
}
|
|
851
|
-
let i = e, a = t, { t: s } = B(), c = r(we,
|
|
849
|
+
let i = e, a = t, { t: s } = B(), c = r(we, ie.liquid), l = r(De, null), u = r(Se, void 0), d = bn(), f = S(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), m = S(() => f.value.trim() !== ""), b = S(() => L(f.value, c)), C = S(() => i.section.hero), w = S(() => i.section.columns === "1"), T = S(() => C.value ? n(C.value.height) ? "fixed" : "image" : "fit"), D = S(() => n(C.value?.height) ? C.value.height : zn), O = S(() => [
|
|
852
850
|
{
|
|
853
851
|
value: "fit",
|
|
854
852
|
label: s.blockSettings.heroHeightFit
|
|
@@ -875,9 +873,9 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
875
873
|
value: "bottom",
|
|
876
874
|
label: s.blockSettings.heroAlignBottom
|
|
877
875
|
}
|
|
878
|
-
]), A = S(() => T.value === "image" && m.value && !b.value &&
|
|
876
|
+
]), A = S(() => T.value === "image" && m.value && !b.value && P(i.section.backgroundImage) === null);
|
|
879
877
|
function j() {
|
|
880
|
-
return (l ?
|
|
878
|
+
return (l ? ge(l.content.value, i.section.id, u) : null) ?? ce(l?.state.content.settings);
|
|
881
879
|
}
|
|
882
880
|
function M(e) {
|
|
883
881
|
let t = C.value?.verticalAlign ?? "middle";
|
|
@@ -885,7 +883,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
885
883
|
T.value !== "image" && a("update", { hero: {
|
|
886
884
|
height: "image",
|
|
887
885
|
verticalAlign: t
|
|
888
|
-
} }),
|
|
886
|
+
} }), N();
|
|
889
887
|
return;
|
|
890
888
|
}
|
|
891
889
|
if (e === T.value) return;
|
|
@@ -893,28 +891,28 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
893
891
|
a("update", { hero: void 0 });
|
|
894
892
|
return;
|
|
895
893
|
}
|
|
896
|
-
let n =
|
|
894
|
+
let n = P(i.section.backgroundImage), r = n === null ? zn : Math.round(j() * n);
|
|
897
895
|
a("update", { hero: {
|
|
898
896
|
height: r,
|
|
899
897
|
verticalAlign: t
|
|
900
898
|
} });
|
|
901
899
|
}
|
|
902
|
-
async function
|
|
900
|
+
async function N() {
|
|
903
901
|
let e = i.section.backgroundImage;
|
|
904
|
-
if (!e || !m.value || b.value ||
|
|
902
|
+
if (!e || !m.value || b.value || P(e) !== null) return;
|
|
905
903
|
let t = e.url, n = await d(t), r = i.section.backgroundImage;
|
|
906
904
|
n && r && r.url === t && a("update", { backgroundImage: {
|
|
907
905
|
...r,
|
|
908
|
-
...
|
|
906
|
+
...he(n)
|
|
909
907
|
} });
|
|
910
908
|
}
|
|
911
|
-
function
|
|
909
|
+
function ee(e) {
|
|
912
910
|
!C.value || !Number.isFinite(e) || e < 1 || a("update", { hero: {
|
|
913
911
|
...C.value,
|
|
914
912
|
height: Math.round(e)
|
|
915
913
|
} });
|
|
916
914
|
}
|
|
917
|
-
function
|
|
915
|
+
function F(e) {
|
|
918
916
|
C.value && a("update", { hero: {
|
|
919
917
|
...C.value,
|
|
920
918
|
verticalAlign: e
|
|
@@ -936,12 +934,12 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
936
934
|
min: 1,
|
|
937
935
|
suffix: "px",
|
|
938
936
|
testid: "section-hero-height-px",
|
|
939
|
-
"onUpdate:modelValue":
|
|
937
|
+
"onUpdate:modelValue": ee
|
|
940
938
|
}, null, 8, ["model-value"])) : g("", !0),
|
|
941
939
|
C.value ? (o(), p("div", Rn, [y("label", { class: v(x(H)) }, h(x(s).blockSettings.heroAlign), 3), E(Y, {
|
|
942
940
|
options: k.value,
|
|
943
941
|
"model-value": C.value.verticalAlign,
|
|
944
|
-
"onUpdate:modelValue":
|
|
942
|
+
"onUpdate:modelValue": F
|
|
945
943
|
}, null, 8, ["options", "model-value"])])) : g("", !0)
|
|
946
944
|
])) : g("", !0);
|
|
947
945
|
}
|
|
@@ -965,19 +963,19 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
965
963
|
},
|
|
966
964
|
emits: ["update"],
|
|
967
965
|
setup(e, { emit: n }) {
|
|
968
|
-
let a = e, s = n, { t: d } = B(), C = r(Oe, []), T = r(ke, !1),
|
|
966
|
+
let a = e, s = n, { t: d } = B(), C = r(Oe, []), T = r(ke, !1), O = f(/* @__PURE__ */ new Set()), A = t(!1), j = t(""), M = t(""), N = [{
|
|
969
967
|
key: "desktop",
|
|
970
968
|
icon: Pe,
|
|
971
969
|
labelKey: "showOnDesktop"
|
|
972
970
|
}, {
|
|
973
971
|
key: "mobile",
|
|
974
|
-
icon:
|
|
972
|
+
icon: Le,
|
|
975
973
|
labelKey: "showOnMobile"
|
|
976
974
|
}];
|
|
977
|
-
function
|
|
978
|
-
|
|
975
|
+
function P(e) {
|
|
976
|
+
O.has(e) ? O.delete(e) : O.add(e);
|
|
979
977
|
}
|
|
980
|
-
let
|
|
978
|
+
let ee = S(() => C.length > 0 || T), F = S(() => a.block.displayCondition ? !C.some((e) => e.label === a.block.displayCondition?.label) : !1);
|
|
981
979
|
function te() {
|
|
982
980
|
A.value = !0, F.value && a.block.displayCondition ? (j.value = a.block.displayCondition.before, M.value = a.block.displayCondition.after ?? "") : (j.value = "", M.value = "");
|
|
983
981
|
}
|
|
@@ -998,34 +996,34 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
998
996
|
e[n] || (e[n] = []), e[n].push(t);
|
|
999
997
|
}
|
|
1000
998
|
return e;
|
|
1001
|
-
}),
|
|
1002
|
-
function
|
|
999
|
+
}), re = S(() => a.block.type === "section" && k(a.block)?.applied === !0);
|
|
1000
|
+
function ie(e, t) {
|
|
1003
1001
|
s("update", { styles: {
|
|
1004
1002
|
...a.block.styles,
|
|
1005
1003
|
[e]: t
|
|
1006
1004
|
} });
|
|
1007
1005
|
}
|
|
1008
|
-
function
|
|
1006
|
+
function ae(e) {
|
|
1009
1007
|
return a.block.visibility?.[e] !== !1;
|
|
1010
1008
|
}
|
|
1011
|
-
function
|
|
1009
|
+
function L(e) {
|
|
1012
1010
|
let t = {
|
|
1013
|
-
desktop:
|
|
1014
|
-
mobile:
|
|
1011
|
+
desktop: ae("desktop"),
|
|
1012
|
+
mobile: ae("mobile")
|
|
1015
1013
|
};
|
|
1016
1014
|
t[e] = !t[e], s("update", { visibility: t });
|
|
1017
1015
|
}
|
|
1018
1016
|
return (t, n) => (o(), p("div", { class: v(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
|
|
1019
1017
|
E(Mn, {
|
|
1020
1018
|
title: x(d).blockSettings.spacing,
|
|
1021
|
-
open:
|
|
1019
|
+
open: O.has("spacing"),
|
|
1022
1020
|
"no-border": e.isFirstSection,
|
|
1023
|
-
onToggle: n[1] ||= (e) =>
|
|
1021
|
+
onToggle: n[1] ||= (e) => P("spacing")
|
|
1024
1022
|
}, {
|
|
1025
1023
|
default: c(() => [E(vn, {
|
|
1026
1024
|
label: x(d).blockSettings.padding,
|
|
1027
1025
|
"model-value": e.block.styles.padding,
|
|
1028
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
1026
|
+
"onUpdate:modelValue": n[0] ||= (e) => ie("padding", e)
|
|
1029
1027
|
}, null, 8, ["label", "model-value"])]),
|
|
1030
1028
|
_: 1
|
|
1031
1029
|
}, 8, [
|
|
@@ -1035,16 +1033,16 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
1035
1033
|
]),
|
|
1036
1034
|
E(Mn, {
|
|
1037
1035
|
title: x(d).blockSettings.background,
|
|
1038
|
-
open:
|
|
1036
|
+
open: O.has("bg"),
|
|
1039
1037
|
"header-test-id": "block-settings-background",
|
|
1040
|
-
onToggle: n[5] ||= (e) =>
|
|
1038
|
+
onToggle: n[5] ||= (e) => P("bg")
|
|
1041
1039
|
}, {
|
|
1042
1040
|
default: c(() => [
|
|
1043
1041
|
y("label", { class: v(x(H)) }, h(x(d).blockSettings.color), 3),
|
|
1044
1042
|
E(K, {
|
|
1045
1043
|
"model-value": e.block.styles.backgroundColor ?? "",
|
|
1046
1044
|
"allow-transparent": "",
|
|
1047
|
-
"onUpdate:modelValue": n[2] ||= (e) =>
|
|
1045
|
+
"onUpdate:modelValue": n[2] ||= (e) => ie("backgroundColor", e)
|
|
1048
1046
|
}, null, 8, ["model-value"]),
|
|
1049
1047
|
e.block.type === "section" ? (o(), _(kn, {
|
|
1050
1048
|
key: 0,
|
|
@@ -1052,7 +1050,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
1052
1050
|
"model-value": e.block.backgroundImage,
|
|
1053
1051
|
"testid-prefix": "section",
|
|
1054
1052
|
measure: "",
|
|
1055
|
-
"hero-mode":
|
|
1053
|
+
"hero-mode": re.value,
|
|
1056
1054
|
"onUpdate:modelValue": n[3] ||= (e) => s("update", { backgroundImage: e })
|
|
1057
1055
|
}, null, 8, ["model-value", "hero-mode"])) : g("", !0),
|
|
1058
1056
|
e.block.type === "section" ? (o(), _(Bn, {
|
|
@@ -1065,15 +1063,15 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
1065
1063
|
}, 8, ["title", "open"]),
|
|
1066
1064
|
E(Mn, {
|
|
1067
1065
|
title: x(d).blockSettings.display,
|
|
1068
|
-
open:
|
|
1069
|
-
onToggle: n[6] ||= (e) =>
|
|
1066
|
+
open: O.has("display"),
|
|
1067
|
+
onToggle: n[6] ||= (e) => P("display")
|
|
1070
1068
|
}, {
|
|
1071
|
-
default: c(() => [y("div", Vn, [(o(), p(w, null, i(
|
|
1069
|
+
default: c(() => [y("div", Vn, [(o(), p(w, null, i(N, (e) => E(q, {
|
|
1072
1070
|
key: e.key,
|
|
1073
1071
|
class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
|
|
1074
|
-
"model-value":
|
|
1072
|
+
"model-value": ae(e.key),
|
|
1075
1073
|
label: x(d).blockSettings[e.labelKey],
|
|
1076
|
-
"onUpdate:modelValue": (t) =>
|
|
1074
|
+
"onUpdate:modelValue": (t) => L(e.key)
|
|
1077
1075
|
}, {
|
|
1078
1076
|
default: c(() => [y("span", Hn, [(o(), _(D(e.icon), {
|
|
1079
1077
|
size: 14,
|
|
@@ -1087,12 +1085,12 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
1087
1085
|
])), 64))])]),
|
|
1088
1086
|
_: 1
|
|
1089
1087
|
}, 8, ["title", "open"]),
|
|
1090
|
-
|
|
1088
|
+
ee.value ? (o(), _(Mn, {
|
|
1091
1089
|
key: 0,
|
|
1092
1090
|
"header-test-id": "display-condition-section",
|
|
1093
1091
|
title: x(d).blockSettings.displayCondition,
|
|
1094
|
-
open:
|
|
1095
|
-
onToggle: n[10] ||= (e) =>
|
|
1092
|
+
open: O.has("condition"),
|
|
1093
|
+
onToggle: n[10] ||= (e) => P("condition")
|
|
1096
1094
|
}, {
|
|
1097
1095
|
default: c(() => [y("div", Un, [y("select", {
|
|
1098
1096
|
"data-testid": "display-condition-select",
|
|
@@ -1215,7 +1213,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
1215
1213
|
},
|
|
1216
1214
|
emits: ["update:modelValue"],
|
|
1217
1215
|
setup(e, { emit: t }) {
|
|
1218
|
-
let n = e, i = t, { t: a } = B(), s = r(Ee, Ne), l = S(() =>
|
|
1216
|
+
let n = e, i = t, { t: a } = B(), s = r(Ee, Ne), l = S(() => se(n.field, s));
|
|
1219
1217
|
return (t, n) => (o(), _(Q, {
|
|
1220
1218
|
label: e.field.label,
|
|
1221
1219
|
required: e.field.required,
|
|
@@ -1257,7 +1255,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
1257
1255
|
},
|
|
1258
1256
|
emits: ["update:modelValue"],
|
|
1259
1257
|
setup(e, { emit: n }) {
|
|
1260
|
-
let r = e, i = n, { t: a } = B(), s = t(), { canBrowse: l, isUploading: u, showOverlay: d, openMediaBrowser: f } =
|
|
1258
|
+
let r = e, i = n, { t: a } = B(), s = t(), { canBrowse: l, isUploading: u, showOverlay: d, openMediaBrowser: f } = me({
|
|
1261
1259
|
target: s,
|
|
1262
1260
|
blocked: () => !!r.readOnly,
|
|
1263
1261
|
apply: (e) => i("update:modelValue", e.url)
|
|
@@ -1272,7 +1270,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
1272
1270
|
ref: s,
|
|
1273
1271
|
class: "tpl:relative"
|
|
1274
1272
|
}, [
|
|
1275
|
-
x(d) ? (o(), _(
|
|
1273
|
+
x(d) ? (o(), _(le, {
|
|
1276
1274
|
key: 0,
|
|
1277
1275
|
uploading: x(u)
|
|
1278
1276
|
}, null, 8, ["uploading"])) : g("", !0),
|
|
@@ -1562,8 +1560,7 @@ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"
|
|
|
1562
1560
|
function Pr(e) {
|
|
1563
1561
|
return Nr[e] ?? Ar;
|
|
1564
1562
|
}
|
|
1565
|
-
|
|
1566
|
-
//#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
1563
|
+
// src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
1567
1564
|
var Fr = {
|
|
1568
1565
|
key: 0,
|
|
1569
1566
|
class: "tpl:p-4"
|
|
@@ -1587,7 +1584,7 @@ var Fr = {
|
|
|
1587
1584
|
props: { block: {} },
|
|
1588
1585
|
emits: ["updateFieldValues", "updateDataSourceFetched"],
|
|
1589
1586
|
setup(e, { emit: t }) {
|
|
1590
|
-
let n = e, a = t, { t: s } = B(), c = r(Ae, []), l = S(() => c.find((e) => e.type === n.block.customType)), u = S(() => n.block), { isFetching: d, fetchError: f, fetch: v, hasDataSource: b, needsFetch: C } =
|
|
1587
|
+
let n = e, a = t, { t: s } = B(), c = r(Ae, []), l = S(() => c.find((e) => e.type === n.block.customType)), u = S(() => n.block), { isFetching: d, fetchError: f, fetch: v, hasDataSource: b, needsFetch: C } = oe({
|
|
1591
1588
|
definition: l,
|
|
1592
1589
|
block: u,
|
|
1593
1590
|
onUpdate: (e, t) => {
|
|
@@ -1615,7 +1612,7 @@ var Fr = {
|
|
|
1615
1612
|
type: "button",
|
|
1616
1613
|
class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
|
|
1617
1614
|
onClick: n[1] ||= (...e) => x(v) && x(v)(...e)
|
|
1618
|
-
}, [E(x(
|
|
1615
|
+
}, [E(x(Be), { size: 12 }), m(" " + h(x(s).customBlocks.dataSource.changeButton), 1)]))])), x(f) ? (o(), p("p", Hr, [E(x(ze), {
|
|
1619
1616
|
size: 14,
|
|
1620
1617
|
class: "tpl:shrink-0"
|
|
1621
1618
|
}), m(" " + h(x(s).customBlocks.dataSource.fetchError), 1)])) : g("", !0)])) : g("", !0),
|
|
@@ -1697,14 +1694,13 @@ var Fr = {
|
|
|
1697
1694
|
]));
|
|
1698
1695
|
}
|
|
1699
1696
|
});
|
|
1700
|
-
|
|
1701
|
-
//#region src/composables/useImageAspectLock.ts
|
|
1697
|
+
// src/composables/useImageAspectLock.ts
|
|
1702
1698
|
function ei(e) {
|
|
1703
1699
|
let n = t(!1), r = t(null);
|
|
1704
1700
|
l(() => e.block().id, () => {
|
|
1705
1701
|
n.value = !1, r.value = null;
|
|
1706
1702
|
});
|
|
1707
|
-
let i = S(() =>
|
|
1703
|
+
let i = S(() => fe(e.block()) ?? e.measured()), a = S(() => {
|
|
1708
1704
|
let t = e.block().width;
|
|
1709
1705
|
return t === "full" ? e.room() : t;
|
|
1710
1706
|
}), o = S(() => {
|
|
@@ -1715,9 +1711,9 @@ function ei(e) {
|
|
|
1715
1711
|
return t === void 0 || o.value !== null && Math.abs(o.value - t) <= 1;
|
|
1716
1712
|
}), u = S(() => s.value && !n.value && c.value);
|
|
1717
1713
|
function d() {
|
|
1718
|
-
if (
|
|
1714
|
+
if (fe(e.block())) return {};
|
|
1719
1715
|
let t = e.measured();
|
|
1720
|
-
return t ?
|
|
1716
|
+
return t ? he(t) : {};
|
|
1721
1717
|
}
|
|
1722
1718
|
function f(t) {
|
|
1723
1719
|
if (r.value = null, !t) return n.value = !0, null;
|
|
@@ -1758,8 +1754,7 @@ function ei(e) {
|
|
|
1758
1754
|
heightUpdates: m
|
|
1759
1755
|
};
|
|
1760
1756
|
}
|
|
1761
|
-
|
|
1762
|
-
//#region src/components/toolbar/ImageToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
1757
|
+
// src/components/toolbar/ImageToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
1763
1758
|
var ti = { class: "tpl:mb-3.5" }, ni = {
|
|
1764
1759
|
key: 0,
|
|
1765
1760
|
class: "tpl:mb-3.5"
|
|
@@ -1786,7 +1781,7 @@ var ti = { class: "tpl:mb-3.5" }, ni = {
|
|
|
1786
1781
|
props: { block: {} },
|
|
1787
1782
|
emits: ["update"],
|
|
1788
1783
|
setup(e, { emit: n }) {
|
|
1789
|
-
let i = e, a = n, { t: s, format: l } = B(), u = r(we,
|
|
1784
|
+
let i = e, a = n, { t: s, format: l } = B(), u = r(we, ie.liquid), d = r(De, null), f = r(Se, void 0), b = t(!1), C = t(!1), { start: T } = be(() => {
|
|
1790
1785
|
b.value = !1, C.value = !1;
|
|
1791
1786
|
}, 1e3, { immediate: !1 }), D = [
|
|
1792
1787
|
300,
|
|
@@ -1802,63 +1797,63 @@ var ti = { class: "tpl:mb-3.5" }, ni = {
|
|
|
1802
1797
|
function j(e) {
|
|
1803
1798
|
if (e === "custom") {
|
|
1804
1799
|
let e = i.block.width;
|
|
1805
|
-
(typeof e != "number" || D.includes(e)) && a("update",
|
|
1806
|
-
} else a("update",
|
|
1800
|
+
(typeof e != "number" || D.includes(e)) && a("update", R.widthUpdates(Ei));
|
|
1801
|
+
} else a("update", R.widthUpdates(e === "full" ? "full" : Number(e)));
|
|
1807
1802
|
}
|
|
1808
|
-
function
|
|
1803
|
+
function N(e) {
|
|
1809
1804
|
A("height", e === "custom" ? Di : void 0);
|
|
1810
1805
|
}
|
|
1811
|
-
function
|
|
1806
|
+
function P(e) {
|
|
1812
1807
|
let t = Number(e);
|
|
1813
1808
|
!Number.isFinite(t) || t <= 0 || A("height", t);
|
|
1814
1809
|
}
|
|
1815
|
-
function
|
|
1816
|
-
A("borderRadius",
|
|
1810
|
+
function ee(e) {
|
|
1811
|
+
A("borderRadius", M(e) === null ? void 0 : e);
|
|
1817
1812
|
}
|
|
1818
1813
|
function F(e) {
|
|
1819
1814
|
let t = Number(e);
|
|
1820
|
-
!Number.isFinite(t) || t <= 0 || a("update",
|
|
1815
|
+
!Number.isFinite(t) || t <= 0 || a("update", R.widthUpdates(t));
|
|
1821
1816
|
}
|
|
1822
1817
|
function te(e) {
|
|
1823
1818
|
e !== i.block.src && a("update", {
|
|
1824
1819
|
src: e,
|
|
1825
|
-
...
|
|
1820
|
+
...he(null)
|
|
1826
1821
|
});
|
|
1827
1822
|
}
|
|
1828
|
-
function
|
|
1823
|
+
function ne(e) {
|
|
1829
1824
|
a("update", {
|
|
1830
1825
|
src: e.url,
|
|
1831
|
-
...
|
|
1826
|
+
...he(de(e.width, e.height))
|
|
1832
1827
|
}), e.alt && (A("alt", e.alt), C.value = !0), b.value = !0, T();
|
|
1833
1828
|
}
|
|
1834
|
-
let
|
|
1835
|
-
target:
|
|
1836
|
-
blocked:
|
|
1837
|
-
apply:
|
|
1838
|
-
}),
|
|
1829
|
+
let I = t(), re = S(() => L(i.block.src, u)), { canBrowse: ae, isUploading: oe, showOverlay: se, openMediaBrowser: ce } = me({
|
|
1830
|
+
target: I,
|
|
1831
|
+
blocked: re,
|
|
1832
|
+
apply: ne
|
|
1833
|
+
}), ue = ye(() => re.value || !i.block.src || fe(i.block) ? void 0 : i.block.src), ge = yn(() => ue.value), _e = S(() => d ? pe(d.content.value, i.block.id, f) : null), R = ei({
|
|
1839
1834
|
block: () => i.block,
|
|
1840
|
-
room: () =>
|
|
1841
|
-
measured: () =>
|
|
1842
|
-
}), { available:
|
|
1835
|
+
room: () => _e.value,
|
|
1836
|
+
measured: () => ge.value
|
|
1837
|
+
}), { available: ve, locked: z, derivedHeight: xe, cappedHeight: Ce } = R;
|
|
1843
1838
|
function Te() {
|
|
1844
|
-
let e =
|
|
1839
|
+
let e = R.setLocked(!z.value);
|
|
1845
1840
|
e && a("update", e);
|
|
1846
1841
|
}
|
|
1847
1842
|
let Ee = t(null);
|
|
1848
1843
|
function Oe(e) {
|
|
1849
1844
|
Ee.value = e;
|
|
1850
|
-
let t =
|
|
1845
|
+
let t = R.heightUpdates(Number(e));
|
|
1851
1846
|
t && a("update", t);
|
|
1852
1847
|
}
|
|
1853
1848
|
return (t, n) => (o(), p(w, null, [
|
|
1854
1849
|
y("div", ti, [y("label", { class: v(x(H)) }, h(x(s).image.imageUrl), 3), y("div", {
|
|
1855
1850
|
ref_key: "dropZoneRef",
|
|
1856
|
-
ref:
|
|
1851
|
+
ref: I,
|
|
1857
1852
|
class: "tpl:relative"
|
|
1858
1853
|
}, [
|
|
1859
|
-
x(
|
|
1854
|
+
x(se) ? (o(), _(le, {
|
|
1860
1855
|
key: 0,
|
|
1861
|
-
uploading: x(
|
|
1856
|
+
uploading: x(oe)
|
|
1862
1857
|
}, null, 8, ["uploading"])) : g("", !0),
|
|
1863
1858
|
E(J, {
|
|
1864
1859
|
"model-value": e.block.src,
|
|
@@ -1871,7 +1866,7 @@ var ti = { class: "tpl:mb-3.5" }, ni = {
|
|
|
1871
1866
|
"placeholder",
|
|
1872
1867
|
"pulse"
|
|
1873
1868
|
]),
|
|
1874
|
-
x(
|
|
1869
|
+
x(ae) ? (o(), p("button", {
|
|
1875
1870
|
key: 1,
|
|
1876
1871
|
class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all",
|
|
1877
1872
|
style: {
|
|
@@ -1879,7 +1874,7 @@ var ti = { class: "tpl:mb-3.5" }, ni = {
|
|
|
1879
1874
|
color: "var(--tpl-primary)",
|
|
1880
1875
|
"background-color": "var(--tpl-bg)"
|
|
1881
1876
|
},
|
|
1882
|
-
onClick: n[1] ||= (...e) => x(
|
|
1877
|
+
onClick: n[1] ||= (...e) => x(ce) && x(ce)(...e)
|
|
1883
1878
|
}, [E(x(Ke), {
|
|
1884
1879
|
size: 14,
|
|
1885
1880
|
"stroke-width": 1.5
|
|
@@ -1942,8 +1937,8 @@ var ti = { class: "tpl:mb-3.5" }, ni = {
|
|
|
1942
1937
|
}, null, 42, fi), y("span", { class: v(x(U)) }, "px", 2)])) : g("", !0)
|
|
1943
1938
|
]),
|
|
1944
1939
|
y("div", pi, [
|
|
1945
|
-
x(
|
|
1946
|
-
linked: x(
|
|
1940
|
+
x(ve) ? (o(), p("div", mi, [y("span", hi, h(x(s).image.height), 1), E(mt, {
|
|
1941
|
+
linked: x(z),
|
|
1947
1942
|
"link-label": x(s).image.lockAspectRatio,
|
|
1948
1943
|
"unlink-label": x(s).image.unlockAspectRatio,
|
|
1949
1944
|
testid: "image-aspect-lock",
|
|
@@ -1956,7 +1951,7 @@ var ti = { class: "tpl:mb-3.5" }, ni = {
|
|
|
1956
1951
|
key: 1,
|
|
1957
1952
|
class: v(x(H))
|
|
1958
1953
|
}, h(x(s).image.height), 3)),
|
|
1959
|
-
x(
|
|
1954
|
+
x(z) ? (o(), p(w, { key: 2 }, [y("div", gi, [y("input", {
|
|
1960
1955
|
type: "number",
|
|
1961
1956
|
"data-testid": "image-locked-height-input",
|
|
1962
1957
|
class: v(x(W)),
|
|
@@ -1965,27 +1960,27 @@ var ti = { class: "tpl:mb-3.5" }, ni = {
|
|
|
1965
1960
|
onInput: n[7] ||= (e) => Oe(e.target.value),
|
|
1966
1961
|
onBlur: n[8] ||= (e) => Ee.value = null
|
|
1967
1962
|
}, null, 42, _i), y("span", { class: v(x(U)) }, "px", 2)]), x(Ce) === null ? g("", !0) : (o(), p("p", vi, h(x(l)(x(s).image.heightCapped, { height: x(Ce) })), 1))], 64)) : g("", !0),
|
|
1968
|
-
x(
|
|
1963
|
+
x(z) ? g("", !0) : (o(), p("select", {
|
|
1969
1964
|
key: 3,
|
|
1970
1965
|
class: v(x(G)),
|
|
1971
1966
|
"data-testid": "image-height-mode",
|
|
1972
1967
|
value: k.value,
|
|
1973
|
-
onChange: n[9] ||= (e) =>
|
|
1968
|
+
onChange: n[9] ||= (e) => N(e.target.value)
|
|
1974
1969
|
}, [y("option", bi, h(x(s).image.heightAuto), 1), y("option", xi, h(x(s).image.heightCustom), 1)], 42, yi)),
|
|
1975
|
-
!x(
|
|
1970
|
+
!x(z) && k.value === "custom" ? (o(), p("div", Si, [y("input", {
|
|
1976
1971
|
type: "number",
|
|
1977
1972
|
"data-testid": "image-height-input",
|
|
1978
1973
|
class: v(x(W)),
|
|
1979
1974
|
value: e.block.height,
|
|
1980
1975
|
min: "20",
|
|
1981
|
-
onInput: n[10] ||= (e) =>
|
|
1976
|
+
onInput: n[10] ||= (e) => P(e.target.value)
|
|
1982
1977
|
}, null, 42, Ci), y("span", { class: v(x(U)) }, "px", 2)])) : g("", !0)
|
|
1983
1978
|
]),
|
|
1984
1979
|
E(Dt, {
|
|
1985
1980
|
"model-value": e.block.borderRadius,
|
|
1986
1981
|
label: x(s).image.borderRadius,
|
|
1987
1982
|
"testid-prefix": "image",
|
|
1988
|
-
"onUpdate:modelValue":
|
|
1983
|
+
"onUpdate:modelValue": ee
|
|
1989
1984
|
}, null, 8, ["model-value", "label"]),
|
|
1990
1985
|
E(xt, {
|
|
1991
1986
|
"model-value": e.block.border,
|
|
@@ -2240,17 +2235,16 @@ var ti = { class: "tpl:mb-3.5" }, ni = {
|
|
|
2240
2235
|
return (t, i) => (o(), p("div", Vi, [y("label", { class: v(x(H)) }, h(x(r).paragraph.paragraphSpacing), 3), y("div", Hi, [y("input", {
|
|
2241
2236
|
type: "number",
|
|
2242
2237
|
class: v(x(W)),
|
|
2243
|
-
value: e.block.paragraphSpacing ?? x(
|
|
2238
|
+
value: e.block.paragraphSpacing ?? x(te).paragraphGap,
|
|
2244
2239
|
min: "0",
|
|
2245
2240
|
max: "64",
|
|
2246
2241
|
onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
|
|
2247
2242
|
}, null, 42, Ui), y("span", { class: v(x(U)) }, "px", 2)])]));
|
|
2248
2243
|
}
|
|
2249
2244
|
});
|
|
2250
|
-
|
|
2251
|
-
//#region src/utils/rebalanceColumnChildren.ts
|
|
2245
|
+
// src/utils/rebalanceColumnChildren.ts
|
|
2252
2246
|
function Gi(e, t) {
|
|
2253
|
-
let n =
|
|
2247
|
+
let n = O(t);
|
|
2254
2248
|
if (e.length === n) return e;
|
|
2255
2249
|
if (e.length < n) {
|
|
2256
2250
|
let t = Array.from({ length: n - e.length }, () => []);
|
|
@@ -2259,8 +2253,7 @@ function Gi(e, t) {
|
|
|
2259
2253
|
let r = e.slice(0, n), i = e.slice(n).flat(), a = [...r[n - 1], ...i];
|
|
2260
2254
|
return [...r.slice(0, n - 1), a];
|
|
2261
2255
|
}
|
|
2262
|
-
|
|
2263
|
-
//#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
2256
|
+
// src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
2264
2257
|
var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
2265
2258
|
key: 0,
|
|
2266
2259
|
class: "tpl:mb-3.5"
|
|
@@ -2278,7 +2271,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2278
2271
|
props: { block: {} },
|
|
2279
2272
|
emits: ["update"],
|
|
2280
2273
|
setup(e, { emit: t }) {
|
|
2281
|
-
let n = e, a = t, { t: s } = B(), c = r(Se, void 0), l = r(Te, void 0), u = c !== void 0 &&
|
|
2274
|
+
let n = e, a = t, { t: s } = B(), c = r(Se, void 0), l = r(Te, void 0), u = c !== void 0 && re(c), d = S(() => l !== !1 || !!n.block.wrapper), f = S(() => u && !n.block.wrapper), m = S(() => u && d.value), b = S(() => k(n.block)?.applied === !0), C = S(() => [
|
|
2282
2275
|
{
|
|
2283
2276
|
value: "1",
|
|
2284
2277
|
label: s.section.column1
|
|
@@ -2310,10 +2303,10 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2310
2303
|
function D(e) {
|
|
2311
2304
|
a("update", { stackOnMobile: e });
|
|
2312
2305
|
}
|
|
2313
|
-
function
|
|
2306
|
+
function O(e) {
|
|
2314
2307
|
a("update", { borderRadius: e });
|
|
2315
2308
|
}
|
|
2316
|
-
function
|
|
2309
|
+
function A(e) {
|
|
2317
2310
|
a("update", { wrapper: e ? { padding: {
|
|
2318
2311
|
top: 20,
|
|
2319
2312
|
right: 20,
|
|
@@ -2321,17 +2314,17 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2321
2314
|
left: 20
|
|
2322
2315
|
} } : void 0 });
|
|
2323
2316
|
}
|
|
2324
|
-
function
|
|
2317
|
+
function j(e) {
|
|
2325
2318
|
a("update", { wrapper: {
|
|
2326
2319
|
...n.block.wrapper,
|
|
2327
2320
|
...e
|
|
2328
2321
|
} });
|
|
2329
2322
|
}
|
|
2330
|
-
function
|
|
2331
|
-
|
|
2323
|
+
function M(e) {
|
|
2324
|
+
j({ padding: e });
|
|
2332
2325
|
}
|
|
2333
2326
|
function N(e) {
|
|
2334
|
-
|
|
2327
|
+
j({ borderRadius: e });
|
|
2335
2328
|
}
|
|
2336
2329
|
return (t, n) => (o(), p(w, null, [
|
|
2337
2330
|
y("div", Ki, [y("label", { class: v(x(H)) }, h(x(s).section.columns), 3), y("select", {
|
|
@@ -2353,7 +2346,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2353
2346
|
label: x(s).section.borderRadius,
|
|
2354
2347
|
max: 50,
|
|
2355
2348
|
"testid-prefix": "section",
|
|
2356
|
-
"onUpdate:modelValue":
|
|
2349
|
+
"onUpdate:modelValue": O
|
|
2357
2350
|
}, null, 8, ["model-value", "label"]),
|
|
2358
2351
|
b.value ? g("", !0) : (o(), _(xt, {
|
|
2359
2352
|
key: 1,
|
|
@@ -2367,7 +2360,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2367
2360
|
"model-value": !!e.block.wrapper,
|
|
2368
2361
|
label: x(s).section.wrapperEnable,
|
|
2369
2362
|
disabled: f.value,
|
|
2370
|
-
"onUpdate:modelValue": n[2] ||= (e) =>
|
|
2363
|
+
"onUpdate:modelValue": n[2] ||= (e) => A(e)
|
|
2371
2364
|
}, null, 8, [
|
|
2372
2365
|
"model-value",
|
|
2373
2366
|
"label",
|
|
@@ -2378,12 +2371,12 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2378
2371
|
y("div", null, [y("label", { class: v(x(H)) }, h(x(s).blockSettings.color), 3), E(K, {
|
|
2379
2372
|
"model-value": e.block.wrapper.backgroundColor ?? "",
|
|
2380
2373
|
"allow-transparent": "",
|
|
2381
|
-
"onUpdate:modelValue": n[3] ||= (e) =>
|
|
2374
|
+
"onUpdate:modelValue": n[3] ||= (e) => j({ backgroundColor: e })
|
|
2382
2375
|
}, null, 8, ["model-value"])]),
|
|
2383
2376
|
E(kn, {
|
|
2384
2377
|
"model-value": e.block.wrapper.backgroundImage,
|
|
2385
2378
|
"testid-prefix": "section-wrapper",
|
|
2386
|
-
"onUpdate:modelValue": n[4] ||= (e) =>
|
|
2379
|
+
"onUpdate:modelValue": n[4] ||= (e) => j({ backgroundImage: e })
|
|
2387
2380
|
}, null, 8, ["model-value"]),
|
|
2388
2381
|
E(vn, {
|
|
2389
2382
|
label: x(s).blockSettings.padding,
|
|
@@ -2393,7 +2386,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2393
2386
|
bottom: 0,
|
|
2394
2387
|
left: 0
|
|
2395
2388
|
},
|
|
2396
|
-
"onUpdate:modelValue":
|
|
2389
|
+
"onUpdate:modelValue": M
|
|
2397
2390
|
}, null, 8, ["label", "model-value"]),
|
|
2398
2391
|
E(Dt, {
|
|
2399
2392
|
"model-value": e.block.wrapper.borderRadius,
|
|
@@ -2442,7 +2435,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2442
2435
|
class: v([x(G), "tpl:flex-1"]),
|
|
2443
2436
|
value: e.platform,
|
|
2444
2437
|
onChange: (t) => l(e.id, "platform", t.target.value)
|
|
2445
|
-
}, [(o(!0), p(w, null, i(x(
|
|
2438
|
+
}, [(o(!0), p(w, null, i(x(R), (e) => (o(), p("option", {
|
|
2446
2439
|
key: e,
|
|
2447
2440
|
value: e
|
|
2448
2441
|
}, h(x(a).social.platforms[e]), 9, ia))), 128))], 42, ra), y("button", {
|
|
@@ -2801,7 +2794,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2801
2794
|
props: { block: {} },
|
|
2802
2795
|
emits: ["update"],
|
|
2803
2796
|
setup(e, { emit: n }) {
|
|
2804
|
-
let i = e, a = n, { t: s } = B(), c = r(Ce, null), l = r(we,
|
|
2797
|
+
let i = e, a = n, { t: s } = B(), c = r(Ce, null), l = r(we, ie.liquid), u = ve(), d = [
|
|
2805
2798
|
300,
|
|
2806
2799
|
400,
|
|
2807
2800
|
500
|
|
@@ -2827,11 +2820,11 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2827
2820
|
function M(e) {
|
|
2828
2821
|
k("height", e === "custom" ? Ho : void 0);
|
|
2829
2822
|
}
|
|
2830
|
-
function
|
|
2823
|
+
function N(e) {
|
|
2831
2824
|
let t = Number(e);
|
|
2832
2825
|
!Number.isFinite(t) || t <= 0 || k("height", t);
|
|
2833
2826
|
}
|
|
2834
|
-
async function
|
|
2827
|
+
async function P() {
|
|
2835
2828
|
let e = await c?.({ accept: ["images"] });
|
|
2836
2829
|
u.alive && e && (k("thumbnailUrl", e.url), D.value = !0, O());
|
|
2837
2830
|
}
|
|
@@ -2881,7 +2874,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2881
2874
|
color: "var(--tpl-primary)",
|
|
2882
2875
|
"background-color": "var(--tpl-bg)"
|
|
2883
2876
|
},
|
|
2884
|
-
onClick:
|
|
2877
|
+
onClick: P
|
|
2885
2878
|
}, [E(x(Ke), {
|
|
2886
2879
|
size: 14,
|
|
2887
2880
|
"stroke-width": 1.5
|
|
@@ -2930,7 +2923,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2930
2923
|
class: v(x(W)),
|
|
2931
2924
|
value: e.block.height,
|
|
2932
2925
|
min: "20",
|
|
2933
|
-
onInput: n[8] ||= (e) =>
|
|
2926
|
+
onInput: n[8] ||= (e) => N(e.target.value)
|
|
2934
2927
|
}, null, 42, zo), y("span", { class: v(x(U)) }, "px", 2)])) : g("", !0)
|
|
2935
2928
|
]),
|
|
2936
2929
|
y("div", Bo, [y("label", { class: v(x(H)) }, h(x(s).title.align), 3), E(Y, {
|
|
@@ -2962,9 +2955,9 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2962
2955
|
"duplicate"
|
|
2963
2956
|
],
|
|
2964
2957
|
setup(e, { emit: t }) {
|
|
2965
|
-
let n = s(() => import("./CountdownToolbar-
|
|
2958
|
+
let n = s(() => import("./CountdownToolbar-CguFJdqn.js")), i = e, a = t, { t: c } = B(), l = xe(je, "Toolbar"), u = r(Ae, []), d = S(() => i.block.type), f = S(() => ae(i.block)), m = S(() => {
|
|
2966
2959
|
if (f.value) return u.find((e) => e.type === i.block.customType);
|
|
2967
|
-
}), v = S(() => f.value ? m.value?.name ?? i.block.customType :
|
|
2960
|
+
}), v = S(() => f.value ? m.value?.name ?? i.block.customType : z(d.value, c)), b = S(() => st(l.fonts.value, "fontFamily" in i.block ? i.block.fontFamily : void 0));
|
|
2968
2961
|
function C(e) {
|
|
2969
2962
|
a("update", e);
|
|
2970
2963
|
}
|
|
@@ -2984,7 +2977,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
2984
2977
|
class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
|
|
2985
2978
|
title: x(c).toolbar.duplicate,
|
|
2986
2979
|
onClick: r[0] ||= (e) => a("duplicate")
|
|
2987
|
-
}, [E(x(
|
|
2980
|
+
}, [E(x(Re), {
|
|
2988
2981
|
size: 14,
|
|
2989
2982
|
"stroke-width": 2
|
|
2990
2983
|
})], 8, Yo), y("button", {
|
|
@@ -3063,7 +3056,6 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
|
|
|
3063
3056
|
}, null, 8, ["block", "is-first-section"])])], 8, Wo));
|
|
3064
3057
|
}
|
|
3065
3058
|
}), $o = /* @__PURE__ */ e({ default: () => es }), es = /*#__PURE__*/ $e(Qo, [["__scopeId", "data-v-e2d2c22f"]]);
|
|
3066
|
-
//#endregion
|
|
3067
3059
|
export { es as default, Y as i, $ as n, X as r, $o as t };
|
|
3068
3060
|
|
|
3069
|
-
//# sourceMappingURL=Toolbar-
|
|
3061
|
+
//# sourceMappingURL=Toolbar-CnvfW72e.js.map
|