@templatical/editor 0.51.1 → 0.52.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +208 -0
- package/dist/{AiAltTextPopover-BZQ95GXL.js → AiAltTextPopover-DawbUywc.js} +16 -17
- package/dist/{AiAltTextReview-DoBEudnE.js → AiAltTextReview-9ySsXOTU.js} +25 -26
- package/dist/{AiChatPanel-Bs6sES3b.js → AiChatPanel-CupPhmsN.js} +141 -143
- package/dist/{AiPanels-CfN7A-ZA.js → AiPanels-DqT4PgQ0.js} +6 -8
- package/dist/{AiRewriteMenu-C3ZfDDYy.js → AiRewriteMenu-28agTycW.js} +66 -67
- package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
- package/dist/{BlockPreviewCanvas-BXNLLLYi.js → BlockPreviewCanvas-B-4bmJ3t.js} +26 -27
- package/dist/{CloudHeaderExtras-CsJMEiyN.js → CloudHeaderExtras-QI82yF54.js} +4 -5
- package/dist/{CloudPanels-B4F5m7vy.js → CloudPanels-BKJaLkUN.js} +52 -53
- package/dist/{CollaborationNotices-CNuDp7Y2.js → CollaborationNotices-CTw4JThq.js} +12 -13
- package/dist/{CollaboratorBar-BtHPiuHq.js → CollaboratorBar-CXQqN3VP.js} +16 -17
- package/dist/{CommentsPanel-CyCM-BvT.js → CommentsPanel-DwwFuh1h.js} +3 -5
- package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
- package/dist/{CountdownBlock-DR4Xm2-T.js → CountdownBlock-CU2yTWtF.js} +21 -22
- package/dist/{CountdownToolbar-CEIMPojJ.js → CountdownToolbar-BqoYzf_6.js} +55 -56
- package/dist/IssuesPanel-4ykrf1ax.js +359 -0
- package/dist/{LoadingTrack-B0RKQWq3.js → LoadingTrack-DM4g6j7b.js} +3 -4
- package/dist/{LogicTagInsertButton-CqfU52CO.js → LogicTagInsertButton-CfscnwCn.js} +243 -250
- package/dist/{MediaEditModal-DHtkZ4OU.js → MediaEditModal-Dy08GEwE.js} +449 -452
- package/dist/{MediaPanels-CGcOB2pR.js → MediaPanels-BgEp7iCp.js} +3 -5
- package/dist/{MergeTagInput-YnEkorTZ.js → MergeTagInput-B9dtUthD.js} +14 -15
- package/dist/{MergeTagModeToggle-Dhb1DAcQ.js → MergeTagModeToggle-DxujhYJ4.js} +30 -31
- package/dist/{MergeTagTextarea-e4lnwtqZ.js → MergeTagTextarea-CPFEjJZd.js} +12 -13
- package/dist/{ParagraphEditor-B6NK0ytw.js → ParagraphEditor-CWXfurGh.js} +233 -236
- package/dist/{RestoreVersionDialog-Bq_IGOLJ.js → RestoreVersionDialog-C4s_JYCx.js} +16 -17
- package/dist/{RichTextEditorContent-AOM6fylS.js → RichTextEditorContent-o6HmE8GR.js} +40 -40
- package/dist/{SaveBlockDialog-C8GngfQx.js → SaveBlockDialog-CWLrly6l.js} +58 -59
- package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
- package/dist/{SavedBlocksPanels-C2s3q0pJ.js → SavedBlocksPanels-BE1N9rNZ.js} +7 -9
- package/dist/{SavedBlocksPickBar-BjcTiV87.js → SavedBlocksPickBar-Dwl94xhP.js} +14 -15
- package/dist/{TemplateSettings-BVBWpiDU.js → TemplateSettings-CS0f1Ues.js} +75 -76
- package/dist/{TestEmailModal-SyhO9bn3.js → TestEmailModal-DBD0X5nV.js} +54 -56
- package/dist/{TestEmailPanel-BDd2Rtav.js → TestEmailPanel-DaFjP9QK.js} +3 -5
- package/dist/{TitleEditor-pxD53y_l.js → TitleEditor-DSqtle77.js} +78 -79
- package/dist/{ToggleSwitch-D51U9cmR.js → ToggleSwitch-JykPyD_8.js} +5 -6
- package/dist/{Toolbar-CZSPZYbj.js → Toolbar-BZPFfKrf.js} +977 -985
- package/dist/{TplModal-DCzBzicE.js → TplModal-DLMssVlt.js} +16 -17
- package/dist/{VersionHistoryMenu-BQeWPT85.js → VersionHistoryMenu-BkbYUs0Q.js} +37 -38
- package/dist/{VersionHistoryPanels-BBm7YbRQ.js → VersionHistoryPanels-DP7HaYWv.js} +5 -7
- package/dist/{VersionPreviewBanner-DUGF0tUJ.js → VersionPreviewBanner-DECaBwLq.js} +11 -12
- package/dist/WrapperBlock-BsJv_Fiw.js +44 -0
- package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
- package/dist/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +3 -5
- package/dist/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +2 -3
- package/dist/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +1 -2
- package/dist/{blockTypeIcons-NzaYvAI4.js → blockTypeIcons-BHjlPnPf.js} +23 -23
- package/dist/bundle-stats.json +6 -6
- package/dist/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +1 -2
- package/dist/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +1 -2
- package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js → AiAltTextPopover-SEEjkd-I.js} +24 -25
- package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js → AiAltTextReview-BGLLSKLm.js} +43 -44
- package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js → AiChatPanel-DKDAaBNi.js} +129 -131
- package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js → AiPanels-0wBarZSH.js} +5 -7
- package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js.map → AiPanels-0wBarZSH.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-Bhh71zcc.js → AiRewriteMenu-qf-cfEpy.js} +52 -53
- package/dist/cdn/chunks/AiRewriteMenu-qf-cfEpy.js.map +1 -0
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
- package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
- package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js → BlockPreviewCanvas-DGBh6mqe.js} +22 -23
- package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js → CloudHeaderExtras-BMNK_F9p.js} +4 -5
- package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js → CloudPanels-JMWIoVWh.js} +34 -35
- package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js → CollaborationNotices-Bsf1rGW9.js} +13 -14
- package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js → CollaboratorBar-CXByAoUz.js} +16 -17
- package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js → CommentsPanel-DoJnKLXI.js} +4 -6
- package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js → CommentsSidebar-CUtgvdBC.js} +110 -110
- package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js → CountdownBlock-BqRw147R.js} +19 -20
- package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js → CountdownToolbar-xobieKoU.js} +28 -29
- package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js → IssuesPanel-C7LfxaAY.js} +76 -77
- package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
- package/dist/cdn/chunks/LoadingTrack-CZuLTazv.js +11 -0
- package/dist/cdn/chunks/{LoadingTrack-BIcL4NiY.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js → LogicTagInsertButton-BIi05UQu.js} +258 -265
- package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js → MediaEditModal-Cpcod6_U.js} +152 -155
- package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js → MediaPanels-BIdcW_1f.js} +4 -6
- package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js → MergeTagInput-BvWg8o5E.js} +35 -36
- package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js → MergeTagModeToggle-BgKEVUtV.js} +28 -29
- package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js → MergeTagTextarea-tBz8McZf.js} +33 -34
- package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js → ParagraphEditor-B3Rj_cWF.js} +197 -200
- package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js → RestoreVersionDialog-CjOdD2xj.js} +21 -22
- package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js → RichTextEditorContent-DNjR_sNN.js} +30 -31
- package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js → SaveBlockDialog-CUhpawq0.js} +77 -78
- package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js → SavedBlocksPanels-C6--Bc81.js} +4 -6
- package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js → SavedBlocksPickBar-DUavxpbU.js} +16 -17
- package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js → TemplateSettings-CKtI-dof.js} +72 -73
- package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js → TestEmailModal-CDQTgESD.js} +68 -70
- package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js → TestEmailPanel-CcUpEpAn.js} +4 -6
- package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js → TitleEditor-Cob7RLyK.js} +71 -72
- package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
- package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js → ToggleSwitch-J7Vwhvha.js} +6 -7
- package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-DoprRgTn.js → Toolbar-CdpsvNOR.js} +977 -985
- package/dist/cdn/chunks/{Toolbar-DoprRgTn.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
- package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
- package/dist/cdn/chunks/{TplModal-BXQzmsJX.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js → VersionHistoryMenu-BYlLRvRJ.js} +34 -35
- package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js → VersionHistoryPanels-C6SOVoiT.js} +4 -6
- package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js → VersionPreviewBanner-Dvg0ZfAW.js} +12 -13
- package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js → WrapperBlock-C7Md56IT.js} +14 -15
- package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
- package/dist/cdn/chunks/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
- package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +4 -6
- package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js.map → aiErrors-C3QEMB0x.js.map} +1 -1
- package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +3 -4
- package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js.map → aiImageContext-BQ5mQ6B5.js.map} +1 -1
- package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +2 -3
- package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js.map → aiRewritePreview-DlMyx6Si.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
- package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
- package/dist/cdn/chunks/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +2 -3
- package/dist/cdn/chunks/{ca-C7mTzW1r.js.map → ca-CD-Kt1qz.js.map} +1 -1
- package/dist/cdn/chunks/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +2 -3
- package/dist/cdn/chunks/{ca-CYQH3J0b.js.map → ca-Cc6eL0ZS.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js → createCloudRuntime-Cth2JCEh.js} +58 -77
- package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
- package/dist/cdn/chunks/{de-DBOTcDj2.js → de-6M4JoHoD.js} +2 -3
- package/dist/cdn/chunks/{de-DBOTcDj2.js.map → de-6M4JoHoD.js.map} +1 -1
- package/dist/cdn/chunks/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +2 -3
- package/dist/cdn/chunks/{de-DNuYQTmS.js.map → de-CeFJ6wbM.js.map} +1 -1
- package/dist/cdn/chunks/{de-JvCTMJPy.js → de-DtrXVcuY.js} +2 -3
- package/dist/cdn/chunks/{de-JvCTMJPy.js.map → de-DtrXVcuY.js.map} +1 -1
- package/dist/cdn/chunks/{dist-Bo8Thh8v.js → dist-8ym3y-pH.js} +44 -45
- package/dist/cdn/chunks/{dist-Bo8Thh8v.js.map → dist-8ym3y-pH.js.map} +1 -1
- package/dist/{dist-DI4_YSnG.js → cdn/chunks/dist-BMzNabtD.js} +107 -109
- package/dist/cdn/chunks/{dist-S-rLGqax.js.map → dist-BMzNabtD.js.map} +1 -1
- package/dist/cdn/chunks/dompurify-JVtr5-B1.js +872 -0
- package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +1 -0
- package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js → draggable-Du8AUMFT.js} +654 -654
- package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
- package/dist/{editor-modal-Bzhl-PgI.js → cdn/chunks/editor-modal-CyCe560f.js} +893 -979
- package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js.map → editor-modal-CyCe560f.js.map} +1 -1
- package/dist/cdn/chunks/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +2 -3
- package/dist/cdn/chunks/{emojiData-6m0DBh7O.js.map → emojiData-CBNuCfum.js.map} +1 -1
- package/dist/cdn/chunks/{en-CW71OK66.js → en-D14i5nFh.js} +2 -3
- package/dist/cdn/chunks/{en-CW71OK66.js.map → en-D14i5nFh.js.map} +1 -1
- package/dist/cdn/chunks/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +2 -3
- package/dist/cdn/chunks/{en-CDhWRrF_.js.map → en-FzUuJ8HW.js.map} +1 -1
- package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
- package/dist/cdn/chunks/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +2 -3
- package/dist/cdn/chunks/{es-CAv-Vldw.js.map → es-Dw_h7Oll.js.map} +1 -1
- package/dist/cdn/chunks/{es-DdK7zQfi.js → es-zDacbMhs.js} +2 -3
- package/dist/cdn/chunks/{es-DdK7zQfi.js.map → es-zDacbMhs.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-taJTZlLK.js → extensions-CFF2KWy-.js} +60 -65
- package/dist/cdn/chunks/{extensions-taJTZlLK.js.map → extensions-CFF2KWy-.js.map} +1 -1
- package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +2 -3
- package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js.map → formatAbsoluteDateTime-Ck2_zXra.js.map} +1 -1
- package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +1 -2
- package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js.map → formatRelativeTime-BTD8Ktt-.js.map} +1 -1
- package/dist/cdn/chunks/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +2 -3
- package/dist/cdn/chunks/{fr-DVPtxpR6.js.map → fr-BJaeKu_8.js.map} +1 -1
- package/dist/cdn/chunks/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +2 -3
- package/dist/cdn/chunks/{fr-Dz5Bgb7-.js.map → fr-CSgYtjOd.js.map} +1 -1
- package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js → htmlparser-hu3YnNQU.js} +6 -11
- package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js.map → htmlparser-hu3YnNQU.js.map} +1 -1
- package/dist/cdn/chunks/{icons-DNX6StSs.js → icons-okSPsLOa.js} +111 -114
- package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
- package/dist/cdn/chunks/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +2 -3
- package/dist/cdn/chunks/{ja-Di-zJiT8.js.map → ja-B7H3ID8O.js.map} +1 -1
- package/dist/cdn/chunks/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +2 -3
- package/dist/cdn/chunks/{ja-dcWzjStz.js.map → ja-Cu2HdYaK.js.map} +1 -1
- package/dist/cdn/chunks/{keys-BTpmg2Tt.js → keys-CUj6UA38.js} +3 -4
- package/dist/cdn/chunks/{keys-BTpmg2Tt.js.map → keys-CUj6UA38.js.map} +1 -1
- package/dist/{liquid.browser-Ct2-EezB.js → cdn/chunks/liquid.browser-rubac0VA.js} +993 -937
- package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
- package/dist/cdn/chunks/{logger-Tj0RPskW.js → logger-CqQTfJGx.js} +2 -3
- package/dist/cdn/chunks/{logger-Tj0RPskW.js.map → logger-CqQTfJGx.js.map} +1 -1
- package/dist/cdn/chunks/{nl-CvVuHYFL.js → nl-176ySmc5.js} +2 -3
- package/dist/cdn/chunks/{nl-CvVuHYFL.js.map → nl-176ySmc5.js.map} +1 -1
- package/dist/cdn/chunks/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +2 -3
- package/dist/cdn/chunks/{nl-LZNqQgE4.js.map → nl-1Ai2NykB.js.map} +1 -1
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js → normalizeMergeTagMarkup-C_KlfSW4.js} +3 -4
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js → preRenderCustomBlocks-BcXIz7oJ.js} +6 -7
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +2 -3
- package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js.map → pt-BR-Bp92Fc6J.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +2 -3
- package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js.map → pt-BR-CIbp__Z7.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +2 -3
- package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js.map → pt-BR-dDlTwX18.js.map} +1 -1
- package/dist/cdn/chunks/{pusher-Cs4GGEtd.js → pusher-x9rNqzon.js} +3 -4
- package/dist/cdn/chunks/{pusher-Cs4GGEtd.js.map → pusher-x9rNqzon.js.map} +1 -1
- package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +2 -3
- package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js.map → readableTextColor-BfZUGnVj.js.map} +1 -1
- package/dist/cdn/chunks/{rolldown-runtime-Y_bBpyJl.js → rolldown-runtime-QGRDbDUS.js} +1 -2
- package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js +72 -0
- package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js.map +1 -0
- package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js → socialIcons-jsTDmkbb.js} +608 -632
- package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
- package/dist/cdn/chunks/src-C7bkofBL.js +647 -0
- package/dist/cdn/chunks/src-C7bkofBL.js.map +1 -0
- package/dist/cdn/chunks/{src-Bs_yxk3h.js → src-DEd87i_U.js} +502 -537
- package/dist/cdn/chunks/src-DEd87i_U.js.map +1 -0
- package/dist/cdn/chunks/{src-BNFnxfrA.js → src-DwWrYnUj.js} +188 -171
- package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
- package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +2 -3
- package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js.map → styleConstants-B8xVRiwX.js.map} +1 -1
- package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +2 -3
- package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js.map → templateSettingsFields-cjlP-jdw.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-CtVrAViq.js → tiptap-CbiTlECY.js} +3402 -3278
- package/dist/cdn/chunks/tiptap-CbiTlECY.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js → useCloudI18n-DY8_-ETE.js} +4 -5
- package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
- package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
- package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
- package/dist/cdn/chunks/{useEditorRoot-CR5GjJD6.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-CbVubQhM.js → useI18n-D8pY4LTq.js} +4 -5
- package/dist/cdn/chunks/{useI18n-CbVubQhM.js.map → useI18n-D8pY4LTq.js.map} +1 -1
- package/dist/{useLogicTag-DKLZ1T9H.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +6 -5
- package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
- package/dist/{useMergeTag-Bhdx7AKk.js → cdn/chunks/useMergeTag-B-aG--s1.js} +8 -7
- package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
- package/dist/{usePopoverPosition-BZea45XK.js → cdn/chunks/usePopoverPosition-DSMtmu2W.js} +8 -10
- package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js → useScrollToBlock-vjQ0fe-L.js} +5 -7
- package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js → withCurrentFont-hZTvYBHO.js} +3 -4
- package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1433 -1454
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-yYsp5Xpk.js → check-BZ8o0eet.js} +1 -2
- package/dist/{chevron-down-DTmD06_j.js → chevron-down-DfAAfILv.js} +1 -2
- package/dist/{chevron-right-BSeYZOxc.js → chevron-right-Bk4mGdr7.js} +1 -2
- package/dist/{chevron-up-BOApwrxi.js → chevron-up-MhUf_azW.js} +1 -2
- package/dist/{circle-alert-BMszY8im.js → circle-alert-CShJwVFv.js} +1 -2
- package/dist/{clock-HADxnl6-.js → clock-CTfD6OCt.js} +1 -2
- package/dist/{createCloudRuntime-DVQI_ReU.js → createCloudRuntime-DCgO4A1r.js} +31 -37
- package/dist/{createLucideIcon-0lYYH3EW.js → createLucideIcon-CvhTA2KG.js} +6 -11
- package/dist/{de-DBOTcDj2.js → de-6M4JoHoD.js} +1 -2
- package/dist/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +1 -2
- package/dist/{de-JvCTMJPy.js → de-DtrXVcuY.js} +1 -2
- package/dist/{dist-BC-ZEYLd.js → dist-BF5zEHop.js} +2 -3
- package/dist/{dist-CyBwSiAa.js → dist-BS5uKktL.js} +2 -3
- package/dist/{cdn/chunks/dist-S-rLGqax.js → dist-ByCWA2Tv.js} +101 -101
- package/dist/{dist-DtOF3bDW.js → dist-CKi_npZM.js} +378 -343
- package/dist/{dist-C7EtxNCb.js → dist-CVy-7PHQ.js} +55 -56
- package/dist/{dist-Cr7RPxI9.js → dist-CWSG7Kj0.js} +478 -461
- package/dist/{dist-DXyGqIDE.js → dist-Cy8I5scI.js} +2 -3
- package/dist/{dist-C_dV9QAx.js → dist-D6cMdrfG.js} +133 -133
- package/dist/{dist-DVNjPKsH.js → dist-D6fZec6r.js} +3 -4
- package/dist/{dist-CuLwJF7H.js → dist-Dd5MU2Ev.js} +23 -14
- package/dist/dist-DyFArF_G.js +4 -0
- package/dist/{dist-DBxgrOeo.js → dist-V7W1UhVr.js} +1882 -1792
- package/dist/{dist-DPcf6XZ8.js → dist-p3wymUDt.js} +2 -3
- package/dist/dist-pA3ooG6N.js +4 -0
- package/dist/{dist-3HpYixwF.js → dist-txQLT2sF.js} +173 -161
- package/dist/{cdn/chunks/editor-modal-CI6EfeMd.js → editor-modal-zaZHcmlO.js} +915 -859
- package/dist/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +1 -2
- package/dist/{en-CW71OK66.js → en-D14i5nFh.js} +1 -2
- package/dist/en-Db76vJbY.js +1 -0
- package/dist/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +1 -2
- package/dist/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +1 -2
- package/dist/{es-DdK7zQfi.js → es-zDacbMhs.js} +1 -2
- package/dist/{extensions-CdyweA50.js → extensions-fo_c-vqf.js} +82 -91
- package/dist/{eye-DWkSvYpj.js → eye-7W4t5e0Q.js} +1 -2
- package/dist/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +1 -2
- package/dist/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +0 -1
- package/dist/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +1 -2
- package/dist/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +1 -2
- package/dist/{image-DesWjcZ4.js → image-BDiRFzSd.js} +1 -2
- package/dist/index.d.ts +6 -6
- package/dist/{info-ClWJGoZy.js → info-Cxi3-Kh9.js} +1 -2
- package/dist/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +1 -2
- package/dist/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +1 -2
- package/dist/{keys-Zd9KWRD1.js → keys-BgRERHzu.js} +2 -3
- package/dist/{link-BqRicFTA.js → link-ju_2Cmir.js} +1 -2
- package/dist/{cdn/chunks/liquid.browser-Bbt17cVz.js → liquid.browser-DUXEekoN.js} +991 -939
- package/dist/{list-bojQr9bn.js → list-DYZJf0aZ.js} +1 -2
- package/dist/{loader-circle-B2B8LbUu.js → loader-circle-BZRD0a4I.js} +1 -2
- package/dist/{logger-k9Nbj3Cp.js → logger-BOu7oEtk.js} +1 -2
- package/dist/{message-circle-BEuiNsyZ.js → message-circle-DuEw4Zfx.js} +1 -2
- package/dist/{nl-CvVuHYFL.js → nl-176ySmc5.js} +1 -2
- package/dist/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +1 -2
- package/dist/{normalizeMergeTagMarkup-P6SUBuPv.js → normalizeMergeTagMarkup-CELnOlgK.js} +30 -31
- package/dist/{package-DCROB4aM.js → package-CePMr2kK.js} +1 -2
- package/dist/{pencil-CEotCKbf.js → pencil-D3aFCL7c.js} +1 -2
- package/dist/{preRenderCustomBlocks-D8rr61_z.js → preRenderCustomBlocks--_xc0XK3.js} +4 -5
- package/dist/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +1 -2
- package/dist/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +1 -2
- package/dist/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +1 -2
- package/dist/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +1 -2
- package/dist/{refresh-cw-C6M2mHNC.js → refresh-cw-xnro7_Sk.js} +1 -2
- package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
- package/dist/{runtime-dom.esm-bundler-B8WCZWUm.js → runtime-dom.esm-bundler-BURR-bj5.js} +121 -122
- package/dist/sanitizeHtml-BzfzpYJY.js +942 -0
- package/dist/{search-Cy99zPYf.js → search-CDrstRBv.js} +1 -2
- package/dist/{send-BDLJFsf3.js → send-DROkPOaX.js} +1 -2
- package/dist/{smartphone-CVvQaNA4.js → smartphone-Bx6u_tjn.js} +1 -2
- package/dist/{socialIcons-Dd-jRiVe.js → socialIcons-D7MGsg0d.js} +553 -564
- package/dist/{sparkles-Ce0Qz0ox.js → sparkles-CdaTtvoz.js} +1 -2
- package/dist/{square-BWlolnXe.js → square-BbCROH_f.js} +1 -2
- package/dist/style.css +1 -1
- package/dist/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +1 -2
- package/dist/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +1 -2
- package/dist/templatical-editor.js +1231 -1251
- package/dist/{text-align-start-D1V5gPTy.js → text-align-start-CGacJ9Vw.js} +1 -2
- package/dist/{trash-CZfiUFmw.js → trash-DxCd7zIy.js} +1 -2
- package/dist/{triangle-alert-CFDzyFC7.js → triangle-alert-7_oaitpf.js} +1 -2
- package/dist/{upload-BJfvdIrD.js → upload-DuFEOi_0.js} +1 -2
- package/dist/{useCloudI18n-Dcjua65H.js → useCloudI18n-DEMmUKuO.js} +3 -4
- package/dist/{useEditorCore-BTLeAVlM.js → useEditorCore-BSo2sSID.js} +1568 -1573
- package/dist/useEditorRoot-BMcoCLBx.js +7 -0
- package/dist/{useI18n-BdoY7xDE.js → useI18n-BBrHTdu8.js} +3 -4
- package/dist/{cdn/chunks/useLogicTag-B49Nc53Y.js → useLogicTag-ZPC39rfH.js} +4 -7
- package/dist/{cdn/chunks/useMergeTag-B0KryMj8.js → useMergeTag-BQ4qqWpQ.js} +6 -9
- package/dist/{cdn/chunks/usePopoverPosition-C829ps5i.js → usePopoverPosition-DV1PxL66.js} +6 -12
- package/dist/{useScrollToBlock-FmNMALM_.js → useScrollToBlock-BSyAV4pk.js} +4 -6
- package/dist/{vue.runtime.esm-bundler-DgFJ6GPG.js → vue.runtime.esm-bundler-CnEeTfhs.js} +1001 -1002
- package/dist/{withCurrentFont-BATJHNve.js → withCurrentFont-B22FXAF5.js} +2 -3
- package/dist/{x-CZ0Js0hA.js → x-BpfG7v9g.js} +1 -2
- package/package.json +26 -24
- package/dist/BlockIssueBadge-CKwZ1Vgn.js +0 -34
- package/dist/CommentsSidebar-Ca3DyFOX.js +0 -500
- package/dist/IssuesPanel-C8nMUccy.js +0 -360
- package/dist/SavedBlocksBrowserModal-wnkvxpm_.js +0 -360
- package/dist/WrapperBlock-BO619LAb.js +0 -45
- package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +0 -1
- package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js +0 -35
- package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-CCvplq1Z.js.map +0 -1
- package/dist/cdn/chunks/LoadingTrack-BIcL4NiY.js +0 -12
- package/dist/cdn/chunks/ParagraphEditor-CqSj6Ayz.js.map +0 -1
- package/dist/cdn/chunks/SavedBlocksBrowserModal-DtOz_X5S.js +0 -357
- package/dist/cdn/chunks/TitleEditor-Ccv6uoTz.js.map +0 -1
- package/dist/cdn/chunks/TplModal-BXQzmsJX.js +0 -52
- package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js +0 -22
- package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js.map +0 -1
- package/dist/cdn/chunks/draggable-DZ0gwUJ6.js.map +0 -1
- package/dist/cdn/chunks/en-ifvu6oPv.js +0 -1
- package/dist/cdn/chunks/icons-DNX6StSs.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-Bbt17cVz.js.map +0 -1
- package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +0 -62
- package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +0 -1
- package/dist/cdn/chunks/src-BNFnxfrA.js.map +0 -1
- package/dist/cdn/chunks/src-Bs_yxk3h.js.map +0 -1
- package/dist/cdn/chunks/src-YGkzYyu0.js +0 -649
- package/dist/cdn/chunks/src-YGkzYyu0.js.map +0 -1
- package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js +0 -2586
- package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +0 -10
- package/dist/dist-BPFcLKTw.js +0 -5
- package/dist/dist-D7Yj7E-F.js +0 -5
- package/dist/en-DwV15ltA.js +0 -1
- package/dist/sanitizeRichTextHtml-DeISfLFr.js +0 -60
- package/dist/useEditorRoot-DUy67lJu.js +0 -8
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as w, n as T, s as ee, t as te } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import { t as ne } from "./dist-
|
|
5
|
-
import { J as re, Y as A, Z as ie, d as ae } from "./keys-
|
|
6
|
-
import { t as j } from "./useI18n-
|
|
7
|
-
import { a as M, i as oe, n as se, o as ce, r as le, t as ue } from "./usePopoverPosition-
|
|
8
|
-
import { t as N } from "./createLucideIcon-
|
|
9
|
-
import { t as P } from "./pencil-
|
|
10
|
-
import { t as de } from "./x-
|
|
11
|
-
import { t as F } from "./useMergeTag-
|
|
12
|
-
import { t as I } from "./useLogicTag-
|
|
13
|
-
import { u as fe } from "./styleConstants-
|
|
1
|
+
import { $ as e, C as t, D as n, H as r, J as i, K as a, Mt as o, N as s, Nt as c, X as l, _ as u, a as d, c as f, d as p, f as m, g as h, j as g, jt as _, l as v, r as y, st as b, u as x, x as S, y as C } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
|
|
2
|
+
import { c as w, n as T, s as ee, t as te } from "./runtime-dom.esm-bundler-BURR-bj5.js";
|
|
3
|
+
import { Z as E, et as D, ot as O, tt as k } from "./dist-CKi_npZM.js";
|
|
4
|
+
import { t as ne } from "./dist-ByCWA2Tv.js";
|
|
5
|
+
import { J as re, Y as A, Z as ie, d as ae } from "./keys-BgRERHzu.js";
|
|
6
|
+
import { t as j } from "./useI18n-BBrHTdu8.js";
|
|
7
|
+
import { a as M, i as oe, n as se, o as ce, r as le, t as ue } from "./usePopoverPosition-DV1PxL66.js";
|
|
8
|
+
import { t as N } from "./createLucideIcon-CvhTA2KG.js";
|
|
9
|
+
import { t as P } from "./pencil-D3aFCL7c.js";
|
|
10
|
+
import { t as de } from "./x-BpfG7v9g.js";
|
|
11
|
+
import { t as F } from "./useMergeTag-BQ4qqWpQ.js";
|
|
12
|
+
import { t as I } from "./useLogicTag-ZPC39rfH.js";
|
|
13
|
+
import { u as fe } from "./styleConstants-B8xVRiwX.js";
|
|
14
14
|
var pe = N({
|
|
15
15
|
name: "braces",
|
|
16
16
|
size: 24,
|
|
@@ -280,8 +280,7 @@ var pe = N({
|
|
|
280
280
|
}
|
|
281
281
|
}, Fe = class extends Pe {};
|
|
282
282
|
customElements.define("hex-color-picker", Fe);
|
|
283
|
-
|
|
284
|
-
//#region src/components/ColorPicker.vue?vue&type=script&setup=true&lang.ts
|
|
283
|
+
// src/components/ColorPicker.vue?vue&type=script&setup=true&lang.ts
|
|
285
284
|
var Ie = [
|
|
286
285
|
"disabled",
|
|
287
286
|
"aria-label",
|
|
@@ -345,23 +344,23 @@ var Ie = [
|
|
|
345
344
|
}
|
|
346
345
|
},
|
|
347
346
|
emits: ["update:modelValue"],
|
|
348
|
-
setup(n, { emit:
|
|
349
|
-
let
|
|
347
|
+
setup(n, { emit: i }) {
|
|
348
|
+
let a = n, l = i, { t: S } = j(), C = e(!1), T = e(), E = e(), D = e(!1);
|
|
350
349
|
ne(T, () => {
|
|
351
350
|
C.value = !1;
|
|
352
351
|
}, { ignore: [E] });
|
|
353
|
-
let O =
|
|
352
|
+
let O = f(() => !a.modelValue), k = f(() => a.modelValue.trim().toLowerCase() === "transparent"), A = f(() => oe(a.modelValue)), N = f(() => (a.modelValue ? M(a.modelValue) : null) || (M(a.seedColor) ?? "#ffffff")), P = f(() => !a.disabled && !O.value), F = t(ae, ce), I = f(() => [...new Set(a.presets ?? F.presets)]), pe = f(() => a.allowCustom ?? F.allowCustom), L = f(() => I.value.length > 0), R = f(() => pe.value || !L.value), z = f(() => le(a.modelValue));
|
|
354
353
|
function B(e) {
|
|
355
354
|
return z.value !== "" && le(e) === z.value;
|
|
356
355
|
}
|
|
357
356
|
function V(e) {
|
|
358
|
-
|
|
357
|
+
l("update:modelValue", e);
|
|
359
358
|
}
|
|
360
|
-
let H =
|
|
359
|
+
let H = f(() => L.value && !R.value);
|
|
361
360
|
function U(e) {
|
|
362
361
|
return H.value ? e + 1 : e;
|
|
363
362
|
}
|
|
364
|
-
let W =
|
|
363
|
+
let W = f(() => {
|
|
365
364
|
if (H.value && O.value) return 0;
|
|
366
365
|
let e = I.value.findIndex((e) => B(e));
|
|
367
366
|
return e === -1 ? 0 : U(e);
|
|
@@ -383,29 +382,29 @@ var Ie = [
|
|
|
383
382
|
i !== -1 && (n[(i + (e.key === "ArrowRight" || e.key === "ArrowDown" ? 1 : -1) + n.length) % n.length]?.focus(), e.preventDefault());
|
|
384
383
|
}
|
|
385
384
|
function ge(e) {
|
|
386
|
-
D.value = !0,
|
|
385
|
+
D.value = !0, l("update:modelValue", e.detail.value);
|
|
387
386
|
}
|
|
388
387
|
function _e() {
|
|
389
388
|
D.value = !1;
|
|
390
389
|
}
|
|
391
390
|
function ve() {
|
|
392
|
-
!D.value && O.value &&
|
|
391
|
+
!D.value && O.value && l("update:modelValue", N.value);
|
|
393
392
|
}
|
|
394
393
|
function K(e) {
|
|
395
|
-
|
|
394
|
+
l("update:modelValue", e.target.value);
|
|
396
395
|
}
|
|
397
396
|
function q() {
|
|
398
|
-
|
|
397
|
+
l("update:modelValue", "");
|
|
399
398
|
}
|
|
400
399
|
function J() {
|
|
401
|
-
|
|
400
|
+
l("update:modelValue", "transparent");
|
|
402
401
|
}
|
|
403
|
-
let Y = se(), { toLocal: X } = ue(), ye = t(re, null), be = t(ie, null), Z =
|
|
402
|
+
let Y = se(), { toLocal: X } = ue(), ye = t(re, null), be = t(ie, null), Z = e({
|
|
404
403
|
top: 0,
|
|
405
404
|
left: 0
|
|
406
405
|
});
|
|
407
406
|
function xe() {
|
|
408
|
-
if (!
|
|
407
|
+
if (!a.disabled) {
|
|
409
408
|
if (!C.value) {
|
|
410
409
|
let e = E.value?.getBoundingClientRect();
|
|
411
410
|
if (e) {
|
|
@@ -419,53 +418,53 @@ var Ie = [
|
|
|
419
418
|
C.value = !C.value;
|
|
420
419
|
}
|
|
421
420
|
}
|
|
422
|
-
return (
|
|
423
|
-
|
|
421
|
+
return (e, t) => (g(), m("div", { class: _(["tpl:flex tpl:items-center tpl:gap-2 tpl:relative", n.disabled && "tpl:opacity-60 tpl:cursor-not-allowed"]) }, [
|
|
422
|
+
v("button", {
|
|
424
423
|
ref_key: "swatchRef",
|
|
425
424
|
ref: E,
|
|
426
425
|
type: "button",
|
|
427
426
|
disabled: n.disabled,
|
|
428
|
-
"aria-label": n.ariaLabel ||
|
|
427
|
+
"aria-label": n.ariaLabel || b(S).colorPicker.pickColor,
|
|
429
428
|
title: n.ariaLabel || void 0,
|
|
430
429
|
"aria-expanded": C.value,
|
|
431
|
-
class:
|
|
430
|
+
class: _([
|
|
432
431
|
"tpl:shrink-0 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-0.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
|
|
433
432
|
n.disabled ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer",
|
|
434
433
|
C.value ? "tpl:border-[var(--tpl-primary)] tpl:shadow-[var(--tpl-ring)]" : !n.disabled && "tpl:hover:border-[var(--tpl-text-dim)]",
|
|
435
434
|
n.size === "sm" ? "tpl:size-8" : "tpl:size-10"
|
|
436
435
|
]),
|
|
437
436
|
onClick: xe
|
|
438
|
-
}, [
|
|
439
|
-
class:
|
|
437
|
+
}, [v("span", {
|
|
438
|
+
class: _(["tpl:block tpl:size-full tpl:rounded-[calc(var(--tpl-radius-sm)-2px)]", {
|
|
440
439
|
"tpl-color-swatch-empty": O.value,
|
|
441
440
|
"tpl-color-swatch-transparent": k.value
|
|
442
441
|
}]),
|
|
443
|
-
style:
|
|
442
|
+
style: o(O.value || k.value ? void 0 : { backgroundColor: A.value })
|
|
444
443
|
}, null, 6)], 10, Ie),
|
|
445
|
-
!n.swatchOnly && R.value ? (
|
|
444
|
+
!n.swatchOnly && R.value ? (g(), m("div", Le, [v("input", {
|
|
446
445
|
type: "text",
|
|
447
|
-
class:
|
|
448
|
-
style:
|
|
446
|
+
class: _([b(fe), "tpl:w-full"]),
|
|
447
|
+
style: o(P.value ? { paddingRight: "2.25rem" } : void 0),
|
|
449
448
|
value: A.value,
|
|
450
|
-
placeholder: n.placeholder ||
|
|
449
|
+
placeholder: n.placeholder || b(S).colorPicker.notSet,
|
|
451
450
|
disabled: n.disabled,
|
|
452
|
-
"aria-label":
|
|
451
|
+
"aria-label": b(S).colorPicker.hexValue,
|
|
453
452
|
onInput: K
|
|
454
|
-
}, null, 46, Re), P.value ? (
|
|
453
|
+
}, null, 46, Re), P.value ? (g(), m("button", {
|
|
455
454
|
key: 0,
|
|
456
455
|
type: "button",
|
|
457
|
-
"aria-label":
|
|
458
|
-
title:
|
|
456
|
+
"aria-label": b(S).colorPicker.clear,
|
|
457
|
+
title: b(S).colorPicker.clear,
|
|
459
458
|
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)]",
|
|
460
459
|
onClick: q
|
|
461
|
-
}, [
|
|
460
|
+
}, [u(b(de), {
|
|
462
461
|
size: 14,
|
|
463
462
|
"stroke-width": 1.5
|
|
464
|
-
})], 8, ze)) :
|
|
465
|
-
(
|
|
466
|
-
to:
|
|
467
|
-
disabled: !
|
|
468
|
-
}, [
|
|
463
|
+
})], 8, ze)) : p("", !0)])) : p("", !0),
|
|
464
|
+
(g(), x(d, {
|
|
465
|
+
to: b(Y),
|
|
466
|
+
disabled: !b(Y)
|
|
467
|
+
}, [u(te, {
|
|
469
468
|
"enter-active-class": "tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
|
|
470
469
|
"enter-from-class": "tpl:opacity-0 tpl:scale-95 tpl:translate-y-1",
|
|
471
470
|
"enter-to-class": "tpl:opacity-100 tpl:scale-100 tpl:translate-y-0",
|
|
@@ -473,87 +472,87 @@ var Ie = [
|
|
|
473
472
|
"leave-from-class": "tpl:opacity-100 tpl:scale-100 tpl:translate-y-0",
|
|
474
473
|
"leave-to-class": "tpl:opacity-0 tpl:scale-95 tpl:translate-y-1"
|
|
475
474
|
}, {
|
|
476
|
-
default:
|
|
475
|
+
default: r(() => [C.value ? (g(), m("div", {
|
|
477
476
|
key: 0,
|
|
478
477
|
ref_key: "popoverRef",
|
|
479
478
|
ref: T,
|
|
480
|
-
"data-tpl-theme":
|
|
479
|
+
"data-tpl-theme": b(be),
|
|
481
480
|
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)]",
|
|
482
|
-
style:
|
|
481
|
+
style: o({
|
|
483
482
|
top: `${Z.value.top}px`,
|
|
484
483
|
left: `${Z.value.left}px`,
|
|
485
|
-
...
|
|
484
|
+
...b(ye)
|
|
486
485
|
})
|
|
487
486
|
}, [
|
|
488
|
-
n.allowTransparent ? (
|
|
487
|
+
n.allowTransparent ? (g(), m("button", {
|
|
489
488
|
key: 0,
|
|
490
489
|
type: "button",
|
|
491
490
|
"data-testid": "color-picker-transparent",
|
|
492
491
|
"aria-pressed": k.value,
|
|
493
|
-
"aria-label":
|
|
494
|
-
title:
|
|
495
|
-
class:
|
|
492
|
+
"aria-label": b(S).colorPicker.transparent,
|
|
493
|
+
title: b(S).colorPicker.transparent,
|
|
494
|
+
class: _(["tpl:mb-2 tpl:flex tpl:w-full tpl:items-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:py-1 tpl:text-left tpl:text-xs tpl:text-[var(--tpl-text)] 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)]", k.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)]"]),
|
|
496
495
|
onClick: J
|
|
497
|
-
}, [
|
|
498
|
-
L.value ? (
|
|
496
|
+
}, [t[2] ||= v("span", { class: "tpl-color-swatch-transparent tpl:size-4 tpl:shrink-0 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)]" }, null, -1), h(" " + c(b(S).colorPicker.transparent), 1)], 10, Ve)) : p("", !0),
|
|
497
|
+
L.value ? (g(), m("div", {
|
|
499
498
|
key: 1,
|
|
500
499
|
role: "radiogroup",
|
|
501
|
-
"aria-label":
|
|
502
|
-
class:
|
|
500
|
+
"aria-label": b(S).colorPicker.presetColors,
|
|
501
|
+
class: _(["tpl:flex tpl:flex-wrap tpl:gap-1.5", R.value && "tpl:mb-2"]),
|
|
503
502
|
onKeydown: he
|
|
504
|
-
}, [H.value ? (
|
|
503
|
+
}, [H.value ? (g(), m("button", {
|
|
505
504
|
key: 0,
|
|
506
505
|
type: "button",
|
|
507
506
|
role: "radio",
|
|
508
|
-
"aria-label":
|
|
509
|
-
title:
|
|
507
|
+
"aria-label": b(S).colorPicker.clear,
|
|
508
|
+
title: b(S).colorPicker.clear,
|
|
510
509
|
"aria-checked": O.value,
|
|
511
510
|
tabindex: me(),
|
|
512
|
-
class:
|
|
511
|
+
class: _(["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)]"]),
|
|
513
512
|
onClick: q
|
|
514
|
-
}, null, 10, Ue)) :
|
|
515
|
-
key:
|
|
513
|
+
}, null, 10, Ue)) : p("", !0), (g(!0), m(y, null, s(I.value, (e, t) => (g(), m("button", {
|
|
514
|
+
key: e,
|
|
516
515
|
type: "button",
|
|
517
516
|
role: "radio",
|
|
518
|
-
"aria-label":
|
|
519
|
-
title:
|
|
520
|
-
"aria-checked": B(
|
|
521
|
-
tabindex: G(
|
|
522
|
-
style:
|
|
523
|
-
class:
|
|
524
|
-
onClick: (
|
|
525
|
-
}, null, 14, We))), 128))], 42, He)) :
|
|
526
|
-
R.value ? (
|
|
517
|
+
"aria-label": e,
|
|
518
|
+
title: e,
|
|
519
|
+
"aria-checked": B(e),
|
|
520
|
+
tabindex: G(t),
|
|
521
|
+
style: o({ backgroundColor: e }),
|
|
522
|
+
class: _(["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)]", B(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)]"]),
|
|
523
|
+
onClick: (t) => V(e)
|
|
524
|
+
}, null, 14, We))), 128))], 42, He)) : p("", !0),
|
|
525
|
+
R.value ? (g(), m("hex-color-picker", {
|
|
527
526
|
key: 2,
|
|
528
527
|
color: N.value,
|
|
529
|
-
"aria-label":
|
|
528
|
+
"aria-label": b(S).colorPicker.pickColor,
|
|
530
529
|
onColorChanged: ge,
|
|
531
530
|
onPointerdown: _e,
|
|
532
531
|
onPointerup: ve,
|
|
533
|
-
onKeydown:
|
|
534
|
-
}, null, 40, Ge)) :
|
|
535
|
-
n.swatchOnly && R.value ? (
|
|
532
|
+
onKeydown: t[0] ||= ee((e) => C.value = !1, ["escape"])
|
|
533
|
+
}, null, 40, Ge)) : p("", !0),
|
|
534
|
+
n.swatchOnly && R.value ? (g(), m("div", Ke, [v("input", {
|
|
536
535
|
type: "text",
|
|
537
|
-
class:
|
|
538
|
-
style:
|
|
536
|
+
class: _([b(fe), "tpl:w-full"]),
|
|
537
|
+
style: o(P.value ? { paddingRight: "2.25rem" } : void 0),
|
|
539
538
|
value: A.value,
|
|
540
|
-
placeholder: n.placeholder ||
|
|
539
|
+
placeholder: n.placeholder || b(S).colorPicker.notSet,
|
|
541
540
|
disabled: n.disabled,
|
|
542
|
-
"aria-label":
|
|
541
|
+
"aria-label": b(S).colorPicker.hexValue,
|
|
543
542
|
onChange: K,
|
|
544
|
-
onKeydown:
|
|
545
|
-
}, null, 46, qe), P.value ? (
|
|
543
|
+
onKeydown: t[1] ||= ee(w((e) => e.target.blur(), ["prevent"]), ["enter"])
|
|
544
|
+
}, null, 46, qe), P.value ? (g(), m("button", {
|
|
546
545
|
key: 0,
|
|
547
546
|
type: "button",
|
|
548
|
-
"aria-label":
|
|
549
|
-
title:
|
|
547
|
+
"aria-label": b(S).colorPicker.clear,
|
|
548
|
+
title: b(S).colorPicker.clear,
|
|
550
549
|
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)]",
|
|
551
550
|
onClick: q
|
|
552
|
-
}, [
|
|
551
|
+
}, [u(b(de), {
|
|
553
552
|
size: 14,
|
|
554
553
|
"stroke-width": 1.5
|
|
555
|
-
})], 8, Je)) :
|
|
556
|
-
], 12, Be)) :
|
|
554
|
+
})], 8, Je)) : p("", !0)])) : p("", !0)
|
|
555
|
+
], 12, Be)) : p("", !0)]),
|
|
557
556
|
_: 1
|
|
558
557
|
})], 8, ["to", "disabled"]))
|
|
559
558
|
], 2));
|
|
@@ -578,28 +577,28 @@ var Ie = [
|
|
|
578
577
|
listId: {}
|
|
579
578
|
},
|
|
580
579
|
emits: ["select", "hover"],
|
|
581
|
-
setup(
|
|
582
|
-
let
|
|
583
|
-
function
|
|
584
|
-
return
|
|
580
|
+
setup(e) {
|
|
581
|
+
let t = e;
|
|
582
|
+
function n(e) {
|
|
583
|
+
return t.listId ? `${t.listId}-opt-${e}` : void 0;
|
|
585
584
|
}
|
|
586
|
-
return (
|
|
587
|
-
id:
|
|
585
|
+
return (t, r) => (g(), m("div", {
|
|
586
|
+
id: e.listId,
|
|
588
587
|
class: "tpl:min-w-[200px] tpl:max-w-[320px] tpl:max-h-[50vh] tpl:overflow-y-auto tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1 tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
589
588
|
role: "listbox",
|
|
590
589
|
"data-testid": "merge-tag-suggestion-list"
|
|
591
|
-
}, [
|
|
592
|
-
key:
|
|
593
|
-
id:
|
|
590
|
+
}, [e.items.length === 0 ? (g(), m("div", Ze, c(e.emptyText), 1)) : p("", !0), (g(!0), m(y, null, s(e.items, (r, i) => (g(), m("button", {
|
|
591
|
+
key: r.value,
|
|
592
|
+
id: n(i),
|
|
594
593
|
type: "button",
|
|
595
594
|
role: "option",
|
|
596
|
-
"aria-selected":
|
|
597
|
-
"data-selected":
|
|
598
|
-
"data-merge-tag-value":
|
|
599
|
-
class:
|
|
600
|
-
onMousedown: w((e) =>
|
|
601
|
-
onMousemove: (
|
|
602
|
-
}, [
|
|
595
|
+
"aria-selected": i === e.selectedIndex,
|
|
596
|
+
"data-selected": i === e.selectedIndex ? "true" : "false",
|
|
597
|
+
"data-merge-tag-value": r.value,
|
|
598
|
+
class: _(["tpl:flex tpl:w-full tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:px-3 tpl:py-1.5 tpl:text-left tpl:text-xs tpl:transition-colors", i === e.selectedIndex ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
|
|
599
|
+
onMousedown: w((e) => t.$emit("select", r), ["prevent", "stop"]),
|
|
600
|
+
onMousemove: (n) => i !== e.selectedIndex && t.$emit("hover", i)
|
|
601
|
+
}, [v("span", $e, c(r.label), 1), v("span", et, c(r.value), 1)], 42, Qe))), 128))], 8, Xe));
|
|
603
602
|
}
|
|
604
603
|
}), nt = 10, rt = 0;
|
|
605
604
|
function it(e, t) {
|
|
@@ -612,8 +611,8 @@ function it(e, t) {
|
|
|
612
611
|
function at(e, t, n, r) {
|
|
613
612
|
return t.length === 0 ? e.key === "Enter" || e.key === "Tab" : e.key === "ArrowDown" ? (n.value = (n.value + 1) % t.length, !0) : e.key === "ArrowUp" ? (n.value = (n.value - 1 + t.length) % t.length, !0) : e.key === "Enter" || e.key === "Tab" ? (r(t[n.value]), !0) : !1;
|
|
614
613
|
}
|
|
615
|
-
function ot(
|
|
616
|
-
let
|
|
614
|
+
function ot(t, n) {
|
|
615
|
+
let r = null, i = null, a = null, o = e([]), s = e(0), c = null, l = `tpl-merge-tag-suggestion-${++rt}`, u = null, d = [], f = null;
|
|
617
616
|
function p() {
|
|
618
617
|
v(u?.() ?? null);
|
|
619
618
|
}
|
|
@@ -643,14 +642,14 @@ function ot(e, t) {
|
|
|
643
642
|
window.removeEventListener("resize", p), d = [];
|
|
644
643
|
}
|
|
645
644
|
function v(e) {
|
|
646
|
-
if (!
|
|
647
|
-
|
|
648
|
-
let t =
|
|
649
|
-
|
|
650
|
-
let a =
|
|
645
|
+
if (!i || !e || e.bottom < 0 || e.top > window.innerHeight) return;
|
|
646
|
+
i.style.position = "absolute", i.style.zIndex = "9999";
|
|
647
|
+
let t = i.offsetParent?.getBoundingClientRect(), n = t?.top ?? 0, r = t?.left ?? 0;
|
|
648
|
+
i.style.left = `${e.left - r}px`, i.style.top = `${e.bottom - n}px`;
|
|
649
|
+
let a = i.offsetHeight;
|
|
651
650
|
if (a !== 0 && window.innerHeight - e.bottom < a) {
|
|
652
651
|
let t = Math.max(0, e.top - a);
|
|
653
|
-
|
|
652
|
+
i.style.top = `${t - n}px`;
|
|
654
653
|
}
|
|
655
654
|
}
|
|
656
655
|
function y(e, t) {
|
|
@@ -666,44 +665,43 @@ function ot(e, t) {
|
|
|
666
665
|
e.style.fontFamily = i.fontFamily, e.style.fontSize = i.fontSize, e.style.lineHeight = i.lineHeight;
|
|
667
666
|
}
|
|
668
667
|
function b(e) {
|
|
669
|
-
|
|
668
|
+
a && (e ? (a.setAttribute("role", "combobox"), a.setAttribute("aria-haspopup", "listbox"), a.setAttribute("aria-expanded", "true"), a.setAttribute("aria-controls", l)) : (a.removeAttribute("aria-expanded"), a.removeAttribute("aria-controls"), a.removeAttribute("aria-activedescendant"), a.removeAttribute("aria-haspopup"), a.removeAttribute("role")));
|
|
670
669
|
}
|
|
671
670
|
function x() {
|
|
672
|
-
|
|
671
|
+
a && (o.value.length === 0 ? a.removeAttribute("aria-activedescendant") : a.setAttribute("aria-activedescendant", `${l}-opt-${s.value}`));
|
|
673
672
|
}
|
|
674
673
|
function C(e) {
|
|
675
674
|
c?.(e);
|
|
676
675
|
}
|
|
677
676
|
return {
|
|
678
|
-
open: ({ items:
|
|
679
|
-
|
|
677
|
+
open: ({ items: e, getRect: d, anchorEl: f, onCommand: p }) => {
|
|
678
|
+
o.value = e, s.value = 0, c = p, i = document.createElement("div"), i.setAttribute("data-testid", "merge-tag-suggestion-popup"), a = f, y(i, f), (n?.value ?? document.body).appendChild(i), r = T({ render() {
|
|
680
679
|
return S(tt, {
|
|
681
|
-
items:
|
|
680
|
+
items: o.value,
|
|
682
681
|
selectedIndex: s.value,
|
|
683
|
-
emptyText:
|
|
682
|
+
emptyText: t,
|
|
684
683
|
listId: l,
|
|
685
684
|
onSelect: (e) => C(e),
|
|
686
685
|
onHover: (e) => {
|
|
687
686
|
s.value = e, x();
|
|
688
687
|
}
|
|
689
688
|
});
|
|
690
|
-
} }),
|
|
689
|
+
} }), r.mount(i), b(!0), x(), u = d, m(), g(f);
|
|
691
690
|
},
|
|
692
691
|
update: ({ items: e, getRect: t, onCommand: n }) => {
|
|
693
|
-
|
|
692
|
+
o.value = e, s.value >= e.length && (s.value = 0), c = n, x(), u = t, m();
|
|
694
693
|
},
|
|
695
694
|
handleKeyDown: (e) => {
|
|
696
|
-
let t = at(e,
|
|
695
|
+
let t = at(e, o.value, s, C);
|
|
697
696
|
return t && x(), t;
|
|
698
697
|
},
|
|
699
698
|
close: () => {
|
|
700
|
-
|
|
699
|
+
i !== null && (f !== null && (cancelAnimationFrame(f), f = null), _(), b(!1), r?.unmount(), i.remove(), r = null, i = null, a = null, c = null, u = null);
|
|
701
700
|
},
|
|
702
|
-
isOpen: () =>
|
|
701
|
+
isOpen: () => i !== null
|
|
703
702
|
};
|
|
704
703
|
}
|
|
705
|
-
|
|
706
|
-
//#region src/utils/mergeTagTrigger.ts
|
|
704
|
+
// src/utils/mergeTagTrigger.ts
|
|
707
705
|
function st(e, t, n, r, i) {
|
|
708
706
|
if (!n) return null;
|
|
709
707
|
let a = e.slice(0, t), o = a.lastIndexOf(n);
|
|
@@ -720,8 +718,7 @@ function ct(e, t) {
|
|
|
720
718
|
for (let t of e.matchAll(n)) r = t.index + t[0].length;
|
|
721
719
|
return r;
|
|
722
720
|
}
|
|
723
|
-
|
|
724
|
-
//#region src/utils/textFieldCaret.ts
|
|
721
|
+
// src/utils/textFieldCaret.ts
|
|
725
722
|
var lt = /* @__PURE__ */ "boxSizing.width.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderStyle.paddingTop.paddingRight.paddingBottom.paddingLeft.fontStyle.fontVariant.fontWeight.fontStretch.fontSize.lineHeight.fontFamily.textAlign.textTransform.textIndent.letterSpacing.wordSpacing.tabSize.whiteSpace.wordWrap.wordBreak".split(".");
|
|
726
723
|
function ut(e, t, n) {
|
|
727
724
|
return {
|
|
@@ -757,8 +754,7 @@ function dt(e, t) {
|
|
|
757
754
|
let b = h.top + p + g - e.scrollTop;
|
|
758
755
|
return ut(y, b, b + v);
|
|
759
756
|
}
|
|
760
|
-
|
|
761
|
-
//#region src/composables/useMergeTagAutocomplete.ts
|
|
757
|
+
// src/composables/useMergeTagAutocomplete.ts
|
|
762
758
|
var ft = /* @__PURE__ */ new Set([
|
|
763
759
|
"ArrowLeft",
|
|
764
760
|
"ArrowRight",
|
|
@@ -766,67 +762,66 @@ var ft = /* @__PURE__ */ new Set([
|
|
|
766
762
|
"End"
|
|
767
763
|
]);
|
|
768
764
|
function pt(e) {
|
|
769
|
-
let { elementRef:
|
|
770
|
-
|
|
771
|
-
|
|
765
|
+
let { elementRef: r, modelValue: o, emit: s, mergeTags: c, syntax: u, enabled: d, onInsert: p } = e, m = k(u), h = D(u), g = f(() => d && m !== null && c.value.length > 0), _ = t(A, null), v = ot((i(_) ? _.value : _)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", se()), y = !1;
|
|
766
|
+
a() && l(() => {
|
|
767
|
+
y = !0, v.close();
|
|
772
768
|
});
|
|
773
769
|
function b(e) {
|
|
774
770
|
let t = e.value ?? "";
|
|
775
|
-
return st(t, e.selectionStart ?? t.length,
|
|
771
|
+
return st(t, e.selectionStart ?? t.length, m, h, u.value);
|
|
776
772
|
}
|
|
777
|
-
function x(e, t,
|
|
778
|
-
let
|
|
779
|
-
|
|
780
|
-
if (
|
|
781
|
-
let e =
|
|
782
|
-
e?.focus(), e?.setSelectionRange(
|
|
773
|
+
function x(e, t, i) {
|
|
774
|
+
let a = e.value ?? o(), c = a.slice(t.caret), l = h && c.startsWith(h) ? h.length : 0, u = a.slice(0, t.triggerStart), d = a.slice(t.caret + l), f = u + i.value + d, m = u.length + i.value.length;
|
|
775
|
+
p?.(), s(f), v.close(), n(() => {
|
|
776
|
+
if (y) return;
|
|
777
|
+
let e = r.value;
|
|
778
|
+
e?.focus(), e?.setSelectionRange(m, m);
|
|
783
779
|
});
|
|
784
780
|
}
|
|
785
781
|
function S() {
|
|
786
|
-
if (!
|
|
787
|
-
let e =
|
|
782
|
+
if (!g.value || y) return;
|
|
783
|
+
let e = r.value;
|
|
788
784
|
if (!e) {
|
|
789
|
-
|
|
785
|
+
v.close();
|
|
790
786
|
return;
|
|
791
787
|
}
|
|
792
788
|
let t = b(e);
|
|
793
789
|
if (!t) {
|
|
794
|
-
|
|
790
|
+
v.close();
|
|
795
791
|
return;
|
|
796
792
|
}
|
|
797
|
-
let n = it(
|
|
798
|
-
|
|
793
|
+
let n = it(c.value, t.query), i = () => dt(e, t.triggerStart), a = (n) => x(e, t, n);
|
|
794
|
+
v.isOpen() ? v.update({
|
|
799
795
|
items: n,
|
|
800
|
-
getRect:
|
|
796
|
+
getRect: i,
|
|
801
797
|
onCommand: a
|
|
802
|
-
}) :
|
|
798
|
+
}) : v.open({
|
|
803
799
|
items: n,
|
|
804
|
-
getRect:
|
|
800
|
+
getRect: i,
|
|
805
801
|
anchorEl: e,
|
|
806
802
|
onCommand: a
|
|
807
803
|
});
|
|
808
804
|
}
|
|
809
805
|
function C(e) {
|
|
810
|
-
return
|
|
806
|
+
return v.isOpen() ? e.key === "Escape" ? (v.close(), !0) : ft.has(e.key) ? (v.close(), !1) : v.handleKeyDown(e) : !1;
|
|
811
807
|
}
|
|
812
808
|
return {
|
|
813
|
-
available:
|
|
809
|
+
available: g,
|
|
814
810
|
refresh: S,
|
|
815
811
|
handleKeydown: C,
|
|
816
|
-
close: () =>
|
|
817
|
-
isOpen: () =>
|
|
812
|
+
close: () => v.close(),
|
|
813
|
+
isOpen: () => v.isOpen()
|
|
818
814
|
};
|
|
819
815
|
}
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
r() && c(() => {
|
|
816
|
+
// src/composables/useMergeTagField.ts
|
|
817
|
+
function mt(t) {
|
|
818
|
+
let { modelValue: r, emit: i, elementRef: o } = t, { mergeTags: s, canRequestMergeTag: c, isRequesting: u, isMergeTagValue: d, getMergeTagDisplayLabel: p, findMergeTag: m, requestMergeTag: h, syntax: g, autocomplete: _ } = F(), { canInsertLogicTag: v, isRequesting: y, requestLogicTag: b } = I(), x = e(!1), S = !1, C = !1;
|
|
819
|
+
a() && l(() => {
|
|
825
820
|
C = !0;
|
|
826
821
|
});
|
|
827
822
|
let w = pt({
|
|
828
|
-
elementRef:
|
|
829
|
-
modelValue:
|
|
823
|
+
elementRef: o,
|
|
824
|
+
modelValue: r,
|
|
830
825
|
emit: i,
|
|
831
826
|
mergeTags: s,
|
|
832
827
|
syntax: g,
|
|
@@ -834,45 +829,45 @@ function mt(e) {
|
|
|
834
829
|
onInsert: () => {
|
|
835
830
|
x.value = !0;
|
|
836
831
|
}
|
|
837
|
-
}), T =
|
|
838
|
-
let e =
|
|
832
|
+
}), T = f(() => {
|
|
833
|
+
let e = r();
|
|
839
834
|
if (!e) return [];
|
|
840
|
-
let
|
|
835
|
+
let t = [], n = `(${g.value.source}|${g.logic.source})`, i = new RegExp(n, "g"), a = 0, o;
|
|
841
836
|
for (; (o = i.exec(e)) !== null;) {
|
|
842
|
-
o.index > a &&
|
|
837
|
+
o.index > a && t.push({
|
|
843
838
|
type: "text",
|
|
844
839
|
value: e.slice(a, o.index)
|
|
845
840
|
});
|
|
846
|
-
let
|
|
847
|
-
|
|
841
|
+
let n = o[0];
|
|
842
|
+
d(n) ? t.push({
|
|
848
843
|
type: "mergeTag",
|
|
849
|
-
value:
|
|
850
|
-
label: p(
|
|
851
|
-
}) :
|
|
844
|
+
value: n,
|
|
845
|
+
label: p(n)
|
|
846
|
+
}) : O(n, g) ? t.push({
|
|
852
847
|
type: "logicMergeTag",
|
|
853
|
-
value:
|
|
854
|
-
keyword: E(
|
|
855
|
-
}) :
|
|
848
|
+
value: n,
|
|
849
|
+
keyword: E(n, g)
|
|
850
|
+
}) : t.push({
|
|
856
851
|
type: "text",
|
|
857
|
-
value:
|
|
858
|
-
}), a = o.index +
|
|
852
|
+
value: n
|
|
853
|
+
}), a = o.index + n.length;
|
|
859
854
|
}
|
|
860
|
-
return a < e.length &&
|
|
855
|
+
return a < e.length && t.push({
|
|
861
856
|
type: "text",
|
|
862
857
|
value: e.slice(a)
|
|
863
|
-
}),
|
|
864
|
-
}), ee =
|
|
858
|
+
}), t;
|
|
859
|
+
}), ee = f(() => T.value.some((e) => e.type === "mergeTag" || e.type === "logicMergeTag"));
|
|
865
860
|
function te() {
|
|
866
861
|
x.value = !0, n(() => {
|
|
867
|
-
|
|
868
|
-
let e =
|
|
869
|
-
|
|
862
|
+
o.value?.focus();
|
|
863
|
+
let e = r()?.length || 0;
|
|
864
|
+
o.value?.setSelectionRange(e, e);
|
|
870
865
|
});
|
|
871
866
|
}
|
|
872
867
|
function D() {
|
|
873
868
|
S || (x.value = !1);
|
|
874
869
|
}
|
|
875
|
-
function
|
|
870
|
+
function k(e) {
|
|
876
871
|
i(e.target.value), w.refresh();
|
|
877
872
|
}
|
|
878
873
|
function ne(e) {
|
|
@@ -888,20 +883,20 @@ function mt(e) {
|
|
|
888
883
|
i("");
|
|
889
884
|
}
|
|
890
885
|
async function ae() {
|
|
891
|
-
let e = x.value &&
|
|
886
|
+
let e = x.value && o.value ? o.value.selectionStart ?? r().length : r().length;
|
|
892
887
|
S = !0;
|
|
893
|
-
let
|
|
888
|
+
let t;
|
|
894
889
|
try {
|
|
895
|
-
|
|
890
|
+
t = await h();
|
|
896
891
|
} finally {
|
|
897
892
|
S = !1;
|
|
898
893
|
}
|
|
899
|
-
if (!C &&
|
|
900
|
-
let
|
|
894
|
+
if (!C && t) {
|
|
895
|
+
let a = r().slice(0, e), s = r().slice(e), c = a + t.value + s;
|
|
901
896
|
i(c), x.value = !0, n(() => {
|
|
902
897
|
if (C) return;
|
|
903
|
-
let
|
|
904
|
-
|
|
898
|
+
let n = e + t.value.length;
|
|
899
|
+
o.value?.focus(), o.value?.setSelectionRange(n, n);
|
|
905
900
|
});
|
|
906
901
|
}
|
|
907
902
|
}
|
|
@@ -921,7 +916,7 @@ function mt(e) {
|
|
|
921
916
|
!C && r && i(t.map((t, n) => n === e ? r.value : t.value).join(""));
|
|
922
917
|
}
|
|
923
918
|
async function M() {
|
|
924
|
-
let e =
|
|
919
|
+
let e = o.value, t = e?.selectionStart ?? r().length, a = e?.selectionEnd ?? t;
|
|
925
920
|
S = !0;
|
|
926
921
|
let s;
|
|
927
922
|
try {
|
|
@@ -930,22 +925,22 @@ function mt(e) {
|
|
|
930
925
|
S = !1;
|
|
931
926
|
}
|
|
932
927
|
if (C || !s) return;
|
|
933
|
-
let c =
|
|
934
|
-
"before" in s ? (l = c.slice(0,
|
|
935
|
-
C || (
|
|
928
|
+
let c = r(), l, u;
|
|
929
|
+
"before" in s ? (l = c.slice(0, t) + s.before + c.slice(t, a) + s.after + c.slice(a), u = t + s.before.length + (a - t)) : (l = c.slice(0, t) + s.value + c.slice(t), u = t + s.value.length), i(l), x.value = !0, n(() => {
|
|
930
|
+
C || (o.value?.focus(), o.value?.setSelectionRange(u, u));
|
|
936
931
|
});
|
|
937
932
|
}
|
|
938
933
|
return {
|
|
939
934
|
segments: T,
|
|
940
935
|
hasMergeTags: ee,
|
|
941
|
-
canRequestMergeTag:
|
|
936
|
+
canRequestMergeTag: c,
|
|
942
937
|
isRequestingMergeTag: u,
|
|
943
938
|
canInsertLogicTag: v,
|
|
944
939
|
isRequestingLogicTag: y,
|
|
945
940
|
isEditing: x,
|
|
946
941
|
startEditing: te,
|
|
947
942
|
stopEditing: D,
|
|
948
|
-
handleInput:
|
|
943
|
+
handleInput: k,
|
|
949
944
|
handleKeydown: ne,
|
|
950
945
|
handleClick: re,
|
|
951
946
|
handleBlur: A,
|
|
@@ -956,8 +951,7 @@ function mt(e) {
|
|
|
956
951
|
autocompleteAvailable: w.available
|
|
957
952
|
};
|
|
958
953
|
}
|
|
959
|
-
|
|
960
|
-
//#region src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
|
|
954
|
+
// src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
|
|
961
955
|
var ht = ["aria-label"], gt = [
|
|
962
956
|
"data-tooltip",
|
|
963
957
|
"aria-label",
|
|
@@ -977,66 +971,66 @@ var ht = ["aria-label"], gt = [
|
|
|
977
971
|
"clear",
|
|
978
972
|
"repick"
|
|
979
973
|
],
|
|
980
|
-
setup(
|
|
981
|
-
let
|
|
982
|
-
function
|
|
983
|
-
|
|
974
|
+
setup(e, { emit: t }) {
|
|
975
|
+
let n = t, { t: r, format: i } = j(), { canRepickMergeTag: a, showRawValue: o } = F();
|
|
976
|
+
function l() {
|
|
977
|
+
n("edit");
|
|
984
978
|
}
|
|
985
|
-
return (
|
|
979
|
+
return (t, d) => (g(), m("div", {
|
|
986
980
|
role: "group",
|
|
987
|
-
"aria-label":
|
|
988
|
-
class:
|
|
989
|
-
onClick:
|
|
981
|
+
"aria-label": b(r).mergeTag.fieldGroup,
|
|
982
|
+
class: _([e.displayClass, { "tpl-pulse-fill": e.pulse }]),
|
|
983
|
+
onClick: l
|
|
990
984
|
}, [
|
|
991
|
-
(
|
|
985
|
+
(g(!0), m(y, null, s(e.segments, (e, t) => (g(), m(y, { key: `${e.type}-${t}-${e.value}` }, [e.type === "mergeTag" && b(a)(e.value) ? (g(), m("button", {
|
|
992
986
|
key: 0,
|
|
993
987
|
type: "button",
|
|
994
|
-
class:
|
|
995
|
-
"data-tooltip":
|
|
996
|
-
"aria-label":
|
|
988
|
+
class: _(["tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:rounded tpl:border-none tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium", b(o) ? "tpl-tooltip" : ""]),
|
|
989
|
+
"data-tooltip": b(o) ? e.value : void 0,
|
|
990
|
+
"aria-label": b(i)(b(r).mergeTag.changeTag, { label: e.label }),
|
|
997
991
|
"data-testid": "merge-tag-field-chip",
|
|
998
992
|
style: {
|
|
999
993
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
|
|
1000
994
|
color: "var(--tpl-primary)"
|
|
1001
995
|
},
|
|
1002
|
-
onClick: w((e) =>
|
|
1003
|
-
},
|
|
996
|
+
onClick: w((e) => n("repick", t), ["stop"])
|
|
997
|
+
}, c(e.label), 11, gt)) : e.type === "mergeTag" ? (g(), m("span", {
|
|
1004
998
|
key: 1,
|
|
1005
|
-
class:
|
|
1006
|
-
"data-tooltip":
|
|
999
|
+
class: _(["tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium", b(o) ? "tpl-tooltip" : ""]),
|
|
1000
|
+
"data-tooltip": b(o) ? e.value : void 0,
|
|
1007
1001
|
style: {
|
|
1008
1002
|
"background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
|
|
1009
1003
|
color: "var(--tpl-primary)"
|
|
1010
1004
|
}
|
|
1011
|
-
},
|
|
1005
|
+
}, c(e.label), 11, _t)) : e.type === "logicMergeTag" ? (g(), m("span", {
|
|
1012
1006
|
key: 2,
|
|
1013
1007
|
class: "tpl-tooltip tpl:inline-flex tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase",
|
|
1014
|
-
"data-tooltip":
|
|
1008
|
+
"data-tooltip": e.value,
|
|
1015
1009
|
style: {
|
|
1016
1010
|
"background-color": "transparent",
|
|
1017
1011
|
border: "1.5px solid\n color-mix(in srgb, var(--tpl-primary) 50%, transparent)",
|
|
1018
1012
|
color: "var(--tpl-primary)"
|
|
1019
1013
|
}
|
|
1020
|
-
},
|
|
1021
|
-
|
|
1014
|
+
}, c(e.keyword), 9, vt)) : (g(), m("span", yt, c(e.value), 1))], 64))), 128)),
|
|
1015
|
+
v("button", {
|
|
1022
1016
|
type: "button",
|
|
1023
1017
|
class: "tpl:ml-auto tpl:flex tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-dim)] tpl:opacity-60 tpl:transition-all tpl:hover:text-[var(--tpl-primary)] tpl:hover:opacity-100",
|
|
1024
|
-
"aria-label":
|
|
1025
|
-
title:
|
|
1018
|
+
"aria-label": b(r).mergeTag.editAsText,
|
|
1019
|
+
title: b(r).mergeTag.editAsText,
|
|
1026
1020
|
"data-testid": "merge-tag-field-edit",
|
|
1027
|
-
onClick: w(
|
|
1028
|
-
}, [
|
|
1021
|
+
onClick: w(l, ["stop"])
|
|
1022
|
+
}, [u(b(P), {
|
|
1029
1023
|
size: 12,
|
|
1030
1024
|
"stroke-width": 2
|
|
1031
1025
|
})], 8, bt),
|
|
1032
|
-
|
|
1026
|
+
v("button", {
|
|
1033
1027
|
type: "button",
|
|
1034
1028
|
class: "tpl:flex tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-dim)] tpl:opacity-60 tpl:transition-all tpl:hover:text-[var(--tpl-danger)] tpl:hover:opacity-100",
|
|
1035
|
-
"aria-label":
|
|
1036
|
-
title:
|
|
1029
|
+
"aria-label": b(r).mergeTag.remove,
|
|
1030
|
+
title: b(r).mergeTag.remove,
|
|
1037
1031
|
"data-testid": "merge-tag-field-clear",
|
|
1038
|
-
onClick:
|
|
1039
|
-
}, [
|
|
1032
|
+
onClick: d[0] ||= w((e) => n("clear"), ["stop"])
|
|
1033
|
+
}, [u(b(de), {
|
|
1040
1034
|
size: 12,
|
|
1041
1035
|
"stroke-width": 2.5
|
|
1042
1036
|
})], 8, xt)
|
|
@@ -1050,20 +1044,20 @@ var ht = ["aria-label"], gt = [
|
|
|
1050
1044
|
__name: "MergeTagInsertButton",
|
|
1051
1045
|
props: { disabled: { type: Boolean } },
|
|
1052
1046
|
emits: ["insert"],
|
|
1053
|
-
setup(
|
|
1054
|
-
let { t
|
|
1055
|
-
return (
|
|
1047
|
+
setup(e) {
|
|
1048
|
+
let { t } = j();
|
|
1049
|
+
return (n, r) => (g(), m("button", {
|
|
1056
1050
|
type: "button",
|
|
1057
|
-
class:
|
|
1058
|
-
"aria-label":
|
|
1059
|
-
title:
|
|
1060
|
-
disabled:
|
|
1061
|
-
onMousedown:
|
|
1062
|
-
onClick:
|
|
1063
|
-
}, [
|
|
1051
|
+
class: _([wt, "tpl:mt-1.5"]),
|
|
1052
|
+
"aria-label": b(t).mergeTag.insert,
|
|
1053
|
+
title: b(t).mergeTag.insert,
|
|
1054
|
+
disabled: e.disabled,
|
|
1055
|
+
onMousedown: r[0] ||= w(() => {}, ["prevent"]),
|
|
1056
|
+
onClick: r[1] ||= (e) => n.$emit("insert")
|
|
1057
|
+
}, [u(b(L), {
|
|
1064
1058
|
size: 12,
|
|
1065
1059
|
"stroke-width": 2
|
|
1066
|
-
}),
|
|
1060
|
+
}), h(" " + c(b(t).mergeTag.insertShort), 1)], 42, Ct));
|
|
1067
1061
|
}
|
|
1068
1062
|
}), Et = [
|
|
1069
1063
|
"aria-label",
|
|
@@ -1073,22 +1067,21 @@ var ht = ["aria-label"], gt = [
|
|
|
1073
1067
|
__name: "LogicTagInsertButton",
|
|
1074
1068
|
props: { disabled: { type: Boolean } },
|
|
1075
1069
|
emits: ["insert"],
|
|
1076
|
-
setup(
|
|
1077
|
-
let { t
|
|
1078
|
-
return (
|
|
1070
|
+
setup(e) {
|
|
1071
|
+
let { t } = j();
|
|
1072
|
+
return (n, r) => (g(), m("button", {
|
|
1079
1073
|
type: "button",
|
|
1080
|
-
class:
|
|
1081
|
-
"aria-label":
|
|
1082
|
-
title:
|
|
1083
|
-
disabled:
|
|
1074
|
+
class: _([Dt, "tpl:mt-1.5"]),
|
|
1075
|
+
"aria-label": b(t).logicTag.insert,
|
|
1076
|
+
title: b(t).logicTag.insert,
|
|
1077
|
+
disabled: e.disabled,
|
|
1084
1078
|
"data-testid": "field-insert-logic-button",
|
|
1085
|
-
onMousedown:
|
|
1086
|
-
onClick:
|
|
1087
|
-
}, [
|
|
1079
|
+
onMousedown: r[0] ||= w(() => {}, ["prevent"]),
|
|
1080
|
+
onClick: r[1] ||= (e) => n.$emit("insert")
|
|
1081
|
+
}, [u(b(pe), {
|
|
1088
1082
|
size: 12,
|
|
1089
1083
|
"stroke-width": 2
|
|
1090
|
-
}),
|
|
1084
|
+
}), h(" " + c(b(t).logicTag.insertShort), 1)], 42, Et));
|
|
1091
1085
|
}
|
|
1092
1086
|
});
|
|
1093
|
-
//#endregion
|
|
1094
1087
|
export { ot as a, Ye as c, mt as i, L as l, Tt as n, it as o, St as r, at as s, Ot as t, pe as u };
|