@templatical/editor 0.44.2 → 0.45.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/README.md +1 -1
- package/dist/{AiChatSidebar-BUR5Jshu.js → AiChatSidebar-BlFWWhBv.js} +15 -19
- package/dist/{AiFeatureMenu-CgfLFHJw.js → AiFeatureMenu-CvWygUmC.js} +7 -7
- package/dist/{BlockIssueBadge-CWZEwMXX.js → BlockIssueBadge-CZA1XvAh.js} +5 -5
- package/dist/{BlockPreviewCanvas-2vVu55yN.js → BlockPreviewCanvas-DwxJOTzH.js} +5 -5
- package/dist/{CloudHeaderExtras-BZ62q1aS.js → CloudHeaderExtras-BzM1QU1r.js} +5 -5
- package/dist/{CloudPanels-sv4aCKKE.js → CloudPanels-d36YXXyn.js} +8 -8
- package/dist/{CollaboratorBar-CSEFL7uC.js → CollaboratorBar-rwXe_Qd2.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-lbjCc8ik.js} +62 -61
- package/dist/{DesignReferenceSidebar-ZKJ7y7-G.js → DesignReferenceSidebar-zlJQsP0X.js} +25 -26
- package/dist/{IssuesPanel-DAlNiJX_.js → IssuesPanel-CHx3m8SP.js} +8 -8
- package/dist/{LoadingTrack-C1Epulqq.js → LoadingTrack-DROqNuuD.js} +1 -1
- package/dist/{LogicTagInsertButton-DMUfVsPr.js → LogicTagInsertButton-BvftbkL4.js} +13 -19
- 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-CR1kcj8X.js} +2 -2
- package/dist/{MergeTagModeToggle-DOHixe4G.js → MergeTagModeToggle-DssKrVYb.js} +7 -7
- package/dist/{ParagraphEditor-C_p6yKLK.js → ParagraphEditor-DFizsZRc.js} +140 -139
- package/dist/{RestoreVersionDialog-CKHeCPG2.js → RestoreVersionDialog-Cp3q2mU4.js} +5 -5
- package/dist/{RichTextEditorContent-BedBVHXS.js → RichTextEditorContent-Cj3oaPMk.js} +9 -9
- package/dist/{SaveBlockDialog-q3_fjb9t.js → SaveBlockDialog-BR8vW_XF.js} +13 -13
- package/dist/SavedBlocksBrowserModal-DmwbmKxI.js +360 -0
- package/dist/{SavedBlocksPanels-DNpnl5cO.js → SavedBlocksPanels-D4XKrs-a.js} +2 -2
- package/dist/{SavedBlocksPickBar-Pq2bjpB_.js → SavedBlocksPickBar-gfc-o5sR.js} +4 -4
- package/dist/{TemplateScoringPanel-DXsyp0_A.js → TemplateScoringPanel-3lHzuCl0.js} +16 -16
- package/dist/TemplateSettings-D7aNrd0d.js +246 -0
- package/dist/{TestEmailModal-BYCKpH7g.js → TestEmailModal-DUmtcSm-.js} +11 -11
- package/dist/{TestEmailPanel-lUXAFsT5.js → TestEmailPanel-s9gISTI8.js} +2 -2
- package/dist/{TitleEditor-CWPxXUp2.js → TitleEditor-C-uHqtml.js} +13 -13
- package/dist/{ToggleSwitch-D7GLaT8s.js → ToggleSwitch-CTwwCIVA.js} +2 -2
- package/dist/{Toolbar-CWxqqBHE.js → Toolbar-CLpA36RO.js} +518 -520
- package/dist/{TplModal-D6lqrKls.js → TplModal-D6XtxusQ.js} +5 -5
- package/dist/{VersionHistoryMenu-fLrx-Lvi.js → VersionHistoryMenu-D7zaTMrb.js} +10 -10
- package/dist/{VersionHistoryPanels-C3XhpQO_.js → VersionHistoryPanels-Dvowtt7V.js} +2 -2
- package/dist/{VersionPreviewBanner-CWuxq_bb.js → VersionPreviewBanner-BUKb9gc6.js} +3 -3
- package/dist/{WrapperBlock-ox8TMS_p.js → WrapperBlock-CzJa2Mxw.js} +3 -3
- package/dist/{blockTypeIcons-DEvNVvBj.js → blockTypeIcons-D3aj5u_5.js} +2 -2
- package/dist/bundle-stats.json +7 -7
- package/dist/{ca-DSwai-th.js → ca-C__Dzq--.js} +6 -0
- package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js → AiChatSidebar-SRGBP-SL.js} +9 -13
- package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js.map → AiChatSidebar-SRGBP-SL.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-vOJtwdmT.js → AiFeatureMenu-oZhlgsGh.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-vOJtwdmT.js.map → AiFeatureMenu-oZhlgsGh.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-CB27Joyn.js → BlockPreviewCanvas-hKxE6f-k.js} +6 -6
- package/dist/cdn/chunks/{BlockPreviewCanvas-CB27Joyn.js.map → BlockPreviewCanvas-hKxE6f-k.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-9tKrhPm6.js → CloudHeaderExtras-t-_ZlHwn.js} +5 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-9tKrhPm6.js.map → CloudHeaderExtras-t-_ZlHwn.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DTQ7zbEN.js → CloudPanels-DR2eEcpX.js} +7 -7
- package/dist/cdn/chunks/{CloudPanels-DTQ7zbEN.js.map → CloudPanels-DR2eEcpX.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-BKTkVMbz.js → CollaboratorBar-w8_2WPE0.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-BKTkVMbz.js.map → CollaboratorBar-w8_2WPE0.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-CvNuDR5Z.js} +63 -62
- package/dist/cdn/chunks/CountdownToolbar-CvNuDR5Z.js.map +1 -0
- package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js → DesignReferenceSidebar-CJg_5GXU.js} +21 -22
- package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js.map → DesignReferenceSidebar-CJg_5GXU.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel--62qud8w.js → IssuesPanel-DXqlRk19.js} +6 -6
- package/dist/cdn/chunks/{IssuesPanel--62qud8w.js.map → IssuesPanel-DXqlRk19.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-DnHghQHb.js} +11 -17
- package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js.map → LogicTagInsertButton-DnHghQHb.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-heTX9P_k.js} +3 -3
- package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js.map → MergeTagInput-heTX9P_k.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js → MergeTagModeToggle-C9EfuZIP.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js.map → MergeTagModeToggle-C9EfuZIP.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BSDGOsja.js → ParagraphEditor-B5DN4Sy4.js} +145 -144
- package/dist/cdn/chunks/ParagraphEditor-B5DN4Sy4.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-DLe0Co57.js → RestoreVersionDialog-DBgJ-Nui.js} +5 -5
- package/dist/cdn/chunks/{RestoreVersionDialog-DLe0Co57.js.map → RestoreVersionDialog-DBgJ-Nui.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js → RichTextEditorContent-LOas4rfU.js} +8 -8
- package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js.map → RichTextEditorContent-LOas4rfU.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-DQzaED8U.js → SaveBlockDialog-Dx-QVQCX.js} +11 -11
- package/dist/cdn/chunks/{SaveBlockDialog-DQzaED8U.js.map → SaveBlockDialog-Dx-QVQCX.js.map} +1 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-C2RQ-JCc.js +357 -0
- package/dist/cdn/chunks/SavedBlocksBrowserModal-C2RQ-JCc.js.map +1 -0
- package/dist/cdn/chunks/{SavedBlocksPanels-lW7PMvJN.js → SavedBlocksPanels-BmRbvqqL.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-lW7PMvJN.js.map → SavedBlocksPanels-BmRbvqqL.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-DEL0r3Bv.js → SavedBlocksPickBar-BzwKojoJ.js} +5 -5
- package/dist/cdn/chunks/{SavedBlocksPickBar-DEL0r3Bv.js.map → SavedBlocksPickBar-BzwKojoJ.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-G-yV7C1C.js} +48 -47
- package/dist/cdn/chunks/TemplateSettings-G-yV7C1C.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-B7Dr2eFa.js → TestEmailModal-lOeztfTN.js} +10 -10
- package/dist/cdn/chunks/{TestEmailModal-B7Dr2eFa.js.map → TestEmailModal-lOeztfTN.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-C3PTYDbT.js → TestEmailPanel-CZswVkk_.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-C3PTYDbT.js.map → TestEmailPanel-CZswVkk_.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-gHTla_4I.js → TitleEditor-CnTT2Y3H.js} +12 -12
- package/dist/cdn/chunks/{TitleEditor-gHTla_4I.js.map → TitleEditor-CnTT2Y3H.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js → ToggleSwitch-CLHteVMO.js} +3 -3
- package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js.map → ToggleSwitch-CLHteVMO.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-CnfNUkOY.js → Toolbar-K4tIkpG1.js} +415 -417
- package/dist/cdn/chunks/Toolbar-K4tIkpG1.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-BVUBOEQL.js → TplModal-OOT36AjS.js} +5 -5
- package/dist/cdn/chunks/{TplModal-BVUBOEQL.js.map → TplModal-OOT36AjS.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-Dcdy7ySA.js → VersionHistoryPanels-BrpYRSfW.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-Dcdy7ySA.js.map → VersionHistoryPanels-BrpYRSfW.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-23nAzweL.js → WrapperBlock-DdrnwH80.js} +4 -4
- package/dist/cdn/chunks/{WrapperBlock-23nAzweL.js.map → WrapperBlock-DdrnwH80.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-DSwai-th.js → ca-C__Dzq--.js} +7 -1
- package/dist/cdn/chunks/ca-C__Dzq--.js.map +1 -0
- package/dist/cdn/chunks/{cloud-DLQU5l0Z.js → cloud-bhW8qTnh.js} +4 -4
- package/dist/cdn/chunks/{cloud-DLQU5l0Z.js.map → cloud-bhW8qTnh.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js → createCloudRuntime-CeRJkLR2.js} +9 -12
- package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js.map → createCloudRuntime-CeRJkLR2.js.map} +1 -1
- package/dist/{de-DOhKuphf.js → cdn/chunks/de-CGjbQ2mt.js} +8 -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-BE28ZcUF.js → cdn/chunks/en-BTiiAC-B.js} +8 -0
- package/dist/cdn/chunks/en-BTiiAC-B.js.map +1 -0
- package/dist/cdn/chunks/en-CAt6y87e.js +1 -0
- package/dist/{es-oQI-dfx2.js → cdn/chunks/es-CdTOcSTf.js} +8 -0
- package/dist/cdn/chunks/es-CdTOcSTf.js.map +1 -0
- package/dist/cdn/chunks/{extensions-ClmkNA8R.js → extensions-xjRsIjMP.js} +9 -17
- package/dist/cdn/chunks/{extensions-ClmkNA8R.js.map → extensions-xjRsIjMP.js.map} +1 -1
- package/dist/{fr-rzLdCMSG.js → cdn/chunks/fr-B6lcLLzC.js} +8 -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-dyFc6Ghz.js → cdn/chunks/ja-BhdkqENz.js} +8 -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-BcQhRqKR.js → cdn/chunks/nl-CE3YItYg.js} +8 -0
- package/dist/cdn/chunks/nl-CE3YItYg.js.map +1 -0
- package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js → preRenderCustomBlocks-CFwa7nP9.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js.map → preRenderCustomBlocks-CFwa7nP9.js.map} +1 -1
- package/dist/{pt-BR-UombhTMO.js → cdn/chunks/pt-BR-CUIT4rq4.js} +8 -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-CsYnPPll.js} +14 -24
- package/dist/cdn/chunks/socialIcons-CsYnPPll.js.map +1 -0
- package/dist/cdn/chunks/{src-QIGNPFkl.js → src-BcqNlDMe.js} +258 -237
- package/dist/cdn/chunks/src-BcqNlDMe.js.map +1 -0
- package/dist/cdn/chunks/{src-CLHnxvuS.js → src-CkXmV2I2.js} +174 -179
- package/dist/cdn/chunks/src-CkXmV2I2.js.map +1 -0
- package/dist/cdn/chunks/{src-B5-VKcRQ.js → src-HA9F2kvk.js} +141 -179
- package/dist/cdn/chunks/{src-B5-VKcRQ.js.map → src-HA9F2kvk.js.map} +1 -1
- 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-DjD7fJpq.js → useEditorCore-BF1ZhcGu.js} +476 -520
- package/dist/cdn/chunks/useEditorCore-BF1ZhcGu.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-91bO_SOi.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js.map → useLogicTag-91bO_SOi.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js → useMergeTag-hwifK582.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js.map → useMergeTag-hwifK582.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-BDNJ25X1.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js.map → useScrollToBlock-BDNJ25X1.js.map} +1 -1
- package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js +32 -0
- package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +89 -118
- 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-CVfwPu19.js} +2 -2
- package/dist/{copy-6uKc-WBk.js → copy-D6DNoSq1.js} +1 -1
- package/dist/{createCloudRuntime-CaZapQZ6.js → createCloudRuntime-GRv_TDb2.js} +8 -11
- package/dist/{createLucideIcon-BVcoovvP.js → createLucideIcon-BAPyioGd.js} +6 -6
- package/dist/{cdn/chunks/de-DOhKuphf.js → de-CGjbQ2mt.js} +6 -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-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-HjILVdTA.js → dist-CSaWqmWM.js} +143 -126
- 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-BE28ZcUF.js → en-BTiiAC-B.js} +6 -2
- package/dist/en-Bk4iCfjp.js +1 -0
- package/dist/{cdn/chunks/es-oQI-dfx2.js → es-CdTOcSTf.js} +6 -2
- package/dist/{extensions-DXSI8Dyj.js → extensions-B65sfZRk.js} +42 -58
- package/dist/{eye-Nbtw_q05.js → eye-DvsTBI57.js} +1 -1
- package/dist/{cdn/chunks/fr-rzLdCMSG.js → fr-B6lcLLzC.js} +6 -2
- package/dist/{image-up-C1jC7NzQ.js → image-up-BoFGZm5Q.js} +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/{info-ClH66pKN.js → info-0bQQGjTV.js} +1 -1
- package/dist/{cdn/chunks/ja-dyFc6Ghz.js → ja-BhdkqENz.js} +6 -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-BcQhRqKR.js → nl-CE3YItYg.js} +6 -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/{preRenderCustomBlocks-C_PIxBp7.js → preRenderCustomBlocks-DAS48ZCp.js} +1 -1
- package/dist/{cdn/chunks/pt-BR-UombhTMO.js → pt-BR-CUIT4rq4.js} +6 -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-CvAixjj8.js} +14 -24
- package/dist/{sparkles-_DQGv4ub.js → sparkles-DO1hzwzf.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +101 -130
- 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-iuKC8yr5.js → useEditorCore-DQSeKPE9.js} +940 -1007
- 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-BH87j1vZ.js} +3 -3
- package/dist/{useMergeTag-D3XDE_58.js → useMergeTag-DfPKX2Tk.js} +3 -3
- package/dist/{usePopoverPosition-BYmd-lhR.js → usePopoverPosition-DkBrHfCo.js} +2 -2
- package/dist/{useScrollToBlock-DA_aIJXS.js → useScrollToBlock-Dr7Sb6Tr.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-CyqhBwpY.js → vue.runtime.esm-bundler-CctRY8kr.js} +13 -45
- package/dist/withCurrentFont-DeCbPVaE.js +30 -0
- package/dist/{x-DrZO5tt0.js → x-gEC0yMci.js} +1 -1
- package/package.json +12 -12
- package/dist/SavedBlocksBrowserModal-DeUo5aFV.js +0 -325
- package/dist/TemplateSettings-Bh10NFIN.js +0 -245
- package/dist/cdn/chunks/CountdownToolbar-C9QpHQcv.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-BSDGOsja.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-CliZBxHo.js +0 -322
- package/dist/cdn/chunks/SavedBlocksBrowserModal-CliZBxHo.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-DSwai-th.js.map +0 -1
- package/dist/cdn/chunks/de-DOhKuphf.js.map +0 -1
- package/dist/cdn/chunks/en-BE28ZcUF.js.map +0 -1
- package/dist/cdn/chunks/en-C3n0qWte.js +0 -2
- package/dist/cdn/chunks/es-oQI-dfx2.js.map +0 -1
- package/dist/cdn/chunks/fr-rzLdCMSG.js.map +0 -1
- package/dist/cdn/chunks/ja-dyFc6Ghz.js.map +0 -1
- package/dist/cdn/chunks/nl-BcQhRqKR.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-UombhTMO.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-CnUJBZTO.js.map +0 -1
- package/dist/cdn/chunks/src-CLHnxvuS.js.map +0 -1
- package/dist/cdn/chunks/src-QIGNPFkl.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-DjD7fJpq.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-CshefZLP.js +0 -10
- package/dist/en-B-xoKkWi.js +0 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as e, At as t, F as n, I as r, S as i, at as a, c as o, d as s, g as c, h as l, i as u, jt as d, l as f, s as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { c as _ } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { J as v, Z as y, g as b } from "./keys-
|
|
4
|
-
import { t as x } from "./useI18n-
|
|
5
|
-
import { n as S } from "./usePopoverPosition-
|
|
6
|
-
import { t as C } from "./createLucideIcon-
|
|
7
|
-
import { c as w } from "./LogicTagInsertButton-
|
|
8
|
-
import { t as T } from "./x-
|
|
9
|
-
import { t as E } from "./MergeTagInput-
|
|
1
|
+
import { A as e, At as t, F as n, I as r, S as i, at as a, c as o, d as s, g as c, h as l, i as u, jt as d, l as f, s as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-CctRY8kr.js";
|
|
2
|
+
import { c as _ } from "./runtime-dom.esm-bundler-CO67ema2.js";
|
|
3
|
+
import { J as v, Z as y, g as b } from "./keys-injl74ob.js";
|
|
4
|
+
import { t as x } from "./useI18n-uF11q85g.js";
|
|
5
|
+
import { n as S } from "./usePopoverPosition-DkBrHfCo.js";
|
|
6
|
+
import { t as C } from "./createLucideIcon-BAPyioGd.js";
|
|
7
|
+
import { c as w } from "./LogicTagInsertButton-BvftbkL4.js";
|
|
8
|
+
import { t as T } from "./x-gEC0yMci.js";
|
|
9
|
+
import { t as E } from "./MergeTagInput-CR1kcj8X.js";
|
|
10
10
|
var D = C({
|
|
11
11
|
name: "bold",
|
|
12
12
|
size: 24,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { A as e, At as t, B as n, D as r, F as i, M as a, O as o, R as s, S as c, V as l, Z as u, at as d, c as f, d as p, g as m, h, jt as g, kt as _, l as v, r as y, s as b, u as x, v as S } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { d as ee } from "./socialIcons-
|
|
4
|
-
import { C as E, s as D } from "./useEditorCore-
|
|
5
|
-
import { $ as O, U as k, g as A, p as te } from "./keys-
|
|
6
|
-
import { t as j } from "./useI18n-
|
|
7
|
-
import { t as M } from "./chevron-down-
|
|
8
|
-
import { t as N } from "./chevron-up-
|
|
9
|
-
import { t as P } from "./loader-circle-
|
|
1
|
+
import { A as e, At as t, B as n, D as r, F as i, M as a, O as o, R as s, S as c, V as l, Z as u, at as d, c as f, d as p, g as m, h, jt as g, kt as _, l as v, r as y, s as b, u as x, v as S } from "./vue.runtime.esm-bundler-CctRY8kr.js";
|
|
2
|
+
import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-CO67ema2.js";
|
|
3
|
+
import { d as ee } from "./socialIcons-CvAixjj8.js";
|
|
4
|
+
import { C as E, s as D } from "./useEditorCore-DQSeKPE9.js";
|
|
5
|
+
import { $ as O, U as k, g as A, p as te } from "./keys-injl74ob.js";
|
|
6
|
+
import { t as j } from "./useI18n-uF11q85g.js";
|
|
7
|
+
import { t as M } from "./chevron-down-RrwkYMlp.js";
|
|
8
|
+
import { t as N } from "./chevron-up-DjN2NTbo.js";
|
|
9
|
+
import { t as P } from "./loader-circle-D8Qqs0MG.js";
|
|
10
10
|
import { v as F } from "./styleConstants-C_YAPdQS.js";
|
|
11
|
-
import { r as I } from "./WrapperBlock-
|
|
12
|
-
import { t as L } from "./TplModal-
|
|
13
|
-
import { t as R } from "./BlockPreviewCanvas-
|
|
11
|
+
import { r as I } from "./WrapperBlock-CzJa2Mxw.js";
|
|
12
|
+
import { t as L } from "./TplModal-D6XtxusQ.js";
|
|
13
|
+
import { t as R } from "./BlockPreviewCanvas-DwxJOTzH.js";
|
|
14
14
|
//#region src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
|
|
15
15
|
var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, H = {
|
|
16
16
|
key: 0,
|
|
@@ -49,7 +49,7 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
|
|
|
49
49
|
return (r, a) => (e(), p("div", {
|
|
50
50
|
"data-testid": "saved-blocks-reorder-row",
|
|
51
51
|
"data-block-id": n.block.id,
|
|
52
|
-
class: "tpl:flex tpl:items-start tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-
|
|
52
|
+
class: "tpl:flex tpl:items-start tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:p-1.5 tpl:border-[var(--tpl-border)]",
|
|
53
53
|
style: { "background-color": "var(--tpl-bg)" }
|
|
54
54
|
}, [f("button", {
|
|
55
55
|
type: "button",
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
import { A as e, At as t, B as n, E as r, F as i, M as a, R as o, S as ee, V as s, Z as c, _ as te, at as l, c as u, d, g as f, jt as p, kt as ne, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-CctRY8kr.js";
|
|
2
|
+
import { a as y, c as b, i as x, s as S } from "./runtime-dom.esm-bundler-CO67ema2.js";
|
|
3
|
+
import "./useEditorCore-DQSeKPE9.js";
|
|
4
|
+
import { $ as C, U as re, X as ie, g as ae } from "./keys-injl74ob.js";
|
|
5
|
+
import { t as oe } from "./useI18n-uF11q85g.js";
|
|
6
|
+
import { t as w } from "./blockTypeIcons-D3aj5u_5.js";
|
|
7
|
+
import { t as T } from "./package-DOvM9sHE.js";
|
|
8
|
+
import { t as se } from "./pencil-B6m0OG0n.js";
|
|
9
|
+
import { t as ce } from "./search-DSvil0jo.js";
|
|
10
|
+
import { t as le } from "./trash-CKEQH4vH.js";
|
|
11
|
+
import { t as ue } from "./x-gEC0yMci.js";
|
|
12
|
+
import { v as de } from "./styleConstants-C_YAPdQS.js";
|
|
13
|
+
import { t as fe } from "./formatAbsoluteDateTime-DMmop3C-.js";
|
|
14
|
+
import { t as pe } from "./formatRelativeTime-CtUU-QZ8.js";
|
|
15
|
+
import { t as me } from "./TplModal-D6XtxusQ.js";
|
|
16
|
+
//#region src/components/SavedBlocksBrowserModal.vue?vue&type=script&setup=true&lang.ts
|
|
17
|
+
var he = {
|
|
18
|
+
role: "dialog",
|
|
19
|
+
"aria-modal": "true",
|
|
20
|
+
"data-testid": "saved-blocks-browser",
|
|
21
|
+
"aria-labelledby": "tpl-saved-blocks-browser-title",
|
|
22
|
+
class: "tpl-scale-in tpl:flex tpl:max-h-[90%] tpl:w-[1000px] tpl:max-w-full tpl:flex-col tpl:rounded-[var(--tpl-radius-lg)]",
|
|
23
|
+
style: {
|
|
24
|
+
"background-color": "var(--tpl-bg-elevated)",
|
|
25
|
+
"box-shadow": "var(--tpl-shadow-xl)"
|
|
26
|
+
}
|
|
27
|
+
}, ge = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:px-5 tpl:py-4 tpl:border-[var(--tpl-border)]" }, _e = {
|
|
28
|
+
id: "tpl-saved-blocks-browser-title",
|
|
29
|
+
class: "tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
30
|
+
}, ve = ["aria-label"], ye = { class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:overflow-hidden" }, be = { class: "tpl:flex tpl:w-[300px] tpl:shrink-0 tpl:flex-col tpl:overflow-hidden" }, xe = { class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:px-4 tpl:pt-4 tpl:pb-3" }, Se = { class: "tpl:relative" }, Ce = ["placeholder", "disabled"], we = ["aria-label"], Te = { value: "" }, Ee = ["value"], De = { id: "tpl-saved-block-browser-categories" }, Oe = ["value"], ke = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:px-4 tpl:pb-4" }, Ae = ["aria-label"], je = {
|
|
31
|
+
key: 1,
|
|
32
|
+
class: "tpl:flex tpl:flex-col tpl:gap-1"
|
|
33
|
+
}, Me = ["onFocusout"], Ne = ["aria-label", "onKeydown"], Pe = [
|
|
34
|
+
"aria-label",
|
|
35
|
+
"placeholder",
|
|
36
|
+
"onKeydown"
|
|
37
|
+
], Fe = ["onClick"], Ie = ["aria-pressed"], Le = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Re = {
|
|
38
|
+
"data-testid": "saved-block-name",
|
|
39
|
+
class: "tpl:flex-1 tpl:truncate tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
40
|
+
}, ze = { class: "tpl:shrink-0 tpl:rounded-full tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]" }, Be = {
|
|
41
|
+
key: 0,
|
|
42
|
+
class: "tpl:mt-1 tpl:flex tpl:items-center"
|
|
43
|
+
}, Ve = {
|
|
44
|
+
"data-testid": "saved-block-category",
|
|
45
|
+
class: "tpl:max-w-full tpl:truncate tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]"
|
|
46
|
+
}, He = { class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-1" }, Ue = {
|
|
47
|
+
key: 0,
|
|
48
|
+
class: "tpl:shrink-0 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]"
|
|
49
|
+
}, We = ["title"], Ge = [
|
|
50
|
+
"aria-label",
|
|
51
|
+
"onClick",
|
|
52
|
+
"onKeydown"
|
|
53
|
+
], Ke = [
|
|
54
|
+
"aria-label",
|
|
55
|
+
"title",
|
|
56
|
+
"onClick"
|
|
57
|
+
], qe = [
|
|
58
|
+
"aria-label",
|
|
59
|
+
"title",
|
|
60
|
+
"onClick"
|
|
61
|
+
], Je = {
|
|
62
|
+
key: 2,
|
|
63
|
+
class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:py-12"
|
|
64
|
+
}, Ye = {
|
|
65
|
+
key: 0,
|
|
66
|
+
class: "tpl:mt-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
67
|
+
}, Xe = { class: "tpl:mt-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, Ze = { class: "tpl:mt-1 tpl:max-w-[220px] tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, Qe = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-hidden tpl:border-l tpl:border-[var(--tpl-border)]" }, $e = {
|
|
68
|
+
key: 0,
|
|
69
|
+
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-hidden"
|
|
70
|
+
}, et = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, tt = {
|
|
71
|
+
key: 1,
|
|
72
|
+
class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:items-center tpl:justify-center tpl:px-4"
|
|
73
|
+
}, nt = { class: "tpl:mt-2 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, rt = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-t tpl:px-5 tpl:py-3 tpl:border-[var(--tpl-border)]" }, it = { class: "tpl:flex tpl:items-center tpl:gap-2" }, at = { class: "tpl:shrink-0 tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, ot = ["value"], st = { class: "tpl:flex tpl:gap-2" }, ct = ["disabled"], lt = ".tpl-saved-block-select", E = ".tpl-saved-block-rename-btn", ut = ".tpl-saved-block-delete-btn", D = /* @__PURE__ */ v({
|
|
74
|
+
__name: "SavedBlocksBrowserModal",
|
|
75
|
+
props: { visible: { type: Boolean } },
|
|
76
|
+
emits: ["close", "insert"],
|
|
77
|
+
setup(v, { emit: D }) {
|
|
78
|
+
let dt = v, O = D, ft = te(() => import("./BlockPreviewCanvas-DwxJOTzH.js").then((e) => e.n)), { t: k, format: A } = oe(), j = C(re, "SavedBlocksBrowserModal"), M = C(ae, "SavedBlocksBrowserModal"), pt = ee(ie, void 0), N = c(""), P = c(""), F = c(null), I = c(null), L = c(null), R = c(""), z = c(""), B = c(null), V = c(null), H = c(null), U = c("end"), W = /* @__PURE__ */ new Map();
|
|
79
|
+
function mt(e, t) {
|
|
80
|
+
t ? W.set(e, t) : W.delete(e);
|
|
81
|
+
}
|
|
82
|
+
async function G(e, t) {
|
|
83
|
+
await r(), W.get(e)?.querySelector(t)?.focus();
|
|
84
|
+
}
|
|
85
|
+
let K = g(() => {
|
|
86
|
+
let e = N.value.trim().toLowerCase(), t = P.value;
|
|
87
|
+
return j.savedBlocks.value.filter((n) => !(e && !n.name.toLowerCase().includes(e) || t && n.category !== t));
|
|
88
|
+
}), q = g(() => j.isLoading.value && j.savedBlocks.value.length === 0), ht = g(() => N.value.trim().length > 0 || P.value !== ""), J = g(() => F.value ? j.savedBlocks.value.find((e) => e.id === F.value) ?? null : null), gt = g(() => {
|
|
89
|
+
let e = [{
|
|
90
|
+
value: "beginning",
|
|
91
|
+
label: k.savedBlocks.insertAtBeginning
|
|
92
|
+
}], t = M.content.value.blocks;
|
|
93
|
+
for (let n = 0; n < t.length; n++) {
|
|
94
|
+
let r = t[n], i = r.type, a = k.blocks[i] ?? r.type;
|
|
95
|
+
e.push({
|
|
96
|
+
value: r.id,
|
|
97
|
+
label: A(k.savedBlocks.insertAfterBlock, { block: `${a} ${n + 1}` })
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
return e.push({
|
|
101
|
+
value: "end",
|
|
102
|
+
label: k.savedBlocks.insertAtEnd
|
|
103
|
+
}), e;
|
|
104
|
+
}), _t = g(() => {
|
|
105
|
+
if (U.value === "end") return;
|
|
106
|
+
if (U.value === "beginning") return 0;
|
|
107
|
+
let e = M.content.value.blocks.findIndex((e) => e.id === U.value);
|
|
108
|
+
if (e !== -1) return e + 1;
|
|
109
|
+
});
|
|
110
|
+
o(() => dt.visible, (e) => {
|
|
111
|
+
if (e) {
|
|
112
|
+
N.value = "", P.value = "", F.value = null, I.value = null, L.value = null;
|
|
113
|
+
let e = M.state.selectedBlockId;
|
|
114
|
+
if (e) {
|
|
115
|
+
let t = M.content.value.blocks.findIndex((t) => t.id === e);
|
|
116
|
+
U.value = t === -1 ? "end" : e;
|
|
117
|
+
} else U.value = "end";
|
|
118
|
+
}
|
|
119
|
+
}, { immediate: !0 });
|
|
120
|
+
function vt(e) {
|
|
121
|
+
let t = [], n = /* @__PURE__ */ new Set();
|
|
122
|
+
for (let r of e.content) if (!n.has(r.type) && w[r.type] && (n.add(r.type), t.push({
|
|
123
|
+
type: r.type,
|
|
124
|
+
icon: w[r.type]
|
|
125
|
+
})), t.length >= 5) break;
|
|
126
|
+
return t;
|
|
127
|
+
}
|
|
128
|
+
function Y(e) {
|
|
129
|
+
let t = new Set(e.content.map((e) => e.type));
|
|
130
|
+
return Math.max(0, t.size - 5);
|
|
131
|
+
}
|
|
132
|
+
function X(e) {
|
|
133
|
+
let t = e.updatedAt ?? e.createdAt;
|
|
134
|
+
return t ? pe(t, k.time, A) ?? "" : "";
|
|
135
|
+
}
|
|
136
|
+
function yt(e) {
|
|
137
|
+
let t = e.updatedAt ?? e.createdAt;
|
|
138
|
+
return t ? fe(t, pt) : "";
|
|
139
|
+
}
|
|
140
|
+
async function bt(e) {
|
|
141
|
+
I.value = e, await r(), H.value?.focus();
|
|
142
|
+
}
|
|
143
|
+
function Z(e) {
|
|
144
|
+
return I.value = null, G(e, ut);
|
|
145
|
+
}
|
|
146
|
+
async function xt(e) {
|
|
147
|
+
let t = K.value.findIndex((t) => t.id === e);
|
|
148
|
+
try {
|
|
149
|
+
await j.remove(e);
|
|
150
|
+
} catch (t) {
|
|
151
|
+
throw await Z(e), t;
|
|
152
|
+
}
|
|
153
|
+
I.value = null, F.value === e && (F.value = null);
|
|
154
|
+
let n = K.value, i = n[Math.min(t, n.length - 1)];
|
|
155
|
+
i ? await G(i.id, lt) : (await r(), V.value?.focus());
|
|
156
|
+
}
|
|
157
|
+
async function St(e) {
|
|
158
|
+
j.canUpdateBlock(e) && (L.value = e.id, R.value = e.name, z.value = e.category ?? "", I.value = null, await r(), B.value?.focus(), B.value?.select());
|
|
159
|
+
}
|
|
160
|
+
function Q() {
|
|
161
|
+
L.value = null, R.value = "", z.value = "";
|
|
162
|
+
}
|
|
163
|
+
async function Ct(e) {
|
|
164
|
+
if (L.value !== e) return;
|
|
165
|
+
let t = R.value.trim(), n = z.value.trim(), r = j.savedBlocks.value.find((t) => t.id === e), i = {};
|
|
166
|
+
if (t && t !== r?.name && (i.name = t), n !== (r?.category ?? "") && (i.category = n), Object.keys(i).length === 0) Q();
|
|
167
|
+
else try {
|
|
168
|
+
await j.update(e, i);
|
|
169
|
+
} finally {
|
|
170
|
+
Q();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
async function wt(e) {
|
|
174
|
+
try {
|
|
175
|
+
await Ct(e);
|
|
176
|
+
} finally {
|
|
177
|
+
await G(e, E);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
function Tt(e) {
|
|
181
|
+
return Q(), G(e, E);
|
|
182
|
+
}
|
|
183
|
+
function Et(e, t) {
|
|
184
|
+
let n = e.currentTarget, r = e.relatedTarget;
|
|
185
|
+
r && n.contains(r) || Ct(t);
|
|
186
|
+
}
|
|
187
|
+
function Dt() {
|
|
188
|
+
J.value && O("insert", J.value, _t.value);
|
|
189
|
+
}
|
|
190
|
+
function $() {
|
|
191
|
+
O("close");
|
|
192
|
+
}
|
|
193
|
+
function Ot(e) {
|
|
194
|
+
L.value || (e.key === "Escape" && $(), e.key === "Enter" && J.value && (e.preventDefault(), Dt()));
|
|
195
|
+
}
|
|
196
|
+
return (r, o) => (e(), m(me, {
|
|
197
|
+
visible: v.visible,
|
|
198
|
+
onClose: $,
|
|
199
|
+
onKeydown: Ot
|
|
200
|
+
}, {
|
|
201
|
+
default: n(() => [u("div", he, [
|
|
202
|
+
u("div", ge, [u("h3", _e, p(l(k).savedBlocks.browse), 1), u("button", {
|
|
203
|
+
"aria-label": l(k).savedBlocks.close,
|
|
204
|
+
class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:p-1 tpl:transition-colors tpl:text-[var(--tpl-text-dim)]",
|
|
205
|
+
onClick: $
|
|
206
|
+
}, [f(l(ue), {
|
|
207
|
+
size: 16,
|
|
208
|
+
"stroke-width": 2
|
|
209
|
+
})], 8, ve)]),
|
|
210
|
+
u("div", ye, [u("div", be, [
|
|
211
|
+
u("div", xe, [u("div", Se, [f(l(ce), {
|
|
212
|
+
size: 14,
|
|
213
|
+
"stroke-width": 2,
|
|
214
|
+
class: "tpl:pointer-events-none tpl:absolute tpl:left-3 tpl:top-1/2 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]"
|
|
215
|
+
}), s(u("input", {
|
|
216
|
+
ref_key: "searchInput",
|
|
217
|
+
ref: V,
|
|
218
|
+
"onUpdate:modelValue": o[0] ||= (e) => N.value = e,
|
|
219
|
+
type: "text",
|
|
220
|
+
placeholder: l(k).savedBlocks.search,
|
|
221
|
+
disabled: q.value,
|
|
222
|
+
class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:pl-9 tpl:pr-3 tpl:text-sm tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:disabled:opacity-50 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
|
|
223
|
+
}, null, 8, Ce), [[y, N.value]])]), l(j).categories.value.length > 0 ? s((e(), d("select", {
|
|
224
|
+
key: 0,
|
|
225
|
+
"onUpdate:modelValue": o[1] ||= (e) => P.value = e,
|
|
226
|
+
"data-testid": "saved-blocks-category-filter",
|
|
227
|
+
"aria-label": l(k).savedBlocks.filterByCategory,
|
|
228
|
+
class: "tpl:h-8 tpl:w-full tpl:rounded-md tpl:border tpl:px-2 tpl:text-xs tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
|
|
229
|
+
}, [u("option", Te, p(l(k).savedBlocks.allCategories), 1), (e(!0), d(h, null, a(l(j).categories.value, (t) => (e(), d("option", {
|
|
230
|
+
key: t,
|
|
231
|
+
value: t
|
|
232
|
+
}, p(t), 9, Ee))), 128))], 8, we)), [[x, P.value]]) : _("", !0)]),
|
|
233
|
+
u("datalist", De, [(e(!0), d(h, null, a(l(j).categories.value, (t) => (e(), d("option", {
|
|
234
|
+
key: t,
|
|
235
|
+
value: t
|
|
236
|
+
}, null, 8, Oe))), 128))]),
|
|
237
|
+
u("div", ke, [q.value ? (e(), d("div", {
|
|
238
|
+
key: 0,
|
|
239
|
+
"data-testid": "saved-blocks-loading",
|
|
240
|
+
class: "tpl:flex tpl:flex-col tpl:gap-1",
|
|
241
|
+
role: "status",
|
|
242
|
+
"aria-busy": "true",
|
|
243
|
+
"aria-label": l(k).savedBlocks.loading
|
|
244
|
+
}, [(e(), d(h, null, a(3, (e) => u("div", {
|
|
245
|
+
key: e,
|
|
246
|
+
"aria-hidden": "true",
|
|
247
|
+
class: "tpl-saved-block-skeleton tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)]"
|
|
248
|
+
}, [...o[5] ||= [u("div", { class: "tpl:h-3 tpl:w-1/2 tpl:rounded tpl:bg-[var(--tpl-bg-hover)]" }, null, -1), u("div", { class: "tpl:mt-2 tpl:h-2.5 tpl:w-1/4 tpl:rounded tpl:bg-[var(--tpl-bg-hover)]" }, null, -1)]])), 64))], 8, Ae)) : K.value.length > 0 ? (e(), d("div", je, [(e(!0), d(h, null, a(K.value, (n) => (e(), d(h, { key: n.id }, [L.value === n.id ? (e(), d("div", {
|
|
249
|
+
key: 0,
|
|
250
|
+
class: "tpl:flex tpl:w-full tpl:flex-col tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-primary)]",
|
|
251
|
+
style: { "background-color": "var(--tpl-primary-light)" },
|
|
252
|
+
onFocusout: (e) => Et(e, n.id)
|
|
253
|
+
}, [s(u("input", {
|
|
254
|
+
ref_for: !0,
|
|
255
|
+
ref: (e) => B.value = e,
|
|
256
|
+
"onUpdate:modelValue": o[2] ||= (e) => R.value = e,
|
|
257
|
+
type: "text",
|
|
258
|
+
"aria-label": l(k).savedBlocks.rename,
|
|
259
|
+
class: "tpl:h-7 tpl:w-full tpl:rounded-md tpl:border tpl:px-2 tpl:text-xs tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
|
|
260
|
+
onKeydown: [S(b((e) => wt(n.id), ["prevent", "stop"]), ["enter"]), S(b((e) => Tt(n.id), ["prevent", "stop"]), ["esc"])]
|
|
261
|
+
}, null, 40, Ne), [[y, R.value]]), s(u("input", {
|
|
262
|
+
"onUpdate:modelValue": o[3] ||= (e) => z.value = e,
|
|
263
|
+
type: "text",
|
|
264
|
+
"data-testid": "saved-blocks-edit-category",
|
|
265
|
+
"aria-label": l(k).savedBlocks.category,
|
|
266
|
+
placeholder: l(k).savedBlocks.categoryPlaceholder,
|
|
267
|
+
list: "tpl-saved-block-browser-categories",
|
|
268
|
+
class: "tpl:h-7 tpl:w-full tpl:rounded-md tpl:border tpl:px-2 tpl:text-xs tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
|
|
269
|
+
onKeydown: [S(b((e) => wt(n.id), ["prevent", "stop"]), ["enter"]), S(b((e) => Tt(n.id), ["prevent", "stop"]), ["esc"])]
|
|
270
|
+
}, null, 40, Pe), [[y, z.value]])], 40, Me)) : (e(), d("div", {
|
|
271
|
+
key: 1,
|
|
272
|
+
"data-testid": "saved-block-card",
|
|
273
|
+
class: "tpl:group/card tpl:relative tpl:w-full tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:bg-transparent tpl:px-3 tpl:py-2 tpl:text-left tpl:transition-all tpl:duration-[120ms]",
|
|
274
|
+
style: t({
|
|
275
|
+
borderColor: F.value === n.id ? "var(--tpl-primary)" : "var(--tpl-border)",
|
|
276
|
+
backgroundColor: F.value === n.id ? "var(--tpl-primary-light)" : "transparent"
|
|
277
|
+
}),
|
|
278
|
+
onClick: (e) => F.value = n.id,
|
|
279
|
+
ref_for: !0,
|
|
280
|
+
ref: (e) => mt(n.id, e)
|
|
281
|
+
}, [u("button", {
|
|
282
|
+
type: "button",
|
|
283
|
+
"aria-pressed": F.value === n.id,
|
|
284
|
+
class: "tpl-saved-block-select tpl:block tpl:w-full tpl:text-left"
|
|
285
|
+
}, [u("span", Le, [u("span", Re, p(n.name), 1), u("span", ze, p(l(A)(l(k).savedBlocks.blockCount, { count: n.content.length })), 1)]), n.category ? (e(), d("span", Be, [u("span", Ve, p(n.category), 1)])) : _("", !0)], 8, Ie), u("div", He, [
|
|
286
|
+
(e(!0), d(h, null, a(vt(n), (t) => (e(), m(i(t.icon), {
|
|
287
|
+
key: t.type,
|
|
288
|
+
size: 14,
|
|
289
|
+
"stroke-width": 1.5,
|
|
290
|
+
class: "tpl:shrink-0 tpl:text-[var(--tpl-text-dim)]"
|
|
291
|
+
}))), 128)),
|
|
292
|
+
Y(n) > 0 ? (e(), d("span", Ue, " +" + p(Y(n)), 1)) : _("", !0),
|
|
293
|
+
X(n) ? (e(), d("span", {
|
|
294
|
+
key: 1,
|
|
295
|
+
"data-testid": "saved-block-updated",
|
|
296
|
+
class: "tpl:ml-1 tpl:truncate tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]",
|
|
297
|
+
title: yt(n)
|
|
298
|
+
}, p(X(n)), 9, We)) : _("", !0),
|
|
299
|
+
I.value === n.id ? (e(), d("button", {
|
|
300
|
+
key: 2,
|
|
301
|
+
ref_for: !0,
|
|
302
|
+
ref: (e) => H.value = e,
|
|
303
|
+
"aria-label": l(k).savedBlocks.deleteConfirm,
|
|
304
|
+
class: "tpl:ml-auto tpl:shrink-0 tpl:cursor-pointer tpl:whitespace-nowrap tpl:rounded-md tpl:border tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:transition-colors tpl:border-[var(--tpl-danger)] tpl:text-[var(--tpl-danger)]",
|
|
305
|
+
style: { "background-color": "transparent" },
|
|
306
|
+
onClick: b((e) => xt(n.id), ["stop"]),
|
|
307
|
+
onKeydown: S(b((e) => Z(n.id), ["prevent", "stop"]), ["esc"])
|
|
308
|
+
}, p(l(k).savedBlocks.deleteConfirmShort), 41, Ge)) : (e(), d(h, { key: 3 }, [l(j).canUpdateBlock(n) ? (e(), d("button", {
|
|
309
|
+
key: 0,
|
|
310
|
+
class: "tpl-saved-block-rename-btn tpl:ml-auto tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-dim)]",
|
|
311
|
+
"aria-label": l(k).savedBlocks.rename,
|
|
312
|
+
title: l(k).savedBlocks.rename,
|
|
313
|
+
onClick: b((e) => St(n), ["stop"])
|
|
314
|
+
}, [f(l(se), {
|
|
315
|
+
size: 12,
|
|
316
|
+
"stroke-width": 1.5
|
|
317
|
+
})], 8, Ke)) : _("", !0), l(j).canDeleteBlock(n) ? (e(), d("button", {
|
|
318
|
+
key: 1,
|
|
319
|
+
class: ne(["tpl-saved-block-delete-btn tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-dim)]", { "tpl:ml-auto": !l(j).canUpdateBlock(n) }]),
|
|
320
|
+
"aria-label": l(k).savedBlocks.delete,
|
|
321
|
+
title: l(k).savedBlocks.delete,
|
|
322
|
+
onClick: b((e) => bt(n.id), ["stop"])
|
|
323
|
+
}, [f(l(le), {
|
|
324
|
+
size: 12,
|
|
325
|
+
"stroke-width": 1.5
|
|
326
|
+
})], 10, qe)) : _("", !0)], 64))
|
|
327
|
+
])], 12, Fe))], 64))), 128))])) : (e(), d("div", Je, [f(l(T), {
|
|
328
|
+
size: 32,
|
|
329
|
+
"stroke-width": 1,
|
|
330
|
+
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
331
|
+
}), ht.value ? (e(), d("p", Ye, p(l(k).savedBlocks.noResults), 1)) : (e(), d(h, { key: 1 }, [u("p", Xe, p(l(k).savedBlocks.empty), 1), u("p", Ze, p(l(k).savedBlocks.emptyHint), 1)], 64))]))])
|
|
332
|
+
]), u("div", Qe, [J.value ? (e(), d("div", $e, [u("div", et, [f(l(ft), { blocks: J.value.content }, null, 8, ["blocks"])])])) : (e(), d("div", tt, [f(l(T), {
|
|
333
|
+
size: 32,
|
|
334
|
+
"stroke-width": 1,
|
|
335
|
+
class: "tpl:text-[var(--tpl-text-dim)]"
|
|
336
|
+
}), u("p", nt, p(l(k).savedBlocks.selectToPreview), 1)]))])]),
|
|
337
|
+
u("div", rt, [u("div", it, [u("label", at, p(l(k).savedBlocks.insertPosition), 1), s(u("select", {
|
|
338
|
+
"onUpdate:modelValue": o[4] ||= (e) => U.value = e,
|
|
339
|
+
class: "tpl:h-7 tpl:max-w-[220px] tpl:rounded-md tpl:border tpl:px-2 tpl:text-xs tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
|
|
340
|
+
}, [(e(!0), d(h, null, a(gt.value, (t) => (e(), d("option", {
|
|
341
|
+
key: t.value,
|
|
342
|
+
value: t.value
|
|
343
|
+
}, p(t.label), 9, ot))), 128))], 512), [[x, U.value]])]), u("div", st, [u("button", {
|
|
344
|
+
type: "button",
|
|
345
|
+
"data-testid": "saved-blocks-browser-close",
|
|
346
|
+
class: "tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-[var(--tpl-shadow-sm)] tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]",
|
|
347
|
+
onClick: $
|
|
348
|
+
}, p(l(k).savedBlocks.close), 1), u("button", {
|
|
349
|
+
type: "button",
|
|
350
|
+
class: ne(l(de)),
|
|
351
|
+
disabled: !J.value,
|
|
352
|
+
onClick: Dt
|
|
353
|
+
}, p(l(k).savedBlocks.insert), 11, ct)])])
|
|
354
|
+
])]),
|
|
355
|
+
_: 1
|
|
356
|
+
}, 8, ["visible"]));
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
//#endregion
|
|
360
|
+
export { D as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, _ as t, at as n, d as r, l as i, r as a, u as o, v as s } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { A as e, _ as t, at as n, d as r, l as i, r as a, u as o, v as s } from "./vue.runtime.esm-bundler-CctRY8kr.js";
|
|
2
2
|
//#endregion
|
|
3
3
|
//#region src/components/SavedBlocksPanels.vue
|
|
4
4
|
var c = /* @__PURE__ */ s({
|
|
5
5
|
__name: "SavedBlocksPanels",
|
|
6
6
|
props: { feature: {} },
|
|
7
7
|
setup(s) {
|
|
8
|
-
let c = s, l = t(() => import("./SavedBlocksPickBar-
|
|
8
|
+
let c = s, l = t(() => import("./SavedBlocksPickBar-gfc-o5sR.js")), u = t(() => import("./SaveBlockDialog-BR8vW_XF.js")), d = t(() => import("./SavedBlocksBrowserModal-DmwbmKxI.js"));
|
|
9
9
|
function f(e, t) {
|
|
10
10
|
c.feature.insert(e, t);
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as e, at as t, c as n, d as r, g as i, h as a, jt as o, kt as s, v as c } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { T as l } from "./useEditorCore-
|
|
3
|
-
import { t as u } from "./useI18n-
|
|
4
|
-
import { t as d } from "./x-
|
|
1
|
+
import { A as e, at as t, c as n, d as r, g as i, h as a, jt as o, kt as s, v as c } from "./vue.runtime.esm-bundler-CctRY8kr.js";
|
|
2
|
+
import { T as l } from "./useEditorCore-DQSeKPE9.js";
|
|
3
|
+
import { t as u } from "./useI18n-uF11q85g.js";
|
|
4
|
+
import { t as d } from "./x-gEC0yMci.js";
|
|
5
5
|
import { v as f, x as p } from "./styleConstants-C_YAPdQS.js";
|
|
6
6
|
//#region src/components/SavedBlocksPickBar.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var m = {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { A as e, At as t, B as n, F as r, M as i, R as ee, S as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as te, l as p, r as m, u as h, v as g } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as ne } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { $ as _, F as re, O as ie, W as ae, g as oe } from "./keys-
|
|
4
|
-
import { t as v } from "./createLucideIcon-
|
|
5
|
-
import { t as se } from "./chevron-down-
|
|
6
|
-
import { t as y } from "./circle-alert-
|
|
7
|
-
import { t as b } from "./eye-
|
|
8
|
-
import { t as x } from "./info-
|
|
9
|
-
import { t as S } from "./loader-circle-
|
|
10
|
-
import { t as C } from "./refresh-cw-
|
|
11
|
-
import { t as w } from "./shield-check-
|
|
12
|
-
import { t as T } from "./sparkles-
|
|
13
|
-
import { t as ce } from "./triangle-alert-
|
|
14
|
-
import { t as le } from "./x-
|
|
15
|
-
import { t as ue } from "./LoadingTrack-
|
|
1
|
+
import { A as e, At as t, B as n, F as r, M as i, R as ee, S as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as te, l as p, r as m, u as h, v as g } from "./vue.runtime.esm-bundler-CctRY8kr.js";
|
|
2
|
+
import { t as ne } from "./runtime-dom.esm-bundler-CO67ema2.js";
|
|
3
|
+
import { $ as _, F as re, O as ie, W as ae, g as oe } from "./keys-injl74ob.js";
|
|
4
|
+
import { t as v } from "./createLucideIcon-BAPyioGd.js";
|
|
5
|
+
import { t as se } from "./chevron-down-RrwkYMlp.js";
|
|
6
|
+
import { t as y } from "./circle-alert-BR1_Yfb-.js";
|
|
7
|
+
import { t as b } from "./eye-DvsTBI57.js";
|
|
8
|
+
import { t as x } from "./info-0bQQGjTV.js";
|
|
9
|
+
import { t as S } from "./loader-circle-D8Qqs0MG.js";
|
|
10
|
+
import { t as C } from "./refresh-cw-CXZS-R1U.js";
|
|
11
|
+
import { t as w } from "./shield-check-ByxUnaU9.js";
|
|
12
|
+
import { t as T } from "./sparkles-DO1hzwzf.js";
|
|
13
|
+
import { t as ce } from "./triangle-alert-BHnfd3fV.js";
|
|
14
|
+
import { t as le } from "./x-gEC0yMci.js";
|
|
15
|
+
import { t as ue } from "./LoadingTrack-DROqNuuD.js";
|
|
16
16
|
import { t as E } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
17
|
-
import { n as D } from "./useCloudI18n-
|
|
17
|
+
import { n as D } from "./useCloudI18n-GvIOLziA.js";
|
|
18
18
|
var O = v({
|
|
19
19
|
name: "shield-x",
|
|
20
20
|
size: 24,
|