@templatical/editor 0.44.3 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiChatSidebar-BUR5Jshu.js → AiChatSidebar-DGcH4Lyo.js} +15 -19
- package/dist/{AiFeatureMenu-CXqrbDNb.js → AiFeatureMenu-B4q-0g1S.js} +7 -7
- package/dist/{BlockIssueBadge-CWZEwMXX.js → BlockIssueBadge-CZA1XvAh.js} +5 -5
- package/dist/{BlockPreviewCanvas-DCeZid0G.js → BlockPreviewCanvas-DIZ0KgUD.js} +5 -5
- package/dist/{CloudHeaderExtras-B38fU84y.js → CloudHeaderExtras-ehMYJP68.js} +5 -5
- package/dist/{CloudPanels-B2Mz-TwS.js → CloudPanels-BwOaAlKz.js} +8 -8
- package/dist/{CollaboratorBar-CL70aVnL.js → CollaboratorBar-qOZFRNPx.js} +4 -4
- package/dist/{CommentsPanel-CYMHfFcn.js → CommentsPanel-Bn6P5crU.js} +2 -2
- package/dist/{CommentsSidebar-uvQyCMUe.js → CommentsSidebar-B8wT932T.js} +14 -14
- package/dist/{CountdownBlock-C6R-hn7D.js → CountdownBlock-RNx3hIu0.js} +3 -3
- package/dist/{CountdownToolbar-C052mx2P.js → CountdownToolbar-BeF21SeB.js} +62 -61
- package/dist/{DesignReferenceSidebar-ZKJ7y7-G.js → DesignReferenceSidebar-zH93uB15.js} +25 -26
- package/dist/{IssuesPanel-DAlNiJX_.js → IssuesPanel-Dltw9haP.js} +8 -8
- package/dist/{LoadingTrack-C1Epulqq.js → LoadingTrack-DROqNuuD.js} +1 -1
- package/dist/{LogicTagInsertButton-DMUfVsPr.js → LogicTagInsertButton-CHa-UD76.js} +22 -28
- package/dist/{MediaEditModal-Cmd9tQXZ.js → MediaEditModal-EY1YYcpw.js} +6 -14
- package/dist/{MediaPanels-DoBhG5gg.js → MediaPanels-CRVFGFZW.js} +2 -2
- package/dist/{MergeTagInput-DoQWMSW4.js → MergeTagInput-B3ntd4dN.js} +2 -2
- package/dist/{MergeTagModeToggle-DOHixe4G.js → MergeTagModeToggle-C_06ZL0Q.js} +7 -7
- package/dist/{ParagraphEditor-CHlX3nAk.js → ParagraphEditor-CxuW3TV0.js} +140 -139
- package/dist/{RestoreVersionDialog-C8Qt-sJV.js → RestoreVersionDialog-B1n37M1Z.js} +5 -5
- package/dist/{RichTextEditorContent-BedBVHXS.js → RichTextEditorContent-CP_uULWB.js} +9 -9
- package/dist/{SaveBlockDialog-CsielLi1.js → SaveBlockDialog-BSKX_7_v.js} +12 -12
- package/dist/{SavedBlocksBrowserModal-RKo9mq3U.js → SavedBlocksBrowserModal-CHKrH1gO.js} +15 -18
- package/dist/{SavedBlocksPanels-B7IlFCQp.js → SavedBlocksPanels-B-xDqBcz.js} +2 -2
- package/dist/{SavedBlocksPickBar-BYCwMUR6.js → SavedBlocksPickBar-D2J-g82g.js} +4 -4
- package/dist/{TemplateScoringPanel-DXsyp0_A.js → TemplateScoringPanel-3lHzuCl0.js} +16 -16
- package/dist/TemplateSettings-D07K_Y4m.js +246 -0
- package/dist/{TestEmailModal-Btbk0B1s.js → TestEmailModal-BNPw_lID.js} +11 -11
- package/dist/{TestEmailPanel-kdF_QluO.js → TestEmailPanel-8klWo8hE.js} +2 -2
- package/dist/{TitleEditor-Cl6AmEy9.js → TitleEditor-CmC9OuhA.js} +13 -13
- package/dist/{ToggleSwitch-D7GLaT8s.js → ToggleSwitch-COeyWGfT.js} +2 -2
- package/dist/{Toolbar-CWxqqBHE.js → Toolbar-CqhRb6EM.js} +522 -524
- package/dist/{TplModal-DD1xZyBq.js → TplModal-BGFawHY9.js} +5 -5
- package/dist/{VersionHistoryMenu-fLrx-Lvi.js → VersionHistoryMenu-D7zaTMrb.js} +10 -10
- package/dist/{VersionHistoryPanels-Caa2_niu.js → VersionHistoryPanels-DdbGjEOR.js} +2 -2
- package/dist/{VersionPreviewBanner-CWuxq_bb.js → VersionPreviewBanner-BUKb9gc6.js} +3 -3
- package/dist/{WrapperBlock-Do8kLejT.js → WrapperBlock-CTkmA887.js} +3 -3
- package/dist/{blockTypeIcons-DEvNVvBj.js → blockTypeIcons-CVKo6V_v.js} +2 -2
- package/dist/bundle-stats.json +7 -7
- package/dist/{ca-DES69VJW.js → ca-C__Dzq--.js} +5 -0
- package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js → AiChatSidebar-kCK4NZM9.js} +9 -13
- package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js.map → AiChatSidebar-kCK4NZM9.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-B291Us2g.js → AiFeatureMenu-K1dLeDft.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-B291Us2g.js.map → AiFeatureMenu-K1dLeDft.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js → BlockIssueBadge-05Q3L4RV.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js.map → BlockIssueBadge-05Q3L4RV.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-CRJZBmwV.js → BlockPreviewCanvas-Djz9YAFx.js} +6 -6
- package/dist/cdn/chunks/{BlockPreviewCanvas-CRJZBmwV.js.map → BlockPreviewCanvas-Djz9YAFx.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-BvCPpih5.js → CloudHeaderExtras-5ONQ1RCa.js} +5 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-BvCPpih5.js.map → CloudHeaderExtras-5ONQ1RCa.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-vlPH6N3s.js → CloudPanels-_irSdWbi.js} +7 -7
- package/dist/cdn/chunks/{CloudPanels-vlPH6N3s.js.map → CloudPanels-_irSdWbi.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-Xt3WJ-rn.js → CollaboratorBar-CZufI1On.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-Xt3WJ-rn.js.map → CollaboratorBar-CZufI1On.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js → CommentsPanel-VH_NJ5HZ.js} +3 -3
- package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js.map → CommentsPanel-VH_NJ5HZ.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js → CommentsSidebar-CYPH5rVi.js} +5 -5
- package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js.map → CommentsSidebar-CYPH5rVi.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js → CountdownBlock-lHU3Lu7Q.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js.map → CountdownBlock-lHU3Lu7Q.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-C9QpHQcv.js → CountdownToolbar-BaXCefQM.js} +63 -62
- package/dist/cdn/chunks/CountdownToolbar-BaXCefQM.js.map +1 -0
- package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js → DesignReferenceSidebar-GjkpHylX.js} +21 -22
- package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js.map → DesignReferenceSidebar-GjkpHylX.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel--62qud8w.js → IssuesPanel-C1Lv2y_O.js} +6 -6
- package/dist/cdn/chunks/{IssuesPanel--62qud8w.js.map → IssuesPanel-C1Lv2y_O.js.map} +1 -1
- package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js → LoadingTrack-Cg1HRIND.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js.map → LoadingTrack-Cg1HRIND.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js → LogicTagInsertButton-BYjdrDnQ.js} +11 -17
- package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js.map → LogicTagInsertButton-BYjdrDnQ.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js → MediaEditModal-CD3fVbWI.js} +6 -14
- package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js.map → MediaEditModal-CD3fVbWI.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js → MediaPanels-B2AyUUcf.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js.map → MediaPanels-B2AyUUcf.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js → MergeTagInput-Cx67J_vg.js} +3 -3
- package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js.map → MergeTagInput-Cx67J_vg.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js → MergeTagModeToggle-DZ4EuXVp.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js.map → MergeTagModeToggle-DZ4EuXVp.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BWfx94pb.js → ParagraphEditor-DndEFXmR.js} +145 -144
- package/dist/cdn/chunks/ParagraphEditor-DndEFXmR.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-DWUnyA0B.js → RestoreVersionDialog-CFYs13a4.js} +5 -5
- package/dist/cdn/chunks/{RestoreVersionDialog-DWUnyA0B.js.map → RestoreVersionDialog-CFYs13a4.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js → RichTextEditorContent-DKkDQ0dc.js} +8 -8
- package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js.map → RichTextEditorContent-DKkDQ0dc.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-CcfyxDfZ.js → SaveBlockDialog-BOA2RaC_.js} +10 -10
- package/dist/cdn/chunks/{SaveBlockDialog-CcfyxDfZ.js.map → SaveBlockDialog-BOA2RaC_.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DauQ_V9N.js → SavedBlocksBrowserModal-DQDVek3K.js} +11 -14
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DauQ_V9N.js.map → SavedBlocksBrowserModal-DQDVek3K.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-J5v2PsFv.js → SavedBlocksPanels-Lu3tJ3QA.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-J5v2PsFv.js.map → SavedBlocksPanels-Lu3tJ3QA.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-v3AMSqli.js → SavedBlocksPickBar-D7MtqG6r.js} +5 -5
- package/dist/cdn/chunks/{SavedBlocksPickBar-v3AMSqli.js.map → SavedBlocksPickBar-D7MtqG6r.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js → TemplateScoringPanel-C_57Bfkf.js} +8 -8
- package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js.map → TemplateScoringPanel-C_57Bfkf.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-vsFOU0oA.js → TemplateSettings-rZiHmq24.js} +48 -47
- package/dist/cdn/chunks/TemplateSettings-rZiHmq24.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-CW9EFpFR.js → TestEmailModal-DWEyHXH2.js} +10 -10
- package/dist/cdn/chunks/{TestEmailModal-CW9EFpFR.js.map → TestEmailModal-DWEyHXH2.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-D1Hchlr7.js → TestEmailPanel-XXMD-Lnr.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-D1Hchlr7.js.map → TestEmailPanel-XXMD-Lnr.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-nDV6P-ag.js → TitleEditor-D1F0YoE-.js} +12 -12
- package/dist/cdn/chunks/{TitleEditor-nDV6P-ag.js.map → TitleEditor-D1F0YoE-.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js → ToggleSwitch-B5U9cqhi.js} +3 -3
- package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js.map → ToggleSwitch-B5U9cqhi.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-CnfNUkOY.js → Toolbar-C_5HfUQq.js} +422 -424
- package/dist/cdn/chunks/Toolbar-C_5HfUQq.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-VuZ9bDw9.js → TplModal-CYBbPCHL.js} +5 -5
- package/dist/cdn/chunks/{TplModal-VuZ9bDw9.js.map → TplModal-CYBbPCHL.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js → VersionHistoryMenu-DbxuJgDO.js} +6 -6
- package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js.map → VersionHistoryMenu-DbxuJgDO.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-BChjjMC6.js → VersionHistoryPanels-Dq12VsTX.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-BChjjMC6.js.map → VersionHistoryPanels-Dq12VsTX.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js → VersionPreviewBanner-HRERIH-v.js} +4 -4
- package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js.map → VersionPreviewBanner-HRERIH-v.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-DDnue8oy.js → WrapperBlock-CJ0CLqi2.js} +4 -4
- package/dist/cdn/chunks/{WrapperBlock-DDnue8oy.js.map → WrapperBlock-CJ0CLqi2.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js → blockTypeIcons-DdZP-3FM.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js.map → blockTypeIcons-DdZP-3FM.js.map} +1 -1
- package/dist/cdn/chunks/{ca-DES69VJW.js → ca-C__Dzq--.js} +6 -1
- package/dist/cdn/chunks/ca-C__Dzq--.js.map +1 -0
- package/dist/cdn/chunks/{cloud-DLQU5l0Z.js → cloud-h1vaHp2p.js} +4 -4
- package/dist/cdn/chunks/{cloud-DLQU5l0Z.js.map → cloud-h1vaHp2p.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js → createCloudRuntime-bJN9EM1H.js} +9 -12
- package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js.map → createCloudRuntime-bJN9EM1H.js.map} +1 -1
- package/dist/{de-MlrDhC3Y.js → cdn/chunks/de-CGjbQ2mt.js} +7 -0
- package/dist/cdn/chunks/de-CGjbQ2mt.js.map +1 -0
- package/dist/cdn/chunks/{dist-BRZhN8qJ.js → dist-B7W-Lb65.js} +2 -2
- package/dist/cdn/chunks/{dist-BRZhN8qJ.js.map → dist-B7W-Lb65.js.map} +1 -1
- package/dist/cdn/chunks/{dist-CXB2_kBa.js → dist-C5nRd_ua.js} +5 -13
- package/dist/cdn/chunks/{dist-CXB2_kBa.js.map → dist-C5nRd_ua.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-IB4x6w2O.js → draggable-BUTN5vZC.js} +32 -77
- package/dist/cdn/chunks/{draggable-IB4x6w2O.js.map → draggable-BUTN5vZC.js.map} +1 -1
- package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js → editor-modal-BpsbYA4_.js} +14 -34
- package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js.map → editor-modal-BpsbYA4_.js.map} +1 -1
- package/dist/{en-6vJh7KCM.js → cdn/chunks/en-BTiiAC-B.js} +7 -0
- package/dist/cdn/chunks/en-BTiiAC-B.js.map +1 -0
- package/dist/cdn/chunks/en-CAt6y87e.js +1 -0
- package/dist/{es-ewL03EaP.js → cdn/chunks/es-CdTOcSTf.js} +7 -0
- package/dist/cdn/chunks/es-CdTOcSTf.js.map +1 -0
- package/dist/cdn/chunks/{extensions-ClmkNA8R.js → extensions-CrmXF4MW.js} +11 -19
- package/dist/cdn/chunks/extensions-CrmXF4MW.js.map +1 -0
- package/dist/{fr-D1syuxs1.js → cdn/chunks/fr-B6lcLLzC.js} +7 -0
- package/dist/cdn/chunks/fr-B6lcLLzC.js.map +1 -0
- package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js → htmlparser-CDRsn-gn.js} +3 -11
- package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js.map → htmlparser-CDRsn-gn.js.map} +1 -1
- package/dist/cdn/chunks/{icons-BjvraR-Y.js → icons-Dr9erFGs.js} +48 -48
- package/dist/cdn/chunks/{icons-BjvraR-Y.js.map → icons-Dr9erFGs.js.map} +1 -1
- package/dist/{ja-Dd_nytwe.js → cdn/chunks/ja-BhdkqENz.js} +7 -0
- package/dist/cdn/chunks/ja-BhdkqENz.js.map +1 -0
- package/dist/cdn/chunks/{keys-DCWeHkSF.js → keys-BKu-LOk5.js} +2 -2
- package/dist/cdn/chunks/{keys-DCWeHkSF.js.map → keys-BKu-LOk5.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js → liquid.browser-Bbt17cVz.js} +30 -56
- package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js.map → liquid.browser-Bbt17cVz.js.map} +1 -1
- package/dist/{nl-DD1t_qxS.js → cdn/chunks/nl-CE3YItYg.js} +7 -0
- package/dist/cdn/chunks/nl-CE3YItYg.js.map +1 -0
- package/dist/{preRenderCustomBlocks-C_PIxBp7.js → cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js} +5 -3
- package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js.map → preRenderCustomBlocks-CyGB3lZr.js.map} +1 -1
- package/dist/{pt-BR-BmtO0R7k.js → cdn/chunks/pt-BR-CUIT4rq4.js} +7 -0
- package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +1 -0
- package/dist/cdn/chunks/{pusher-BbIHJKf3.js → pusher-C8DeiO2X.js} +18 -57
- package/dist/cdn/chunks/{pusher-BbIHJKf3.js.map → pusher-C8DeiO2X.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-CnUJBZTO.js → socialIcons-ClJVDZwt.js} +90 -119
- package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +1 -0
- package/dist/cdn/chunks/{src-B5-VKcRQ.js → src-B0pZeTYO.js} +194 -215
- package/dist/cdn/chunks/src-B0pZeTYO.js.map +1 -0
- package/dist/cdn/chunks/{src-CjjJWoUZ.js → src-BMw3u-iV.js} +225 -232
- package/dist/cdn/chunks/src-BMw3u-iV.js.map +1 -0
- package/dist/cdn/chunks/{src-QIGNPFkl.js → src-Bh0MoJ67.js} +360 -246
- package/dist/cdn/chunks/src-Bh0MoJ67.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-02G9FGkl.js → tiptap-CYDXLO17.js} +87 -134
- package/dist/cdn/chunks/{tiptap-02G9FGkl.js.map → tiptap-CYDXLO17.js.map} +1 -1
- package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js → useAliveFlag-DzyXG-8A.js} +2 -2
- package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js.map → useAliveFlag-DzyXG-8A.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js → useCloudI18n-Cgk0ts_F.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js.map → useCloudI18n-Cgk0ts_F.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-q0G4q-52.js → useEditorCore-DuC7kVti.js} +559 -599
- package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +10 -0
- package/dist/cdn/chunks/{useEditorRoot-CshefZLP.js.map → useEditorRoot-DDPIcEOO.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-CyO_Nmca.js → useI18n-DO4NTunW.js} +3 -3
- package/dist/cdn/chunks/{useI18n-CyO_Nmca.js.map → useI18n-DO4NTunW.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js → useLogicTag-B3uV3XHG.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js.map → useLogicTag-B3uV3XHG.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js → useMergeTag-DJLM-7WQ.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js.map → useMergeTag-DJLM-7WQ.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js → usePopoverPosition-CtVNwoHj.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js.map → usePopoverPosition-CtVNwoHj.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js → useScrollToBlock-CpmB5KxW.js} +4 -5
- package/dist/cdn/chunks/useScrollToBlock-CpmB5KxW.js.map +1 -0
- package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +21 -0
- package/dist/cdn/chunks/withCurrentFont-isIyuezD.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +472 -491
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-DNyj-E0y.js → check-ZKvtMdpe.js} +1 -1
- package/dist/{chevron-down-BYnhkMsA.js → chevron-down-RrwkYMlp.js} +1 -1
- package/dist/{chevron-right-D9HGBqJo.js → chevron-right-CklHaa1U.js} +1 -1
- package/dist/{chevron-up-BnIR1-ma.js → chevron-up-DjN2NTbo.js} +1 -1
- package/dist/{circle-alert-B6xl1B_M.js → circle-alert-BR1_Yfb-.js} +1 -1
- package/dist/{clock-Cs5Wd3dW.js → clock-BEagNj21.js} +1 -1
- package/dist/{cloud-BNEL7bxL.js → cloud-DPGjMGfv.js} +2 -2
- package/dist/{copy-6uKc-WBk.js → copy-D6DNoSq1.js} +1 -1
- package/dist/{createCloudRuntime-CaZapQZ6.js → createCloudRuntime-D0RRgWab.js} +8 -11
- package/dist/{createLucideIcon-BVcoovvP.js → createLucideIcon-BAPyioGd.js} +6 -6
- package/dist/{cdn/chunks/de-MlrDhC3Y.js → de-CGjbQ2mt.js} +5 -2
- package/dist/{dist-CmwBvyW0.js → dist-1H4cnaoD.js} +3 -3
- package/dist/{dist-D4HP93ZF.js → dist-5DAb7bYT.js} +1 -1
- package/dist/{dist-DdSWMtEP.js → dist-5KNKxglR.js} +1 -1
- package/dist/{dist-HjILVdTA.js → dist-BI_LeQGl.js} +289 -201
- package/dist/{dist-BDuPwOyn.js → dist-B_vYjCsk.js} +4 -12
- package/dist/{dist-Ceew_u40.js → dist-Bc30883t.js} +6 -22
- package/dist/{dist-Czzst9ng.js → dist-Bd7khQsg.js} +3 -11
- package/dist/{dist-8VFzbeu9.js → dist-C-VFTX82.js} +1 -1
- package/dist/{dist-BYg1EL5g.js → dist-C3eH9-N2.js} +1 -1
- package/dist/{dist-Dw2_11LA.js → dist-CFC4pg2o.js} +1 -1
- package/dist/{dist-BgSLW3Hn.js → dist-CMcFD7gP.js} +72 -87
- package/dist/{dist-DmQckB4p.js → dist-DHensKDY.js} +1 -1
- package/dist/{dist-CWc7nIkA.js → dist-DapsJxn_.js} +1 -1
- package/dist/{dist-D2m55Lvs.js → dist-j2FavQmU.js} +1 -1
- package/dist/{dist-8By0p8ah.js → dist-lL3nVbxV.js} +1 -1
- package/dist/{editor-modal-Co-rZGaf.js → editor-modal-oRmkDlUs.js} +27 -47
- package/dist/{cdn/chunks/en-6vJh7KCM.js → en-BTiiAC-B.js} +5 -2
- package/dist/en-Bk4iCfjp.js +1 -0
- package/dist/{cdn/chunks/es-ewL03EaP.js → es-CdTOcSTf.js} +5 -2
- package/dist/{extensions-DXSI8Dyj.js → extensions-CYigjb1g.js} +52 -68
- package/dist/{eye-Nbtw_q05.js → eye-DvsTBI57.js} +1 -1
- package/dist/{cdn/chunks/fr-D1syuxs1.js → fr-B6lcLLzC.js} +5 -2
- package/dist/{image-up-C1jC7NzQ.js → image-up-BoFGZm5Q.js} +1 -1
- package/dist/index.d.ts +46 -13
- package/dist/{info-ClH66pKN.js → info-0bQQGjTV.js} +1 -1
- package/dist/{cdn/chunks/ja-Dd_nytwe.js → ja-BhdkqENz.js} +5 -2
- package/dist/{keys-CDqfZIRt.js → keys-injl74ob.js} +1 -1
- package/dist/{link-y47GNW0o.js → link-Cstrr3Ep.js} +1 -1
- package/dist/{liquid.browser-Cs4gOjeX.js → liquid.browser-Ct2-EezB.js} +29 -55
- package/dist/{list-DiLMlMaE.js → list-Dx9Rmy5s.js} +1 -1
- package/dist/{loader-circle-BRdCPW5h.js → loader-circle-D8Qqs0MG.js} +1 -1
- package/dist/{message-circle-CNgIpVJv.js → message-circle-D78ELX6I.js} +1 -1
- package/dist/{cdn/chunks/nl-DD1t_qxS.js → nl-CE3YItYg.js} +5 -2
- package/dist/{package-B9OWk-Kp.js → package-DOvM9sHE.js} +1 -1
- package/dist/{pencil-BDnjo24u.js → pencil-B6m0OG0n.js} +1 -1
- package/dist/{plus-BMgjN7lI.js → plus-D-nEKxTc.js} +1 -1
- package/dist/{cdn/chunks/preRenderCustomBlocks-Bg3rIgGJ.js → preRenderCustomBlocks-DokBGA_M.js} +3 -5
- package/dist/{cdn/chunks/pt-BR-BmtO0R7k.js → pt-BR-CUIT4rq4.js} +5 -2
- package/dist/{refresh-cw-CR5lenxl.js → refresh-cw-CXZS-R1U.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-BGbPz4-g.js → runtime-dom.esm-bundler-CO67ema2.js} +15 -16
- package/dist/{search-CxRUiOSF.js → search-DSvil0jo.js} +1 -1
- package/dist/{send-Bu2RysGL.js → send-BBR28V94.js} +1 -1
- package/dist/{shield-check-Cg8f4LB0.js → shield-check-ByxUnaU9.js} +1 -1
- package/dist/{smartphone-CHf-8lHp.js → smartphone-CNOwGf5T.js} +1 -1
- package/dist/{socialIcons-D1gkHc_i.js → socialIcons-Ct_IoqPQ.js} +112 -141
- package/dist/{sparkles-_DQGv4ub.js → sparkles-DO1hzwzf.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +504 -523
- package/dist/{text-align-start-PHo-Ep5i.js → text-align-start-BKEKMheq.js} +13 -13
- package/dist/{trash-BxIzHAri.js → trash-CKEQH4vH.js} +1 -1
- package/dist/{triangle-alert-fcb2KoA-.js → triangle-alert-BHnfd3fV.js} +1 -1
- package/dist/{upload-BxBtMPMv.js → upload-C8uO7KsR.js} +1 -1
- package/dist/{useAliveFlag-BkKyhkwZ.js → useAliveFlag-6PtarpNZ.js} +1 -1
- package/dist/{useCloudI18n-DpEsiLeR.js → useCloudI18n-GvIOLziA.js} +2 -2
- package/dist/{useEditorCore-B1CWeFTj.js → useEditorCore-BJAQMvNW.js} +950 -1013
- package/dist/{useEditorRoot-CkB_5d0h.js → useEditorRoot-OWzNpDdT.js} +2 -2
- package/dist/{useI18n-B_CdcBwG.js → useI18n-uF11q85g.js} +2 -2
- package/dist/{useLogicTag-wqfdwYYR.js → useLogicTag-B5gjcMzn.js} +3 -3
- package/dist/{useMergeTag-D3XDE_58.js → useMergeTag-BwsBIDzR.js} +5 -5
- package/dist/{usePopoverPosition-BYmd-lhR.js → usePopoverPosition-DkBrHfCo.js} +2 -2
- package/dist/{useScrollToBlock-DA_aIJXS.js → useScrollToBlock-JRxhT1u_.js} +4 -5
- package/dist/{vue.runtime.esm-bundler-CyqhBwpY.js → vue.runtime.esm-bundler-CctRY8kr.js} +13 -45
- package/dist/withCurrentFont-C9vqrduu.js +19 -0
- package/dist/{x-DrZO5tt0.js → x-gEC0yMci.js} +1 -1
- package/package.json +12 -12
- package/dist/TemplateSettings-Bh10NFIN.js +0 -245
- package/dist/cdn/chunks/CountdownToolbar-C9QpHQcv.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-BWfx94pb.js.map +0 -1
- package/dist/cdn/chunks/TemplateSettings-vsFOU0oA.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-CnfNUkOY.js.map +0 -1
- package/dist/cdn/chunks/ca-DES69VJW.js.map +0 -1
- package/dist/cdn/chunks/de-MlrDhC3Y.js.map +0 -1
- package/dist/cdn/chunks/en-6vJh7KCM.js.map +0 -1
- package/dist/cdn/chunks/en-C3n0qWte.js +0 -2
- package/dist/cdn/chunks/es-ewL03EaP.js.map +0 -1
- package/dist/cdn/chunks/extensions-ClmkNA8R.js.map +0 -1
- package/dist/cdn/chunks/fr-D1syuxs1.js.map +0 -1
- package/dist/cdn/chunks/ja-Dd_nytwe.js.map +0 -1
- package/dist/cdn/chunks/nl-DD1t_qxS.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-BmtO0R7k.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-CnUJBZTO.js.map +0 -1
- package/dist/cdn/chunks/src-B5-VKcRQ.js.map +0 -1
- package/dist/cdn/chunks/src-CjjJWoUZ.js.map +0 -1
- package/dist/cdn/chunks/src-QIGNPFkl.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-q0G4q-52.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-CshefZLP.js +0 -10
- package/dist/cdn/chunks/useScrollToBlock-DgHZJvID.js.map +0 -1
- package/dist/en-B-xoKkWi.js +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, At as t, B as n, E as r, J as i, V as a, Z as o, at as s, c, d as l, jt as u, kt as d, l as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as g, c as _, s as v } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import { t as C } from "./useI18n-
|
|
5
|
-
import { a as w, o as T, s as E } from "./LogicTagInsertButton-
|
|
6
|
-
import { t as D } from "./useMergeTag-
|
|
7
|
-
import { H as O, Kn as k, Xn as A, Yn as j, _n as M, m as N, qn as ee, s as P, u as te, v as ne } from "./dist-
|
|
8
|
-
import { n as F, t as re } from "./dist-
|
|
1
|
+
import { A as e, At as t, B as n, E as r, J as i, V as a, Z as o, at as s, c, d as l, jt as u, kt as d, l as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-CctRY8kr.js";
|
|
2
|
+
import { a as g, c as _, s as v } from "./runtime-dom.esm-bundler-CO67ema2.js";
|
|
3
|
+
import { L as y, R as b, W as x, l as S } from "./dist-BI_LeQGl.js";
|
|
4
|
+
import { t as C } from "./useI18n-uF11q85g.js";
|
|
5
|
+
import { a as w, o as T, s as E } from "./LogicTagInsertButton-CHa-UD76.js";
|
|
6
|
+
import { t as D } from "./useMergeTag-BwsBIDzR.js";
|
|
7
|
+
import { H as O, Kn as k, Xn as A, Yn as j, _n as M, m as N, qn as ee, s as P, u as te, v as ne } from "./dist-CMcFD7gP.js";
|
|
8
|
+
import { n as F, t as re } from "./dist-1H4cnaoD.js";
|
|
9
9
|
//#region src/extensions/FontSize.ts
|
|
10
10
|
var ie = P.create({
|
|
11
11
|
name: "fontSize",
|
|
@@ -101,7 +101,7 @@ var ie = P.create({
|
|
|
101
101
|
updateAttributes: { type: Function }
|
|
102
102
|
},
|
|
103
103
|
setup(i) {
|
|
104
|
-
let h = i, { syntax:
|
|
104
|
+
let h = i, { syntax: b } = D(), { t: S } = C(), w = p(() => x(h.node.attrs.value, b)), T = p(() => y(h.node.attrs.value, b)), E = o(!1), O = o(""), k = o(null), A = !1;
|
|
105
105
|
function j() {
|
|
106
106
|
O.value = h.node.attrs.value, A = !1, E.value = !0, r(() => {
|
|
107
107
|
k.value?.focus(), k.value?.select();
|
|
@@ -111,13 +111,9 @@ var ie = P.create({
|
|
|
111
111
|
if (A) return;
|
|
112
112
|
A = !0;
|
|
113
113
|
let e = O.value.trim();
|
|
114
|
-
|
|
115
|
-
E.value = !1;
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
e !== h.node.attrs.value && h.updateAttributes({
|
|
114
|
+
e && e !== h.node.attrs.value && h.updateAttributes({
|
|
119
115
|
value: e,
|
|
120
|
-
keyword:
|
|
116
|
+
keyword: x(e, b) ? y(e, b) : ""
|
|
121
117
|
}), E.value = !1;
|
|
122
118
|
}
|
|
123
119
|
function N(e) {
|
|
@@ -186,18 +182,18 @@ var ie = P.create({
|
|
|
186
182
|
});
|
|
187
183
|
//#endregion
|
|
188
184
|
//#region src/extensions/isNodeSelected.ts
|
|
189
|
-
function
|
|
185
|
+
function fe(e, t) {
|
|
190
186
|
let { $from: n, $to: r } = e.state.selection;
|
|
191
187
|
return n.pos === r.pos ? n.pos > 0 && n.nodeBefore?.type.name === t || n.nodeAfter?.type.name === t : !1;
|
|
192
188
|
}
|
|
193
189
|
//#endregion
|
|
194
190
|
//#region src/extensions/renderVueNodeView.ts
|
|
195
|
-
function
|
|
191
|
+
function pe(e) {
|
|
196
192
|
return F(e);
|
|
197
193
|
}
|
|
198
194
|
//#endregion
|
|
199
195
|
//#region src/extensions/LogicMergeTagNode.ts
|
|
200
|
-
var
|
|
196
|
+
var me = N.create({
|
|
201
197
|
name: "logicMergeTagNode",
|
|
202
198
|
group: "inline",
|
|
203
199
|
inline: !0,
|
|
@@ -223,7 +219,7 @@ var pe = N.create({
|
|
|
223
219
|
return [{ tag: "span[data-logic-merge-tag]" }];
|
|
224
220
|
},
|
|
225
221
|
renderHTML({ node: e, HTMLAttributes: t }) {
|
|
226
|
-
if (!
|
|
222
|
+
if (!x(e.attrs.value, this.options.syntax)) return [
|
|
227
223
|
"span",
|
|
228
224
|
{},
|
|
229
225
|
e.attrs.value
|
|
@@ -239,12 +235,12 @@ var pe = N.create({
|
|
|
239
235
|
];
|
|
240
236
|
},
|
|
241
237
|
addNodeView() {
|
|
242
|
-
return
|
|
238
|
+
return pe(de);
|
|
243
239
|
},
|
|
244
240
|
addKeyboardShortcuts() {
|
|
245
241
|
return {
|
|
246
|
-
Backspace: () =>
|
|
247
|
-
Delete: () =>
|
|
242
|
+
Backspace: () => fe(this.editor, this.name),
|
|
243
|
+
Delete: () => fe(this.editor, this.name)
|
|
248
244
|
};
|
|
249
245
|
},
|
|
250
246
|
addInputRules() {
|
|
@@ -253,7 +249,7 @@ var pe = N.create({
|
|
|
253
249
|
find: e,
|
|
254
250
|
handler: ({ state: e, range: t, match: n }) => {
|
|
255
251
|
let r = n[0];
|
|
256
|
-
if (!
|
|
252
|
+
if (!x(r, this.options.syntax)) return;
|
|
257
253
|
let i = y(r, this.options.syntax), a = this.type.create({
|
|
258
254
|
value: r,
|
|
259
255
|
keyword: i
|
|
@@ -268,7 +264,7 @@ var pe = N.create({
|
|
|
268
264
|
find: e,
|
|
269
265
|
handler: ({ state: e, range: t, match: n }) => {
|
|
270
266
|
let r = n[0];
|
|
271
|
-
if (!
|
|
267
|
+
if (!x(r, this.options.syntax)) return;
|
|
272
268
|
let i = y(r, this.options.syntax), a = this.type.create({
|
|
273
269
|
value: r,
|
|
274
270
|
keyword: i
|
|
@@ -277,11 +273,11 @@ var pe = N.create({
|
|
|
277
273
|
}
|
|
278
274
|
})];
|
|
279
275
|
}
|
|
280
|
-
}),
|
|
276
|
+
}), he = ["aria-invalid"], ge = [
|
|
281
277
|
"aria-label",
|
|
282
278
|
"data-tooltip",
|
|
283
279
|
"onKeydown"
|
|
284
|
-
],
|
|
280
|
+
], _e = ["aria-label"], ve = /* @__PURE__ */ h({
|
|
285
281
|
__name: "MergeTagNodeView",
|
|
286
282
|
props: {
|
|
287
283
|
node: {},
|
|
@@ -310,11 +306,7 @@ var pe = N.create({
|
|
|
310
306
|
});
|
|
311
307
|
}
|
|
312
308
|
function F() {
|
|
313
|
-
|
|
314
|
-
te();
|
|
315
|
-
return;
|
|
316
|
-
}
|
|
317
|
-
ne();
|
|
309
|
+
A.value ? te() : ne();
|
|
318
310
|
}
|
|
319
311
|
function ie() {
|
|
320
312
|
let e = M.value.trim();
|
|
@@ -345,7 +337,7 @@ var pe = N.create({
|
|
|
345
337
|
class: d(["tpl:w-32 tpl:rounded tpl:bg-transparent tpl:px-0.5 tpl:py-0 tpl:text-[1em] tpl:font-medium tpl:outline-none tpl:text-[var(--tpl-primary)]", P.value ? "tpl:border-none" : "tpl:border tpl:border-[var(--tpl-danger)]"]),
|
|
346
338
|
onBlur: ie,
|
|
347
339
|
onKeydown: ae
|
|
348
|
-
}, null, 42,
|
|
340
|
+
}, null, 42, he)), [[g, M.value]]) : (e(), l("span", {
|
|
349
341
|
key: 1,
|
|
350
342
|
role: "button",
|
|
351
343
|
tabindex: "0",
|
|
@@ -354,7 +346,7 @@ var pe = N.create({
|
|
|
354
346
|
"data-tooltip": s(S) ? t.node.attrs.value : void 0,
|
|
355
347
|
onClick: _(F, ["stop"]),
|
|
356
348
|
onKeydown: [v(_(F, ["stop"]), ["enter"]), v(_(F, ["prevent", "stop"]), ["space"])]
|
|
357
|
-
}, u(k.value), 43,
|
|
349
|
+
}, u(k.value), 43, ge)), c("button", {
|
|
358
350
|
type: "button",
|
|
359
351
|
"aria-label": s(E).mergeTag.deleteMergeTag,
|
|
360
352
|
class: "tpl-merge-tag-delete tpl:flex tpl:size-5 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:opacity-60 tpl:transition-all tpl:hover:opacity-100 tpl:text-[var(--tpl-primary)]",
|
|
@@ -378,11 +370,11 @@ var pe = N.create({
|
|
|
378
370
|
y1: "6",
|
|
379
371
|
x2: "18",
|
|
380
372
|
y2: "18"
|
|
381
|
-
})], -1)]], 8,
|
|
373
|
+
})], -1)]], 8, _e)]),
|
|
382
374
|
_: 1
|
|
383
375
|
}));
|
|
384
376
|
}
|
|
385
|
-
}),
|
|
377
|
+
}), ye = N.create({
|
|
386
378
|
name: "mergeTagNode",
|
|
387
379
|
group: "inline",
|
|
388
380
|
inline: !0,
|
|
@@ -411,7 +403,7 @@ var pe = N.create({
|
|
|
411
403
|
return [{ tag: "span[data-merge-tag]" }];
|
|
412
404
|
},
|
|
413
405
|
renderHTML({ node: e, HTMLAttributes: t }) {
|
|
414
|
-
let n =
|
|
406
|
+
let n = b(e.attrs.value, this.options.mergeTags());
|
|
415
407
|
return [
|
|
416
408
|
"span",
|
|
417
409
|
M(t, {
|
|
@@ -422,7 +414,7 @@ var pe = N.create({
|
|
|
422
414
|
];
|
|
423
415
|
},
|
|
424
416
|
addNodeView() {
|
|
425
|
-
return
|
|
417
|
+
return pe(ve);
|
|
426
418
|
},
|
|
427
419
|
addCommands() {
|
|
428
420
|
return { insertMergeTag: (e) => ({ commands: t }) => t.insertContent({
|
|
@@ -435,8 +427,8 @@ var pe = N.create({
|
|
|
435
427
|
},
|
|
436
428
|
addKeyboardShortcuts() {
|
|
437
429
|
return {
|
|
438
|
-
Backspace: () =>
|
|
439
|
-
Delete: () =>
|
|
430
|
+
Backspace: () => fe(this.editor, this.name),
|
|
431
|
+
Delete: () => fe(this.editor, this.name)
|
|
440
432
|
};
|
|
441
433
|
},
|
|
442
434
|
addInputRules() {
|
|
@@ -444,7 +436,7 @@ var pe = N.create({
|
|
|
444
436
|
return [new te({
|
|
445
437
|
find: e,
|
|
446
438
|
handler: ({ state: e, range: t, match: n }) => {
|
|
447
|
-
let r = n[0], i =
|
|
439
|
+
let r = n[0], i = b(r, this.options.mergeTags()), a = this.type.create({
|
|
448
440
|
label: i,
|
|
449
441
|
value: r
|
|
450
442
|
});
|
|
@@ -457,7 +449,7 @@ var pe = N.create({
|
|
|
457
449
|
return [new ne({
|
|
458
450
|
find: e,
|
|
459
451
|
handler: ({ state: e, range: t, match: n }) => {
|
|
460
|
-
let r = n[0], i =
|
|
452
|
+
let r = n[0], i = b(r, this.options.mergeTags()), a = this.type.create({
|
|
461
453
|
label: i,
|
|
462
454
|
value: r
|
|
463
455
|
});
|
|
@@ -465,7 +457,7 @@ var pe = N.create({
|
|
|
465
457
|
}
|
|
466
458
|
})];
|
|
467
459
|
}
|
|
468
|
-
}),
|
|
460
|
+
}), be = Math.min, I = Math.max, L = Math.round, R = Math.floor, z = (e) => ({
|
|
469
461
|
x: e,
|
|
470
462
|
y: e
|
|
471
463
|
}), xe = {
|
|
@@ -850,7 +842,7 @@ function ct(e) {
|
|
|
850
842
|
//#endregion
|
|
851
843
|
//#region ../../node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
852
844
|
function lt(e) {
|
|
853
|
-
let t = Y(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = K(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s =
|
|
845
|
+
let t = Y(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = K(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = L(n) !== a || L(r) !== o;
|
|
854
846
|
return s && (n = a, r = o), {
|
|
855
847
|
width: n,
|
|
856
848
|
height: r,
|
|
@@ -863,7 +855,7 @@ function ut(e) {
|
|
|
863
855
|
function Q(e) {
|
|
864
856
|
let t = ut(e);
|
|
865
857
|
if (!K(t)) return z(1);
|
|
866
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = lt(t), o = (a ?
|
|
858
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = lt(t), o = (a ? L(n.width) : n.width) / r, s = (a ? L(n.height) : n.height) / i;
|
|
867
859
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
868
860
|
x: o,
|
|
869
861
|
y: s
|
|
@@ -933,8 +925,8 @@ function _t(e) {
|
|
|
933
925
|
return e.getClientRects ? Array.from(e.getClientRects()) : [];
|
|
934
926
|
}
|
|
935
927
|
function vt(e) {
|
|
936
|
-
let t = ot(e), n = e.ownerDocument.body, r =
|
|
937
|
-
return Y(n).direction === "rtl" && (a +=
|
|
928
|
+
let t = ot(e), n = e.ownerDocument.body, r = I(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = I(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + mt(e), o = -t.scrollTop;
|
|
929
|
+
return Y(n).direction === "rtl" && (a += I(e.clientWidth, n.clientWidth) - r), {
|
|
938
930
|
width: r,
|
|
939
931
|
height: i,
|
|
940
932
|
x: a,
|
|
@@ -999,7 +991,7 @@ function wt(e) {
|
|
|
999
991
|
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? $e(t) ? [] : Ct(t, this._c) : [].concat(n), r], o = St(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
1000
992
|
for (let e = 1; e < a.length; e++) {
|
|
1001
993
|
let n = St(t, a[e], i);
|
|
1002
|
-
s =
|
|
994
|
+
s = I(n.top, s), c = be(n.right, c), l = be(n.bottom, l), u = I(n.left, u);
|
|
1003
995
|
}
|
|
1004
996
|
return {
|
|
1005
997
|
width: c - u,
|
|
@@ -1097,9 +1089,9 @@ function Pt(e, t, n) {
|
|
|
1097
1089
|
n === void 0 && (n = !1), c === void 0 && (c = 1), o();
|
|
1098
1090
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
1099
1091
|
if (n || t(), !f || !p) return;
|
|
1100
|
-
let m =
|
|
1092
|
+
let m = R(d), h = R(a.clientWidth - (u + f)), g = R(a.clientHeight - (d + p)), _ = R(u), v = {
|
|
1101
1093
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
1102
|
-
threshold:
|
|
1094
|
+
threshold: I(0, be(1, c)) || 1
|
|
1103
1095
|
}, y = !0;
|
|
1104
1096
|
function b(t) {
|
|
1105
1097
|
let n = t[0].intersectionRatio;
|
|
@@ -1383,20 +1375,16 @@ function Xt({ getReferenceRect: e, contextElement: t, config: n, container: r, d
|
|
|
1383
1375
|
strategy: n.strategy,
|
|
1384
1376
|
middleware: n.middleware
|
|
1385
1377
|
}).then(({ x: e, y: t, placement: n, strategy: r }) => {
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
});
|
|
1393
|
-
return;
|
|
1394
|
-
}
|
|
1395
|
-
Object.assign(o.style, {
|
|
1378
|
+
s.onPosition ? s.onPosition({
|
|
1379
|
+
x: e,
|
|
1380
|
+
y: t,
|
|
1381
|
+
placement: n,
|
|
1382
|
+
strategy: r
|
|
1383
|
+
}) : (Object.assign(o.style, {
|
|
1396
1384
|
position: r,
|
|
1397
1385
|
left: `${e}px`,
|
|
1398
1386
|
top: `${t}px`
|
|
1399
|
-
}), l || (l = !0, o.style.visibility = "");
|
|
1387
|
+
}), l || (l = !0, o.style.visibility = ""));
|
|
1400
1388
|
});
|
|
1401
1389
|
}, s.autoUpdate), f;
|
|
1402
1390
|
return i && (f = (e) => {
|
|
@@ -1508,11 +1496,7 @@ function Zt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
|
|
|
1508
1496
|
};
|
|
1509
1497
|
}
|
|
1510
1498
|
}
|
|
1511
|
-
|
|
1512
|
-
_.abort(), y(S, g), g = void 0;
|
|
1513
|
-
return;
|
|
1514
|
-
}
|
|
1515
|
-
S === "updated" && y(S, g);
|
|
1499
|
+
S === "stopped" ? (_.abort(), y(S, g), g = void 0) : S === "updated" && y(S, g);
|
|
1516
1500
|
},
|
|
1517
1501
|
destroy: () => {
|
|
1518
1502
|
var e;
|
|
@@ -1618,12 +1602,12 @@ var nn = P.create({
|
|
|
1618
1602
|
};
|
|
1619
1603
|
},
|
|
1620
1604
|
addProseMirrorPlugins() {
|
|
1621
|
-
let e = this.options.mergeTags
|
|
1605
|
+
let e = this.options.mergeTags, t = this.options.emptyText, n = this.options.popoverRoot, r = {
|
|
1622
1606
|
char: this.options.char,
|
|
1623
1607
|
allowSpaces: !1,
|
|
1624
1608
|
startOfLine: !1,
|
|
1625
1609
|
allowedPrefixes: null,
|
|
1626
|
-
items: ({ query: t }) => T(e, t),
|
|
1610
|
+
items: ({ query: t }) => T(e(), t),
|
|
1627
1611
|
command: ({ editor: e, range: t, props: n }) => {
|
|
1628
1612
|
e.chain().focus().insertContentAt(t, {
|
|
1629
1613
|
type: "mergeTagNode",
|
|
@@ -1642,4 +1626,4 @@ var nn = P.create({
|
|
|
1642
1626
|
}
|
|
1643
1627
|
});
|
|
1644
1628
|
//#endregion
|
|
1645
|
-
export { ie as FontSize, ae as LetterSpacing, oe as LineBoundaryKeys, se as LineHeight,
|
|
1629
|
+
export { ie as FontSize, ae as LetterSpacing, oe as LineBoundaryKeys, se as LineHeight, me as LogicMergeTagNode, ye as MergeTagNode, nn as MergeTagSuggestion, T as filterMergeTags, E as handleSuggestionKeyDown };
|
|
@@ -240,6 +240,11 @@ var e = {
|
|
|
240
240
|
styleRounded: "Arrondi",
|
|
241
241
|
styleSquare: "Carré",
|
|
242
242
|
styleCircle: "Cercle",
|
|
243
|
+
stylePlain: "Simple",
|
|
244
|
+
color: "Couleur",
|
|
245
|
+
colorBrand: "Couleurs de marque",
|
|
246
|
+
colorDark: "Sombre",
|
|
247
|
+
colorLight: "Clair",
|
|
243
248
|
size: "Taille",
|
|
244
249
|
sizeSmall: "S",
|
|
245
250
|
sizeMedium: "M",
|
|
@@ -633,5 +638,3 @@ var e = {
|
|
|
633
638
|
};
|
|
634
639
|
//#endregion
|
|
635
640
|
export { e as default };
|
|
636
|
-
|
|
637
|
-
//# sourceMappingURL=fr-D1syuxs1.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1789,8 +1789,9 @@ declare interface SectionBlock extends BaseBlock {
|
|
|
1789
1789
|
|
|
1790
1790
|
/**
|
|
1791
1791
|
* Optional outer frame for a section. When present, the section is rendered
|
|
1792
|
-
* inside an `mj-wrapper` — a
|
|
1793
|
-
*
|
|
1792
|
+
* inside an `mj-wrapper` — a band (its own background + padding) that frames
|
|
1793
|
+
* the section, e.g. a white card sitting on a colored band. The band is as
|
|
1794
|
+
* wide as the email body (`settings.width`), not the recipient's viewport.
|
|
1794
1795
|
*/
|
|
1795
1796
|
declare interface SectionWrapper {
|
|
1796
1797
|
backgroundColor?: string;
|
|
@@ -1827,6 +1828,8 @@ declare interface SocialIconsBlock extends BaseBlock {
|
|
|
1827
1828
|
type: "social";
|
|
1828
1829
|
icons: SocialIcon[];
|
|
1829
1830
|
iconStyle: SocialIconStyle;
|
|
1831
|
+
/** Absent means `"brand"`. */
|
|
1832
|
+
iconTone?: SocialIconTone;
|
|
1830
1833
|
iconSize: SocialIconSize;
|
|
1831
1834
|
spacing: number;
|
|
1832
1835
|
align: "left" | "center" | "right";
|
|
@@ -1834,7 +1837,16 @@ declare interface SocialIconsBlock extends BaseBlock {
|
|
|
1834
1837
|
|
|
1835
1838
|
declare type SocialIconSize = "small" | "medium" | "large";
|
|
1836
1839
|
|
|
1837
|
-
|
|
1840
|
+
/**
|
|
1841
|
+
* The icon's shape. `plain` is the glyph alone, with no badge or outline.
|
|
1842
|
+
*/
|
|
1843
|
+
declare type SocialIconStyle = "solid" | "outlined" | "rounded" | "square" | "circle" | "plain";
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* The colors an icon is drawn in: each platform's own brand color, or one
|
|
1847
|
+
* tone (dark or light) for every icon.
|
|
1848
|
+
*/
|
|
1849
|
+
declare type SocialIconTone = "brand" | "dark" | "light";
|
|
1838
1850
|
|
|
1839
1851
|
declare type SocialPlatform = "facebook" | "twitter" | "instagram" | "linkedin" | "youtube" | "tiktok" | "pinterest" | "email" | "whatsapp" | "telegram" | "discord" | "snapchat" | "reddit" | "github" | "dribbble" | "behance" | "website";
|
|
1840
1852
|
|
|
@@ -2391,12 +2403,12 @@ export declare interface TemplaticalCloudEditorConfig {
|
|
|
2391
2403
|
displayConditions?: DisplayConditionsConfig;
|
|
2392
2404
|
customBlocks?: CustomBlockDefinition[];
|
|
2393
2405
|
/**
|
|
2394
|
-
* Allowlist + order for the block palette. When
|
|
2395
|
-
* types appear in the sidebar palette, in this order; unlisted
|
|
2396
|
-
* hidden. Built-ins use their bare type (`'image'`), custom
|
|
2397
|
-
* `custom:`-prefixed type (`'custom:qrcode'`). Unknown entries are
|
|
2398
|
-
* skipped. Omit for the full default palette. See
|
|
2399
|
-
* editor config for details.
|
|
2406
|
+
* Allowlist + order for the block palette. When non-empty, only the listed
|
|
2407
|
+
* block types appear in the sidebar palette, in this order; unlisted
|
|
2408
|
+
* built-ins are hidden. Built-ins use their bare type (`'image'`), custom
|
|
2409
|
+
* blocks the `custom:`-prefixed type (`'custom:qrcode'`). Unknown entries are
|
|
2410
|
+
* warned and skipped. Omit it or pass `[]` for the full default palette. See
|
|
2411
|
+
* `paletteBlocks` on the OSS editor config for details.
|
|
2400
2412
|
*/
|
|
2401
2413
|
paletteBlocks?: string[];
|
|
2402
2414
|
/**
|
|
@@ -2548,6 +2560,26 @@ export declare interface TemplaticalEditor extends TemplaticalEditorBase {
|
|
|
2548
2560
|
declare interface TemplaticalEditorBase {
|
|
2549
2561
|
getContent(): TemplateContent;
|
|
2550
2562
|
setContent(content: TemplateContent): void;
|
|
2563
|
+
/**
|
|
2564
|
+
* Insert a block where a click on a palette item would put it: below the
|
|
2565
|
+
* selected block, in the same column when the selection is inside a section
|
|
2566
|
+
* (a section lands after that section instead), or at the end when nothing
|
|
2567
|
+
* usable is selected. The new block is selected and scrolled into view, so
|
|
2568
|
+
* repeated calls stack in order.
|
|
2569
|
+
*
|
|
2570
|
+
* The block is inserted as given: the editor defaults a palette block is
|
|
2571
|
+
* built with (`blockDefaults`, localized placeholder text, RTL alignment)
|
|
2572
|
+
* aren't applied, so insert ready-made content rather than fresh factory
|
|
2573
|
+
* blocks.
|
|
2574
|
+
*
|
|
2575
|
+
* Inserts a copy with fresh ids, so the same block can be inserted twice.
|
|
2576
|
+
* Bare merge tags are converted the same way `setContent` converts them.
|
|
2577
|
+
* Returns the inserted copy's id, or `null` once the instance is unmounted
|
|
2578
|
+
* or replaced by a later `init()` on its container, in preview mode (with a
|
|
2579
|
+
* warning), or when the block could not be placed. A slot or wrapper block
|
|
2580
|
+
* throws, as it does in `setContent`.
|
|
2581
|
+
*/
|
|
2582
|
+
insertBlock(block: Block): string | null;
|
|
2551
2583
|
setTheme(theme: UiTheme): void;
|
|
2552
2584
|
/**
|
|
2553
2585
|
* Replace the configured merge tags after `init()`.
|
|
@@ -2865,10 +2897,11 @@ export declare interface TemplaticalEditorConfig {
|
|
|
2865
2897
|
displayConditions?: DisplayConditionsConfig;
|
|
2866
2898
|
customBlocks?: CustomBlockDefinition[];
|
|
2867
2899
|
/**
|
|
2868
|
-
* Allowlist + order for the block palette. When
|
|
2869
|
-
* types appear in the sidebar palette, in exactly this order —
|
|
2870
|
-
* built-ins (e.g. `video`, `table`) are hidden. When omitted
|
|
2871
|
-
* default palette is shown
|
|
2900
|
+
* Allowlist + order for the block palette. When non-empty, only the listed
|
|
2901
|
+
* block types appear in the sidebar palette, in exactly this order —
|
|
2902
|
+
* unlisted built-ins (e.g. `video`, `table`) are hidden. When omitted or
|
|
2903
|
+
* empty (`[]`), the full default palette is shown: an empty allowlist means
|
|
2904
|
+
* "not configured", not "hide every block".
|
|
2872
2905
|
*
|
|
2873
2906
|
* Reference built-in blocks by their bare type (`'section'`, `'image'`, …)
|
|
2874
2907
|
* and custom blocks by their `custom:`-prefixed type (`'custom:qrcode'`),
|
|
@@ -239,6 +239,11 @@ var e = {
|
|
|
239
239
|
styleRounded: "角丸",
|
|
240
240
|
styleSquare: "四角",
|
|
241
241
|
styleCircle: "丸",
|
|
242
|
+
stylePlain: "アイコンのみ",
|
|
243
|
+
color: "色",
|
|
244
|
+
colorBrand: "ブランドカラー",
|
|
245
|
+
colorDark: "ダーク",
|
|
246
|
+
colorLight: "ライト",
|
|
242
247
|
size: "サイズ",
|
|
243
248
|
sizeSmall: "小",
|
|
244
249
|
sizeMedium: "中",
|
|
@@ -633,5 +638,3 @@ var e = {
|
|
|
633
638
|
};
|
|
634
639
|
//#endregion
|
|
635
640
|
export { e as default };
|
|
636
|
-
|
|
637
|
-
//# sourceMappingURL=ja-Dd_nytwe.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, S as t } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { $ as e, S as t } from "./vue.runtime.esm-bundler-CctRY8kr.js";
|
|
2
2
|
//#region src/keys.ts
|
|
3
3
|
var n = Symbol("translations"), r = Symbol("editor"), i = Symbol("history"), a = Symbol("blockActions"), o = Symbol("conditionPreview"), s = Symbol("appliesConditionFilter"), c = Symbol("fontsManager"), l = Symbol("themeStyles"), u = Symbol("tplUiTheme"), d = Symbol("tplUiLocale"), f = Symbol("blockDefaults"), p = Symbol("blockRegistry"), m = Symbol("customBlockDefinitions"), h = Symbol("paletteBlocks"), g = Symbol("htmlBlockPreview"), _ = Symbol("layout"), v = Symbol("sectionWrapper"), y = Symbol("colors"), b = Symbol("templateSettingsFields"), x = Symbol("customBlockStylesheets"), S = Symbol("mergeTags"), C = e([]), w = Symbol("mergeTagSyntax"), T = Symbol("onRequestMergeTag"), E = Symbol("mergeTagAutocomplete"), D = Symbol("mergeTagShowRawValue"), ee = Symbol("mergeTagSampleMode"), O = Symbol("useMergeTagSamples"), k = Symbol("resolvePreview"), A = Symbol("previewResolution"), j = Symbol("mergeTagPicker"), M = Symbol("mergeTagRequesting"), N = Symbol("logicTagRequesting"), P = Symbol("logicTags"), F = Symbol("logicPairs"), I = Symbol("logicPicker"), L = Symbol("onRequestLogic"), R = Symbol("onRequestMedia"), z = Symbol("canDropMedia"), B = Symbol("imageUrlResolver"), V = Symbol("displayConditions"), H = Symbol("allowCustomConditions"), U = Symbol("capabilities"), W = Symbol("keyboardReorder"), G = Symbol("templateLint"), K = Symbol("editorRoot"), q = Symbol("popoverRoot"), J = Symbol("savedBlocks"), Y = Symbol("authManager"), X = Symbol("aiConfig"), Z = Symbol("scoring"), Q = Symbol("cloudTranslations");
|
|
4
4
|
function $(e, n) {
|
|
@@ -874,22 +874,17 @@ function At(e) {
|
|
|
874
874
|
}
|
|
875
875
|
function jt(e) {
|
|
876
876
|
let t = "";
|
|
877
|
-
for (let n = 1; n < e.length - 1; n++)
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
else {
|
|
889
|
-
let r = n + 1, i = 0;
|
|
890
|
-
for (; r <= n + 3 && Ot.test(e[r]);) i = i * 8 + At(e[r++]);
|
|
891
|
-
n = r - 1, t += String.fromCharCode(i);
|
|
892
|
-
}
|
|
877
|
+
for (let n = 1; n < e.length - 1; n++) if (e[n] !== "\\") t += e[n];
|
|
878
|
+
else if (kt[e[n + 1]] !== void 0) t += kt[e[++n]];
|
|
879
|
+
else if (e[n + 1] === "u") {
|
|
880
|
+
let r = 0, i = n + 2;
|
|
881
|
+
for (; i <= n + 5 && Dt.test(e[i]);) r = r * 16 + At(e[i++]);
|
|
882
|
+
n = i - 1, t += String.fromCharCode(r);
|
|
883
|
+
} else if (!Ot.test(e[n + 1])) t += e[++n];
|
|
884
|
+
else {
|
|
885
|
+
let r = n + 1, i = 0;
|
|
886
|
+
for (; r <= n + 3 && Ot.test(e[r]);) i = i * 8 + At(e[r++]);
|
|
887
|
+
n = r - 1, t += String.fromCharCode(i);
|
|
893
888
|
}
|
|
894
889
|
return t;
|
|
895
890
|
}
|
|
@@ -1370,11 +1365,8 @@ var L = class {
|
|
|
1370
1365
|
continue;
|
|
1371
1366
|
}
|
|
1372
1367
|
let t = this.readValue();
|
|
1373
|
-
if (t)
|
|
1374
|
-
|
|
1375
|
-
continue;
|
|
1376
|
-
}
|
|
1377
|
-
return;
|
|
1368
|
+
if (t) yield t;
|
|
1369
|
+
else return;
|
|
1378
1370
|
}
|
|
1379
1371
|
}
|
|
1380
1372
|
readOperator() {
|
|
@@ -1445,13 +1437,8 @@ var L = class {
|
|
|
1445
1437
|
return i.name === "raw" && (this.rawBeginAt = r), i;
|
|
1446
1438
|
}
|
|
1447
1439
|
readToDelimiter(e, t = !1) {
|
|
1448
|
-
for (this.skipBlank(); this.p < this.N;)
|
|
1449
|
-
|
|
1450
|
-
this.readQuoted();
|
|
1451
|
-
continue;
|
|
1452
|
-
}
|
|
1453
|
-
if (++this.p, this.rmatch(e)) return this.p;
|
|
1454
|
-
}
|
|
1440
|
+
for (this.skipBlank(); this.p < this.N;) if (t && this.peekType() & De) this.readQuoted();
|
|
1441
|
+
else if (++this.p, this.rmatch(e)) return this.p;
|
|
1455
1442
|
return -1;
|
|
1456
1443
|
}
|
|
1457
1444
|
readOutputToken(e = F) {
|
|
@@ -1461,19 +1448,14 @@ var L = class {
|
|
|
1461
1448
|
}
|
|
1462
1449
|
readEndrawOrRawContent(e) {
|
|
1463
1450
|
let { tagDelimiterLeft: t, tagDelimiterRight: n } = e, r = this.p, i = this.readTo(t) - t.length;
|
|
1464
|
-
for (; this.p < this.N;)
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
for (; this.p <= this.N;) {
|
|
1470
|
-
if (this.rmatch(n)) {
|
|
1471
|
-
let t = this.p;
|
|
1472
|
-
return r === i ? (this.rawBeginAt = -1, new ht(this.input, r, t, e, this.file)) : (this.p = i, new _t(this.input, r, i, this.file));
|
|
1473
|
-
}
|
|
1474
|
-
if (this.rmatch(t)) break;
|
|
1475
|
-
this.p++;
|
|
1451
|
+
for (; this.p < this.N;) if (this.readIdentifier().getText() !== "endraw") i = this.readTo(t) - t.length;
|
|
1452
|
+
else for (; this.p <= this.N;) {
|
|
1453
|
+
if (this.rmatch(n)) {
|
|
1454
|
+
let t = this.p;
|
|
1455
|
+
return r === i ? (this.rawBeginAt = -1, new ht(this.input, r, t, e, this.file)) : (this.p = i, new _t(this.input, r, i, this.file));
|
|
1476
1456
|
}
|
|
1457
|
+
if (this.rmatch(t)) break;
|
|
1458
|
+
this.p++;
|
|
1477
1459
|
}
|
|
1478
1460
|
throw this.error(`raw ${this.snapshot(this.rawBeginAt)} not closed`, r);
|
|
1479
1461
|
}
|
|
@@ -1564,13 +1546,11 @@ var L = class {
|
|
|
1564
1546
|
}
|
|
1565
1547
|
readProperties(e = !0) {
|
|
1566
1548
|
let t = [];
|
|
1567
|
-
for (;;) {
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
continue;
|
|
1573
|
-
}
|
|
1549
|
+
for (;;) if (this.peek() === "[") {
|
|
1550
|
+
this.p++;
|
|
1551
|
+
let e = this.readValue() || new yt(this.input, this.p, this.p, this.file);
|
|
1552
|
+
this.assert(this.readTo("]") !== -1, "[ not closed"), t.push(e);
|
|
1553
|
+
} else {
|
|
1574
1554
|
if (e && !t.length) {
|
|
1575
1555
|
let e = this.readNonEmptyIdentifier();
|
|
1576
1556
|
if (e) {
|
|
@@ -1583,9 +1563,7 @@ var L = class {
|
|
|
1583
1563
|
let e = this.readNonEmptyIdentifier();
|
|
1584
1564
|
if (!e) break;
|
|
1585
1565
|
t.push(e);
|
|
1586
|
-
|
|
1587
|
-
}
|
|
1588
|
-
break;
|
|
1566
|
+
} else break;
|
|
1589
1567
|
}
|
|
1590
1568
|
return t;
|
|
1591
1569
|
}
|
|
@@ -3182,11 +3160,7 @@ var ha = class extends R {
|
|
|
3182
3160
|
test: Jt,
|
|
3183
3161
|
templates: i = []
|
|
3184
3162
|
})).on("tag:elsif", (e) => {
|
|
3185
|
-
|
|
3186
|
-
i = [];
|
|
3187
|
-
return;
|
|
3188
|
-
}
|
|
3189
|
-
this.branches.push({
|
|
3163
|
+
a > 0 ? i = [] : this.branches.push({
|
|
3190
3164
|
value: new B(e.tokenizer.readFilteredValue(), this.liquid),
|
|
3191
3165
|
test: M,
|
|
3192
3166
|
templates: i = []
|