@templatical/editor 0.60.3 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AiChatPanel-DPoq2Til.js → AiChatPanel-DF5TvO9H.js} +166 -166
- package/dist/{AiPanels-UdfhAzzu.js → AiPanels-zRqC5DIP.js} +1 -1
- package/dist/{AiRewriteMenu-DOreXB10.js → AiRewriteMenu-CmZKTO-O.js} +6 -6
- package/dist/{BlockIssueBadge-DQ_6NI4p.js → BlockIssueBadge-Bug5iqcK.js} +2 -2
- package/dist/{BlockPreviewCanvas-YaFum01Z.js → BlockPreviewCanvas-knSyWaCP.js} +3 -3
- package/dist/{CloudPanels-Bxv7vUYr.js → CloudPanels-BbHJHZri.js} +3 -3
- package/dist/{CollaborationNotices-PqWv0q8W.js → CollaborationNotices-BM35YG72.js} +1 -1
- package/dist/{CollaboratorBar-p-_PWqXW.js → CollaboratorBar-DMsEOndt.js} +1 -1
- package/dist/{CommentsPanel-BUo-YhSX.js → CommentsPanel-BMYvXRKK.js} +1 -1
- package/dist/{CommentsSidebar-D_Pz7FPz.js → CommentsSidebar-_8at1Rug.js} +139 -139
- package/dist/{CountdownToolbar-BQdhVNaK.js → CountdownToolbar-BprSuPJk.js} +3 -3
- package/dist/{IssuesPanel-C7mBrK6a.js → IssuesPanel-CeCvUfa7.js} +8 -8
- package/dist/{LanguageMenu-wS43Ck1x.js → LanguageMenu-CkGqLYjf.js} +124 -124
- package/dist/{LocaleNotices-CAvDAawJ.js → LocaleNotices-D0be8ovO.js} +10 -10
- package/dist/{LogicTagInsertButton-Clc3JTg_.js → LogicTagInsertButton-BzEZUTRZ.js} +3 -3
- package/dist/{MediaEditModal-YXOL0d_y.js → MediaEditModal-Bg-7RojG.js} +1 -1
- package/dist/{MediaPanels-VCv5epgs.js → MediaPanels-E9gLZ1Qb.js} +1 -1
- package/dist/{MergeTagInput-B5a9noTB.js → MergeTagInput-By2FSStk.js} +1 -1
- package/dist/{MergeTagModeToggle-D1r2aH5x.js → MergeTagModeToggle-DtjOZhoD.js} +3 -3
- package/dist/{MergeTagTextarea-CA9dPfMH.js → MergeTagTextarea-BjHlamJv.js} +14 -14
- package/dist/{ParagraphEditor-zMOqNnmx.js → ParagraphEditor-Ctu4fSsl.js} +23 -23
- package/dist/{RestoreVersionDialog-DdPpilBS.js → RestoreVersionDialog-DvZoTJVa.js} +3 -3
- package/dist/{RichTextEditorContent-gnRxu4-L.js → RichTextEditorContent-B1p7Ykq8.js} +4 -4
- package/dist/{SaveBlockDialog-CQzccFIM.js → SaveBlockDialog-DHfT-Tpx.js} +7 -7
- package/dist/{SavedBlocksBrowserModal-8cZ9z-pL.js → SavedBlocksBrowserModal-BjJuuXQv.js} +9 -9
- package/dist/{SavedBlocksPanels-C9Oztudc.js → SavedBlocksPanels-D6eiMQZ3.js} +1 -1
- package/dist/{SavedBlocksPickBar-udG0wuTf.js → SavedBlocksPickBar-BkgCDSXe.js} +2 -2
- package/dist/{TemplateSettings-DsaSsCC8.js → TemplateSettings-DQAbNsiS.js} +6 -6
- package/dist/{TestEmailModal-BP6954nj.js → TestEmailModal-m_AEa36T.js} +7 -7
- package/dist/{TestEmailPanel-5YlcWwPJ.js → TestEmailPanel-OApkuaVd.js} +1 -1
- package/dist/{TitleEditor-Cy-6WZuK.js → TitleEditor-Cwdtfk15.js} +9 -9
- package/dist/{Toolbar-Br0W6NE0.js → Toolbar-D_T55elL.js} +358 -358
- package/dist/{TplModal-DnytM7wO.js → TplModal-2MKm5y6r.js} +1 -1
- package/dist/{VersionHistoryMenu-D-RCk3oB.js → VersionHistoryMenu-B3-xJ7GO.js} +5 -5
- package/dist/{VersionHistoryPanels-DIqWP71K.js → VersionHistoryPanels-CCM0IQBg.js} +1 -1
- package/dist/{VersionPreviewBanner-DMg2sw3V.js → VersionPreviewBanner-DLAB4ZbS.js} +1 -1
- package/dist/{WrapperBlock-DoNQX0Ml.js → WrapperBlock-BZl10HLy.js} +2 -2
- package/dist/{blockTypeIcons-BePGuX0b.js → blockTypeIcons-C691ZY1l.js} +3 -3
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiChatPanel-cIT2haLo.js → AiChatPanel-BYAsgmoC.js} +146 -146
- package/dist/cdn/chunks/AiChatPanel-BYAsgmoC.js.map +1 -0
- package/dist/cdn/chunks/{AiPanels-B4GG8w3J.js → AiPanels-MY_YPls8.js} +2 -2
- package/dist/cdn/chunks/{AiPanels-B4GG8w3J.js.map → AiPanels-MY_YPls8.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-BqwwNUzj.js → AiRewriteMenu-BSePiXe_.js} +4 -4
- package/dist/cdn/chunks/{AiRewriteMenu-BqwwNUzj.js.map → AiRewriteMenu-BSePiXe_.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-C50pmOMZ.js → BlockIssueBadge-fYeNnepj.js} +2 -2
- package/dist/cdn/chunks/{BlockIssueBadge-C50pmOMZ.js.map → BlockIssueBadge-fYeNnepj.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-T13OIi1f.js → BlockPreviewCanvas-B153A3hu.js} +4 -4
- package/dist/cdn/chunks/{BlockPreviewCanvas-T13OIi1f.js.map → BlockPreviewCanvas-B153A3hu.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DDNWZ7ET.js → CloudPanels-Bv26_Sd8.js} +3 -3
- package/dist/cdn/chunks/{CloudPanels-DDNWZ7ET.js.map → CloudPanels-Bv26_Sd8.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-CTmjjbHv.js → CollaborationNotices-COkmBmps.js} +2 -2
- package/dist/cdn/chunks/{CollaborationNotices-CTmjjbHv.js.map → CollaborationNotices-COkmBmps.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-CzHjawjF.js → CollaboratorBar-BSzI8YIU.js} +2 -2
- package/dist/cdn/chunks/{CollaboratorBar-CzHjawjF.js.map → CollaboratorBar-BSzI8YIU.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-Dh0_eRBe.js → CommentsPanel-R27fqh9O.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-Dh0_eRBe.js.map → CommentsPanel-R27fqh9O.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-JxZ-O2mY.js → CommentsSidebar-BEiOQ_zT.js} +133 -133
- package/dist/cdn/chunks/CommentsSidebar-BEiOQ_zT.js.map +1 -0
- package/dist/cdn/chunks/{CountdownToolbar-D16RWxkh.js → CountdownToolbar-DOhXnbsq.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-D16RWxkh.js.map → CountdownToolbar-DOhXnbsq.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BtAn12hl.js → IssuesPanel-DgxiS3hF.js} +2 -2
- package/dist/cdn/chunks/{IssuesPanel-BtAn12hl.js.map → IssuesPanel-DgxiS3hF.js.map} +1 -1
- package/dist/cdn/chunks/{LanguageMenu-D71nO6LO.js → LanguageMenu-B6kt8SgX.js} +105 -105
- package/dist/cdn/chunks/LanguageMenu-B6kt8SgX.js.map +1 -0
- package/dist/cdn/chunks/{LocaleNotices-CzrNKR-N.js → LocaleNotices-Bleg4gTu.js} +10 -10
- package/dist/cdn/chunks/LocaleNotices-Bleg4gTu.js.map +1 -0
- package/dist/cdn/chunks/{LogicTagInsertButton-B4wuPoMa.js → LogicTagInsertButton-DGg1Wvhp.js} +2 -2
- package/dist/cdn/chunks/{LogicTagInsertButton-B4wuPoMa.js.map → LogicTagInsertButton-DGg1Wvhp.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-DJ2wxInt.js → MediaEditModal-BQO6ggJK.js} +2 -2
- package/dist/cdn/chunks/{MediaEditModal-DJ2wxInt.js.map → MediaEditModal-BQO6ggJK.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-BJawNjr9.js → MediaPanels-Ciahwsyt.js} +2 -2
- package/dist/cdn/chunks/{MediaPanels-BJawNjr9.js.map → MediaPanels-Ciahwsyt.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-DZD-p4nR.js → MergeTagInput-BVfTwujW.js} +2 -2
- package/dist/cdn/chunks/{MergeTagInput-DZD-p4nR.js.map → MergeTagInput-BVfTwujW.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-DGuJCgqO.js → MergeTagModeToggle-BoI0C1Y6.js} +2 -2
- package/dist/cdn/chunks/{MergeTagModeToggle-DGuJCgqO.js.map → MergeTagModeToggle-BoI0C1Y6.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-BRiaRBr_.js → MergeTagTextarea-DGDv-pdn.js} +15 -15
- package/dist/cdn/chunks/MergeTagTextarea-DGDv-pdn.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-BClN3WxA.js → ParagraphEditor-D0q36Myd.js} +24 -24
- package/dist/cdn/chunks/{ParagraphEditor-BClN3WxA.js.map → ParagraphEditor-D0q36Myd.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-CVfKIT1K.js → RestoreVersionDialog-CJggFdbi.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-CVfKIT1K.js.map → RestoreVersionDialog-CJggFdbi.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-CtV0Q0SO.js → RichTextEditorContent-D3ihUF8v.js} +4 -4
- package/dist/cdn/chunks/{RichTextEditorContent-CtV0Q0SO.js.map → RichTextEditorContent-D3ihUF8v.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-Cy6mI_xB.js → SaveBlockDialog-BzES5tqd.js} +6 -6
- package/dist/cdn/chunks/{SaveBlockDialog-Cy6mI_xB.js.map → SaveBlockDialog-BzES5tqd.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DW917QDB.js → SavedBlocksBrowserModal-CLNcZcLd.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-DW917QDB.js.map → SavedBlocksBrowserModal-CLNcZcLd.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-Cyzerpxs.js → SavedBlocksPanels-R0W9LElD.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-Cyzerpxs.js.map → SavedBlocksPanels-R0W9LElD.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-D6n86773.js → SavedBlocksPickBar-JNi5Rx4V.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-D6n86773.js.map → SavedBlocksPickBar-JNi5Rx4V.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings--_ZfbhnU.js → TemplateSettings-C5wsNcgX.js} +4 -4
- package/dist/cdn/chunks/{TemplateSettings--_ZfbhnU.js.map → TemplateSettings-C5wsNcgX.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-V_UFUIaf.js → TestEmailModal-BxIAwjww.js} +6 -6
- package/dist/cdn/chunks/{TestEmailModal-V_UFUIaf.js.map → TestEmailModal-BxIAwjww.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-CBfqsO2u.js → TestEmailPanel-B8BsWXjE.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-CBfqsO2u.js.map → TestEmailPanel-B8BsWXjE.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-CimWOQVn.js → TitleEditor-DhcI1aRS.js} +8 -8
- package/dist/cdn/chunks/{TitleEditor-CimWOQVn.js.map → TitleEditor-DhcI1aRS.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-czJfutfE.js → Toolbar-Ch3h2BUs.js} +202 -202
- package/dist/cdn/chunks/Toolbar-Ch3h2BUs.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-BtJJ5-En.js → TplModal-CPOqOxVf.js} +2 -2
- package/dist/cdn/chunks/{TplModal-BtJJ5-En.js.map → TplModal-CPOqOxVf.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-CVGlUPwS.js → VersionHistoryMenu-DTDO48HI.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryMenu-CVGlUPwS.js.map → VersionHistoryMenu-DTDO48HI.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-BS0USHsp.js → VersionHistoryPanels-CVrXHYxT.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-BS0USHsp.js.map → VersionHistoryPanels-CVrXHYxT.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-5RFz4AQx.js → VersionPreviewBanner-C1H_fYAr.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-5RFz4AQx.js.map → VersionPreviewBanner-C1H_fYAr.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-CSjYFYUT.js → WrapperBlock-B8SJ7Q4w.js} +3 -3
- package/dist/cdn/chunks/{WrapperBlock-CSjYFYUT.js.map → WrapperBlock-B8SJ7Q4w.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-BOonB9gK.js → blockTypeIcons-ZKw-Eiu0.js} +2 -2
- package/dist/cdn/chunks/{blockTypeIcons-BOonB9gK.js.map → blockTypeIcons-ZKw-Eiu0.js.map} +1 -1
- package/dist/cdn/chunks/{composables-BHsV8gkq.js → composables-CKXPwWo9.js} +152 -152
- package/dist/cdn/chunks/composables-CKXPwWo9.js.map +1 -0
- package/dist/cdn/chunks/dompurify-BflADeuH.js +850 -0
- package/dist/cdn/chunks/dompurify-BflADeuH.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-BVM_0uoL.js → editor-modal-BlSmX9Ch.js} +4 -4
- package/dist/cdn/chunks/{editor-modal-BVM_0uoL.js.map → editor-modal-BlSmX9Ch.js.map} +1 -1
- package/dist/cdn/chunks/en-jObtIVCp.js +1 -0
- package/dist/cdn/chunks/{extensions-BeGvJ6f0.js → extensions-Bq9nXmBP.js} +3 -3
- package/dist/cdn/chunks/{extensions-BeGvJ6f0.js.map → extensions-Bq9nXmBP.js.map} +1 -1
- package/dist/cdn/chunks/{icons-CWEBTtbR.js → icons-DdVB-5WO.js} +28 -28
- package/dist/cdn/chunks/{icons-CWEBTtbR.js.map → icons-DdVB-5WO.js.map} +1 -1
- package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -1
- package/dist/cdn/chunks/{sanitizeHtml-Db0S2JVP.js → sanitizeHtml-Plkmw1Qt.js} +2 -2
- package/dist/cdn/chunks/{sanitizeHtml-Db0S2JVP.js.map → sanitizeHtml-Plkmw1Qt.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-DMelHF3p.js → socialIcons-CSe4YJ52.js} +2 -2
- package/dist/cdn/chunks/{socialIcons-DMelHF3p.js.map → socialIcons-CSe4YJ52.js.map} +1 -1
- package/dist/cdn/chunks/{src-B32tyank.js → src-Bk1LF1np.js} +16 -14
- package/dist/cdn/chunks/src-Bk1LF1np.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-LIEsAVOF.js → tiptap-DDhueoan.js} +15 -7
- package/dist/cdn/chunks/{tiptap-LIEsAVOF.js.map → tiptap-DDhueoan.js.map} +1 -1
- package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js +41 -0
- package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +64 -62
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-C82yyyf1.js → check-8ZykoWzl.js} +1 -1
- package/dist/{chevron-down-BaBVjNbM.js → chevron-down-D_CUJHwi.js} +1 -1
- package/dist/{chevron-right-DkS-bw8X.js → chevron-right-B2WYkQtG.js} +1 -1
- package/dist/{chevron-up-C1KzUIK4.js → chevron-up-L-H27use.js} +1 -1
- package/dist/{circle-exclamation-point-DsmqtTUQ.js → circle-exclamation-point-BCx1tR91.js} +1 -1
- package/dist/{clock-dpIs7vo0.js → clock-DOOnNINY.js} +1 -1
- package/dist/{composables-DG_CMpuY.js → composables-26aR45W3.js} +1222 -1222
- package/dist/{createLucideIcon-BSam2AUu.js → createLucideIcon-BKeRiObH.js} +5 -5
- package/dist/{dist-CRcnmuxb.js → dist-B1bGGOA0.js} +2 -2
- package/dist/{dist-DRbuXmjl.js → dist-C3ZVR_pd.js} +2 -2
- package/dist/{dist-BvNveHdP.js → dist-C8aVVj28.js} +2 -2
- package/dist/dist-CTzstDyz.js +4 -0
- package/dist/{dist-xc8l1i2C.js → dist-CcxrHURm.js} +786 -778
- package/dist/{dist-LrtNpIZD.js → dist-D41-1sSL.js} +6 -6
- package/dist/{dist-BKFfCbrD.js → dist-DRJhbfT9.js} +2 -2
- package/dist/{dist-DCGVHlXC.js → dist-DkQutATU.js} +2 -2
- package/dist/{dist-BMULQVZF.js → dist-DyrUc7rM.js} +2 -2
- package/dist/{dist-CiOtB5na.js → dist-p_84-Inl.js} +2 -2
- package/dist/{dist-Bsg1RBUb.js → dist-tG9_FTOs.js} +2 -2
- package/dist/dist-zQ8L1LNg.js +4 -0
- package/dist/{editor-modal-odubnc9x.js → editor-modal-CRtEWHbQ.js} +15 -15
- package/dist/en-CMswCXqE.js +1 -0
- package/dist/{extensions-Cao-H_tB.js → extensions-zHf8YFRw.js} +4 -4
- package/dist/{eye-CxCHEszj.js → eye-BjZOVab7.js} +1 -1
- package/dist/{image-DvXPzqNd.js → image-g47lDP0J.js} +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/{info-2KHWaZ2L.js → info-DXij4QjB.js} +1 -1
- package/dist/{link-_OmrcJMv.js → link-BFJF0mWz.js} +1 -1
- package/dist/{list-Dekd7JE8.js → list-Cso9vnLq.js} +1 -1
- package/dist/{loader-circle-D_hT5mFS.js → loader-circle-uLY01591.js} +1 -1
- package/dist/{message-circle-DDbiG-jz.js → message-circle-amY03UMa.js} +1 -1
- package/dist/{package-cORUe57D.js → package-DnjoSQa1.js} +1 -1
- package/dist/{pencil-D67H4fxq.js → pencil-D1HBG4pb.js} +1 -1
- package/dist/{plus-BpTZAx28.js → plus-PzFvtj-Z.js} +1 -1
- package/dist/{refresh-cw-B4T0IFwI.js → refresh-cw-BPDv-S-4.js} +1 -1
- package/dist/{rotate-ccw-BDQgjpuo.js → rotate-ccw-DQZVEj1V.js} +1 -1
- package/dist/sanitizeHtml-DxmFirMi.js +945 -0
- package/dist/{search-Dp9pkaVt.js → search-BUBeKVdD.js} +1 -1
- package/dist/{send-DO9GhgCH.js → send-BJEuoIc2.js} +1 -1
- package/dist/{smartphone-CPW3I3hV.js → smartphone-DZ5xyNU4.js} +1 -1
- package/dist/{socialIcons-DXOO2y7u.js → socialIcons-mWE33bOn.js} +3 -3
- package/dist/{sparkles-CIBjNfij.js → sparkles-zWGR8hrs.js} +1 -1
- package/dist/{square-3W65qrrH.js → square--3H462TJ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +78 -76
- package/dist/{text-align-start-Bs70tpRU.js → text-align-start-B5Dx2Ylg.js} +13 -13
- package/dist/{trash-CTzhAm1o.js → trash-CJsobpw0.js} +1 -1
- package/dist/{triangle-exclamation-point-D_13CuJY.js → triangle-exclamation-point-Bi7ZKTZU.js} +1 -1
- package/dist/{upload-DFxkP9MI.js → upload-DZ_-FNJ4.js} +1 -1
- package/dist/useLanguageName-CEFzafHB.js +39 -0
- package/dist/{useScrollToBlock-194ePl4q.js → useScrollToBlock-eZXiGa8o.js} +1 -1
- package/dist/{x-D7L8mLHJ.js → x-CuyPLm0U.js} +1 -1
- package/package.json +24 -24
- package/dist/cdn/chunks/AiChatPanel-cIT2haLo.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-JxZ-O2mY.js.map +0 -1
- package/dist/cdn/chunks/LanguageMenu-D71nO6LO.js.map +0 -1
- package/dist/cdn/chunks/LocaleNotices-CzrNKR-N.js.map +0 -1
- package/dist/cdn/chunks/MergeTagTextarea-BRiaRBr_.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-czJfutfE.js.map +0 -1
- package/dist/cdn/chunks/composables-BHsV8gkq.js.map +0 -1
- package/dist/cdn/chunks/dompurify-JVtr5-B1.js +0 -872
- package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +0 -1
- package/dist/cdn/chunks/en-DlDEofnd.js +0 -1
- package/dist/cdn/chunks/languageName-DEEOhDWI.js +0 -12
- package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +0 -1
- package/dist/cdn/chunks/src-B32tyank.js.map +0 -1
- package/dist/dist-BnPPgVlu.js +0 -4
- package/dist/dist-zAzcxDCA.js +0 -4
- package/dist/en-CAImT1hl.js +0 -1
- package/dist/languageName-DEEOhDWI.js +0 -10
- package/dist/sanitizeHtml-Ru5_-IbM.js +0 -973
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { B as e, Ft as t, M as n, Mt as r, O as i, P as a, U as ee, _ as o, c as s, ct as c, d as l, et as u, f as d, g as f, l as p, r as m, u as h, w as g, y as _ } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { t as te } from "./dist-B6ptxfPo.js";
|
|
3
|
-
import { t as v } from "./triangle-exclamation-point-
|
|
4
|
-
import { t as y } from "./createLucideIcon-
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { Ft as
|
|
3
|
+
import { t as v } from "./triangle-exclamation-point-Bi7ZKTZU.js";
|
|
4
|
+
import { t as y } from "./createLucideIcon-BKeRiObH.js";
|
|
5
|
+
import { t as b } from "./check-8ZykoWzl.js";
|
|
6
|
+
import { t as ne } from "./chevron-down-D_CUJHwi.js";
|
|
7
|
+
import { t as re } from "./chevron-right-B2WYkQtG.js";
|
|
8
|
+
import { t as ie } from "./plus-PzFvtj-Z.js";
|
|
9
|
+
import { t as ae } from "./trash-CJsobpw0.js";
|
|
10
|
+
import { Ft as oe, It as se, at as ce, ft as le, ot as ue } from "./dist-DX_IQgcU.js";
|
|
11
11
|
import { t as de } from "./useI18n-Cx9W7OWb.js";
|
|
12
12
|
import { t as fe } from "./useLocalizedDisplay-DfiE-KjV.js";
|
|
13
13
|
import { E as pe, h as me, st as he, t as ge } from "./keys-B4DimcgX.js";
|
|
14
14
|
import { t as x } from "./plural-CyxrJXL1.js";
|
|
15
|
-
import { t as
|
|
16
|
-
import { C as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
var
|
|
15
|
+
import { t as _e } from "./useLanguageName-CEFzafHB.js";
|
|
16
|
+
import { C as ve, b as ye, f as be, u as xe, w as Se } from "./styleConstants-Br6CIRoS.js";
|
|
17
|
+
import { t as Ce } from "./TplModal-2MKm5y6r.js";
|
|
18
|
+
import { t as S } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
19
|
+
var we = y({
|
|
20
20
|
name: "arrow-up-to-line",
|
|
21
21
|
size: 24,
|
|
22
22
|
node: [
|
|
@@ -33,7 +33,7 @@ var Ce = y({
|
|
|
33
33
|
key: "1akyts"
|
|
34
34
|
}]
|
|
35
35
|
]
|
|
36
|
-
}),
|
|
36
|
+
}), Te = y({
|
|
37
37
|
name: "ellipsis",
|
|
38
38
|
size: 24,
|
|
39
39
|
node: [
|
|
@@ -57,87 +57,87 @@ var Ce = y({
|
|
|
57
57
|
}]
|
|
58
58
|
],
|
|
59
59
|
aliases: ["more-horizontal"]
|
|
60
|
-
}),
|
|
60
|
+
}), Ee = [
|
|
61
61
|
"aria-expanded",
|
|
62
62
|
"title",
|
|
63
63
|
"aria-label"
|
|
64
|
-
],
|
|
64
|
+
], De = { class: "tpl-language-name" }, Oe = {
|
|
65
65
|
class: "tpl-language-tag tpl:truncate",
|
|
66
66
|
"aria-hidden": "true"
|
|
67
|
-
},
|
|
67
|
+
}, ke = { class: "tpl-language-count tpl:shrink-0 tpl:tabular-nums" }, Ae = ["aria-label"], je = { class: "tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Me = { class: "tpl:max-h-64 tpl:overflow-y-auto" }, Ne = ["data-active"], Pe = [
|
|
68
68
|
"aria-checked",
|
|
69
69
|
"data-testid",
|
|
70
70
|
"onClick"
|
|
71
|
-
],
|
|
71
|
+
], Fe = { class: "tpl:flex tpl:w-3 tpl:shrink-0" }, Ie = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, Le = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Re = ["data-testid"], ze = [
|
|
72
72
|
"data-testid",
|
|
73
73
|
"aria-expanded",
|
|
74
74
|
"aria-label",
|
|
75
75
|
"onClick"
|
|
76
|
-
],
|
|
76
|
+
], Be = ["aria-label"], Ve = [
|
|
77
77
|
"data-testid",
|
|
78
78
|
"aria-disabled",
|
|
79
79
|
"aria-label",
|
|
80
80
|
"aria-describedby",
|
|
81
81
|
"onClick"
|
|
82
|
-
],
|
|
82
|
+
], He = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-1" }, Ue = ["data-testid", "onClick"], We = {
|
|
83
83
|
key: 0,
|
|
84
84
|
class: "tpl:relative tpl:border-t tpl:border-[var(--tpl-border)]"
|
|
85
|
-
},
|
|
85
|
+
}, Ge = ["aria-expanded"], Ke = ["aria-label"], qe = ["data-testid", "onClick"], Je = ["aria-label"], Ye = { class: "tpl:m-0 tpl:mb-4 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Xe = {
|
|
86
86
|
key: 0,
|
|
87
87
|
class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]"
|
|
88
|
-
},
|
|
88
|
+
}, Ze = {
|
|
89
89
|
key: 1,
|
|
90
90
|
class: "tpl:mb-4 tpl:text-sm tpl:text-[var(--tpl-text-muted)]"
|
|
91
|
-
},
|
|
91
|
+
}, Qe = {
|
|
92
92
|
key: 2,
|
|
93
93
|
role: "alert",
|
|
94
94
|
"data-testid": "language-default-error",
|
|
95
95
|
class: "tpl:mb-4 tpl:flex tpl:items-start tpl:gap-2 tpl:text-sm tpl:text-[var(--tpl-danger)]"
|
|
96
|
-
},
|
|
96
|
+
}, $e = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, et = ["data-testid"], tt = ["data-testid", "disabled"], C = "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:border-0 tpl:bg-transparent tpl:px-3 tpl:py-2.5 tpl:text-left tpl:text-xs tpl:transition-colors tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50", w = "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)] tpl:shadow-[var(--tpl-shadow-md)]", T = /*#__PURE__*/ S(/* @__PURE__ */ _({
|
|
97
97
|
__name: "LanguageMenu",
|
|
98
98
|
props: {
|
|
99
99
|
editor: {},
|
|
100
100
|
locales: {}
|
|
101
101
|
},
|
|
102
102
|
setup(_) {
|
|
103
|
-
let y = _, { t:
|
|
103
|
+
let y = _, S = _e(y.editor), { t: T, format: E } = de(), D = g(he, void 0) ?? "en", nt = g(pe, null), O = g(me, []), k = u(null), A = u(null), j = `tpl-language-reason-${le()}`, M = u(!1), N = u(null), P = u(null), F = u(null), I = u(null), L = u(null), R = s(() => ue(y.editor.content.value)), z = s(() => y.editor.activeLocale?.value ?? R.value), B = s(() => y.editor.content.value.settings.locales ?? []), V = s(() => y.locales.filter((e) => e !== R.value && !B.value.includes(e))), H = s(() => z.value === R.value || y.locales.includes(z.value)), U = g(ge, null) ?? fe(y.editor, O), W = s(() => M.value ? [R.value, ...B.value].map((e) => ({
|
|
104
104
|
locale: e,
|
|
105
|
-
coverage: e === R.value ? null : e === z.value ? U.value :
|
|
106
|
-
})) : []),
|
|
105
|
+
coverage: e === R.value ? null : e === z.value ? U.value : oe(y.editor.content.value, e, O)
|
|
106
|
+
})) : []), rt = s(() => N.value && B.value.includes(N.value) && H.value && y.locales.includes(N.value) ? se(y.editor.content.value, N.value) : []), G = s(() => y.locales.includes(R.value)), K = s(() => rt.value.length > 0 || !G.value), q = s(() => (U.value?.missing.length ?? 0) + (U.value?.stale.length ?? 0)), it = s(() => q.value ? E(T.localization.gapTooltip, {
|
|
107
107
|
missing: U.value.missing.length,
|
|
108
108
|
stale: U.value.stale.length
|
|
109
|
-
}) : S(z.value)),
|
|
110
|
-
function
|
|
109
|
+
}) : S(z.value)), at = s(() => q.value ? `${S(z.value)} ${q.value} (${z.value}), ${it.value}` : `${S(z.value)} (${z.value})`);
|
|
110
|
+
function ot(e) {
|
|
111
111
|
let t = [];
|
|
112
|
-
return e.missing.length && t.push(x(
|
|
112
|
+
return e.missing.length && t.push(x(T.localization.missingCount, e.missing.length, D)), e.stale.length && t.push(x(T.localization.staleCount, e.stale.length, D)), t.join(" · ") || T.localization.complete;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function J() {
|
|
115
115
|
M.value = !1, N.value = null, i(() => A.value?.focus());
|
|
116
116
|
}
|
|
117
|
-
async function
|
|
118
|
-
M.value ?
|
|
117
|
+
async function st() {
|
|
118
|
+
M.value ? J() : (M.value = !0, await i(), k.value?.querySelector("[role=\"menuitemradio\"]")?.focus());
|
|
119
119
|
}
|
|
120
|
-
async function
|
|
120
|
+
async function Y(e) {
|
|
121
121
|
N.value = N.value === e ? null : e, await i(), k.value?.querySelector("[data-language-submenu] [role=\"menuitem\"]:not(:disabled)")?.focus();
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function ct() {
|
|
124
124
|
let e = N.value;
|
|
125
125
|
N.value = null, k.value?.querySelector(`[data-testid="${e === "add" ? "language-add" : `language-actions-${e}`}"]`)?.focus();
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function lt(e) {
|
|
128
128
|
let t = e.target;
|
|
129
129
|
if (t.closest("[role=\"dialog\"]")) return;
|
|
130
130
|
if (e.key === "Escape" || e.key === "ArrowLeft" && N.value) {
|
|
131
|
-
e.preventDefault(), e.stopPropagation(), N.value ?
|
|
131
|
+
e.preventDefault(), e.stopPropagation(), N.value ? ct() : J();
|
|
132
132
|
return;
|
|
133
133
|
}
|
|
134
134
|
if (t === A.value && ["ArrowDown", "ArrowUp"].includes(e.key)) {
|
|
135
|
-
e.preventDefault(), M.value ||
|
|
135
|
+
e.preventDefault(), M.value || st();
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
138
|
if (e.key === "ArrowRight" && !t.closest("[data-language-submenu]")) {
|
|
139
139
|
let n = t.dataset.testid ?? "", r = n.replace(/^language-(option|actions)-/, "");
|
|
140
|
-
(n === "language-add" || r !== R.value && H.value && y.locales.includes(r)) && (e.preventDefault(),
|
|
140
|
+
(n === "language-add" || r !== R.value && H.value && y.locales.includes(r)) && (e.preventDefault(), Y(n === "language-add" ? "add" : r));
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
143
|
if (![
|
|
@@ -150,31 +150,31 @@ var Ce = y({
|
|
|
150
150
|
let n = t.closest("[role=\"menu\"]"), r = Array.from(n?.querySelectorAll("[role^=\"menuitem\"]:not(:disabled)") ?? []).filter((e) => e.closest("[role=\"menu\"]") === n), i = r.indexOf(t);
|
|
151
151
|
r[e.key === "Home" ? 0 : e.key === "End" ? r.length - 1 : (i + (e.key === "ArrowDown" ? 1 : -1) + r.length) % r.length]?.focus();
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
y.editor.setActiveLocale?.(e === R.value ? null : e),
|
|
153
|
+
function ut(e) {
|
|
154
|
+
y.editor.setActiveLocale?.(e === R.value ? null : e), J();
|
|
155
155
|
}
|
|
156
|
-
function
|
|
157
|
-
H.value && V.value.includes(e) && (y.editor.addLocale?.(e),
|
|
156
|
+
function dt(e) {
|
|
157
|
+
H.value && V.value.includes(e) && (y.editor.addLocale?.(e), J());
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function X() {
|
|
160
160
|
I.value = null, L.value = {
|
|
161
161
|
templateId: y.editor.state.template?.id ?? null,
|
|
162
162
|
loadVersion: y.editor.loadVersion?.value
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function ft() {
|
|
166
166
|
return L.value !== null && L.value.templateId === (y.editor.state.template?.id ?? null) && L.value.loadVersion === y.editor.loadVersion?.value;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
|
|
168
|
+
function pt(e) {
|
|
169
|
+
X(), P.value = e, N.value = null;
|
|
170
170
|
}
|
|
171
171
|
function Z(e) {
|
|
172
|
-
return H.value && B.value.includes(e) && y.locales.includes(e) && G.value &&
|
|
172
|
+
return H.value && B.value.includes(e) && y.locales.includes(e) && G.value && se(y.editor.content.value, e).length === 0;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
Z(e) && (
|
|
174
|
+
function mt(e) {
|
|
175
|
+
Z(e) && (X(), F.value = { locale: e }, N.value = null);
|
|
176
176
|
}
|
|
177
|
-
let
|
|
177
|
+
let ht = s(() => F.value ? ce(y.editor.content.value, F.value.locale, O).length : 0), Q = s(() => F.value ? E(T.localization.makeDefaultConfirmation, { language: S(F.value.locale) }) : E(T.localization.removeConfirmation, { language: S(P.value ?? R.value) }));
|
|
178
178
|
function $() {
|
|
179
179
|
let e = F.value?.locale ?? P.value;
|
|
180
180
|
L.value = null, I.value = null, F.value = null, P.value = null, i(() => {
|
|
@@ -186,36 +186,36 @@ var Ce = y({
|
|
|
186
186
|
k.value?.querySelector(`[data-testid="${t}"]`)?.focus();
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
if (!
|
|
189
|
+
function gt() {
|
|
190
|
+
if (!ft()) $(), J();
|
|
191
191
|
else if (H.value) {
|
|
192
192
|
if (F.value) {
|
|
193
193
|
let e = F.value.locale;
|
|
194
194
|
if (!Z(e)) return;
|
|
195
|
-
let t =
|
|
195
|
+
let t = nt?.setDefaultLocale(e);
|
|
196
196
|
if (!t) return;
|
|
197
197
|
if (!t.applied) {
|
|
198
|
-
I.value = E(
|
|
198
|
+
I.value = E(T.localization.defaultRefused, {
|
|
199
199
|
language: S(e),
|
|
200
|
-
reason: t.error.code === "locked_by_others" || t.error.code === "lock_held" ?
|
|
200
|
+
reason: t.error.code === "locked_by_others" || t.error.code === "lock_held" ? T.localization.defaultLockedReason : t.error.message
|
|
201
201
|
});
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
204
|
} else P.value && y.locales.includes(P.value) && y.editor.removeLocale?.(P.value);
|
|
205
|
-
$(),
|
|
205
|
+
$(), J();
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
return e([() => y.editor.state.template?.id ?? null, () => y.editor.loadVersion?.value], () => {
|
|
209
|
-
(M.value || L.value !== null) && ($(),
|
|
209
|
+
(M.value || L.value !== null) && ($(), J());
|
|
210
210
|
}, { flush: "sync" }), e(() => F.value !== null && !Z(F.value.locale), (e) => {
|
|
211
|
-
e && ($(),
|
|
211
|
+
e && ($(), J());
|
|
212
212
|
}), te(k, () => {
|
|
213
213
|
M.value = !1, N.value = null;
|
|
214
214
|
}), (e, i) => (n(), d("div", {
|
|
215
215
|
ref_key: "root",
|
|
216
216
|
ref: k,
|
|
217
217
|
class: "tpl-language-control tpl:relative tpl:min-w-0 tpl:shrink-0",
|
|
218
|
-
onKeydown:
|
|
218
|
+
onKeydown: lt
|
|
219
219
|
}, [
|
|
220
220
|
p("button", {
|
|
221
221
|
ref_key: "trigger",
|
|
@@ -224,32 +224,32 @@ var Ce = y({
|
|
|
224
224
|
"data-testid": "language-menu",
|
|
225
225
|
"aria-haspopup": "menu",
|
|
226
226
|
"aria-expanded": M.value,
|
|
227
|
-
title:
|
|
228
|
-
"aria-label":
|
|
229
|
-
class: r([c(
|
|
230
|
-
onClick:
|
|
227
|
+
title: it.value,
|
|
228
|
+
"aria-label": at.value,
|
|
229
|
+
class: r([c(Se), "tpl-language-trigger"]),
|
|
230
|
+
onClick: st
|
|
231
231
|
}, [
|
|
232
|
-
p("span",
|
|
233
|
-
p("span",
|
|
232
|
+
p("span", De, t(c(S)(z.value)), 1),
|
|
233
|
+
p("span", Oe, t(z.value), 1),
|
|
234
234
|
q.value ? (n(), d(m, { key: 0 }, [o(c(v), {
|
|
235
235
|
size: 12,
|
|
236
236
|
"aria-hidden": "true",
|
|
237
237
|
class: "tpl:shrink-0 tpl:text-[var(--tpl-warning)]"
|
|
238
|
-
}), p("span",
|
|
239
|
-
o(c(
|
|
238
|
+
}), p("span", ke, t(q.value), 1)], 64)) : l("", !0),
|
|
239
|
+
o(c(ne), {
|
|
240
240
|
size: 12,
|
|
241
241
|
"aria-hidden": "true",
|
|
242
242
|
class: "tpl-language-chevron tpl:shrink-0"
|
|
243
243
|
})
|
|
244
|
-
], 10,
|
|
244
|
+
], 10, Ee),
|
|
245
245
|
M.value ? (n(), d("div", {
|
|
246
246
|
key: 0,
|
|
247
247
|
role: "menu",
|
|
248
|
-
"aria-label": c(
|
|
249
|
-
class: r([
|
|
248
|
+
"aria-label": c(T).localization.languages,
|
|
249
|
+
class: r([w, "tpl:absolute tpl:left-0 tpl:top-full tpl:z-50 tpl:mt-2 tpl:w-72"])
|
|
250
250
|
}, [
|
|
251
|
-
p("div",
|
|
252
|
-
p("div",
|
|
251
|
+
p("div", je, t(c(T).localization.languages), 1),
|
|
252
|
+
p("div", Me, [(n(!0), d(m, null, a(W.value, (e) => (n(), d("div", {
|
|
253
253
|
key: e.locale,
|
|
254
254
|
class: "tpl-language-row tpl:flex tpl:items-center",
|
|
255
255
|
"data-active": z.value === e.locale
|
|
@@ -258,16 +258,16 @@ var Ce = y({
|
|
|
258
258
|
role: "menuitemradio",
|
|
259
259
|
"aria-checked": z.value === e.locale,
|
|
260
260
|
"data-testid": `language-option-${e.locale}`,
|
|
261
|
-
class: r(
|
|
262
|
-
onClick: (t) =>
|
|
263
|
-
}, [p("span",
|
|
261
|
+
class: r(C),
|
|
262
|
+
onClick: (t) => ut(e.locale)
|
|
263
|
+
}, [p("span", Fe, [z.value === e.locale ? (n(), h(c(b), {
|
|
264
264
|
key: 0,
|
|
265
265
|
size: 12,
|
|
266
266
|
"aria-hidden": "true"
|
|
267
|
-
})) : l("", !0)]), p("span",
|
|
267
|
+
})) : l("", !0)]), p("span", Ie, [p("span", Le, [p("span", null, t(c(S)(e.locale)), 1), e.locale === R.value || !_.locales.includes(e.locale) ? (n(), d("span", {
|
|
268
268
|
key: 0,
|
|
269
|
-
class: r(["tpl-language-pill", c(
|
|
270
|
-
}, t(e.locale === R.value ? c(
|
|
269
|
+
class: r(["tpl-language-pill", c(xe)])
|
|
270
|
+
}, t(e.locale === R.value ? c(T).localization.default : c(T).localization.notEnabled), 3)) : l("", !0)]), e.coverage ? (n(), d("span", {
|
|
271
271
|
key: 0,
|
|
272
272
|
"data-testid": `language-status-${e.locale}`,
|
|
273
273
|
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
|
|
@@ -276,92 +276,92 @@ var Ce = y({
|
|
|
276
276
|
size: 10,
|
|
277
277
|
"aria-hidden": "true",
|
|
278
278
|
class: "tpl:text-[var(--tpl-warning)]"
|
|
279
|
-
})) : (n(), h(c(
|
|
279
|
+
})) : (n(), h(c(b), {
|
|
280
280
|
key: 1,
|
|
281
281
|
size: 10,
|
|
282
282
|
"aria-hidden": "true",
|
|
283
283
|
class: "tpl:text-[var(--tpl-success)]"
|
|
284
|
-
})), f(" " + t(
|
|
284
|
+
})), f(" " + t(ot(e.coverage)), 1)], 8, Re)) : l("", !0)])], 8, Pe), e.locale !== R.value && H.value && _.locales.includes(e.locale) ? (n(), d("button", {
|
|
285
285
|
key: 0,
|
|
286
286
|
type: "button",
|
|
287
287
|
"data-testid": `language-actions-${e.locale}`,
|
|
288
288
|
"aria-haspopup": "menu",
|
|
289
289
|
"aria-expanded": N.value === e.locale,
|
|
290
|
-
"aria-label": c(E)(c(
|
|
290
|
+
"aria-label": c(E)(c(T).localization.moreActions, { language: c(S)(e.locale) }),
|
|
291
291
|
class: "tpl-language-actions tpl:mr-2 tpl:flex tpl:size-7 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-0 tpl:bg-transparent tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)]",
|
|
292
|
-
onClick: (t) =>
|
|
293
|
-
}, [o(c(
|
|
292
|
+
onClick: (t) => Y(e.locale)
|
|
293
|
+
}, [o(c(Te), {
|
|
294
294
|
size: 14,
|
|
295
295
|
"aria-hidden": "true"
|
|
296
|
-
})], 8,
|
|
296
|
+
})], 8, ze)) : l("", !0)], 8, Ne))), 128))]),
|
|
297
297
|
(n(!0), d(m, null, a(W.value.filter((e) => e.locale === N.value && H.value && _.locales.includes(e.locale)), (e) => (n(), d("div", {
|
|
298
298
|
key: e.locale,
|
|
299
299
|
role: "menu",
|
|
300
300
|
"data-language-submenu": "",
|
|
301
|
-
"aria-label": c(E)(c(
|
|
302
|
-
class: r([
|
|
301
|
+
"aria-label": c(E)(c(T).localization.moreActions, { language: c(S)(e.locale) }),
|
|
302
|
+
class: r([w, "tpl-language-submenu tpl:absolute tpl:left-full tpl:top-0 tpl:ml-1 tpl:w-64 tpl:overflow-hidden"])
|
|
303
303
|
}, [p("button", {
|
|
304
304
|
type: "button",
|
|
305
305
|
role: "menuitem",
|
|
306
306
|
"data-testid": `language-make-default-${e.locale}`,
|
|
307
|
-
class: r(
|
|
307
|
+
class: r(C),
|
|
308
308
|
"aria-disabled": K.value,
|
|
309
|
-
"aria-label": c(
|
|
309
|
+
"aria-label": c(T).localization.makeDefaultLanguage,
|
|
310
310
|
"aria-describedby": K.value ? j : void 0,
|
|
311
|
-
onClick: (t) =>
|
|
312
|
-
}, [o(c(
|
|
311
|
+
onClick: (t) => mt(e.locale)
|
|
312
|
+
}, [o(c(we), {
|
|
313
313
|
size: 14,
|
|
314
314
|
"aria-hidden": "true",
|
|
315
315
|
class: "tpl:shrink-0"
|
|
316
|
-
}), p("span",
|
|
316
|
+
}), p("span", He, [p("span", null, t(c(T).localization.makeDefaultLanguage), 1), K.value ? (n(), d("span", {
|
|
317
317
|
key: 0,
|
|
318
318
|
id: j,
|
|
319
319
|
class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
|
|
320
|
-
}, t(G.value ? c(x)(c(
|
|
320
|
+
}, t(G.value ? c(x)(c(T).localization.hiddenBeforeDefault, rt.value.length, c(D), { language: c(S)(e.locale) }) : c(E)(c(T).localization.defaultNotEnabled, { default: c(S)(R.value) })), 1)) : l("", !0)])], 8, Ve), p("button", {
|
|
321
321
|
type: "button",
|
|
322
322
|
role: "menuitem",
|
|
323
323
|
"data-testid": `language-remove-${e.locale}`,
|
|
324
|
-
class: r([
|
|
325
|
-
onClick: (t) =>
|
|
326
|
-
}, [o(c(
|
|
324
|
+
class: r([C, "tpl:text-[var(--tpl-danger)]"]),
|
|
325
|
+
onClick: (t) => pt(e.locale)
|
|
326
|
+
}, [o(c(ae), {
|
|
327
327
|
size: 14,
|
|
328
328
|
"aria-hidden": "true"
|
|
329
|
-
}), f(t(c(E)(c(
|
|
330
|
-
V.value.length && H.value ? (n(), d("div",
|
|
329
|
+
}), f(t(c(E)(c(T).localization.removeLanguage, { language: c(S)(e.locale) })) + "… ", 1)], 8, Ue)], 8, Be))), 128)),
|
|
330
|
+
V.value.length && H.value ? (n(), d("div", We, [p("button", {
|
|
331
331
|
type: "button",
|
|
332
332
|
role: "menuitem",
|
|
333
333
|
"data-testid": "language-add",
|
|
334
334
|
"aria-haspopup": "menu",
|
|
335
335
|
"aria-expanded": N.value === "add",
|
|
336
|
-
class: r(
|
|
337
|
-
onClick: i[0] ||= (e) =>
|
|
336
|
+
class: r(C),
|
|
337
|
+
onClick: i[0] ||= (e) => Y("add")
|
|
338
338
|
}, [
|
|
339
|
-
o(c(
|
|
339
|
+
o(c(ie), {
|
|
340
340
|
size: 14,
|
|
341
341
|
"aria-hidden": "true"
|
|
342
342
|
}),
|
|
343
|
-
f(t(c(
|
|
344
|
-
o(c(
|
|
343
|
+
f(t(c(T).localization.addLanguage), 1),
|
|
344
|
+
o(c(re), {
|
|
345
345
|
size: 12,
|
|
346
346
|
"aria-hidden": "true",
|
|
347
347
|
class: "tpl:ml-auto"
|
|
348
348
|
})
|
|
349
|
-
], 8,
|
|
349
|
+
], 8, Ge), N.value === "add" ? (n(), d("div", {
|
|
350
350
|
key: 0,
|
|
351
351
|
role: "menu",
|
|
352
352
|
"data-language-submenu": "",
|
|
353
|
-
"aria-label": c(
|
|
354
|
-
class: r([
|
|
353
|
+
"aria-label": c(T).localization.addLanguage,
|
|
354
|
+
class: r([w, "tpl-language-submenu tpl:absolute tpl:left-full tpl:bottom-0 tpl:ml-1 tpl:max-h-64 tpl:w-48 tpl:overflow-y-auto"])
|
|
355
355
|
}, [(n(!0), d(m, null, a(V.value, (e) => (n(), d("button", {
|
|
356
356
|
key: e,
|
|
357
357
|
type: "button",
|
|
358
358
|
role: "menuitem",
|
|
359
359
|
"data-testid": `language-add-${e}`,
|
|
360
|
-
class: r(
|
|
361
|
-
onClick: (t) =>
|
|
362
|
-
}, t(c(S)(e)), 9,
|
|
363
|
-
], 8,
|
|
364
|
-
o(
|
|
360
|
+
class: r(C),
|
|
361
|
+
onClick: (t) => dt(e)
|
|
362
|
+
}, t(c(S)(e)), 9, qe))), 128))], 8, Ke)) : l("", !0)])) : l("", !0)
|
|
363
|
+
], 8, Ae)) : l("", !0),
|
|
364
|
+
o(Ce, {
|
|
365
365
|
visible: P.value !== null || F.value !== null,
|
|
366
366
|
onClose: $
|
|
367
367
|
}, {
|
|
@@ -371,33 +371,33 @@ var Ce = y({
|
|
|
371
371
|
"aria-label": Q.value,
|
|
372
372
|
class: "tpl:w-80 tpl:max-w-full tpl:max-h-[90%] tpl:overflow-y-auto tpl:box-border tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-lg)]"
|
|
373
373
|
}, [
|
|
374
|
-
p("h3",
|
|
375
|
-
F.value &&
|
|
374
|
+
p("h3", Ye, t(Q.value), 1),
|
|
375
|
+
F.value && ht.value ? (n(), d("p", Xe, t(c(x)(c(T).localization.defaultGaps, ht.value, c(D), {
|
|
376
376
|
language: c(S)(F.value.locale),
|
|
377
377
|
default: c(S)(R.value)
|
|
378
378
|
})), 1)) : l("", !0),
|
|
379
|
-
P.value ? (n(), d("p",
|
|
380
|
-
I.value ? (n(), d("p",
|
|
379
|
+
P.value ? (n(), d("p", Ze, t(c(E)(c(T).localization.removeDescription, { language: c(S)(P.value) })), 1)) : l("", !0),
|
|
380
|
+
I.value ? (n(), d("p", Qe, [o(c(v), {
|
|
381
381
|
size: 14,
|
|
382
382
|
"aria-hidden": "true",
|
|
383
383
|
class: "tpl:shrink-0"
|
|
384
384
|
}), p("span", null, t(I.value), 1)])) : l("", !0),
|
|
385
|
-
p("div",
|
|
385
|
+
p("div", $e, [p("button", {
|
|
386
386
|
type: "button",
|
|
387
387
|
"data-testid": F.value ? "language-default-cancel" : "language-remove-cancel",
|
|
388
|
-
class: r(c(
|
|
388
|
+
class: r(c(ve)),
|
|
389
389
|
onClick: $
|
|
390
|
-
}, t(c(
|
|
390
|
+
}, t(c(T).localization.cancel), 11, et), p("button", {
|
|
391
391
|
type: "button",
|
|
392
392
|
"data-testid": F.value ? "language-default-confirm" : "language-remove-confirm",
|
|
393
|
-
class: r(P.value ? c(
|
|
393
|
+
class: r(P.value ? c(be) : c(ye)),
|
|
394
394
|
disabled: !H.value,
|
|
395
|
-
onClick:
|
|
396
|
-
}, t(F.value ? c(
|
|
397
|
-
], 8,
|
|
395
|
+
onClick: gt
|
|
396
|
+
}, t(F.value ? c(T).localization.makeDefault : c(E)(c(T).localization.removeLanguage, { language: c(S)(P.value ?? R.value) })), 11, tt)])
|
|
397
|
+
], 8, Je)]),
|
|
398
398
|
_: 1
|
|
399
399
|
}, 8, ["visible"])
|
|
400
400
|
], 544));
|
|
401
401
|
}
|
|
402
|
-
}), [["__scopeId", "data-v-
|
|
403
|
-
export {
|
|
402
|
+
}), [["__scopeId", "data-v-e6e34300"]]);
|
|
403
|
+
export { T as default };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Ft as e, M as t, Pt as n, _ as r, c as i, ct as a, f as o, l as s, w as c, y as l } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { t as u } from "./check-
|
|
3
|
-
import { t as d } from "./x-
|
|
2
|
+
import { t as u } from "./check-8ZykoWzl.js";
|
|
3
|
+
import { t as d } from "./x-CuyPLm0U.js";
|
|
4
4
|
import { t as f } from "./useI18n-Cx9W7OWb.js";
|
|
5
5
|
import { t as p } from "./noticeTones-D7BPu-Le.js";
|
|
6
6
|
import { t as m } from "./plural-CyxrJXL1.js";
|
|
7
7
|
import { st as h } from "./keys-B4DimcgX.js";
|
|
8
|
-
import { t as g } from "./
|
|
8
|
+
import { t as g } from "./useLanguageName-CEFzafHB.js";
|
|
9
9
|
// src/components/localization/LocaleNotices.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var _ = ["aria-label", "title"], v = /* @__PURE__ */ l({
|
|
11
11
|
__name: "LocaleNotices",
|
|
12
12
|
props: { notice: {} },
|
|
13
13
|
emits: ["dismiss"],
|
|
14
14
|
setup(l, { emit: v }) {
|
|
15
|
-
let y = l, b = v, { t:
|
|
16
|
-
let { notice: e } = y, t = [S
|
|
17
|
-
return e.count && t.push(m(
|
|
15
|
+
let y = l, b = g(), x = v, { t: S, format: C } = f(), w = c(h, void 0) ?? "en", T = i(() => {
|
|
16
|
+
let { notice: e } = y, t = [C(S.localization.defaultChanged, { language: b(e.language) })];
|
|
17
|
+
return e.count && t.push(m(S.localization.defaultRemaining, e.count, w, { old: b(e.old) })), t.join(" ");
|
|
18
18
|
});
|
|
19
19
|
return (i, c) => (t(), o("div", {
|
|
20
20
|
"data-testid": "locale-notice",
|
|
@@ -28,13 +28,13 @@ var _ = ["aria-label", "title"], v = /* @__PURE__ */ l({
|
|
|
28
28
|
"aria-hidden": "true",
|
|
29
29
|
class: "tpl:shrink-0"
|
|
30
30
|
}),
|
|
31
|
-
s("span", null, e(
|
|
31
|
+
s("span", null, e(T.value), 1),
|
|
32
32
|
s("button", {
|
|
33
33
|
type: "button",
|
|
34
34
|
class: "tpl:flex tpl:size-5 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded tpl:text-[var(--tpl-text-muted)] tpl:hover:text-[var(--tpl-text)] tpl:focus-visible:outline-none tpl:focus-visible:shadow-[var(--tpl-ring)]",
|
|
35
|
-
"aria-label": a(
|
|
36
|
-
title: a(
|
|
37
|
-
onClick: c[0] ||= (e) =>
|
|
35
|
+
"aria-label": a(S).localization.dismiss,
|
|
36
|
+
title: a(S).localization.dismiss,
|
|
37
|
+
onClick: c[0] ||= (e) => x("dismiss")
|
|
38
38
|
}, [r(a(d), {
|
|
39
39
|
size: 14,
|
|
40
40
|
"stroke-width": 2,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { B as e, Ft as t, M as n, Mt as r, O as i, P as a, Pt as o, S as s, U as c, Y as l, Z as u, _ as d, a as f, c as p, ct as m, d as h, et as g, f as _, g as v, l as y, q as b, r as x, u as S, w as C, y as w } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { c as T, n as E, s as ee, t as D } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
3
|
import { A as O, _t as k, mt as A, nn as j, tn as M, vt as N, wt as P } from "./dist-DX_IQgcU.js";
|
|
4
|
-
import { t as F } from "./createLucideIcon-
|
|
5
|
-
import { t as I } from "./pencil-
|
|
6
|
-
import { t as L } from "./x-
|
|
4
|
+
import { t as F } from "./createLucideIcon-BKeRiObH.js";
|
|
5
|
+
import { t as I } from "./pencil-D1HBG4pb.js";
|
|
6
|
+
import { t as L } from "./x-CuyPLm0U.js";
|
|
7
7
|
import { at as R, ct as te, it as ne, p as re } from "./keys-B4DimcgX.js";
|
|
8
8
|
import { t as z } from "./useI18n-Cx9W7OWb.js";
|
|
9
9
|
import { d as ie } from "./styleConstants-Br6CIRoS.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as e, D as t, F as n, Ft as r, I as i, L as a, M as o, Mt as s, P as c, Pt as l, U as u, W as d, _ as f, a as p, c as m, ct as h, d as g, et as _, f as v, g as ee, l as y, r as te, u as b, w as ne, y as x } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { a as re, c as ie, o as ae, t as oe } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
-
import { a as se, n as ce, o as le, r as ue, t as de } from "./editor-modal-
|
|
3
|
+
import { a as se, n as ce, o as le, r as ue, t as de } from "./editor-modal-CRtEWHbQ.js";
|
|
4
4
|
import { t as fe } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
5
5
|
// ../media-library/src/composables/useImageCrop.ts
|
|
6
6
|
var pe = {
|
|
@@ -10,7 +10,7 @@ var o = /* @__PURE__ */ a({
|
|
|
10
10
|
popoverTarget: {}
|
|
11
11
|
},
|
|
12
12
|
setup(a) {
|
|
13
|
-
let o = a, s = i(async () => (await import("./editor-modal-
|
|
13
|
+
let o = a, s = i(async () => (await import("./editor-modal-CRtEWHbQ.js")).MediaLibraryModal);
|
|
14
14
|
function c(e) {
|
|
15
15
|
o.feature.select(e);
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as e, Mt as t, _ as n, ct as r, d as i, et as a, f as o, l as s, u as c, y as l } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
-
import { i as u, n as d, r as f, t as p } from "./LogicTagInsertButton-
|
|
2
|
+
import { i as u, n as d, r as f, t as p } from "./LogicTagInsertButton-BzEZUTRZ.js";
|
|
3
3
|
import { h as m } from "./styleConstants-Br6CIRoS.js";
|
|
4
4
|
import { t as h } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
5
5
|
// src/components/MergeTagInput.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ft as e, M as t, P as n, Pt as r, c as i, ct as a, d as o, f as s, l as c, r as l, u, w as d, y as f } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
import { yt as p } from "./dist-DX_IQgcU.js";
|
|
3
|
-
import { t as m } from "./createLucideIcon-
|
|
4
|
-
import { n as h, t as g } from "./smartphone-
|
|
5
|
-
import { t as _ } from "./sparkles-
|
|
3
|
+
import { t as m } from "./createLucideIcon-BKeRiObH.js";
|
|
4
|
+
import { n as h, t as g } from "./smartphone-DZ5xyNU4.js";
|
|
5
|
+
import { t as _ } from "./sparkles-zWGR8hrs.js";
|
|
6
6
|
import { P as v, V as y } from "./keys-B4DimcgX.js";
|
|
7
7
|
import { t as b } from "./useI18n-Cx9W7OWb.js";
|
|
8
8
|
var x = m({
|