@templatical/editor 0.56.0 → 0.56.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/dist/{AiAltTextPopover-DdsvhE78.js → AiAltTextPopover-CpZ7UeAZ.js} +3 -3
- package/dist/{AiAltTextReview-P6to1_0t.js → AiAltTextReview-LYxvn7Qe.js} +4 -4
- package/dist/{AiChatPanel-BSlmzMRC.js → AiChatPanel-Cy05P-iO.js} +53 -53
- package/dist/{AiPanels-DAsnX-a3.js → AiPanels-CwKmXzyr.js} +1 -1
- package/dist/{AiRewriteMenu-DIISOR6U.js → AiRewriteMenu-DgqJHnza.js} +8 -8
- package/dist/{BlockIssueBadge-Bmtc50BQ.js → BlockIssueBadge-CxHJmuOh.js} +3 -3
- package/dist/{BlockPreviewCanvas-BYIzNn-9.js → BlockPreviewCanvas-DEmNZkEG.js} +44 -44
- package/dist/{CloudPanels-w34W8_BP.js → CloudPanels-Bmlf05Il.js} +11 -11
- package/dist/{CollaborationNotices-HTbCebjV.js → CollaborationNotices-C27GCMvK.js} +7 -7
- package/dist/{CommentsPanel-C5qG17Ki.js → CommentsPanel-B5NqPMmY.js} +1 -1
- package/dist/{CommentsSidebar-C7CWcUYZ.js → CommentsSidebar-BDrcrDxS.js} +42 -42
- package/dist/{CountdownBlock-BTXcCvjZ.js → CountdownBlock-D8dqjm3F.js} +6 -6
- package/dist/{CountdownToolbar-CP-pkntQ.js → CountdownToolbar-IjpCOjCd.js} +30 -30
- package/dist/{IssuesPanel-CiiNBzH0.js → IssuesPanel-uwuzeMSW.js} +87 -87
- package/dist/LanguageMenu-C-eQ0lFy.js +403 -0
- package/dist/{LocaleNotices-CTCZ7BYv.js → LocaleNotices-CDK_9D7P.js} +8 -8
- package/dist/{LogicTagInsertButton-DEOPc4RC.js → LogicTagInsertButton-BSolF7Fd.js} +3 -3
- package/dist/{MediaEditModal-DJsPLTwP.js → MediaEditModal-C8yc9dxt.js} +7 -7
- package/dist/{MediaPanels-D2WD2aE2.js → MediaPanels-FI4I8asn.js} +1 -1
- package/dist/{MergeTagInput-C9icdxw7.js → MergeTagInput-B1nl2ZMT.js} +12 -12
- package/dist/{MergeTagTextarea-CrAcmT3A.js → MergeTagTextarea-DJlf3VbS.js} +1 -1
- package/dist/{ParagraphEditor-BWBQ3jKz.js → ParagraphEditor-Dqco128s.js} +156 -156
- package/dist/{RestoreVersionDialog-CqAp16yQ.js → RestoreVersionDialog-hqLCuGV5.js} +12 -12
- package/dist/{RichTextEditorContent-xbBjVPVQ.js → RichTextEditorContent-xIEF0Y3Z.js} +2 -2
- package/dist/{SaveBlockDialog-pebNJBTc.js → SaveBlockDialog-CQlCP_XC.js} +46 -46
- package/dist/{SavedBlocksBrowserModal-CvagMcv7.js → SavedBlocksBrowserModal-BXA32Fx6.js} +23 -23
- package/dist/{SavedBlocksPanels-B9AAVBDm.js → SavedBlocksPanels-BKUzbamj.js} +1 -1
- package/dist/{SavedBlocksPickBar-BIANWe3i.js → SavedBlocksPickBar-BlvF-4UF.js} +9 -9
- package/dist/{TemplateSettings-ORq4PbCN.js → TemplateSettings-CYFtR8zv.js} +41 -41
- package/dist/{TestEmailModal-DRjCpcPl.js → TestEmailModal-BbaL17HO.js} +20 -20
- package/dist/{TestEmailPanel-H0v8El__.js → TestEmailPanel-DhB1CSpg.js} +1 -1
- package/dist/{TitleEditor-CEGbJXeU.js → TitleEditor-3BRl8u5l.js} +21 -21
- package/dist/{Toolbar-XT-uGA9J.js → Toolbar-pzNIakGM.js} +656 -656
- package/dist/{TplModal-7NQq5-VW.js → TplModal-WNuWhHZm.js} +4 -4
- package/dist/{VersionHistoryMenu-C8BE3Pr-.js → VersionHistoryMenu--T-Qp_mH.js} +15 -15
- package/dist/{VersionHistoryPanels-CuKuOSJG.js → VersionHistoryPanels-BPubvYIE.js} +1 -1
- package/dist/{VersionPreviewBanner-BVFBkveR.js → VersionPreviewBanner-ClL3Wkln.js} +7 -7
- package/dist/{WrapperBlock-Bdw-072t.js → WrapperBlock-CjfCPceb.js} +11 -11
- package/dist/{blockTypeIcons-CGplGmmr.js → blockTypeIcons-12OMwVyN.js} +1 -1
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js → AiAltTextPopover-PFjTrl0y.js} +4 -4
- package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js.map → AiAltTextPopover-PFjTrl0y.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js → AiAltTextReview-BMjzvApH.js} +5 -5
- package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js.map → AiAltTextReview-BMjzvApH.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-DKDu9cs7.js → AiChatPanel-C2gpq4kP.js} +107 -107
- package/dist/cdn/chunks/{AiChatPanel-DKDu9cs7.js.map → AiChatPanel-C2gpq4kP.js.map} +1 -1
- package/dist/cdn/chunks/{AiPanels-jMLVaiKx.js → AiPanels-Cx3PE2mE.js} +2 -2
- package/dist/cdn/chunks/{AiPanels-jMLVaiKx.js.map → AiPanels-Cx3PE2mE.js.map} +1 -1
- package/dist/cdn/chunks/{AiRewriteMenu-s79rmHFy.js → AiRewriteMenu-CnkyjPEu.js} +11 -11
- package/dist/cdn/chunks/{AiRewriteMenu-s79rmHFy.js.map → AiRewriteMenu-CnkyjPEu.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-Bnmq_M4G.js → BlockIssueBadge-DncZ-HDf.js} +4 -4
- package/dist/cdn/chunks/{BlockIssueBadge-Bnmq_M4G.js.map → BlockIssueBadge-DncZ-HDf.js.map} +1 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-CCSEzL46.js +156 -0
- package/dist/cdn/chunks/{BlockPreviewCanvas-B3HkuENF.js.map → BlockPreviewCanvas-CCSEzL46.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DQnlH_YJ.js → CloudPanels-CRztnw4M.js} +2 -2
- package/dist/cdn/chunks/{CloudPanels-DQnlH_YJ.js.map → CloudPanels-CRztnw4M.js.map} +1 -1
- package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js → CollaborationNotices-IuLYT2x7.js} +8 -8
- package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js.map → CollaborationNotices-IuLYT2x7.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-EtdTzTmq.js → CommentsPanel-lgjJNrrY.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-EtdTzTmq.js.map → CommentsPanel-lgjJNrrY.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-Qmj049QX.js → CommentsSidebar-DTold7iy.js} +214 -214
- package/dist/cdn/chunks/{CommentsSidebar-Qmj049QX.js.map → CommentsSidebar-DTold7iy.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js → CountdownBlock-8aPSExrv.js} +7 -7
- package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js.map → CountdownBlock-8aPSExrv.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js → CountdownToolbar-CnWQEW5g.js} +50 -50
- package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js.map → CountdownToolbar-CnWQEW5g.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-DnSnEh1X.js → IssuesPanel-CrplCzo8.js} +11 -11
- package/dist/cdn/chunks/{IssuesPanel-DnSnEh1X.js.map → IssuesPanel-CrplCzo8.js.map} +1 -1
- package/dist/cdn/chunks/{LanguageMenu-C2I_yTL5.js → LanguageMenu-B6MNInCL.js} +110 -110
- package/dist/cdn/chunks/{LanguageMenu-C2I_yTL5.js.map → LanguageMenu-B6MNInCL.js.map} +1 -1
- package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js → LocaleNotices-TxeAl8Iq.js} +9 -9
- package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js.map → LocaleNotices-TxeAl8Iq.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js → LogicTagInsertButton-DvSVx2DB.js} +4 -4
- package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js.map → LogicTagInsertButton-DvSVx2DB.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js → MediaEditModal-tGK6htBl.js} +8 -8
- package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js.map → MediaEditModal-tGK6htBl.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js → MediaPanels-BVrQYz2C.js} +2 -2
- package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js.map → MediaPanels-BVrQYz2C.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js → MergeTagInput-DeuNH3re.js} +13 -13
- package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js.map → MergeTagInput-DeuNH3re.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js → MergeTagTextarea-B2xxIU3e.js} +2 -2
- package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js.map → MergeTagTextarea-B2xxIU3e.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js → ParagraphEditor-Bx_Hlw8d.js} +106 -106
- package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js.map → ParagraphEditor-Bx_Hlw8d.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-DqbULAbc.js → RestoreVersionDialog-CPrrWTsT.js} +12 -12
- package/dist/cdn/chunks/{RestoreVersionDialog-DqbULAbc.js.map → RestoreVersionDialog-CPrrWTsT.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js → RichTextEditorContent-Dze4C9VI.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js.map → RichTextEditorContent-Dze4C9VI.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js → SaveBlockDialog-CXVwnfsy.js} +51 -51
- package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js.map → SaveBlockDialog-CXVwnfsy.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js → SavedBlocksBrowserModal-BDTmenOE.js} +23 -23
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js.map → SavedBlocksBrowserModal-BDTmenOE.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js → SavedBlocksPanels-B41Rk_v1.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js.map → SavedBlocksPanels-B41Rk_v1.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js → SavedBlocksPickBar-B97z_rFH.js} +11 -11
- package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js.map → SavedBlocksPickBar-B97z_rFH.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js → TemplateSettings-YwwRbxPc.js} +102 -102
- package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js.map → TemplateSettings-YwwRbxPc.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js → TestEmailModal-BiFP2Cbx.js} +20 -20
- package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js.map → TestEmailModal-BiFP2Cbx.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js → TestEmailPanel-BrivPMk2.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js.map → TestEmailPanel-BrivPMk2.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js → TitleEditor-CzPkkL2s.js} +19 -19
- package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js.map → TitleEditor-CzPkkL2s.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-C_Hfsher.js → Toolbar-VH07SzX7.js} +550 -550
- package/dist/cdn/chunks/{Toolbar-C_Hfsher.js.map → Toolbar-VH07SzX7.js.map} +1 -1
- package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js → TplModal-DMe6J811.js} +6 -6
- package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js.map → TplModal-DMe6J811.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js → VersionHistoryMenu-DkwbKhBl.js} +15 -15
- package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js.map → VersionHistoryMenu-DkwbKhBl.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js → VersionHistoryPanels-CgxhMRAl.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js.map → VersionHistoryPanels-CgxhMRAl.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js → VersionPreviewBanner-WVBDBrwQ.js} +8 -8
- package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js.map → VersionPreviewBanner-WVBDBrwQ.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js → WrapperBlock-CCCIcqe2.js} +12 -12
- package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js.map → WrapperBlock-CCCIcqe2.js.map} +1 -1
- package/dist/cdn/chunks/{composables-CsfQlmcf.js → composables-D3lsO7Io.js} +925 -925
- package/dist/cdn/chunks/composables-D3lsO7Io.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-PpIFCDfj.js → createCloudRuntime-CE79GB1H.js} +15 -15
- package/dist/cdn/chunks/{createCloudRuntime-PpIFCDfj.js.map → createCloudRuntime-CE79GB1H.js.map} +1 -1
- package/dist/cdn/chunks/dist-Cf1pSluo.js +405 -0
- package/dist/cdn/chunks/{dist-DqGgijFI.js.map → dist-Cf1pSluo.js.map} +1 -1
- package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js → editor-modal-CN69NlOK.js} +170 -170
- package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js.map → editor-modal-CN69NlOK.js.map} +1 -1
- package/dist/cdn/chunks/en-Bcz4gS9U.js +1 -0
- package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js → extensions-8dlM-fU4.js} +96 -96
- package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js.map → extensions-8dlM-fU4.js.map} +1 -1
- package/dist/cdn/chunks/{sanitizeHtml-DJI7vvET.js → sanitizeHtml-B3njfkSy.js} +11 -11
- package/dist/cdn/chunks/{sanitizeHtml-DJI7vvET.js.map → sanitizeHtml-B3njfkSy.js.map} +1 -1
- package/dist/cdn/chunks/{socialIcons-Qw9rHc8C.js → socialIcons-BFgc3qqJ.js} +2 -2
- package/dist/cdn/chunks/{socialIcons-Qw9rHc8C.js.map → socialIcons-BFgc3qqJ.js.map} +1 -1
- package/dist/cdn/chunks/{src-Bfj1jHnn.js → src-GgKlXNxy.js} +2 -2
- package/dist/cdn/chunks/{src-Bfj1jHnn.js.map → src-GgKlXNxy.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js → tiptap-C940SvId.js} +3 -3
- package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js.map → tiptap-C940SvId.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js → useLogicTag-B0PDeDxl.js} +4 -4
- package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js.map → useLogicTag-B0PDeDxl.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js → useMergeTag-BSU75bKk.js} +7 -7
- package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js.map → useMergeTag-BSU75bKk.js.map} +1 -1
- package/dist/cdn/editor.js +325 -325
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{composables-CRX6rncm.js → composables-DreAt_0A.js} +1031 -1031
- package/dist/{createCloudRuntime-DplyIlsy.js → createCloudRuntime-CL4tUlDC.js} +14 -14
- package/dist/{dist-ChOb5XHW.js → dist-0GWMyHtM.js} +1 -1
- package/dist/{dist-6DU0me3E.js → dist-B_0FPmoy.js} +1 -1
- package/dist/{dist-B8dY8drK.js → dist-BjzK1g4Z.js} +1 -1
- package/dist/{dist-54VCNoC0.js → dist-BsumKKh9.js} +1 -1
- package/dist/{dist-BWflWcpW.js → dist-C3avsUq9.js} +2 -2
- package/dist/{dist-fqSers8_.js → dist-CCLRTtJP.js} +197 -197
- package/dist/dist-CiYotUR8.js +406 -0
- package/dist/{dist-C3hu_C3w.js → dist-Cr1CLCmx.js} +1 -1
- package/dist/{dist-D_XrUEET.js → dist-CsknfjrZ.js} +3 -3
- package/dist/{dist-TAv500j6.js → dist-DDytHU_6.js} +1 -1
- package/dist/{dist-CcOn7WCo.js → dist-DKV9m4Uu.js} +1 -1
- package/dist/{dist-B9a7iVye.js → dist-Dq9VnANT.js} +1 -1
- package/dist/{dist-DZ3X-uB8.js → dist-ZrT0vAB6.js} +1 -1
- package/dist/{editor-modal-D9HT9bD6.js → editor-modal-BD32TXws.js} +106 -106
- package/dist/en-Dgs_-NBw.js +1 -0
- package/dist/{extensions-Cm6K4SRX.js → extensions-DKxHlSd7.js} +179 -179
- package/dist/{socialIcons-CJD6OsI7.js → socialIcons-oo4uL16Y.js} +1 -1
- package/dist/templatical-editor.js +526 -526
- package/dist/{useLogicTag-DLkYos2Q.js → useLogicTag-B4Zpk3eo.js} +3 -3
- package/dist/{useMergeTag-IoWOO679.js → useMergeTag-B5qlq8px.js} +7 -7
- package/package.json +7 -7
- package/dist/LanguageMenu-B981Av-6.js +0 -403
- package/dist/cdn/chunks/BlockPreviewCanvas-B3HkuENF.js +0 -156
- package/dist/cdn/chunks/composables-CsfQlmcf.js.map +0 -1
- package/dist/cdn/chunks/dist-DqGgijFI.js +0 -405
- package/dist/cdn/chunks/en-CVxNoHww.js +0 -1
- package/dist/dist-0alKVRc_.js +0 -406
- package/dist/en-De3uAutQ.js +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { B as e, Ft as t, L as n, M as r, Mt as ee, O as i, P as
|
|
1
|
+
import { B as e, Ft as t, L as n, M as r, Mt as ee, O as i, P as te, _ as a, c as o, ct as s, d as c, et as l, f as u, g as d, j as ne, l as f, r as p, u as m, v as h, w as g, y as re } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
|
|
2
|
+
import { a as ie, n as ae, o as oe, r as se, t as ce } from "./useScrollToBlock-BfOzc1Z6.js";
|
|
3
|
+
import { t as le } from "./circle-alert-Tq7kAh9S.js";
|
|
4
|
+
import { t as ue } from "./triangle-alert-CKcpwtUj.js";
|
|
5
|
+
import { t as de } from "./info-DKja7A68.js";
|
|
2
6
|
import { t as _ } from "./createLucideIcon-CfBdtoUw.js";
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as ae } from "./circle-alert-Tq7kAh9S.js";
|
|
5
|
-
import { t as oe } from "./info-DKja7A68.js";
|
|
6
|
-
import { a as se, n as ce, o as le, r as ue, t as de } from "./useScrollToBlock-BfOzc1Z6.js";
|
|
7
|
+
import { t as fe } from "./check-CcuCoJDh.js";
|
|
7
8
|
import { t as v } from "./sparkles-IHfEwEcd.js";
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { $ as
|
|
11
|
-
import { t as be } from "./useI18n-zeWYtWSv.js";
|
|
9
|
+
import { t as pe } from "./square-_Cl44UU6.js";
|
|
10
|
+
import { t as me } from "./useI18n-zeWYtWSv.js";
|
|
11
|
+
import { $ as he, D as ge, Q as _e, it as ve, n as ye, v as be } from "./keys-w_VRjoMu.js";
|
|
12
12
|
var xe = _({
|
|
13
13
|
name: "arrow-right",
|
|
14
14
|
size: 24,
|
|
@@ -62,14 +62,14 @@ var xe = _({
|
|
|
62
62
|
}, y = /* @__PURE__ */ re({
|
|
63
63
|
__name: "IssuesPanel",
|
|
64
64
|
setup(re) {
|
|
65
|
-
let _ =
|
|
65
|
+
let _ = h(() => import("./AiAltTextPopover-CpZ7UeAZ.js")), y = h(() => import("./AiAltTextReview-LYxvn7Qe.js")), b = l(null), x = l(null);
|
|
66
66
|
function Ye() {
|
|
67
67
|
j && !j.busy.value && (O(), b.value = [...Q.value]);
|
|
68
68
|
}
|
|
69
69
|
async function S() {
|
|
70
70
|
b.value = null, await i(), !V && C.value === null && (x.value ?? T.value)?.focus();
|
|
71
71
|
}
|
|
72
|
-
let C =
|
|
72
|
+
let C = l(null), Xe = o(() => C.value?.blockId ?? null), w = l(null), T = l(null), E = null;
|
|
73
73
|
function D(e) {
|
|
74
74
|
let t = C.value;
|
|
75
75
|
return t !== null && t.blockId === e.blockId && t.ruleId === e.ruleId && t.severity === e.severity;
|
|
@@ -85,15 +85,15 @@ var xe = _({
|
|
|
85
85
|
if (C.value === null) return;
|
|
86
86
|
C.value = null, w.value?.abort(), w.value = null;
|
|
87
87
|
let t = E;
|
|
88
|
-
E = null, await i(),
|
|
88
|
+
E = null, await i(), V || C.value !== null || b.value !== null || (e === "button" && t?.isConnected ? t : T.value)?.focus();
|
|
89
89
|
}
|
|
90
90
|
function Qe(e, t) {
|
|
91
91
|
D(e) && (w.value = t);
|
|
92
92
|
}
|
|
93
|
-
let { t: k, format: A } =
|
|
93
|
+
let { t: k, format: A } = me(), j = g(ye, null), M = g(he, null), N = g(be, null), P = g(_e, null), $e = g(ve, "en"), et = ce(), tt = g(ge, null), nt = o(() => !!P && !P.cloud && P.canRenderHtml() && P.options.disabled !== !0 && P.options.compatibility !== !1 && P.options.compatibility?.rules?.["compat.gmail-clipping"] !== "off"), F = l(!1), I = l(null), L = l(null), R = l(""), z = l(!1), B = 0, V = !1;
|
|
94
94
|
N && e(N.content, () => {
|
|
95
95
|
B++, I.value !== null && (z.value = !0);
|
|
96
|
-
}, { deep: !0 }),
|
|
96
|
+
}, { deep: !0 }), ne(() => {
|
|
97
97
|
V = !0;
|
|
98
98
|
});
|
|
99
99
|
async function rt() {
|
|
@@ -113,7 +113,7 @@ var xe = _({
|
|
|
113
113
|
V || (F.value = !1);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
let H =
|
|
116
|
+
let H = o(() => [...M?.issues.value ?? [], ...L.value && !z.value ? [L.value] : []]), U = o(() => H.value.filter((e) => e.severity === "error")), W = o(() => H.value.filter((e) => e.severity === "warning")), G = o(() => H.value.filter((e) => e.severity === "info")), K = o(() => U.value.length + W.value.length + G.value.length), q = /* @__PURE__ */ new Set(), J = l(/* @__PURE__ */ new Set()), Y = l(null), X = (e) => JSON.stringify([e.ruleId, e.blockId]);
|
|
117
117
|
function it(e) {
|
|
118
118
|
let t = new Set(e.map(X));
|
|
119
119
|
for (let e of J.value) t.has(e) || J.value.delete(e);
|
|
@@ -131,7 +131,7 @@ var xe = _({
|
|
|
131
131
|
}, { flush: "sync" }), e(j.sessionIdentity, () => {
|
|
132
132
|
q.clear(), J.value.clear();
|
|
133
133
|
}, { flush: "sync" }));
|
|
134
|
-
let Z =
|
|
134
|
+
let Z = o(() => {
|
|
135
135
|
let e = /* @__PURE__ */ new Set();
|
|
136
136
|
return new Set([
|
|
137
137
|
...U.value,
|
|
@@ -141,16 +141,16 @@ var xe = _({
|
|
|
141
141
|
let n = X(t);
|
|
142
142
|
return !e.has(n) && (e.add(n), !0);
|
|
143
143
|
}));
|
|
144
|
-
}), at =
|
|
144
|
+
}), at = o(() => {
|
|
145
145
|
let e = /* @__PURE__ */ new Set();
|
|
146
146
|
return new Set([
|
|
147
147
|
...U.value,
|
|
148
148
|
...W.value,
|
|
149
149
|
...G.value
|
|
150
|
-
].filter((t) => !t.blockId || !
|
|
151
|
-
}), Q =
|
|
150
|
+
].filter((t) => !t.blockId || !ae.includes(t.ruleId) || e.has(t.blockId) ? !1 : (e.add(t.blockId), !0)));
|
|
151
|
+
}), Q = o(() => {
|
|
152
152
|
if (!N) return [];
|
|
153
|
-
let e = new Set(H.value.filter((e) =>
|
|
153
|
+
let e = new Set(H.value.filter((e) => ae.includes(e.ruleId)).map((e) => e.blockId).filter((e) => e !== null)), t = N.content.value.blocks;
|
|
154
154
|
return [...e].flatMap((e) => {
|
|
155
155
|
let n = N.findBlockLocation(e);
|
|
156
156
|
return n ? [{
|
|
@@ -168,14 +168,14 @@ var xe = _({
|
|
|
168
168
|
return !!j && j.isAvailable.value && j.has("altText") && at.value.has(e);
|
|
169
169
|
}
|
|
170
170
|
function $(e) {
|
|
171
|
-
return !!j && j.isAvailable.value && j.has("fixFinding") && !e.fix &&
|
|
171
|
+
return !!j && j.isAvailable.value && j.has("fixFinding") && !e.fix && se.includes(e.ruleId) && Z.value.has(e);
|
|
172
172
|
}
|
|
173
173
|
async function st(e) {
|
|
174
174
|
if (!$(e) || !j || j.busy.value || Y.value !== null) return;
|
|
175
175
|
let t = X(e), n = j.sessionIdentity.value;
|
|
176
176
|
Y.value = t, J.value.delete(t);
|
|
177
177
|
try {
|
|
178
|
-
let r = await j.fix(
|
|
178
|
+
let r = await j.fix(ie(e));
|
|
179
179
|
!V && j.sessionIdentity.value === n && !r.failed && (q.add(t), M?.contentVersion && M.lintVersion.value === M.contentVersion.value && it(M.issues.value));
|
|
180
180
|
} finally {
|
|
181
181
|
Y.value = null;
|
|
@@ -199,172 +199,172 @@ var xe = _({
|
|
|
199
199
|
function ut(e) {
|
|
200
200
|
M?.applyFix(e);
|
|
201
201
|
}
|
|
202
|
-
return (e, i) => (r(),
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
return (e, i) => (r(), u("div", Ce, [
|
|
203
|
+
f("header", we, [
|
|
204
|
+
a(s(oe), {
|
|
205
205
|
size: 16,
|
|
206
206
|
"stroke-width": 1.5
|
|
207
207
|
}),
|
|
208
|
-
|
|
208
|
+
f("h3", {
|
|
209
209
|
ref_key: "panelHeading",
|
|
210
210
|
ref: T,
|
|
211
211
|
tabindex: "-1",
|
|
212
212
|
class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
|
|
213
|
-
}, t(
|
|
214
|
-
K.value > 0 ? (r(),
|
|
213
|
+
}, t(s(k).issues.panelTitle), 513),
|
|
214
|
+
K.value > 0 ? (r(), u("span", {
|
|
215
215
|
key: 0,
|
|
216
216
|
class: "tpl:ml-auto tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]",
|
|
217
|
-
title:
|
|
218
|
-
}, t(K.value), 9, Te)) :
|
|
217
|
+
title: s(A)(s(k).issues.issueCountTooltip, { count: K.value })
|
|
218
|
+
}, t(K.value), 9, Te)) : c("", !0)
|
|
219
219
|
]),
|
|
220
|
-
nt.value ? (r(),
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
220
|
+
nt.value ? (r(), u("section", Ee, [
|
|
221
|
+
f("h4", De, t(s(k).issues.emailSize), 1),
|
|
222
|
+
f("p", Oe, t(s(k).issues.sizeExplainer), 1),
|
|
223
|
+
f("button", {
|
|
224
224
|
type: "button",
|
|
225
225
|
"data-testid": "issue-check-size",
|
|
226
226
|
disabled: F.value,
|
|
227
227
|
class: "tpl:w-full tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:font-medium tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-active)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
228
228
|
onClick: rt
|
|
229
|
-
}, t(F.value ?
|
|
230
|
-
I.value === null ?
|
|
229
|
+
}, t(F.value ? s(k).issues.checkingSize : z.value ? s(k).issues.checkSizeAgain : s(k).issues.checkSize), 9, ke),
|
|
230
|
+
I.value === null ? c("", !0) : (r(), u("p", Ae, [!L.value && !z.value ? (r(), m(s(fe), {
|
|
231
231
|
key: 0,
|
|
232
232
|
size: 14,
|
|
233
233
|
"stroke-width": 2,
|
|
234
234
|
"aria-hidden": "true"
|
|
235
|
-
})) :
|
|
235
|
+
})) : c("", !0), d(" " + t(s(A)(!L.value && !z.value ? s(k).issues.sizePass : s(k).issues.sizeResult, { size: new Intl.NumberFormat(s($e), {
|
|
236
236
|
minimumFractionDigits: 1,
|
|
237
237
|
maximumFractionDigits: 1
|
|
238
238
|
}).format(I.value / 1024) })), 1)])),
|
|
239
|
-
z.value ? (r(),
|
|
240
|
-
R.value ? (r(),
|
|
241
|
-
])) :
|
|
242
|
-
Y.value !== null || w.value !== null ? (r(),
|
|
239
|
+
z.value ? (r(), u("p", je, t(s(k).issues.sizeOutdated), 1)) : c("", !0),
|
|
240
|
+
R.value ? (r(), u("p", Me, t(s(A)(s(k).issues.sizeError, { error: R.value })), 1)) : c("", !0)
|
|
241
|
+
])) : c("", !0),
|
|
242
|
+
Y.value !== null || w.value !== null ? (r(), u("div", Ne, [f("span", null, t(w.value ? s(k).ai.altText.drafting : s(k).ai.fix.fixing), 1), f("button", {
|
|
243
243
|
type: "button",
|
|
244
244
|
"data-testid": "issue-ai-stop",
|
|
245
245
|
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]",
|
|
246
|
-
onClick: i[0] ||= (e) => w.value ? w.value.abort() :
|
|
247
|
-
}, [
|
|
246
|
+
onClick: i[0] ||= (e) => w.value ? w.value.abort() : s(j)?.stop()
|
|
247
|
+
}, [a(s(pe), {
|
|
248
248
|
size: 10,
|
|
249
249
|
"stroke-width": 2
|
|
250
|
-
}),
|
|
251
|
-
|
|
250
|
+
}), d(" " + t(s(k).ai.chat.stop), 1)])])) : c("", !0),
|
|
251
|
+
s(j)?.isAvailable.value && s(j).has("altText") && Q.value.length >= 2 ? (r(), u("button", {
|
|
252
252
|
key: 2,
|
|
253
253
|
ref_key: "bulkButton",
|
|
254
254
|
ref: x,
|
|
255
255
|
type: "button",
|
|
256
256
|
"data-testid": "issue-ai-alt-text-bulk",
|
|
257
|
-
disabled:
|
|
257
|
+
disabled: s(j).busy.value,
|
|
258
258
|
class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
259
259
|
onClick: Ye
|
|
260
|
-
}, [
|
|
260
|
+
}, [a(s(v), {
|
|
261
261
|
size: 12,
|
|
262
262
|
"stroke-width": 2,
|
|
263
263
|
"aria-hidden": "true"
|
|
264
|
-
}),
|
|
265
|
-
b.value !== null &&
|
|
264
|
+
}), d(" " + t(s(A)(s(k).ai.altText.bulk, { count: Q.value.length })), 1)], 8, Pe)) : c("", !0),
|
|
265
|
+
b.value !== null && s(j) ? (r(), m(s(y), {
|
|
266
266
|
key: 3,
|
|
267
267
|
"block-ids": b.value,
|
|
268
|
-
feature:
|
|
268
|
+
feature: s(j),
|
|
269
269
|
onClose: S
|
|
270
|
-
}, null, 8, ["block-ids", "feature"])) :
|
|
271
|
-
!
|
|
270
|
+
}, null, 8, ["block-ids", "feature"])) : c("", !0),
|
|
271
|
+
!s(M) || s(M).unavailable.value ? (r(), u("div", Fe)) : K.value === 0 ? (r(), u("div", Ie, t(s(k).issues.emptyState), 1)) : (r(!0), u(p, { key: 6 }, te([
|
|
272
272
|
{
|
|
273
273
|
key: "errors",
|
|
274
|
-
title:
|
|
275
|
-
icon:
|
|
274
|
+
title: s(k).issues.groupErrors,
|
|
275
|
+
icon: s(le),
|
|
276
276
|
items: U.value,
|
|
277
277
|
tone: "tpl:text-[var(--tpl-danger)]"
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
280
|
key: "warnings",
|
|
281
|
-
title:
|
|
282
|
-
icon:
|
|
281
|
+
title: s(k).issues.groupWarnings,
|
|
282
|
+
icon: s(ue),
|
|
283
283
|
items: W.value,
|
|
284
284
|
tone: "tpl:text-[var(--tpl-warning)]"
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
key: "info",
|
|
288
|
-
title:
|
|
289
|
-
icon:
|
|
288
|
+
title: s(k).issues.groupInfo,
|
|
289
|
+
icon: s(de),
|
|
290
290
|
items: G.value,
|
|
291
291
|
tone: "tpl:text-[var(--tpl-text-muted)]"
|
|
292
292
|
}
|
|
293
|
-
], (e) => (r(),
|
|
293
|
+
], (e) => (r(), u("section", { key: e.key }, [e.items.length > 0 ? (r(), u("header", {
|
|
294
294
|
key: 0,
|
|
295
295
|
class: ee(["tpl:mb-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:font-semibold tpl:uppercase tpl:tracking-wide", e.tone])
|
|
296
296
|
}, [
|
|
297
|
-
(r(),
|
|
297
|
+
(r(), m(n(e.icon), {
|
|
298
298
|
size: 12,
|
|
299
299
|
"stroke-width": 2
|
|
300
300
|
})),
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
], 2)) :
|
|
301
|
+
d(" " + t(e.title) + " ", 1),
|
|
302
|
+
f("span", Le, t(e.items.length), 1)
|
|
303
|
+
], 2)) : c("", !0), e.items.length > 0 ? (r(), u("ul", Re, [(r(!0), u(p, null, te(e.items, (e) => (r(), u("li", {
|
|
304
304
|
key: `${e.ruleId}-${e.blockId ?? "template"}`,
|
|
305
305
|
class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3"
|
|
306
306
|
}, [
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
307
|
+
f("p", ze, t(e.message), 1),
|
|
308
|
+
f("p", Be, t(e.suggestion), 1),
|
|
309
|
+
f("p", Ve, t(e.ruleId), 1),
|
|
310
|
+
f("div", He, [
|
|
311
|
+
f("a", {
|
|
312
312
|
href: e.reference,
|
|
313
313
|
target: "_blank",
|
|
314
314
|
rel: "noopener",
|
|
315
315
|
class: "tpl:inline-block tpl:text-xs tpl:text-[var(--tpl-primary)] tpl:underline tpl:underline-offset-2 tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)]"
|
|
316
|
-
}, t(
|
|
317
|
-
e.blockId ? (r(),
|
|
316
|
+
}, t(s(k).issues.learnMore), 9, Ue),
|
|
317
|
+
e.blockId ? (r(), u("button", {
|
|
318
318
|
key: 0,
|
|
319
319
|
type: "button",
|
|
320
320
|
"data-testid": "issue-jump",
|
|
321
321
|
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]",
|
|
322
322
|
onClick: (t) => lt(e)
|
|
323
|
-
}, [
|
|
323
|
+
}, [a(s(xe), {
|
|
324
324
|
size: 10,
|
|
325
325
|
"stroke-width": 2
|
|
326
|
-
}),
|
|
327
|
-
e.fix ? (r(),
|
|
326
|
+
}), d(" " + t(s(k).issues.jump), 1)], 8, We)) : c("", !0),
|
|
327
|
+
e.fix ? (r(), u("button", {
|
|
328
328
|
key: 1,
|
|
329
329
|
type: "button",
|
|
330
330
|
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-on-primary)]",
|
|
331
331
|
title: e.fix.description,
|
|
332
332
|
onClick: (t) => ut(e)
|
|
333
|
-
}, [
|
|
333
|
+
}, [a(s(Se), {
|
|
334
334
|
size: 10,
|
|
335
335
|
"stroke-width": 2
|
|
336
|
-
}),
|
|
337
|
-
ot(e) ? (r(),
|
|
336
|
+
}), d(" " + t(s(k).issues.fix), 1)], 8, Ge)) : c("", !0),
|
|
337
|
+
ot(e) ? (r(), u("button", {
|
|
338
338
|
key: 2,
|
|
339
339
|
type: "button",
|
|
340
340
|
"data-testid": "issue-ai-alt-text",
|
|
341
|
-
disabled:
|
|
341
|
+
disabled: s(j).busy.value,
|
|
342
342
|
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
343
343
|
onClick: (t) => Ze(e, t)
|
|
344
|
-
}, [
|
|
344
|
+
}, [a(s(v), {
|
|
345
345
|
size: 10,
|
|
346
346
|
"stroke-width": 2
|
|
347
|
-
}),
|
|
348
|
-
$(e) ? (r(),
|
|
347
|
+
}), d(" " + t(s(k).ai.altText.button), 1)], 8, Ke)) : c("", !0),
|
|
348
|
+
$(e) ? (r(), u("button", {
|
|
349
349
|
key: 3,
|
|
350
350
|
type: "button",
|
|
351
351
|
"data-testid": "issue-ai-fix",
|
|
352
|
-
disabled:
|
|
352
|
+
disabled: s(j).busy.value,
|
|
353
353
|
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:focus-visible:outline-2 tpl:focus-visible:outline-[var(--tpl-primary)] tpl:disabled:opacity-60",
|
|
354
354
|
onClick: (t) => st(e)
|
|
355
|
-
}, [
|
|
355
|
+
}, [a(s(v), {
|
|
356
356
|
size: 10,
|
|
357
357
|
"stroke-width": 2
|
|
358
|
-
}),
|
|
358
|
+
}), d(" " + t(s(k).ai.fix.button), 1)], 8, qe)) : c("", !0)
|
|
359
359
|
]),
|
|
360
|
-
D(e) && Z.value.has(e) ? (r(),
|
|
360
|
+
D(e) && Z.value.has(e) ? (r(), m(s(_), {
|
|
361
361
|
key: JSON.stringify(C.value),
|
|
362
362
|
"block-id": Xe.value,
|
|
363
363
|
onClose: O,
|
|
364
364
|
onDrafting: (t) => Qe(e, t)
|
|
365
|
-
}, null, 8, ["block-id", "onDrafting"])) :
|
|
366
|
-
J.value.has(X(e)) && Z.value.has(e) ? (r(),
|
|
367
|
-
]))), 128))])) :
|
|
365
|
+
}, null, 8, ["block-id", "onDrafting"])) : c("", !0),
|
|
366
|
+
J.value.has(X(e)) && Z.value.has(e) ? (r(), u("p", Je, t(s(k).ai.fix.stillFlagged), 1)) : c("", !0)
|
|
367
|
+
]))), 128))])) : c("", !0)]))), 128))
|
|
368
368
|
]));
|
|
369
369
|
}
|
|
370
370
|
});
|