@templatical/editor 0.56.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{AiAltTextPopover-DdsvhE78.js → AiAltTextPopover-BjClNscQ.js} +6 -6
- package/dist/{AiAltTextReview-P6to1_0t.js → AiAltTextReview-DeMdVbtT.js} +7 -7
- package/dist/{AiChatPanel-BSlmzMRC.js → AiChatPanel-Cros4ZCM.js} +64 -67
- package/dist/AiPanels-D_CdHqFZ.js +26 -0
- package/dist/{AiRewriteMenu-DIISOR6U.js → AiRewriteMenu-BSzj1dKC.js} +53 -53
- package/dist/{BlockIssueBadge-Bmtc50BQ.js → BlockIssueBadge-i2cZy5PB.js} +6 -6
- package/dist/{BlockPreviewCanvas-BYIzNn-9.js → BlockPreviewCanvas-D-If_vd_.js} +58 -58
- package/dist/{CloudHeaderExtras-Cqhw-jMz.js → CloudHeaderExtras-CJsXi4Ku.js} +2 -2
- package/dist/{CloudPanels-w34W8_BP.js → CloudPanels-DPeK_siQ.js} +14 -14
- package/dist/{CollaborationNotices-HTbCebjV.js → CollaborationNotices-DkYX-ose.js} +9 -9
- package/dist/{CollaboratorBar-CLQjksX-.js → CollaboratorBar-xDweDvB6.js} +3 -3
- package/dist/CommentsPanel-t3w16YUl.js +23 -0
- package/dist/CommentsSidebar-B3M90RY_.js +516 -0
- package/dist/{CountdownBlock-BTXcCvjZ.js → CountdownBlock-BrR2uqM3.js} +7 -7
- package/dist/{CountdownToolbar-CP-pkntQ.js → CountdownToolbar-DBu2ZqC6.js} +32 -32
- package/dist/{IssuesPanel-CiiNBzH0.js → IssuesPanel-BnUut-p-.js} +89 -89
- package/dist/LanguageMenu-DfTxrbvp.js +403 -0
- package/dist/{LoadingTrack-BG8cg9xi.js → LoadingTrack-c4SeD16s.js} +1 -1
- package/dist/{LocaleNotices-CTCZ7BYv.js → LocaleNotices-D6zk-QCL.js} +11 -11
- package/dist/{LogicTagInsertButton-DEOPc4RC.js → LogicTagInsertButton-CJ1Jk6jv.js} +65 -65
- package/dist/{MediaEditModal-DJsPLTwP.js → MediaEditModal-BxbwZxnf.js} +10 -10
- package/dist/{MediaPanels-D2WD2aE2.js → MediaPanels-BiUxsTMM.js} +2 -2
- package/dist/{MergeTagInput-C9icdxw7.js → MergeTagInput-CV-z85s9.js} +13 -13
- package/dist/{MergeTagModeToggle-DXvb80OE.js → MergeTagModeToggle-CixgX5C_.js} +7 -7
- package/dist/{MergeTagTextarea-CrAcmT3A.js → MergeTagTextarea-B1zOC_Nr.js} +9 -9
- package/dist/{ParagraphEditor-BWBQ3jKz.js → ParagraphEditor-C9UhWvRB.js} +174 -174
- package/dist/{RestoreVersionDialog-CqAp16yQ.js → RestoreVersionDialog-Do7fZWpT.js} +13 -13
- package/dist/{RichTextEditorContent-xbBjVPVQ.js → RichTextEditorContent-wW_SMun2.js} +10 -10
- package/dist/{SaveBlockDialog-pebNJBTc.js → SaveBlockDialog-CCHIUfR-.js} +49 -49
- package/dist/{SavedBlocksBrowserModal-CvagMcv7.js → SavedBlocksBrowserModal-DtPHhfw9.js} +26 -26
- package/dist/{SavedBlocksPanels-B9AAVBDm.js → SavedBlocksPanels-CYIby5pR.js} +2 -2
- package/dist/{SavedBlocksPickBar-BIANWe3i.js → SavedBlocksPickBar-CCwBugqN.js} +10 -10
- package/dist/{TemplateSettings-ORq4PbCN.js → TemplateSettings-B8IVy5q9.js} +42 -42
- package/dist/{TestEmailModal-DRjCpcPl.js → TestEmailModal-CS5JoKRH.js} +22 -22
- package/dist/{TestEmailPanel-H0v8El__.js → TestEmailPanel-sOIZfKzc.js} +2 -2
- package/dist/{TitleEditor-CEGbJXeU.js → TitleEditor-ZlBcq9_P.js} +22 -22
- package/dist/{ToggleSwitch-R3wCCYE6.js → ToggleSwitch-BIPdFWUr.js} +1 -1
- package/dist/{Toolbar-XT-uGA9J.js → Toolbar-c4_rLLJT.js} +659 -659
- package/dist/{TplModal-7NQq5-VW.js → TplModal-DnFFEulp.js} +6 -6
- package/dist/{VersionHistoryMenu-C8BE3Pr-.js → VersionHistoryMenu-Cd2IaHgT.js} +19 -19
- package/dist/{VersionHistoryPanels-CuKuOSJG.js → VersionHistoryPanels-TdGaMaa_.js} +2 -2
- package/dist/{VersionPreviewBanner-BVFBkveR.js → VersionPreviewBanner-lkAf7tc8.js} +8 -8
- package/dist/{WrapperBlock-Bdw-072t.js → WrapperBlock-BiW4ye3w.js} +12 -12
- package/dist/{blockTypeIcons-CGplGmmr.js → blockTypeIcons-D1aYMC1M.js} +3 -3
- package/dist/bundle-stats.json +7 -7
- package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js → AiAltTextPopover-CfGJNBOb.js} +6 -6
- package/dist/cdn/chunks/{AiAltTextPopover-x999Gimz.js.map → AiAltTextPopover-CfGJNBOb.js.map} +1 -1
- package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js → AiAltTextReview-PKe31R_g.js} +7 -7
- package/dist/cdn/chunks/{AiAltTextReview-DjnFz1wO.js.map → AiAltTextReview-PKe31R_g.js.map} +1 -1
- package/dist/cdn/chunks/{AiChatPanel-DKDu9cs7.js → AiChatPanel-DNCUpV8n.js} +112 -115
- package/dist/cdn/chunks/AiChatPanel-DNCUpV8n.js.map +1 -0
- package/dist/cdn/chunks/AiPanels-IV0VEkBL.js +27 -0
- package/dist/cdn/chunks/AiPanels-IV0VEkBL.js.map +1 -0
- package/dist/cdn/chunks/{AiRewriteMenu-s79rmHFy.js → AiRewriteMenu-ZDBwReuU.js} +61 -61
- package/dist/cdn/chunks/AiRewriteMenu-ZDBwReuU.js.map +1 -0
- package/dist/cdn/chunks/{BlockIssueBadge-Bnmq_M4G.js → BlockIssueBadge-DIlFDDwh.js} +6 -6
- package/dist/cdn/chunks/BlockIssueBadge-DIlFDDwh.js.map +1 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-D7U6nQ7t.js +156 -0
- package/dist/cdn/chunks/BlockPreviewCanvas-D7U6nQ7t.js.map +1 -0
- package/dist/cdn/chunks/{CloudHeaderExtras-uUJYJFJ6.js → CloudHeaderExtras-CazfMn6A.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-uUJYJFJ6.js.map → CloudHeaderExtras-CazfMn6A.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-DQnlH_YJ.js → CloudPanels-EXXNMLbs.js} +5 -5
- package/dist/cdn/chunks/CloudPanels-EXXNMLbs.js.map +1 -0
- package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js → CollaborationNotices-DGA8XRZJ.js} +10 -10
- package/dist/cdn/chunks/{CollaborationNotices-CHqUGhOZ.js.map → CollaborationNotices-DGA8XRZJ.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-C1ZI2xwa.js → CollaboratorBar-BWL1Shc1.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-C1ZI2xwa.js.map → CollaboratorBar-BWL1Shc1.js.map} +1 -1
- package/dist/cdn/chunks/CommentsPanel-4mrl4zMK.js +24 -0
- package/dist/cdn/chunks/CommentsPanel-4mrl4zMK.js.map +1 -0
- package/dist/cdn/chunks/CommentsSidebar-BJ87vc7i.js +486 -0
- package/dist/cdn/chunks/CommentsSidebar-BJ87vc7i.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js → CountdownBlock-Do6oItNW.js} +8 -8
- package/dist/cdn/chunks/{CountdownBlock-DyGsh92b.js.map → CountdownBlock-Do6oItNW.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js → CountdownToolbar-BN2_zvRj.js} +52 -52
- package/dist/cdn/chunks/{CountdownToolbar-Ddj2erNm.js.map → CountdownToolbar-BN2_zvRj.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-DnSnEh1X.js → IssuesPanel-BDwegn0s.js} +14 -14
- package/dist/cdn/chunks/IssuesPanel-BDwegn0s.js.map +1 -0
- package/dist/cdn/chunks/{LanguageMenu-C2I_yTL5.js → LanguageMenu-DXq9cXUd.js} +58 -58
- package/dist/cdn/chunks/LanguageMenu-DXq9cXUd.js.map +1 -0
- package/dist/cdn/chunks/{LoadingTrack-DUYcDHOV.js → LoadingTrack-o-89hApJ.js} +2 -2
- package/dist/cdn/chunks/{LoadingTrack-DUYcDHOV.js.map → LoadingTrack-o-89hApJ.js.map} +1 -1
- package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js → LocaleNotices-CUN5K5QJ.js} +11 -11
- package/dist/cdn/chunks/{LocaleNotices-Dr9LRCAg.js.map → LocaleNotices-CUN5K5QJ.js.map} +1 -1
- package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js → LogicTagInsertButton-BEArlbra.js} +12 -12
- package/dist/cdn/chunks/{LogicTagInsertButton-BdzE9-l7.js.map → LogicTagInsertButton-BEArlbra.js.map} +1 -1
- package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js → MediaEditModal-BHTMNHx0.js} +10 -10
- package/dist/cdn/chunks/{MediaEditModal-CMJFXu_o.js.map → MediaEditModal-BHTMNHx0.js.map} +1 -1
- package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js → MediaPanels-BlianNRh.js} +3 -3
- package/dist/cdn/chunks/{MediaPanels-C790ZXuY.js.map → MediaPanels-BlianNRh.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js → MergeTagInput-B3SLXXzL.js} +14 -14
- package/dist/cdn/chunks/{MergeTagInput-CmrX8Md6.js.map → MergeTagInput-B3SLXXzL.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagModeToggle-D7maMGIM.js → MergeTagModeToggle-Dywp9ntA.js} +6 -6
- package/dist/cdn/chunks/{MergeTagModeToggle-D7maMGIM.js.map → MergeTagModeToggle-Dywp9ntA.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js → MergeTagTextarea-B9TM7FgM.js} +7 -7
- package/dist/cdn/chunks/{MergeTagTextarea-KOnd2teB.js.map → MergeTagTextarea-B9TM7FgM.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js → ParagraphEditor-CVGtTYta.js} +107 -107
- package/dist/cdn/chunks/{ParagraphEditor-I9lbKaPk.js.map → ParagraphEditor-CVGtTYta.js.map} +1 -1
- package/dist/cdn/chunks/{RestoreVersionDialog-DqbULAbc.js → RestoreVersionDialog-Dt_0qOOW.js} +13 -13
- package/dist/cdn/chunks/RestoreVersionDialog-Dt_0qOOW.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js → RichTextEditorContent-BjN4mnzL.js} +9 -9
- package/dist/cdn/chunks/{RichTextEditorContent-_O22z0pn.js.map → RichTextEditorContent-BjN4mnzL.js.map} +1 -1
- package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js → SaveBlockDialog-D9eBjE99.js} +51 -51
- package/dist/cdn/chunks/{SaveBlockDialog-CClRLXgF.js.map → SaveBlockDialog-D9eBjE99.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js → SavedBlocksBrowserModal-ClsTpkdk.js} +24 -24
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-BIaxaxw9.js.map → SavedBlocksBrowserModal-ClsTpkdk.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js → SavedBlocksPanels-CxlNHhUs.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPanels-Dfu9N6YW.js.map → SavedBlocksPanels-CxlNHhUs.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js → SavedBlocksPickBar-C7_Z8phX.js} +12 -12
- package/dist/cdn/chunks/{SavedBlocksPickBar-DiMW_dbJ.js.map → SavedBlocksPickBar-C7_Z8phX.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js → TemplateSettings-B6zDtjSs.js} +102 -102
- package/dist/cdn/chunks/{TemplateSettings-JMUo0LIV.js.map → TemplateSettings-B6zDtjSs.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js → TestEmailModal-CJ_QYFua.js} +21 -21
- package/dist/cdn/chunks/{TestEmailModal-D52VtwBZ.js.map → TestEmailModal-CJ_QYFua.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js → TestEmailPanel-CsFrTq_a.js} +3 -3
- package/dist/cdn/chunks/{TestEmailPanel-D9ezVDHd.js.map → TestEmailPanel-CsFrTq_a.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js → TitleEditor-CuKJptyw.js} +20 -20
- package/dist/cdn/chunks/{TitleEditor-D04vvbUc.js.map → TitleEditor-CuKJptyw.js.map} +1 -1
- package/dist/cdn/chunks/{ToggleSwitch-BSkySwA1.js → ToggleSwitch-C0w0srN_.js} +2 -2
- package/dist/cdn/chunks/{ToggleSwitch-BSkySwA1.js.map → ToggleSwitch-C0w0srN_.js.map} +1 -1
- package/dist/cdn/chunks/{Toolbar-C_Hfsher.js → Toolbar-TS2WwlPW.js} +542 -542
- package/dist/cdn/chunks/Toolbar-TS2WwlPW.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js → TplModal-CsadClrH.js} +7 -7
- package/dist/cdn/chunks/{TplModal-d6fEZGJ5.js.map → TplModal-CsadClrH.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js → VersionHistoryMenu-BNPxnWiO.js} +16 -16
- package/dist/cdn/chunks/{VersionHistoryMenu-C8ucm43v.js.map → VersionHistoryMenu-BNPxnWiO.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js → VersionHistoryPanels-CieY91f0.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryPanels-BAdzmhvH.js.map → VersionHistoryPanels-CieY91f0.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js → VersionPreviewBanner-BldFvgxJ.js} +9 -9
- package/dist/cdn/chunks/{VersionPreviewBanner-BWuovbFc.js.map → VersionPreviewBanner-BldFvgxJ.js.map} +1 -1
- package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js → WrapperBlock-DtnRuKWE.js} +13 -13
- package/dist/cdn/chunks/{WrapperBlock-TXDSDXUP.js.map → WrapperBlock-DtnRuKWE.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-CzYA5DF9.js → blockTypeIcons-19xd5ZPi.js} +6 -6
- package/dist/cdn/chunks/{blockTypeIcons-CzYA5DF9.js.map → blockTypeIcons-19xd5ZPi.js.map} +1 -1
- package/dist/cdn/chunks/{composables-CsfQlmcf.js → composables-CUIiW9OD.js} +1190 -1170
- package/dist/cdn/chunks/composables-CUIiW9OD.js.map +1 -0
- package/dist/cdn/chunks/{createCloudRuntime-PpIFCDfj.js → createCloudRuntime-B7D04wKf.js} +161 -147
- package/dist/cdn/chunks/createCloudRuntime-B7D04wKf.js.map +1 -0
- package/dist/cdn/chunks/da-CYWJkrTg.js +97 -0
- package/dist/cdn/chunks/da-CYWJkrTg.js.map +1 -0
- package/dist/cdn/chunks/da-qQzj0QGy.js +950 -0
- package/dist/cdn/chunks/da-qQzj0QGy.js.map +1 -0
- package/dist/cdn/chunks/{dist-BzXULHvI.js → dist-BtWMy7UQ.js} +3 -3
- package/dist/cdn/chunks/{dist-BzXULHvI.js.map → dist-BtWMy7UQ.js.map} +1 -1
- package/dist/cdn/chunks/dist-zu1jwYIS.js +405 -0
- package/dist/cdn/chunks/{dist-DqGgijFI.js.map → dist-zu1jwYIS.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-DepKdldn.js → draggable-IRVFEZ-b.js} +1535 -1500
- package/dist/cdn/chunks/draggable-IRVFEZ-b.js.map +1 -0
- package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js → editor-modal-CarOiAYJ.js} +137 -136
- package/dist/cdn/chunks/{editor-modal-B8UE9V8B.js.map → editor-modal-CarOiAYJ.js.map} +1 -1
- package/dist/cdn/chunks/en-B4s_0ryk.js +1 -0
- package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js → extensions-Cbvk9i08.js} +96 -96
- package/dist/cdn/chunks/{extensions-BM6ZSnsQ.js.map → extensions-Cbvk9i08.js.map} +1 -1
- package/dist/cdn/chunks/{icons-DHExFLlT.js → icons-Cl4oR2mf.js} +73 -73
- package/dist/cdn/chunks/icons-Cl4oR2mf.js.map +1 -0
- package/dist/cdn/chunks/keys-BQqbBUag.js +11 -0
- package/dist/cdn/chunks/keys-BQqbBUag.js.map +1 -0
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-aWjkotui.js → normalizeMergeTagMarkup-BJ-MnCqF.js} +55 -55
- package/dist/cdn/chunks/{normalizeMergeTagMarkup-aWjkotui.js.map → normalizeMergeTagMarkup-BJ-MnCqF.js.map} +1 -1
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dn6dFUwx.js → preRenderCustomBlocks-D2wISRHq.js} +2 -2
- package/dist/cdn/chunks/{preRenderCustomBlocks-Dn6dFUwx.js.map → preRenderCustomBlocks-D2wISRHq.js.map} +1 -1
- package/dist/cdn/chunks/sanitizeHtml-CB7fjHFs.js +72 -0
- package/dist/cdn/chunks/sanitizeHtml-CB7fjHFs.js.map +1 -0
- package/dist/cdn/chunks/{socialIcons-Qw9rHc8C.js → socialIcons-C_yggK1_.js} +575 -524
- package/dist/cdn/chunks/socialIcons-C_yggK1_.js.map +1 -0
- package/dist/cdn/chunks/{src-C9JWWxAk.js → src-Bp7bZcuD.js} +108 -95
- package/dist/cdn/chunks/src-Bp7bZcuD.js.map +1 -0
- package/dist/cdn/chunks/{src-mXG-Of9A.js → src-CdVAke9t.js} +721 -696
- package/dist/cdn/chunks/src-CdVAke9t.js.map +1 -0
- package/dist/cdn/chunks/{src-Bfj1jHnn.js → src-D-URHI0Z.js} +232 -228
- package/dist/cdn/chunks/src-D-URHI0Z.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js → tiptap-BPiZqxCt.js} +42 -33
- package/dist/cdn/chunks/tiptap-BPiZqxCt.js.map +1 -0
- package/dist/cdn/chunks/{useCloudI18n-Xsih9yRH.js → useCloudI18n-Dr4S2TRW.js} +3 -3
- package/dist/cdn/chunks/{useCloudI18n-Xsih9yRH.js.map → useCloudI18n-Dr4S2TRW.js.map} +1 -1
- package/dist/cdn/chunks/useEditorRoot-B_kf_k-g.js +9 -0
- package/dist/cdn/chunks/{useEditorRoot-Beau2Z_T.js.map → useEditorRoot-B_kf_k-g.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-D8s7HtTn.js → useI18n-CSf-ZpcM.js} +3 -3
- package/dist/cdn/chunks/{useI18n-D8s7HtTn.js.map → useI18n-CSf-ZpcM.js.map} +1 -1
- package/dist/cdn/chunks/useLocalizedDisplay-slFOCPrh.js +33 -0
- package/dist/cdn/chunks/{useLocalizedDisplay-Bgg4qpev.js.map → useLocalizedDisplay-slFOCPrh.js.map} +1 -1
- package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js → useLogicTag-lPjCGeGC.js} +5 -5
- package/dist/cdn/chunks/{useLogicTag-DLvWzWsp.js.map → useLogicTag-lPjCGeGC.js.map} +1 -1
- package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js → useMergeTag-BKNBwIry.js} +8 -8
- package/dist/cdn/chunks/{useMergeTag-B4FHCGGm.js.map → useMergeTag-BKNBwIry.js.map} +1 -1
- package/dist/cdn/chunks/{usePopoverPosition-esO6wjvU.js → usePopoverPosition-BJFFi8x6.js} +3 -3
- package/dist/cdn/chunks/{usePopoverPosition-esO6wjvU.js.map → usePopoverPosition-BJFFi8x6.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-CJuUu7Xj.js → useScrollToBlock-MI4PP5lk.js} +3 -3
- package/dist/cdn/chunks/{useScrollToBlock-CJuUu7Xj.js.map → useScrollToBlock-MI4PP5lk.js.map} +1 -1
- package/dist/cdn/chunks/{withCurrentFont-QqBilClC.js → withCurrentFont-CzTFFaJA.js} +2 -2
- package/dist/cdn/chunks/{withCurrentFont-QqBilClC.js.map → withCurrentFont-CzTFFaJA.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +784 -762
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-CcuCoJDh.js → check-C7ua4TAK.js} +1 -1
- package/dist/{chevron-down-BfYIbFbC.js → chevron-down-DftQrAkI.js} +1 -1
- package/dist/{chevron-right-DyjFqY35.js → chevron-right-B-DULGbg.js} +1 -1
- package/dist/{chevron-up-BHEIxuS-.js → chevron-up-CeYsyD8c.js} +1 -1
- package/dist/{circle-alert-Tq7kAh9S.js → circle-exclamation-point-DHjORV_I.js} +3 -3
- package/dist/{clock-Df0ZiXwQ.js → clock-CajOtLEZ.js} +1 -1
- package/dist/{composables-CRX6rncm.js → composables-DbjgUQlV.js} +1663 -1643
- package/dist/{createCloudRuntime-DplyIlsy.js → createCloudRuntime-Cnh2M6iT.js} +54 -40
- package/dist/{createLucideIcon-CfBdtoUw.js → createLucideIcon-D-mELTSY.js} +6 -6
- package/dist/da-CYWJkrTg.js +95 -0
- package/dist/da-qQzj0QGy.js +948 -0
- package/dist/{dist-CX7skkvG.js → dist-A328tG0Z.js} +2 -2
- package/dist/{dist-B8dY8drK.js → dist-B15BvV94.js} +2 -2
- package/dist/{dist-TAv500j6.js → dist-B3G4Yvpd.js} +3 -3
- package/dist/dist-B6ptxfPo.js +406 -0
- package/dist/{dist-ChOb5XHW.js → dist-BmV-2uBJ.js} +2 -2
- package/dist/{dist-fqSers8_.js → dist-BxKFi2h_.js} +199 -199
- package/dist/{dist-BMUUt3zJ.js → dist-CAvsz9cW.js} +680 -655
- package/dist/{dist-D_XrUEET.js → dist-CMBOqk9I.js} +7 -7
- package/dist/{dist-DZ3X-uB8.js → dist-CXTsTO5h.js} +2 -2
- package/dist/{dist-B9a7iVye.js → dist-D5BUcCjv.js} +2 -2
- package/dist/dist-D9cbSSSx.js +4 -0
- package/dist/{dist-54VCNoC0.js → dist-DAdrn64r.js} +2 -2
- package/dist/{dist-BWflWcpW.js → dist-DENg3ORe.js} +33 -24
- package/dist/{dist-C3hu_C3w.js → dist-DI_8rB1X.js} +2 -2
- package/dist/dist-ELLEk-lS.js +4 -0
- package/dist/{editor-modal-D9HT9bD6.js → editor-modal-CgsaLpwB.js} +110 -109
- package/dist/en-DBLcB-CW.js +1 -0
- package/dist/{extensions-Cm6K4SRX.js → extensions-7fb-XtNJ.js} +180 -180
- package/dist/{eye-B3psrAqd.js → eye-fe5sKF_K.js} +1 -1
- package/dist/{image-C3yuPDxx.js → image-CUC7SZiW.js} +1 -1
- package/dist/index.d.ts +6 -4
- package/dist/{info-DKja7A68.js → info-DDbLU4pT.js} +1 -1
- package/dist/keys-D9oKZN1h.js +9 -0
- package/dist/{link-DhzPI4Hn.js → link-C2icj0iH.js} +1 -1
- package/dist/{list-DVGn7Ik2.js → list-KYC_Jb5A.js} +1 -1
- package/dist/{loader-circle-DqKWsMHO.js → loader-circle-DmyagWpc.js} +1 -1
- package/dist/{message-circle-C4TonoBs.js → message-circle-ijyWn6UJ.js} +1 -1
- package/dist/{normalizeMergeTagMarkup-Da9JAgx7.js → normalizeMergeTagMarkup-GrXJfXsQ.js} +82 -82
- package/dist/{package-9OkiEO4S.js → package-CKYm_jQY.js} +1 -1
- package/dist/{pencil-M9vkOB7C.js → pencil-C2TRSR-Y.js} +1 -1
- package/dist/{plus-DxZiv9YC.js → plus-CotJVDxb.js} +1 -1
- package/dist/{preRenderCustomBlocks-CdqSp2P7.js → preRenderCustomBlocks-DuXtzD-F.js} +3 -3
- package/dist/{refresh-cw-UY8_sdFG.js → refresh-cw-CuCRV6D5.js} +1 -1
- package/dist/{rotate-ccw-BFTGCpHn.js → rotate-ccw-BlnQ3y6R.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-DlHp8xgy.js → runtime-dom.esm-bundler-nN-jsqr1.js} +20 -20
- package/dist/{sanitizeHtml-wBibnBF4.js → sanitizeHtml-eV4_BpI6.js} +25 -14
- package/dist/{search-RuGJnMEn.js → search-Dxw6oFrZ.js} +1 -1
- package/dist/{send-DGB1ar02.js → send-C-blQBZ9.js} +1 -1
- package/dist/{smartphone-CVA29CU_.js → smartphone-rLz4X-Dd.js} +1 -1
- package/dist/{socialIcons-CJD6OsI7.js → socialIcons-brRkK9Om.js} +600 -549
- package/dist/{sparkles-IHfEwEcd.js → sparkles-JWQlUiSn.js} +1 -1
- package/dist/{square-_Cl44UU6.js → square-DshDy1Il.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +976 -954
- package/dist/{text-align-start-Dqk2Xt_Q.js → text-align-start-CyasaQtr.js} +13 -13
- package/dist/{trash-Cr7rD5Hh.js → trash-B1lZp2Tv.js} +1 -1
- package/dist/{triangle-alert-CKcpwtUj.js → triangle-exclamation-point-BhJvBEoT.js} +3 -3
- package/dist/{upload-DR9pqVON.js → upload-CNK8JX38.js} +1 -1
- package/dist/{useCloudI18n-BczJoFf4.js → useCloudI18n-HhCZYRV6.js} +2 -2
- package/dist/useEditorRoot-B0Njczhx.js +7 -0
- package/dist/{useI18n-zeWYtWSv.js → useI18n-CM9vKbYc.js} +2 -2
- package/dist/{cdn/chunks/useLocalizedDisplay-Bgg4qpev.js → useLocalizedDisplay-DoaT7nWk.js} +2 -4
- package/dist/{useLogicTag-DLkYos2Q.js → useLogicTag-cTC2KbWd.js} +4 -4
- package/dist/{useMergeTag-IoWOO679.js → useMergeTag-D2YDZ8vR.js} +8 -8
- package/dist/{usePopoverPosition-Br3zt_MQ.js → usePopoverPosition-CVRzzLkC.js} +2 -2
- package/dist/{useScrollToBlock-BfOzc1Z6.js → useScrollToBlock-vf_KD0FM.js} +3 -3
- package/dist/{vue.runtime.esm-bundler-BJXc_Mri.js → vue.runtime.esm-bundler-BE5V8ADU.js} +414 -362
- package/dist/{withCurrentFont-m_PHcOD0.js → withCurrentFont-DAmED4fN.js} +1 -1
- package/dist/{x-DZSFHafL.js → x-DbLX5Qdm.js} +1 -1
- package/package.json +23 -23
- package/dist/AiPanels-DAsnX-a3.js +0 -31
- package/dist/CommentsPanel-C5qG17Ki.js +0 -16
- package/dist/CommentsSidebar-C7CWcUYZ.js +0 -526
- package/dist/LanguageMenu-B981Av-6.js +0 -403
- package/dist/cdn/chunks/AiChatPanel-DKDu9cs7.js.map +0 -1
- package/dist/cdn/chunks/AiPanels-jMLVaiKx.js +0 -32
- package/dist/cdn/chunks/AiPanels-jMLVaiKx.js.map +0 -1
- package/dist/cdn/chunks/AiRewriteMenu-s79rmHFy.js.map +0 -1
- package/dist/cdn/chunks/BlockIssueBadge-Bnmq_M4G.js.map +0 -1
- package/dist/cdn/chunks/BlockPreviewCanvas-B3HkuENF.js +0 -156
- package/dist/cdn/chunks/BlockPreviewCanvas-B3HkuENF.js.map +0 -1
- package/dist/cdn/chunks/CloudPanels-DQnlH_YJ.js.map +0 -1
- package/dist/cdn/chunks/CommentsPanel-EtdTzTmq.js +0 -18
- package/dist/cdn/chunks/CommentsPanel-EtdTzTmq.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-Qmj049QX.js +0 -496
- package/dist/cdn/chunks/CommentsSidebar-Qmj049QX.js.map +0 -1
- package/dist/cdn/chunks/IssuesPanel-DnSnEh1X.js.map +0 -1
- package/dist/cdn/chunks/LanguageMenu-C2I_yTL5.js.map +0 -1
- package/dist/cdn/chunks/RestoreVersionDialog-DqbULAbc.js.map +0 -1
- package/dist/cdn/chunks/Toolbar-C_Hfsher.js.map +0 -1
- package/dist/cdn/chunks/composables-CsfQlmcf.js.map +0 -1
- package/dist/cdn/chunks/createCloudRuntime-PpIFCDfj.js.map +0 -1
- package/dist/cdn/chunks/dist-DqGgijFI.js +0 -405
- package/dist/cdn/chunks/draggable-DepKdldn.js.map +0 -1
- package/dist/cdn/chunks/en-CVxNoHww.js +0 -1
- package/dist/cdn/chunks/icons-DHExFLlT.js.map +0 -1
- package/dist/cdn/chunks/keys-BUmIvYy3.js +0 -11
- package/dist/cdn/chunks/keys-BUmIvYy3.js.map +0 -1
- package/dist/cdn/chunks/sanitizeHtml-DJI7vvET.js +0 -61
- package/dist/cdn/chunks/sanitizeHtml-DJI7vvET.js.map +0 -1
- package/dist/cdn/chunks/socialIcons-Qw9rHc8C.js.map +0 -1
- package/dist/cdn/chunks/src-Bfj1jHnn.js.map +0 -1
- package/dist/cdn/chunks/src-C9JWWxAk.js.map +0 -1
- package/dist/cdn/chunks/src-mXG-Of9A.js.map +0 -1
- package/dist/cdn/chunks/tiptap-Dipw_zOQ.js.map +0 -1
- package/dist/cdn/chunks/useEditorRoot-Beau2Z_T.js +0 -9
- package/dist/dist-0alKVRc_.js +0 -406
- package/dist/dist-6DU0me3E.js +0 -4
- package/dist/dist-CcOn7WCo.js +0 -4
- package/dist/en-De3uAutQ.js +0 -1
- package/dist/keys-w_VRjoMu.js +0 -9
- package/dist/useEditorRoot-BcXKhM_8.js +0 -7
- package/dist/useLocalizedDisplay-Cbhx208c.js +0 -31
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Ft as e, M as t, Mt as n, P as r, U as i, _ as a, c as o, ct as s, f as c, l, r as u, u as d, y as f } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { c as p } from "./LogicTagInsertButton-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { Ft as e, M as t, Mt as n, P as r, U as i, _ as a, c as o, ct as s, f as c, l, r as u, u as d, y as f } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { c as p } from "./LogicTagInsertButton-CJ1Jk6jv.js";
|
|
3
|
+
import { n as m, r as h } from "./Toolbar-c4_rLLJT.js";
|
|
4
|
+
import { n as g } from "./MergeTagTextarea-B1zOC_Nr.js";
|
|
5
|
+
import { t as _ } from "./ToggleSwitch-BIPdFWUr.js";
|
|
6
|
+
import { t as v } from "./useI18n-CM9vKbYc.js";
|
|
7
|
+
import { h as y } from "./styleConstants-CgiNKdnc.js";
|
|
8
|
+
import { t as b } from "./withCurrentFont-DAmED4fN.js";
|
|
9
9
|
// src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, T = ["value"], E = { value: "" }, D = ["value"], O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, A = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, j = [
|
|
11
11
|
"value",
|
|
@@ -19,7 +19,7 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
19
19
|
},
|
|
20
20
|
emits: ["update"],
|
|
21
21
|
setup(f, { emit: P }) {
|
|
22
|
-
let F = P, { t: I } =
|
|
22
|
+
let F = P, { t: I } = v(), L = [
|
|
23
23
|
"UTC",
|
|
24
24
|
"America/New_York",
|
|
25
25
|
"America/Chicago",
|
|
@@ -62,16 +62,16 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
62
62
|
function V(e, t) {
|
|
63
63
|
F("update", { [e]: t });
|
|
64
64
|
}
|
|
65
|
-
return (o,
|
|
65
|
+
return (o, v) => (t(), c(u, null, [
|
|
66
66
|
a(g, {
|
|
67
67
|
path: "targetDate",
|
|
68
68
|
label: s(I).countdown.targetDate
|
|
69
69
|
}, {
|
|
70
70
|
default: i(() => [l("input", {
|
|
71
71
|
type: "datetime-local",
|
|
72
|
-
class: n(s(
|
|
72
|
+
class: n(s(y)),
|
|
73
73
|
value: f.block.targetDate,
|
|
74
|
-
onInput:
|
|
74
|
+
onInput: v[0] ||= (e) => V("targetDate", e.target.value)
|
|
75
75
|
}, null, 42, x)]),
|
|
76
76
|
_: 1
|
|
77
77
|
}, 8, ["label"]),
|
|
@@ -80,9 +80,9 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
80
80
|
label: s(I).countdown.timezone
|
|
81
81
|
}, {
|
|
82
82
|
default: i(() => [l("select", {
|
|
83
|
-
class: n(s(
|
|
83
|
+
class: n(s(y)),
|
|
84
84
|
value: f.block.timezone,
|
|
85
|
-
onChange:
|
|
85
|
+
onChange: v[1] ||= (e) => V("timezone", e.target.value)
|
|
86
86
|
}, [(t(), c(u, null, r(L, (t) => l("option", {
|
|
87
87
|
key: t,
|
|
88
88
|
value: t
|
|
@@ -116,10 +116,10 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
116
116
|
path: "separator",
|
|
117
117
|
label: s(I).countdown.separator
|
|
118
118
|
}, {
|
|
119
|
-
default: i(() => [a(
|
|
119
|
+
default: i(() => [a(h, {
|
|
120
120
|
options: R,
|
|
121
121
|
"model-value": f.block.separator,
|
|
122
|
-
"onUpdate:modelValue":
|
|
122
|
+
"onUpdate:modelValue": v[2] ||= (e) => V("separator", e)
|
|
123
123
|
}, null, 8, ["model-value"])]),
|
|
124
124
|
_: 1
|
|
125
125
|
}, 8, ["label"]),
|
|
@@ -128,9 +128,9 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
128
128
|
label: s(I).countdown.fontFamily
|
|
129
129
|
}, {
|
|
130
130
|
default: i(() => [l("select", {
|
|
131
|
-
class: n(s(
|
|
132
|
-
value: s(
|
|
133
|
-
onChange:
|
|
131
|
+
class: n(s(y)),
|
|
132
|
+
value: s(b)(f.block.fontFamily),
|
|
133
|
+
onChange: v[3] ||= (e) => V("fontFamily", e.target.value || void 0)
|
|
134
134
|
}, [l("option", E, e(s(I).countdown.inheritFont), 1), (t(!0), c(u, null, r(f.fontFamilies, (n) => (t(), c("option", {
|
|
135
135
|
key: n.value,
|
|
136
136
|
value: n.value
|
|
@@ -141,24 +141,24 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
141
141
|
path: "digitFontSize",
|
|
142
142
|
label: s(I).countdown.digitFontSize
|
|
143
143
|
}, {
|
|
144
|
-
default: i(() => [a(
|
|
144
|
+
default: i(() => [a(m, {
|
|
145
145
|
"model-value": f.block.digitFontSize,
|
|
146
146
|
min: 12,
|
|
147
147
|
max: 72,
|
|
148
148
|
suffix: "px",
|
|
149
|
-
"onUpdate:modelValue":
|
|
149
|
+
"onUpdate:modelValue": v[4] ||= (e) => V("digitFontSize", e)
|
|
150
150
|
}, null, 8, ["model-value"])]),
|
|
151
151
|
_: 1
|
|
152
152
|
}, 8, ["label"]), a(g, {
|
|
153
153
|
path: "labelFontSize",
|
|
154
154
|
label: s(I).countdown.labelFontSize
|
|
155
155
|
}, {
|
|
156
|
-
default: i(() => [a(
|
|
156
|
+
default: i(() => [a(m, {
|
|
157
157
|
"model-value": f.block.labelFontSize,
|
|
158
158
|
min: 8,
|
|
159
159
|
max: 24,
|
|
160
160
|
suffix: "px",
|
|
161
|
-
"onUpdate:modelValue":
|
|
161
|
+
"onUpdate:modelValue": v[5] ||= (e) => V("labelFontSize", e)
|
|
162
162
|
}, null, 8, ["model-value"])]),
|
|
163
163
|
_: 1
|
|
164
164
|
}, 8, ["label"])]),
|
|
@@ -168,7 +168,7 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
168
168
|
}, {
|
|
169
169
|
default: i(() => [a(p, {
|
|
170
170
|
"model-value": f.block.digitColor,
|
|
171
|
-
"onUpdate:modelValue":
|
|
171
|
+
"onUpdate:modelValue": v[6] ||= (e) => V("digitColor", e)
|
|
172
172
|
}, null, 8, ["model-value"])]),
|
|
173
173
|
_: 1
|
|
174
174
|
}, 8, ["label"]), a(g, {
|
|
@@ -177,7 +177,7 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
177
177
|
}, {
|
|
178
178
|
default: i(() => [a(p, {
|
|
179
179
|
"model-value": f.block.labelColor,
|
|
180
|
-
"onUpdate:modelValue":
|
|
180
|
+
"onUpdate:modelValue": v[7] ||= (e) => V("labelColor", e)
|
|
181
181
|
}, null, 8, ["model-value"])]),
|
|
182
182
|
_: 1
|
|
183
183
|
}, 8, ["label"])]),
|
|
@@ -187,7 +187,7 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
187
187
|
}, {
|
|
188
188
|
default: i(() => [a(p, {
|
|
189
189
|
"model-value": f.block.backgroundColor,
|
|
190
|
-
"onUpdate:modelValue":
|
|
190
|
+
"onUpdate:modelValue": v[8] ||= (e) => V("backgroundColor", e)
|
|
191
191
|
}, null, 8, ["model-value"])]),
|
|
192
192
|
_: 1
|
|
193
193
|
}, 8, ["label"]),
|
|
@@ -199,7 +199,7 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
199
199
|
}, {
|
|
200
200
|
default: i(() => [l("input", {
|
|
201
201
|
type: "text",
|
|
202
|
-
class: n(s(
|
|
202
|
+
class: n(s(y)),
|
|
203
203
|
value: f.block[e.labelKey],
|
|
204
204
|
placeholder: s(I).countdown[e.translationKey],
|
|
205
205
|
onInput: (t) => V(e.labelKey, t.target.value)
|
|
@@ -214,10 +214,10 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
214
214
|
}, {
|
|
215
215
|
default: i(() => [l("input", {
|
|
216
216
|
type: "text",
|
|
217
|
-
class: n(s(
|
|
217
|
+
class: n(s(y)),
|
|
218
218
|
value: f.block.expiredMessage,
|
|
219
219
|
placeholder: s(I).countdown.expiredMessagePlaceholder,
|
|
220
|
-
onInput:
|
|
220
|
+
onInput: v[9] ||= (e) => V("expiredMessage", e.target.value)
|
|
221
221
|
}, null, 42, M)]),
|
|
222
222
|
_: 1
|
|
223
223
|
}, 8, ["label"]),
|
|
@@ -227,10 +227,10 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
227
227
|
}, {
|
|
228
228
|
default: i(() => [l("input", {
|
|
229
229
|
type: "url",
|
|
230
|
-
class: n(s(
|
|
230
|
+
class: n(s(y)),
|
|
231
231
|
value: f.block.expiredImageUrl,
|
|
232
232
|
placeholder: "https://...",
|
|
233
|
-
onInput:
|
|
233
|
+
onInput: v[10] ||= (e) => V("expiredImageUrl", e.target.value)
|
|
234
234
|
}, null, 42, N)]),
|
|
235
235
|
_: 1
|
|
236
236
|
}, 8, ["label"]),
|
|
@@ -244,7 +244,7 @@ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid
|
|
|
244
244
|
class: "tpl:mb-3.5 tpl:text-[12px] tpl:text-[var(--tpl-text)]",
|
|
245
245
|
"model-value": f.block.hideOnExpiry,
|
|
246
246
|
label: s(I).countdown.hideOnExpiry,
|
|
247
|
-
"onUpdate:modelValue":
|
|
247
|
+
"onUpdate:modelValue": v[11] ||= (e) => V("hideOnExpiry", e)
|
|
248
248
|
}, null, 8, [
|
|
249
249
|
"control-id",
|
|
250
250
|
"model-value",
|
|
@@ -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
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as pe } from "./
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
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-BE5V8ADU.js";
|
|
2
|
+
import { a as ie, n as ae, o as oe, r as se, t as ce } from "./useScrollToBlock-vf_KD0FM.js";
|
|
3
|
+
import { t as le } from "./circle-exclamation-point-DHjORV_I.js";
|
|
4
|
+
import { t as ue } from "./triangle-exclamation-point-BhJvBEoT.js";
|
|
5
|
+
import { t as de } from "./info-DDbLU4pT.js";
|
|
6
|
+
import { t as _ } from "./createLucideIcon-D-mELTSY.js";
|
|
7
|
+
import { t as fe } from "./check-C7ua4TAK.js";
|
|
8
|
+
import { t as v } from "./sparkles-JWQlUiSn.js";
|
|
9
|
+
import { t as pe } from "./square-DshDy1Il.js";
|
|
10
|
+
import { t as me } from "./useI18n-CM9vKbYc.js";
|
|
11
|
+
import { $ as he, D as ge, at as _e, et as ve, n as ye, v as be } from "./keys-D9oKZN1h.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-BjClNscQ.js")), y = h(() => import("./AiAltTextReview-DeMdVbtT.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(ve, null), N = g(be, null), P = g(he, null), $e = g(_e, "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
|
});
|