@templatical/editor 0.39.4 → 0.41.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-5qqrS6uy.js → AiChatSidebar-a8TPBAl2.js} +3 -3
- package/dist/{AiFeatureMenu-BBO_Ojlp.js → AiFeatureMenu-CroDMqRG.js} +3 -3
- package/dist/{BlockIssueBadge-D5oGxOQP.js → BlockIssueBadge-D8KsGWY6.js} +2 -2
- package/dist/BlockPreviewCanvas-Z9SZIgfA.js +133 -0
- package/dist/{CloudHeaderExtras-Cg6uF-yQ.js → CloudHeaderExtras-CVqHeqc6.js} +2 -2
- package/dist/{CloudPanels-D1Gg4qrG.js → CloudPanels-CmEpQUJB.js} +4 -4
- package/dist/{CollaboratorBar-Cmn0LccS.js → CollaboratorBar-AIQC9fEF.js} +2 -2
- package/dist/{CommentsPanel-twNhYUqZ.js → CommentsPanel-9k1q-79y.js} +1 -1
- package/dist/{CommentsSidebar-DDO0Qx8U.js → CommentsSidebar-Bc7nORmD.js} +2 -2
- package/dist/{CountdownBlock-DSvbf3qU.js → CountdownBlock-C6R-hn7D.js} +1 -1
- package/dist/{CountdownToolbar-nvHxu8Gu.js → CountdownToolbar-DkC-qSgq.js} +4 -4
- package/dist/{DesignReferenceSidebar-C8ohNhOd.js → DesignReferenceSidebar-OoiYJAKS.js} +3 -3
- package/dist/{IssuesPanel-Ck0EGoV5.js → IssuesPanel-Dnns3O9z.js} +3 -3
- package/dist/{LogicTagInsertButton-D8IwH-9Z.js → LogicTagInsertButton-BimKobaG.js} +67 -67
- package/dist/{MediaEditModal-BFWmufJK.js → MediaEditModal-C-InB-H2.js} +1 -1
- package/dist/{MediaPanels-BmDda5rY.js → MediaPanels-CTosUpeo.js} +1 -1
- package/dist/{MergeTagInput-QI-5KG2R.js → MergeTagInput-DqpVzhy7.js} +1 -1
- package/dist/{MergeTagModeToggle-D793Bj_E.js → MergeTagModeToggle-BkIiAgpQ.js} +4 -4
- package/dist/{ParagraphEditor-D6FRxr8Y.js → ParagraphEditor-DaZ03d1U.js} +19 -19
- package/dist/{RestoreVersionDialog--b0qfNaK.js → RestoreVersionDialog-DHb1mPoF.js} +2 -2
- package/dist/{RichTextEditorContent-BC5UTVnb.js → RichTextEditorContent-AEtfKvLz.js} +5 -5
- package/dist/{SaveBlockDialog-C0BdEGeL.js → SaveBlockDialog-hGwLDWfE.js} +8 -8
- package/dist/{SavedBlocksBrowserModal-BzDgXtr4.js → SavedBlocksBrowserModal-C0lYVBFi.js} +6 -6
- package/dist/{SavedBlocksPanels-DN-bDZzy.js → SavedBlocksPanels-CaTbeVDv.js} +1 -1
- package/dist/{SavedBlocksPickBar-pEi9Et8Q.js → SavedBlocksPickBar-DR2afid2.js} +2 -2
- package/dist/{TemplateScoringPanel-B1wcfE0w.js → TemplateScoringPanel-Cs0TGtRF.js} +3 -3
- package/dist/{TemplateSettings-C_5leDdF.js → TemplateSettings-BD1WNP4C.js} +7 -7
- package/dist/{TestEmailModal-maM8SLBV.js → TestEmailModal-DqoosG1u.js} +70 -65
- package/dist/{TestEmailPanel-8iAZYpCK.js → TestEmailPanel-DpozqyHF.js} +1 -1
- package/dist/{TitleEditor-L26QXwna.js → TitleEditor-BCBdZLt_.js} +9 -9
- package/dist/{ToggleSwitch-JvQ_CmI1.js → ToggleSwitch-CJfQ8u57.js} +1 -1
- package/dist/{Toolbar-B2kDLFhn.js → Toolbar-C7SjilzH.js} +540 -525
- package/dist/{TplModal-DVMS_nAn.js → TplModal-CVO-2KrU.js} +3 -3
- package/dist/{VersionHistoryMenu-BVQityes.js → VersionHistoryMenu-b0A8mS2_.js} +2 -2
- package/dist/{VersionHistoryPanels-D8f8KvKX.js → VersionHistoryPanels-BzF7dmwa.js} +1 -1
- package/dist/{VersionPreviewBanner-BaMSgA1O.js → VersionPreviewBanner-xB9r83r0.js} +1 -1
- package/dist/WrapperBlock-BDjOn3fY.js +34 -0
- package/dist/{blockTypeIcons-CdXugKyV.js → blockTypeIcons-B0Bq1WT1.js} +1 -1
- package/dist/bundle-stats.json +7 -7
- package/dist/{ca-Bqeygp1_.js → ca-Ckgw9yd0.js} +1 -0
- package/dist/cdn/chunks/{AiChatSidebar-ctfIU4i0.js → AiChatSidebar-mKImUXi6.js} +7 -7
- package/dist/cdn/chunks/{AiChatSidebar-ctfIU4i0.js.map → AiChatSidebar-mKImUXi6.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-ByygdH_9.js → AiFeatureMenu-Cx3qdStQ.js} +4 -4
- package/dist/cdn/chunks/{AiFeatureMenu-ByygdH_9.js.map → AiFeatureMenu-Cx3qdStQ.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-9hHpaXb9.js → BlockIssueBadge-DS1pUf5g.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-9hHpaXb9.js.map → BlockIssueBadge-DS1pUf5g.js.map} +1 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-D31TNib3.js +135 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-D31TNib3.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-BxsMpvVr.js → CloudHeaderExtras-0zdlKiq7.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-BxsMpvVr.js.map → CloudHeaderExtras-0zdlKiq7.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DmxmqAS_.js → CloudPanels-DPh71yOO.js} +5 -5
- package/dist/cdn/chunks/{CloudPanels-DmxmqAS_.js.map → CloudPanels-DPh71yOO.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-B8ttqAqX.js → CollaboratorBar-lCZU8qkg.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-B8ttqAqX.js.map → CollaboratorBar-lCZU8qkg.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-C8ibhaiK.js → CommentsPanel-BtAGZfF6.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-C8ibhaiK.js.map → CommentsPanel-BtAGZfF6.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CybWfZ3V.js → CommentsSidebar-Ws07MXYj.js} +3 -3
- package/dist/cdn/chunks/{CommentsSidebar-CybWfZ3V.js.map → CommentsSidebar-Ws07MXYj.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-DdC8Lg5F.js → CountdownBlock-sVDjKkRw.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-DdC8Lg5F.js.map → CountdownBlock-sVDjKkRw.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DRESXiVD.js → CountdownToolbar-Bu93WiS8.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-DRESXiVD.js.map → CountdownToolbar-Bu93WiS8.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-CtaoY-hl.js → DesignReferenceSidebar-BlSdh5B7.js} +4 -4
- package/dist/cdn/chunks/{DesignReferenceSidebar-CtaoY-hl.js.map → DesignReferenceSidebar-BlSdh5B7.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-C6RlIxoi.js → IssuesPanel-CKkv9z9g.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-C6RlIxoi.js.map → IssuesPanel-CKkv9z9g.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-DpyPozop.js → LogicTagInsertButton-CHc1yZ9v.js} +165 -165
- package/dist/cdn/chunks/{LogicTagInsertButton-DpyPozop.js.map → LogicTagInsertButton-CHc1yZ9v.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-CZBZviu2.js → MediaEditModal-Cw9MhjVz.js} +2 -2
- package/dist/cdn/chunks/{MediaEditModal-CZBZviu2.js.map → MediaEditModal-Cw9MhjVz.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-Bq5b-XJM.js → MediaPanels-FD_aX3H5.js} +2 -2
- package/dist/cdn/chunks/{MediaPanels-Bq5b-XJM.js.map → MediaPanels-FD_aX3H5.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-ERJr7bP_.js → MergeTagInput--qTYfCWk.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput-ERJr7bP_.js.map → MergeTagInput--qTYfCWk.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-n3nvSNeQ.js → MergeTagModeToggle-CdWIGo3Q.js} +5 -5
- package/dist/cdn/chunks/{MergeTagModeToggle-n3nvSNeQ.js.map → MergeTagModeToggle-CdWIGo3Q.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-R2ph_UOo.js → ParagraphEditor-w2qEZTkM.js} +17 -17
- package/dist/cdn/chunks/{ParagraphEditor-R2ph_UOo.js.map → ParagraphEditor-w2qEZTkM.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-C-dwbb7T.js → RestoreVersionDialog-cnWVN3nX.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-C-dwbb7T.js.map → RestoreVersionDialog-cnWVN3nX.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Ch5zeyZ7.js → RichTextEditorContent-Fzuu9pLP.js} +6 -6
- package/dist/cdn/chunks/{RichTextEditorContent-Ch5zeyZ7.js.map → RichTextEditorContent-Fzuu9pLP.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-C_BPjVv6.js → SaveBlockDialog-jxQtKnVs.js} +9 -9
- package/dist/cdn/chunks/{SaveBlockDialog-C_BPjVv6.js.map → SaveBlockDialog-jxQtKnVs.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CrrGEfFb.js → SavedBlocksBrowserModal-DpXWf4Pi.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-CrrGEfFb.js.map → SavedBlocksBrowserModal-DpXWf4Pi.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-DfTaMPAr.js → SavedBlocksPanels-B-ASmf1P.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-DfTaMPAr.js.map → SavedBlocksPanels-B-ASmf1P.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-DziwHYSu.js → SavedBlocksPickBar-CEFIQ8Nd.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-DziwHYSu.js.map → SavedBlocksPickBar-CEFIQ8Nd.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-CR6RG6dZ.js → TemplateScoringPanel-d_Ppowsq.js} +49 -49
- package/dist/cdn/chunks/{TemplateScoringPanel-CR6RG6dZ.js.map → TemplateScoringPanel-d_Ppowsq.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-DjXiiiNr.js → TemplateSettings-Dr5OJ0Gi.js} +8 -8
- package/dist/cdn/chunks/{TemplateSettings-DjXiiiNr.js.map → TemplateSettings-Dr5OJ0Gi.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-DId9Og-N.js → TestEmailModal-CrjzVw8e.js} +56 -51
- package/dist/cdn/chunks/TestEmailModal-CrjzVw8e.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailPanel-B8LwXmeX.js → TestEmailPanel-k9vdulTu.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-B8LwXmeX.js.map → TestEmailPanel-k9vdulTu.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-C7KMzX1e.js → TitleEditor-laILWfKh.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-C7KMzX1e.js.map → TitleEditor-laILWfKh.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-CDy8OfcB.js → ToggleSwitch-0dGCYnRY.js} +2 -2
- package/dist/cdn/chunks/{ToggleSwitch-CDy8OfcB.js.map → ToggleSwitch-0dGCYnRY.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-DqFhWxgW.js → Toolbar-BsiHW9gY.js} +493 -478
- package/dist/cdn/chunks/{Toolbar-DqFhWxgW.js.map → Toolbar-BsiHW9gY.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-BKqDFLq3.js → TplModal-D8DoPbFa.js} +4 -4
- package/dist/cdn/chunks/{TplModal-BKqDFLq3.js.map → TplModal-D8DoPbFa.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-Dij1pTEb.js → VersionHistoryMenu-B3-hNu9c.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryMenu-Dij1pTEb.js.map → VersionHistoryMenu-B3-hNu9c.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-DcCFFDK6.js → VersionHistoryPanels-zw1AtzGN.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-DcCFFDK6.js.map → VersionHistoryPanels-zw1AtzGN.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-Df3FVlig.js → VersionPreviewBanner-PzVQSBJE.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-Df3FVlig.js.map → VersionPreviewBanner-PzVQSBJE.js.map} +1 -1
- package/dist/cdn/chunks/WrapperBlock-CpRvfAV0.js +36 -0
- package/dist/cdn/chunks/WrapperBlock-CpRvfAV0.js.map +1 -0
- package/dist/cdn/chunks/{ca-Bqeygp1_.js → ca-Ckgw9yd0.js} +2 -1
- package/dist/cdn/chunks/ca-Ckgw9yd0.js.map +1 -0
- package/dist/cdn/chunks/{cloud-eaXyxZ8l.js → cloud-CIT4yPp4.js} +2 -2
- package/dist/cdn/chunks/{cloud-eaXyxZ8l.js.map → cloud-CIT4yPp4.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-D5bXzcTe.js → createCloudRuntime-COUxbPvd.js} +49 -40
- package/dist/cdn/chunks/createCloudRuntime-COUxbPvd.js.map +1 -0
- package/dist/cdn/chunks/{de-CY6SlqBx.js → de-D4dweQw8.js} +2 -1
- package/dist/cdn/chunks/de-D4dweQw8.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-zxvWz8R6.js → editor-modal-CKu8HhiB.js} +4 -3
- package/dist/cdn/chunks/{editor-modal-zxvWz8R6.js.map → editor-modal-CKu8HhiB.js.map} +1 -1
- package/dist/cdn/chunks/en-DqzAdO8F.js +2 -0
- package/dist/{en-8V-2kDcp.js → cdn/chunks/en-VE7R7NyL.js} +3 -0
- package/dist/cdn/chunks/en-VE7R7NyL.js.map +1 -0
- package/dist/{es-Cmn1rT3l.js → cdn/chunks/es-B9OhP8H3.js} +3 -0
- package/dist/cdn/chunks/es-B9OhP8H3.js.map +1 -0
- package/dist/cdn/chunks/{extensions-Bhu8UEE5.js → extensions-CafoGF65.js} +5 -5
- package/dist/cdn/chunks/{extensions-Bhu8UEE5.js.map → extensions-CafoGF65.js.map} +1 -1
- package/dist/cdn/chunks/{fr-2yDa4zXM.js → fr-wrXhIi00.js} +2 -1
- package/dist/cdn/chunks/fr-wrXhIi00.js.map +1 -0
- package/dist/cdn/chunks/ja-DhlWUfke.js +94 -0
- package/dist/cdn/chunks/ja-DhlWUfke.js.map +1 -0
- package/dist/cdn/chunks/ja-fKnVWXHC.js +625 -0
- package/dist/cdn/chunks/ja-fKnVWXHC.js.map +1 -0
- package/dist/cdn/chunks/keys-DCWeHkSF.js +12 -0
- package/dist/cdn/chunks/keys-DCWeHkSF.js.map +1 -0
- package/dist/{nl-Bzk2zRI8.js → cdn/chunks/nl-DeFatKJe.js} +3 -0
- package/dist/cdn/chunks/nl-DeFatKJe.js.map +1 -0
- package/dist/cdn/chunks/preRenderCustomBlocks-Dpj-_cOj.js +21 -0
- package/dist/cdn/chunks/preRenderCustomBlocks-Dpj-_cOj.js.map +1 -0
- package/dist/cdn/chunks/{pt-BR-DqtSCTUi.js → pt-BR-Bh1J8ey6.js} +2 -1
- package/dist/cdn/chunks/pt-BR-Bh1J8ey6.js.map +1 -0
- package/dist/cdn/chunks/{socialIcons-9VrG8X3m.js → socialIcons-BvYNMn1G.js} +264 -258
- package/dist/cdn/chunks/socialIcons-BvYNMn1G.js.map +1 -0
- package/dist/cdn/chunks/{src-CaNsA_WX.js → src-Cnc5E71L.js} +258 -247
- package/dist/cdn/chunks/src-Cnc5E71L.js.map +1 -0
- package/dist/cdn/chunks/{src-Dwgq7hf4.js → src-DveVYoWS.js} +281 -181
- package/dist/cdn/chunks/src-DveVYoWS.js.map +1 -0
- package/dist/cdn/chunks/{src-CqYYKcCI.js → src-L6HEdwFn.js} +175 -168
- package/dist/cdn/chunks/src-L6HEdwFn.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-C09JcFS0.js → useCloudI18n-CrjWbpbu.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-C09JcFS0.js.map → useCloudI18n-CrjWbpbu.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-CXYI14ux.js → useEditorCore-DZmtKwJh.js} +431 -409
- package/dist/cdn/chunks/useEditorCore-DZmtKwJh.js.map +1 -0
- package/dist/cdn/chunks/{useEditorRoot-DFx2fXJP.js → useEditorRoot-CshefZLP.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-DFx2fXJP.js.map → useEditorRoot-CshefZLP.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-DTZ9sIcv.js → useI18n-CyO_Nmca.js} +2 -2
- package/dist/cdn/chunks/{useI18n-DTZ9sIcv.js.map → useI18n-CyO_Nmca.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-E2V0Xdcb.js → useLogicTag-DF7-l66G.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-E2V0Xdcb.js.map → useLogicTag-DF7-l66G.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-BE8oDoha.js → useMergeTag-DbIHw4NG.js} +4 -4
- package/dist/cdn/chunks/{useMergeTag-BE8oDoha.js.map → useMergeTag-DbIHw4NG.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-gB9q-ql7.js → usePopoverPosition-BJRvAb-h.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-gB9q-ql7.js.map → usePopoverPosition-BJRvAb-h.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CtTXwmiU.js → useScrollToBlock-DgHZJvID.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-CtTXwmiU.js.map → useScrollToBlock-DgHZJvID.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +484 -460
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{cloud-C9xWZXhg.js → cloud-DsqqUfzh.js} +1 -1
- package/dist/{createCloudRuntime-BGd5--Bq.js → createCloudRuntime-iLflkYzP.js} +47 -38
- package/dist/{de-CY6SlqBx.js → de-D4dweQw8.js} +1 -0
- package/dist/{dist-tGkjkX-v.js → dist-DbUZvK04.js} +277 -176
- package/dist/{editor-modal-Czq1I8oC.js → editor-modal-qzmEVcIk.js} +3 -2
- package/dist/en-1tgLzB8q.js +2 -0
- package/dist/{cdn/chunks/en-8V-2kDcp.js → en-VE7R7NyL.js} +1 -2
- package/dist/{cdn/chunks/es-Cmn1rT3l.js → es-B9OhP8H3.js} +1 -2
- package/dist/{extensions-DRN-elXT.js → extensions-DDhjuVKy.js} +4 -4
- package/dist/{fr-2yDa4zXM.js → fr-wrXhIi00.js} +1 -0
- package/dist/index.d.ts +65 -0
- package/dist/ja-DhlWUfke.js +92 -0
- package/dist/ja-fKnVWXHC.js +623 -0
- package/dist/keys-CDqfZIRt.js +10 -0
- package/dist/{cdn/chunks/nl-Bzk2zRI8.js → nl-DeFatKJe.js} +1 -2
- package/dist/preRenderCustomBlocks-BBSqQgke.js +19 -0
- package/dist/{pt-BR-DqtSCTUi.js → pt-BR-Bh1J8ey6.js} +1 -0
- package/dist/{socialIcons-DkGcpEwC.js → socialIcons-O7PZCW2P.js} +245 -239
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +520 -496
- package/dist/{useCloudI18n-D1iedlP3.js → useCloudI18n-DpEsiLeR.js} +1 -1
- package/dist/{useEditorCore-BUVbQgwb.js → useEditorCore-dcdHB_7H.js} +826 -804
- package/dist/{useEditorRoot-BOxn5EfP.js → useEditorRoot-CkB_5d0h.js} +1 -1
- package/dist/{useI18n-Ds_-druD.js → useI18n-B_CdcBwG.js} +1 -1
- package/dist/{useLogicTag-DoHfc08B.js → useLogicTag-D9pvgxQR.js} +3 -3
- package/dist/{useMergeTag-DXyum3kG.js → useMergeTag-BaVFPdlq.js} +5 -5
- package/dist/{usePopoverPosition-Du-Ah8E9.js → usePopoverPosition-DH7z3Ghm.js} +1 -1
- package/dist/{useScrollToBlock-DXQYPCnJ.js → useScrollToBlock-Dj4v3rxr.js} +1 -1
- package/package.json +8 -8
- package/dist/BlockPreviewCanvas-BMC16_QU.js +0 -131
- package/dist/cdn/chunks/BlockPreviewCanvas-DeS7Sa--.js +0 -133
- package/dist/cdn/chunks/BlockPreviewCanvas-DeS7Sa--.js.map +0 -1
- package/dist/cdn/chunks/TestEmailModal-DId9Og-N.js.map +0 -1
- package/dist/cdn/chunks/ca-Bqeygp1_.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-D5bXzcTe.js.map +0 -1
- package/dist/cdn/chunks/de-CY6SlqBx.js.map +0 -1
- package/dist/cdn/chunks/emailFrameWidth-BmFCN2dp.js +0 -8
- package/dist/cdn/chunks/emailFrameWidth-BmFCN2dp.js.map +0 -1
- package/dist/cdn/chunks/en-8V-2kDcp.js.map +0 -1
- package/dist/cdn/chunks/en-BcQ9ovQu.js +0 -2
- package/dist/cdn/chunks/es-Cmn1rT3l.js.map +0 -1
- package/dist/cdn/chunks/fr-2yDa4zXM.js.map +0 -1
- package/dist/cdn/chunks/keys-dJbD1QPs.js +0 -12
- package/dist/cdn/chunks/keys-dJbD1QPs.js.map +0 -1
- package/dist/cdn/chunks/nl-Bzk2zRI8.js.map +0 -1
- package/dist/cdn/chunks/preRenderCustomBlocks-Bdpiiw4A.js +0 -23
- package/dist/cdn/chunks/preRenderCustomBlocks-Bdpiiw4A.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-DqtSCTUi.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-9VrG8X3m.js.map +0 -1
- package/dist/cdn/chunks/src-CaNsA_WX.js.map +0 -1
- package/dist/cdn/chunks/src-CqYYKcCI.js.map +0 -1
- package/dist/cdn/chunks/src-Dwgq7hf4.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CXYI14ux.js.map +0 -1
- package/dist/emailFrameWidth-BmFCN2dp.js +0 -6
- package/dist/en-DQqmtndQ.js +0 -2
- package/dist/keys-BdoSgsz9.js +0 -10
- package/dist/preRenderCustomBlocks-DFXH54Zr.js +0 -21
package/dist/cdn/chunks/{LogicTagInsertButton-DpyPozop.js → LogicTagInsertButton-CHc1yZ9v.js}
RENAMED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { E as e, F as t, H as n, K as r, N as i, Q as a, S as o, Y as s, at as c, b as l, c as u, ct as d, d as f, f as p, g as m, h, k as g, l as _, lt as v, m as y, n as b, p as x, q as S, r as C, u as w, ut as T, w as E, y as D } from "./draggable-IB4x6w2O.js";
|
|
2
|
-
import { a as O, c as k, d as
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { a as
|
|
7
|
-
import { K as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { u as
|
|
2
|
+
import { a as O, c as k, d as A, l as j } from "./src-DveVYoWS.js";
|
|
3
|
+
import { t as ee } from "./dist-CXB2_kBa.js";
|
|
4
|
+
import { J as te, Y as M, Z as ne, d as re } from "./keys-DCWeHkSF.js";
|
|
5
|
+
import { t as N } from "./useI18n-CyO_Nmca.js";
|
|
6
|
+
import { a as ie, i as ae, n as oe, r as se, t as ce } from "./usePopoverPosition-BJRvAb-h.js";
|
|
7
|
+
import { K as P, P as le, Rt as F, n as I } from "./icons-BKkJ-5xF.js";
|
|
8
|
+
import { t as L } from "./useMergeTag-DbIHw4NG.js";
|
|
9
|
+
import { t as R } from "./useLogicTag-DF7-l66G.js";
|
|
10
|
+
import { u as ue } from "./styleConstants-C_YAPdQS.js";
|
|
11
11
|
//#region ../../node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js
|
|
12
|
-
var
|
|
12
|
+
var z = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, B = (e, t = 0, n = 10 ** t) => Math.round(n * e) / n, V = (e) => me(H(e)), H = (e) => (e[0] === "#" && (e = e.substring(1)), e.length < 6 ? {
|
|
13
13
|
r: parseInt(e[0] + e[0], 16),
|
|
14
14
|
g: parseInt(e[1] + e[1], 16),
|
|
15
15
|
b: parseInt(e[2] + e[2], 16),
|
|
16
|
-
a: e.length === 4 ?
|
|
16
|
+
a: e.length === 4 ? B(parseInt(e[3] + e[3], 16) / 255, 2) : 1
|
|
17
17
|
} : {
|
|
18
18
|
r: parseInt(e.substring(0, 2), 16),
|
|
19
19
|
g: parseInt(e.substring(2, 4), 16),
|
|
20
20
|
b: parseInt(e.substring(4, 6), 16),
|
|
21
|
-
a: e.length === 8 ?
|
|
22
|
-
}),
|
|
21
|
+
a: e.length === 8 ? B(parseInt(e.substring(6, 8), 16) / 255, 2) : 1
|
|
22
|
+
}), U = (e) => pe(fe(e)), de = ({ h: e, s: t, v: n, a: r }) => {
|
|
23
23
|
let i = (200 - t) * n / 100;
|
|
24
24
|
return {
|
|
25
|
-
h:
|
|
26
|
-
s:
|
|
27
|
-
l:
|
|
28
|
-
a:
|
|
25
|
+
h: B(e),
|
|
26
|
+
s: B(i > 0 && i < 200 ? t * n / 100 / (i <= 100 ? i : 200 - i) * 100 : 0),
|
|
27
|
+
l: B(i / 2),
|
|
28
|
+
a: B(r, 2)
|
|
29
29
|
};
|
|
30
|
-
},
|
|
31
|
-
let { h: t, s: n, l: r } =
|
|
30
|
+
}, W = (e) => {
|
|
31
|
+
let { h: t, s: n, l: r } = de(e);
|
|
32
32
|
return `hsl(${t}, ${n}%, ${r}%)`;
|
|
33
|
-
},
|
|
33
|
+
}, fe = ({ h: e, s: t, v: n, a: r }) => {
|
|
34
34
|
e = e / 360 * 6, t /= 100, n /= 100;
|
|
35
35
|
let i = Math.floor(e), a = n * (1 - t), o = n * (1 - (e - i) * t), s = n * (1 - (1 - e + i) * t), c = i % 6;
|
|
36
36
|
return {
|
|
37
|
-
r:
|
|
37
|
+
r: B([
|
|
38
38
|
n,
|
|
39
39
|
o,
|
|
40
40
|
a,
|
|
@@ -42,7 +42,7 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
|
|
|
42
42
|
s,
|
|
43
43
|
n
|
|
44
44
|
][c] * 255),
|
|
45
|
-
g:
|
|
45
|
+
g: B([
|
|
46
46
|
s,
|
|
47
47
|
n,
|
|
48
48
|
n,
|
|
@@ -50,7 +50,7 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
|
|
|
50
50
|
a,
|
|
51
51
|
a
|
|
52
52
|
][c] * 255),
|
|
53
|
-
b:
|
|
53
|
+
b: B([
|
|
54
54
|
a,
|
|
55
55
|
a,
|
|
56
56
|
s,
|
|
@@ -58,73 +58,73 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
|
|
|
58
58
|
n,
|
|
59
59
|
o
|
|
60
60
|
][c] * 255),
|
|
61
|
-
a:
|
|
61
|
+
a: B(r, 2)
|
|
62
62
|
};
|
|
63
|
-
},
|
|
63
|
+
}, G = (e) => {
|
|
64
64
|
let t = e.toString(16);
|
|
65
65
|
return t.length < 2 ? "0" + t : t;
|
|
66
|
+
}, pe = ({ r: e, g: t, b: n, a: r }) => {
|
|
67
|
+
let i = r < 1 ? G(B(r * 255)) : "";
|
|
68
|
+
return "#" + G(e) + G(t) + G(n) + i;
|
|
66
69
|
}, me = ({ r: e, g: t, b: n, a: r }) => {
|
|
67
|
-
let i = r < 1 ? W(z(r * 255)) : "";
|
|
68
|
-
return "#" + W(e) + W(t) + W(n) + i;
|
|
69
|
-
}, he = ({ r: e, g: t, b: n, a: r }) => {
|
|
70
70
|
let i = Math.max(e, t, n), a = i - Math.min(e, t, n), o = a ? i === e ? (t - n) / a : i === t ? 2 + (n - e) / a : 4 + (e - t) / a : 0;
|
|
71
71
|
return {
|
|
72
|
-
h:
|
|
73
|
-
s:
|
|
74
|
-
v:
|
|
72
|
+
h: B(60 * (o < 0 ? o + 6 : o)),
|
|
73
|
+
s: B(i ? a / i * 100 : 0),
|
|
74
|
+
v: B(i / 255 * 100),
|
|
75
75
|
a: r
|
|
76
76
|
};
|
|
77
|
-
},
|
|
77
|
+
}, K = (e, t) => {
|
|
78
78
|
if (e === t) return !0;
|
|
79
79
|
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
80
80
|
return !0;
|
|
81
|
-
},
|
|
82
|
-
let t =
|
|
83
|
-
return t || (t = document.createElement("template"), t.innerHTML = e,
|
|
84
|
-
},
|
|
81
|
+
}, q = (e, t) => e.toLowerCase() === t.toLowerCase() || K(H(e), H(t)), J = {}, Y = (e) => {
|
|
82
|
+
let t = J[e];
|
|
83
|
+
return t || (t = document.createElement("template"), t.innerHTML = e, J[e] = t), t;
|
|
84
|
+
}, X = (e, t, n) => {
|
|
85
85
|
e.dispatchEvent(new CustomEvent(t, {
|
|
86
86
|
bubbles: !0,
|
|
87
87
|
detail: n
|
|
88
88
|
}));
|
|
89
|
-
},
|
|
90
|
-
let n =
|
|
91
|
-
|
|
92
|
-
x:
|
|
93
|
-
y:
|
|
89
|
+
}, Z = !1, Q = (e) => "touches" in e, he = (e) => Z && !Q(e) ? !1 : (Z ||= Q(e), !0), ge = (e, t) => {
|
|
90
|
+
let n = Q(t) ? t.touches[0] : t, r = e.el.getBoundingClientRect();
|
|
91
|
+
X(e.el, "move", e.getMove({
|
|
92
|
+
x: z((n.pageX - (r.left + window.pageXOffset)) / r.width),
|
|
93
|
+
y: z((n.pageY - (r.top + window.pageYOffset)) / r.height)
|
|
94
94
|
}));
|
|
95
|
-
},
|
|
95
|
+
}, _e = (e, t) => {
|
|
96
96
|
let n = t.keyCode;
|
|
97
|
-
n > 40 || e.xy && n < 37 || n < 33 || (t.preventDefault(),
|
|
97
|
+
n > 40 || e.xy && n < 37 || n < 33 || (t.preventDefault(), X(e.el, "move", e.getMove({
|
|
98
98
|
x: n === 39 ? .01 : n === 37 ? -.01 : n === 34 ? .05 : n === 33 ? -.05 : n === 35 ? 1 : n === 36 ? -1 : 0,
|
|
99
99
|
y: n === 40 ? .01 : n === 38 ? -.01 : 0
|
|
100
100
|
}, !0)));
|
|
101
|
-
},
|
|
101
|
+
}, ve = class {
|
|
102
102
|
constructor(e, t, n, r) {
|
|
103
|
-
let i =
|
|
103
|
+
let i = Y(`<div role="slider" tabindex="0" part="${t}" ${n}><div part="${t}-pointer"></div></div>`);
|
|
104
104
|
e.appendChild(i.content.cloneNode(!0));
|
|
105
105
|
let a = e.querySelector(`[part=${t}]`);
|
|
106
106
|
a.addEventListener("mousedown", this), a.addEventListener("touchstart", this), a.addEventListener("keydown", this), this.el = a, this.xy = r, this.nodes = [a.firstChild, a];
|
|
107
107
|
}
|
|
108
108
|
set dragging(e) {
|
|
109
109
|
let t = e ? document.addEventListener : document.removeEventListener;
|
|
110
|
-
t(
|
|
110
|
+
t(Z ? "touchmove" : "mousemove", this), t(Z ? "touchend" : "mouseup", this);
|
|
111
111
|
}
|
|
112
112
|
handleEvent(e) {
|
|
113
113
|
switch (e.type) {
|
|
114
114
|
case "mousedown":
|
|
115
115
|
case "touchstart":
|
|
116
|
-
if (e.preventDefault(), !
|
|
117
|
-
this.el.focus(),
|
|
116
|
+
if (e.preventDefault(), !he(e) || !Z && e.button != 0) return;
|
|
117
|
+
this.el.focus(), ge(this, e), this.dragging = !0;
|
|
118
118
|
break;
|
|
119
119
|
case "mousemove":
|
|
120
120
|
case "touchmove":
|
|
121
|
-
e.preventDefault(),
|
|
121
|
+
e.preventDefault(), ge(this, e);
|
|
122
122
|
break;
|
|
123
123
|
case "mouseup":
|
|
124
124
|
case "touchend":
|
|
125
125
|
this.dragging = !1;
|
|
126
126
|
break;
|
|
127
|
-
case "keydown":
|
|
127
|
+
case "keydown": _e(this, e);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
style(e) {
|
|
@@ -132,25 +132,25 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
|
|
|
132
132
|
for (let n in e) this.nodes[t].style.setProperty(n, e[n]);
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
},
|
|
135
|
+
}, ye = class extends ve {
|
|
136
136
|
constructor(e) {
|
|
137
137
|
super(e, "hue", "aria-label=\"Hue\" aria-valuemin=\"0\" aria-valuemax=\"360\"", !1);
|
|
138
138
|
}
|
|
139
139
|
update({ h: e }) {
|
|
140
140
|
this.h = e, this.style([{
|
|
141
141
|
left: `${e / 360 * 100}%`,
|
|
142
|
-
color:
|
|
142
|
+
color: W({
|
|
143
143
|
h: e,
|
|
144
144
|
s: 100,
|
|
145
145
|
v: 100,
|
|
146
146
|
a: 1
|
|
147
147
|
})
|
|
148
|
-
}]), this.el.setAttribute("aria-valuenow", `${
|
|
148
|
+
}]), this.el.setAttribute("aria-valuenow", `${B(e)}`);
|
|
149
149
|
}
|
|
150
150
|
getMove(e, t) {
|
|
151
|
-
return { h: t ?
|
|
151
|
+
return { h: t ? z(this.h + e.x * 360, 0, 360) : 360 * e.x };
|
|
152
152
|
}
|
|
153
|
-
},
|
|
153
|
+
}, be = class extends ve {
|
|
154
154
|
constructor(e) {
|
|
155
155
|
super(e, "saturation", "aria-label=\"Color\"", !0);
|
|
156
156
|
}
|
|
@@ -158,46 +158,46 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
|
|
|
158
158
|
this.hsva = e, this.style([{
|
|
159
159
|
top: `${100 - e.v}%`,
|
|
160
160
|
left: `${e.s}%`,
|
|
161
|
-
color:
|
|
162
|
-
}, { "background-color":
|
|
161
|
+
color: W(e)
|
|
162
|
+
}, { "background-color": W({
|
|
163
163
|
h: e.h,
|
|
164
164
|
s: 100,
|
|
165
165
|
v: 100,
|
|
166
166
|
a: 1
|
|
167
|
-
}) }]), this.el.setAttribute("aria-valuetext", `Saturation ${
|
|
167
|
+
}) }]), this.el.setAttribute("aria-valuetext", `Saturation ${B(e.s)}%, Brightness ${B(e.v)}%`);
|
|
168
168
|
}
|
|
169
169
|
getMove(e, t) {
|
|
170
170
|
return {
|
|
171
|
-
s: t ?
|
|
172
|
-
v: t ?
|
|
171
|
+
s: t ? z(this.hsva.s + e.x * 100, 0, 100) : e.x * 100,
|
|
172
|
+
v: t ? z(this.hsva.v - e.y * 100, 0, 100) : Math.round(100 - e.y * 100)
|
|
173
173
|
};
|
|
174
174
|
}
|
|
175
|
-
},
|
|
175
|
+
}, xe = ":host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:\"\";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}", Se = "[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}", Ce = "[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}", $ = Symbol("same"), we = Symbol("color"), Te = Symbol("hsva"), Ee = Symbol("update"), De = Symbol("parts"), Oe = Symbol("css"), ke = Symbol("sliders"), Ae = class extends HTMLElement {
|
|
176
176
|
static get observedAttributes() {
|
|
177
177
|
return ["color"];
|
|
178
178
|
}
|
|
179
179
|
get [Oe]() {
|
|
180
180
|
return [
|
|
181
|
+
xe,
|
|
181
182
|
Se,
|
|
182
|
-
Ce
|
|
183
|
-
we
|
|
183
|
+
Ce
|
|
184
184
|
];
|
|
185
185
|
}
|
|
186
186
|
get [ke]() {
|
|
187
|
-
return [
|
|
187
|
+
return [be, ye];
|
|
188
188
|
}
|
|
189
189
|
get color() {
|
|
190
|
-
return this[
|
|
190
|
+
return this[we];
|
|
191
191
|
}
|
|
192
192
|
set color(e) {
|
|
193
|
-
if (!this[
|
|
193
|
+
if (!this[$](e)) {
|
|
194
194
|
let t = this.colorModel.toHsva(e);
|
|
195
|
-
this[Ee](t), this[
|
|
195
|
+
this[Ee](t), this[we] = e;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
constructor() {
|
|
199
199
|
super();
|
|
200
|
-
let e =
|
|
200
|
+
let e = Y(`<style>${this[Oe].join("")}</style>`), t = this.attachShadow({ mode: "open" });
|
|
201
201
|
t.appendChild(e.content.cloneNode(!0)), t.addEventListener("move", this), this[De] = this[ke].map((e) => new e(t));
|
|
202
202
|
}
|
|
203
203
|
connectedCallback() {
|
|
@@ -208,7 +208,7 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
|
|
|
208
208
|
}
|
|
209
209
|
attributeChangedCallback(e, t, n) {
|
|
210
210
|
let r = this.colorModel.fromAttr(n);
|
|
211
|
-
this[
|
|
211
|
+
this[$](r) || (this.color = r);
|
|
212
212
|
}
|
|
213
213
|
handleEvent(e) {
|
|
214
214
|
let t = this[Te], n = {
|
|
@@ -217,9 +217,9 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
|
|
|
217
217
|
};
|
|
218
218
|
this[Ee](n);
|
|
219
219
|
let r;
|
|
220
|
-
!
|
|
220
|
+
!K(n, t) && !this[$](r = this.colorModel.fromHsva(n)) && (this[we] = r, X(this, "color-changed", { value: r }));
|
|
221
221
|
}
|
|
222
|
-
[
|
|
222
|
+
[$](e) {
|
|
223
223
|
return this.color && this.colorModel.equal(e, this.color);
|
|
224
224
|
}
|
|
225
225
|
[Ee](e) {
|
|
@@ -227,14 +227,14 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
|
|
|
227
227
|
}
|
|
228
228
|
}, je = {
|
|
229
229
|
defaultColor: "#000",
|
|
230
|
-
toHsva:
|
|
231
|
-
fromHsva: ({ h: e, s: t, v: n }) =>
|
|
230
|
+
toHsva: V,
|
|
231
|
+
fromHsva: ({ h: e, s: t, v: n }) => U({
|
|
232
232
|
h: e,
|
|
233
233
|
s: t,
|
|
234
234
|
v: n,
|
|
235
235
|
a: 1
|
|
236
236
|
}),
|
|
237
|
-
equal:
|
|
237
|
+
equal: q,
|
|
238
238
|
fromAttr: (e) => e
|
|
239
239
|
}, Me = class extends Ae {
|
|
240
240
|
get colorModel() {
|
|
@@ -300,33 +300,33 @@ var Ne = [
|
|
|
300
300
|
},
|
|
301
301
|
emits: ["update:modelValue"],
|
|
302
302
|
setup(r, { emit: o }) {
|
|
303
|
-
let s = r, g = o, { t: S } =
|
|
304
|
-
|
|
303
|
+
let s = r, g = o, { t: S } = N(), C = a(!1), T = a(), E = a(), D = a(!1);
|
|
304
|
+
ee(T, () => {
|
|
305
305
|
C.value = !1;
|
|
306
306
|
}, { ignore: [E] });
|
|
307
|
-
let O = p(() => !s.modelValue), k = p(() =>
|
|
308
|
-
function R(e) {
|
|
309
|
-
return L.value !== "" && ce(e) === L.value;
|
|
310
|
-
}
|
|
307
|
+
let O = p(() => !s.modelValue), k = p(() => ae(s.modelValue)), A = p(() => ae(s.modelValue || s.seedColor)), j = p(() => !s.disabled && !O.value), M = e(re, ie), P = p(() => [...new Set(s.presets ?? M.presets)]), le = p(() => s.allowCustom ?? M.allowCustom), F = p(() => P.value.length > 0), L = p(() => le.value || !F.value), R = p(() => se(s.modelValue));
|
|
311
308
|
function z(e) {
|
|
309
|
+
return R.value !== "" && se(e) === R.value;
|
|
310
|
+
}
|
|
311
|
+
function B(e) {
|
|
312
312
|
g("update:modelValue", e);
|
|
313
313
|
}
|
|
314
|
-
let
|
|
315
|
-
function
|
|
316
|
-
return
|
|
314
|
+
let V = p(() => F.value && !L.value);
|
|
315
|
+
function H(e) {
|
|
316
|
+
return V.value ? e + 1 : e;
|
|
317
317
|
}
|
|
318
|
-
let
|
|
319
|
-
if (
|
|
320
|
-
let e =
|
|
321
|
-
return e === -1 ? 0 :
|
|
318
|
+
let U = p(() => {
|
|
319
|
+
if (V.value && O.value) return 0;
|
|
320
|
+
let e = P.value.findIndex((e) => z(e));
|
|
321
|
+
return e === -1 ? 0 : H(e);
|
|
322
322
|
});
|
|
323
|
-
function
|
|
324
|
-
return
|
|
323
|
+
function de() {
|
|
324
|
+
return U.value === 0 ? 0 : -1;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
return
|
|
326
|
+
function W(e) {
|
|
327
|
+
return H(e) === U.value ? 0 : -1;
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function fe(e) {
|
|
330
330
|
if (![
|
|
331
331
|
"ArrowRight",
|
|
332
332
|
"ArrowDown",
|
|
@@ -336,32 +336,32 @@ var Ne = [
|
|
|
336
336
|
let t = Array.from(e.currentTarget.querySelectorAll("[role=\"radio\"]")), n = e.target.closest("[role=\"radio\"]"), r = n ? t.indexOf(n) : -1;
|
|
337
337
|
r !== -1 && (t[(r + (e.key === "ArrowRight" || e.key === "ArrowDown" ? 1 : -1) + t.length) % t.length]?.focus(), e.preventDefault());
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function G(e) {
|
|
340
340
|
D.value = !0, g("update:modelValue", e.detail.value);
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function pe() {
|
|
343
343
|
D.value = !1;
|
|
344
344
|
}
|
|
345
|
-
function
|
|
346
|
-
!D.value && O.value && g("update:modelValue",
|
|
345
|
+
function me() {
|
|
346
|
+
!D.value && O.value && g("update:modelValue", A.value);
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function K(e) {
|
|
349
349
|
g("update:modelValue", e.target.value);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function q() {
|
|
352
352
|
g("update:modelValue", "");
|
|
353
353
|
}
|
|
354
|
-
let
|
|
354
|
+
let J = oe(), { toLocal: Y } = ce(), X = e(te, null), Z = e(ne, null), Q = a({
|
|
355
355
|
top: 0,
|
|
356
356
|
left: 0
|
|
357
357
|
});
|
|
358
|
-
function
|
|
358
|
+
function he() {
|
|
359
359
|
if (!s.disabled) {
|
|
360
360
|
if (!C.value) {
|
|
361
361
|
let e = E.value?.getBoundingClientRect();
|
|
362
362
|
if (e) {
|
|
363
363
|
let t = e.bottom + 8 + 240 <= window.innerHeight ? e.bottom + 8 : Math.max(8, e.top - 240 - 8);
|
|
364
|
-
|
|
364
|
+
Q.value = Y({
|
|
365
365
|
top: t,
|
|
366
366
|
left: e.left
|
|
367
367
|
});
|
|
@@ -385,34 +385,34 @@ var Ne = [
|
|
|
385
385
|
C.value ? "tpl:border-[var(--tpl-primary)] tpl:shadow-[var(--tpl-ring)]" : !r.disabled && "tpl:hover:border-[var(--tpl-text-dim)]",
|
|
386
386
|
r.size === "sm" ? "tpl:size-8" : "tpl:size-10"
|
|
387
387
|
]),
|
|
388
|
-
onClick:
|
|
388
|
+
onClick: he
|
|
389
389
|
}, [x("span", {
|
|
390
390
|
class: d(["tpl:block tpl:size-full tpl:rounded-[calc(var(--tpl-radius-sm)-2px)]", { "tpl-color-swatch-empty": O.value }]),
|
|
391
391
|
style: v(O.value ? void 0 : { backgroundColor: k.value })
|
|
392
392
|
}, null, 6)], 10, Ne),
|
|
393
|
-
!r.swatchOnly &&
|
|
393
|
+
!r.swatchOnly && L.value ? (i(), m("div", Pe, [x("input", {
|
|
394
394
|
type: "text",
|
|
395
|
-
class: d([c(
|
|
396
|
-
style: v(
|
|
395
|
+
class: d([c(ue), "tpl:w-full"]),
|
|
396
|
+
style: v(j.value ? { paddingRight: "2.25rem" } : void 0),
|
|
397
397
|
value: k.value,
|
|
398
398
|
placeholder: r.placeholder || c(S).colorPicker.notSet,
|
|
399
399
|
disabled: r.disabled,
|
|
400
400
|
"aria-label": c(S).colorPicker.hexValue,
|
|
401
|
-
onInput:
|
|
402
|
-
}, null, 46, Fe),
|
|
401
|
+
onInput: K
|
|
402
|
+
}, null, 46, Fe), j.value ? (i(), m("button", {
|
|
403
403
|
key: 0,
|
|
404
404
|
type: "button",
|
|
405
405
|
"aria-label": c(S).colorPicker.clear,
|
|
406
406
|
title: c(S).colorPicker.clear,
|
|
407
407
|
class: "tpl:absolute tpl:right-2 tpl:top-1/2 tpl:flex tpl:size-6 tpl:-translate-y-1/2 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
408
|
-
onClick:
|
|
409
|
-
}, [l(c(
|
|
408
|
+
onClick: q
|
|
409
|
+
}, [l(c(I), {
|
|
410
410
|
size: 14,
|
|
411
411
|
"stroke-width": 1.5
|
|
412
412
|
})], 8, Ie)) : h("", !0)])) : h("", !0),
|
|
413
413
|
(i(), y(f, {
|
|
414
|
-
to: c(
|
|
415
|
-
disabled: !c(
|
|
414
|
+
to: c(J),
|
|
415
|
+
disabled: !c(J)
|
|
416
416
|
}, [l(b, {
|
|
417
417
|
"enter-active-class": "tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
|
|
418
418
|
"enter-from-class": "tpl:opacity-0 tpl:scale-95 tpl:translate-y-1",
|
|
@@ -425,69 +425,69 @@ var Ne = [
|
|
|
425
425
|
key: 0,
|
|
426
426
|
ref_key: "popoverRef",
|
|
427
427
|
ref: T,
|
|
428
|
-
"data-tpl-theme": c(
|
|
428
|
+
"data-tpl-theme": c(Z),
|
|
429
429
|
class: "tpl-color-popover tpl:absolute tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
430
430
|
style: v({
|
|
431
|
-
top: `${
|
|
432
|
-
left: `${
|
|
433
|
-
...c(
|
|
431
|
+
top: `${Q.value.top}px`,
|
|
432
|
+
left: `${Q.value.left}px`,
|
|
433
|
+
...c(X)
|
|
434
434
|
})
|
|
435
435
|
}, [
|
|
436
|
-
|
|
436
|
+
F.value ? (i(), m("div", {
|
|
437
437
|
key: 0,
|
|
438
438
|
role: "radiogroup",
|
|
439
439
|
"aria-label": c(S).colorPicker.presetColors,
|
|
440
|
-
class: d(["tpl:flex tpl:flex-wrap tpl:gap-1.5",
|
|
441
|
-
onKeydown:
|
|
442
|
-
}, [
|
|
440
|
+
class: d(["tpl:flex tpl:flex-wrap tpl:gap-1.5", L.value && "tpl:mb-2"]),
|
|
441
|
+
onKeydown: fe
|
|
442
|
+
}, [V.value ? (i(), m("button", {
|
|
443
443
|
key: 0,
|
|
444
444
|
type: "button",
|
|
445
445
|
role: "radio",
|
|
446
446
|
"aria-label": c(S).colorPicker.clear,
|
|
447
447
|
title: c(S).colorPicker.clear,
|
|
448
448
|
"aria-checked": O.value,
|
|
449
|
-
tabindex:
|
|
449
|
+
tabindex: de(),
|
|
450
450
|
class: d(["tpl-color-swatch-empty tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]", O.value ? "tpl:ring-2 tpl:ring-[var(--tpl-primary)] tpl:ring-offset-1 tpl:ring-offset-[var(--tpl-bg-elevated)]" : "tpl:hover:border-[var(--tpl-text-dim)]"]),
|
|
451
|
-
onClick:
|
|
452
|
-
}, null, 10, ze)) : h("", !0), (i(!0), m(w, null, t(
|
|
451
|
+
onClick: q
|
|
452
|
+
}, null, 10, ze)) : h("", !0), (i(!0), m(w, null, t(P.value, (e, t) => (i(), m("button", {
|
|
453
453
|
key: e,
|
|
454
454
|
type: "button",
|
|
455
455
|
role: "radio",
|
|
456
456
|
"aria-label": e,
|
|
457
457
|
title: e,
|
|
458
|
-
"aria-checked":
|
|
459
|
-
tabindex:
|
|
458
|
+
"aria-checked": z(e),
|
|
459
|
+
tabindex: W(t),
|
|
460
460
|
style: v({ backgroundColor: e }),
|
|
461
|
-
class: d(["tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]",
|
|
462
|
-
onClick: (t) =>
|
|
461
|
+
class: d(["tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]", z(e) ? "tpl:ring-2 tpl:ring-[var(--tpl-primary)] tpl:ring-offset-1 tpl:ring-offset-[var(--tpl-bg-elevated)]" : "tpl:hover:border-[var(--tpl-text-dim)]"]),
|
|
462
|
+
onClick: (t) => B(e)
|
|
463
463
|
}, null, 14, Be))), 128))], 42, Re)) : h("", !0),
|
|
464
|
-
|
|
464
|
+
L.value ? (i(), m("hex-color-picker", {
|
|
465
465
|
key: 1,
|
|
466
|
-
color:
|
|
466
|
+
color: A.value,
|
|
467
467
|
"aria-label": c(S).colorPicker.pickColor,
|
|
468
|
-
onColorChanged:
|
|
469
|
-
onPointerdown:
|
|
470
|
-
onPointerup:
|
|
468
|
+
onColorChanged: G,
|
|
469
|
+
onPointerdown: pe,
|
|
470
|
+
onPointerup: me,
|
|
471
471
|
onKeydown: a[0] ||= u((e) => C.value = !1, ["escape"])
|
|
472
472
|
}, null, 40, Ve)) : h("", !0),
|
|
473
|
-
r.swatchOnly &&
|
|
473
|
+
r.swatchOnly && L.value ? (i(), m("div", He, [x("input", {
|
|
474
474
|
type: "text",
|
|
475
|
-
class: d([c(
|
|
476
|
-
style: v(
|
|
475
|
+
class: d([c(ue), "tpl:w-full"]),
|
|
476
|
+
style: v(j.value ? { paddingRight: "2.25rem" } : void 0),
|
|
477
477
|
value: k.value,
|
|
478
478
|
placeholder: r.placeholder || c(S).colorPicker.notSet,
|
|
479
479
|
disabled: r.disabled,
|
|
480
480
|
"aria-label": c(S).colorPicker.hexValue,
|
|
481
|
-
onChange:
|
|
481
|
+
onChange: K,
|
|
482
482
|
onKeydown: a[1] ||= u(_((e) => e.target.blur(), ["prevent"]), ["enter"])
|
|
483
|
-
}, null, 46, Ue),
|
|
483
|
+
}, null, 46, Ue), j.value ? (i(), m("button", {
|
|
484
484
|
key: 0,
|
|
485
485
|
type: "button",
|
|
486
486
|
"aria-label": c(S).colorPicker.clear,
|
|
487
487
|
title: c(S).colorPicker.clear,
|
|
488
488
|
class: "tpl:absolute tpl:right-2 tpl:top-1/2 tpl:flex tpl:size-6 tpl:-translate-y-1/2 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
489
|
-
onClick:
|
|
490
|
-
}, [l(c(
|
|
489
|
+
onClick: q
|
|
490
|
+
}, [l(c(I), {
|
|
491
491
|
size: 14,
|
|
492
492
|
"stroke-width": 1.5
|
|
493
493
|
})], 8, We)) : h("", !0)])) : h("", !0)
|
|
@@ -705,7 +705,7 @@ var st = /* @__PURE__ */ new Set([
|
|
|
705
705
|
"End"
|
|
706
706
|
]);
|
|
707
707
|
function ct(t) {
|
|
708
|
-
let { elementRef: n, modelValue: i, emit: a, mergeTags: o, syntax: c, enabled: l, onInsert: u } = t, d =
|
|
708
|
+
let { elementRef: n, modelValue: i, emit: a, mergeTags: o, syntax: c, enabled: l, onInsert: u } = t, d = j(c), f = k(c), m = p(() => l && d !== null && o.value.length > 0), h = e(M, null), _ = nt((S(h) ? h.value : h)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", oe()), v = !1;
|
|
709
709
|
r() && s(() => {
|
|
710
710
|
v = !0, _.close();
|
|
711
711
|
});
|
|
@@ -759,7 +759,7 @@ function ct(t) {
|
|
|
759
759
|
//#endregion
|
|
760
760
|
//#region src/composables/useMergeTagField.ts
|
|
761
761
|
function lt(e) {
|
|
762
|
-
let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: c, isRequesting: l, isMergeTagValue: u, getMergeTagDisplayLabel: d, findMergeTag: f, requestMergeTag: m, syntax: h, autocomplete: _ } =
|
|
762
|
+
let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: c, isRequesting: l, isMergeTagValue: u, getMergeTagDisplayLabel: d, findMergeTag: f, requestMergeTag: m, syntax: h, autocomplete: _ } = L(), { canInsertLogicTag: v, isRequesting: y, requestLogicTag: b } = R(), x = a(!1), S = !1, C = !1;
|
|
763
763
|
r() && s(() => {
|
|
764
764
|
C = !0;
|
|
765
765
|
});
|
|
@@ -787,7 +787,7 @@ function lt(e) {
|
|
|
787
787
|
type: "mergeTag",
|
|
788
788
|
value: t,
|
|
789
789
|
label: d(t)
|
|
790
|
-
}) :
|
|
790
|
+
}) : A(t, h) ? n.push({
|
|
791
791
|
type: "logicMergeTag",
|
|
792
792
|
value: t,
|
|
793
793
|
keyword: O(t, h)
|
|
@@ -811,22 +811,22 @@ function lt(e) {
|
|
|
811
811
|
function k() {
|
|
812
812
|
S || (x.value = !1);
|
|
813
813
|
}
|
|
814
|
-
function
|
|
814
|
+
function j(e) {
|
|
815
815
|
n(e.target.value), w.refresh();
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function ee(e) {
|
|
818
818
|
return w.handleKeydown(e) ? (e.preventDefault(), !0) : (e.key === "Escape" && k(), !1);
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function te() {
|
|
821
821
|
w.refresh();
|
|
822
822
|
}
|
|
823
|
-
function
|
|
823
|
+
function M() {
|
|
824
824
|
w.close(), k();
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function ne() {
|
|
827
827
|
n("");
|
|
828
828
|
}
|
|
829
|
-
async function
|
|
829
|
+
async function re() {
|
|
830
830
|
let e = x.value && i.value ? i.value.selectionStart ?? t().length : t().length;
|
|
831
831
|
S = !0;
|
|
832
832
|
let r;
|
|
@@ -844,7 +844,7 @@ function lt(e) {
|
|
|
844
844
|
});
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
|
-
async function
|
|
847
|
+
async function N(e) {
|
|
848
848
|
let t = T.value, r = t[e];
|
|
849
849
|
if (r?.type !== "mergeTag") return;
|
|
850
850
|
S = !0;
|
|
@@ -859,7 +859,7 @@ function lt(e) {
|
|
|
859
859
|
}
|
|
860
860
|
!C && i && n(t.map((t, n) => n === e ? i.value : t.value).join(""));
|
|
861
861
|
}
|
|
862
|
-
async function
|
|
862
|
+
async function ie() {
|
|
863
863
|
let e = i.value, r = e?.selectionStart ?? t().length, a = e?.selectionEnd ?? r;
|
|
864
864
|
S = !0;
|
|
865
865
|
let o;
|
|
@@ -884,14 +884,14 @@ function lt(e) {
|
|
|
884
884
|
isEditing: x,
|
|
885
885
|
startEditing: D,
|
|
886
886
|
stopEditing: k,
|
|
887
|
-
handleInput:
|
|
888
|
-
handleKeydown:
|
|
889
|
-
handleClick:
|
|
890
|
-
handleBlur:
|
|
891
|
-
clearValue:
|
|
892
|
-
insertMergeTag:
|
|
893
|
-
replaceMergeTagAt:
|
|
894
|
-
insertLogicTag:
|
|
887
|
+
handleInput: j,
|
|
888
|
+
handleKeydown: ee,
|
|
889
|
+
handleClick: te,
|
|
890
|
+
handleBlur: M,
|
|
891
|
+
clearValue: ne,
|
|
892
|
+
insertMergeTag: re,
|
|
893
|
+
replaceMergeTagAt: N,
|
|
894
|
+
insertLogicTag: ie,
|
|
895
895
|
autocompleteAvailable: w.available
|
|
896
896
|
};
|
|
897
897
|
}
|
|
@@ -917,7 +917,7 @@ var ut = ["aria-label"], dt = [
|
|
|
917
917
|
"repick"
|
|
918
918
|
],
|
|
919
919
|
setup(e, { emit: n }) {
|
|
920
|
-
let r = n, { t: a, format: o } =
|
|
920
|
+
let r = n, { t: a, format: o } = N(), { canRepickMergeTag: s, showRawValue: u } = L();
|
|
921
921
|
function f() {
|
|
922
922
|
r("edit");
|
|
923
923
|
}
|
|
@@ -964,7 +964,7 @@ var ut = ["aria-label"], dt = [
|
|
|
964
964
|
title: c(a).mergeTag.editAsText,
|
|
965
965
|
"data-testid": "merge-tag-field-edit",
|
|
966
966
|
onClick: _(f, ["stop"])
|
|
967
|
-
}, [l(c(
|
|
967
|
+
}, [l(c(P), {
|
|
968
968
|
size: 12,
|
|
969
969
|
"stroke-width": 2
|
|
970
970
|
})], 8, ht),
|
|
@@ -975,7 +975,7 @@ var ut = ["aria-label"], dt = [
|
|
|
975
975
|
title: c(a).mergeTag.remove,
|
|
976
976
|
"data-testid": "merge-tag-field-clear",
|
|
977
977
|
onClick: p[0] ||= _((e) => r("clear"), ["stop"])
|
|
978
|
-
}, [l(c(
|
|
978
|
+
}, [l(c(I), {
|
|
979
979
|
size: 12,
|
|
980
980
|
"stroke-width": 2.5
|
|
981
981
|
})], 8, gt)
|
|
@@ -990,7 +990,7 @@ var ut = ["aria-label"], dt = [
|
|
|
990
990
|
props: { disabled: { type: Boolean } },
|
|
991
991
|
emits: ["insert"],
|
|
992
992
|
setup(e) {
|
|
993
|
-
let { t } =
|
|
993
|
+
let { t } = N();
|
|
994
994
|
return (n, r) => (i(), m("button", {
|
|
995
995
|
type: "button",
|
|
996
996
|
class: d([yt, "tpl:mt-1.5"]),
|
|
@@ -999,7 +999,7 @@ var ut = ["aria-label"], dt = [
|
|
|
999
999
|
disabled: e.disabled,
|
|
1000
1000
|
onMousedown: r[0] ||= _(() => {}, ["prevent"]),
|
|
1001
1001
|
onClick: r[1] ||= (e) => n.$emit("insert")
|
|
1002
|
-
}, [l(c(
|
|
1002
|
+
}, [l(c(le), {
|
|
1003
1003
|
size: 12,
|
|
1004
1004
|
"stroke-width": 2
|
|
1005
1005
|
}), D(" " + T(c(t).mergeTag.insertShort), 1)], 42, vt));
|
|
@@ -1013,7 +1013,7 @@ var ut = ["aria-label"], dt = [
|
|
|
1013
1013
|
props: { disabled: { type: Boolean } },
|
|
1014
1014
|
emits: ["insert"],
|
|
1015
1015
|
setup(e) {
|
|
1016
|
-
let { t } =
|
|
1016
|
+
let { t } = N();
|
|
1017
1017
|
return (n, r) => (i(), m("button", {
|
|
1018
1018
|
type: "button",
|
|
1019
1019
|
class: d([St, "tpl:mt-1.5"]),
|
|
@@ -1023,7 +1023,7 @@ var ut = ["aria-label"], dt = [
|
|
|
1023
1023
|
"data-testid": "field-insert-logic-button",
|
|
1024
1024
|
onMousedown: r[0] ||= _(() => {}, ["prevent"]),
|
|
1025
1025
|
onClick: r[1] ||= (e) => n.$emit("insert")
|
|
1026
|
-
}, [l(c(
|
|
1026
|
+
}, [l(c(F), {
|
|
1027
1027
|
size: 12,
|
|
1028
1028
|
"stroke-width": 2
|
|
1029
1029
|
}), D(" " + T(c(t).logicTag.insertShort), 1)], 42, xt));
|
|
@@ -1032,4 +1032,4 @@ var ut = ["aria-label"], dt = [
|
|
|
1032
1032
|
//#endregion
|
|
1033
1033
|
export { nt as a, Ge as c, lt as i, bt as n, et as o, _t as r, tt as s, Ct as t };
|
|
1034
1034
|
|
|
1035
|
-
//# sourceMappingURL=LogicTagInsertButton-
|
|
1035
|
+
//# sourceMappingURL=LogicTagInsertButton-CHc1yZ9v.js.map
|