@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,19 +1,19 @@
|
|
|
1
|
-
import { B as e, Ft as t, M as n, Mt as r, P as i, W as a, _ as o, c as s, ct as c, d as l, et as u, f as d, g as f, k as ee, l as p, r as m, w as h, y as g } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as te } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { _ as ne,
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
1
|
+
import { B as e, Ft as t, M as n, Mt as r, P as i, W as a, _ as o, c as s, ct as c, d as l, et as u, f as d, g as f, k as ee, l as p, r as m, w as h, y as g } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { a as te } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
+
import { _ as ne, v as re } from "./dist-CAvsz9cW.js";
|
|
4
|
+
import { i as ie, n as ae, t as oe } from "./sanitizeHtml-eV4_BpI6.js";
|
|
5
|
+
import { t as se } from "./sparkles-JWQlUiSn.js";
|
|
6
|
+
import { t as ce } from "./square-DshDy1Il.js";
|
|
7
|
+
import { t as _ } from "./createLucideIcon-D-mELTSY.js";
|
|
8
|
+
import { t as le } from "./x-DbLX5Qdm.js";
|
|
9
|
+
import { n as ue } from "./ParagraphEditor-C9UhWvRB.js";
|
|
10
|
+
import { t as de } from "./useI18n-CM9vKbYc.js";
|
|
11
11
|
import { w as v, x as y } from "./styleConstants-CgiNKdnc.js";
|
|
12
|
-
import {
|
|
13
|
-
import { n as
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
16
|
-
var
|
|
12
|
+
import { B as fe, P as pe, V as me, at as he, ct as ge, n as _e, v as ve } from "./keys-D9oKZN1h.js";
|
|
13
|
+
import { n as ye } from "./aiErrors-C3QEMB0x.js";
|
|
14
|
+
import { n as be, t as b } from "./aiRewritePreview-DlMyx6Si.js";
|
|
15
|
+
import { r as x } from "./normalizeMergeTagMarkup-GrXJfXsQ.js";
|
|
16
|
+
var S = _({
|
|
17
17
|
name: "wand-sparkles",
|
|
18
18
|
size: 24,
|
|
19
19
|
node: [
|
|
@@ -51,35 +51,35 @@ var x = _({
|
|
|
51
51
|
}]
|
|
52
52
|
],
|
|
53
53
|
aliases: ["wand-2"]
|
|
54
|
-
}),
|
|
54
|
+
}), C = { class: "tpl:relative tpl:flex tpl:items-center" }, w = [
|
|
55
55
|
"aria-label",
|
|
56
56
|
"title",
|
|
57
57
|
"aria-expanded"
|
|
58
|
-
],
|
|
58
|
+
], T = ["aria-label"], E = { class: "tpl:flex tpl:items-center tpl:justify-between" }, D = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, O = ["aria-label", "title"], k = {
|
|
59
59
|
"data-testid": "ai-rewrite-label",
|
|
60
60
|
class: "tpl:self-start tpl:rounded tpl:px-1.5 tpl:py-px tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-secondary-light)] tpl:text-[var(--tpl-text)]"
|
|
61
|
-
},
|
|
61
|
+
}, A = ["innerHTML"], j = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, M = {
|
|
62
62
|
"data-testid": "ai-rewrite-label",
|
|
63
63
|
class: "tpl:self-start tpl:rounded tpl:px-1.5 tpl:py-px tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-secondary-light)] tpl:text-[var(--tpl-text)]"
|
|
64
|
-
},
|
|
64
|
+
}, N = {
|
|
65
65
|
"data-testid": "ai-rewrite-preview",
|
|
66
66
|
class: "tpl:m-0 tpl:max-h-48 tpl:overflow-y-auto tpl:whitespace-pre-wrap tpl:text-sm tpl:text-[var(--tpl-text-muted)]"
|
|
67
|
-
},
|
|
67
|
+
}, xe = { class: "tpl:flex tpl:flex-wrap tpl:gap-1.5" }, Se = ["data-testid", "onClick"], Ce = { class: "tpl:flex tpl:items-center tpl:gap-2" }, we = ["disabled"], Te = { class: "tpl:flex tpl:items-end tpl:gap-2" }, Ee = ["aria-label", "placeholder"], De = ["disabled"], P = {
|
|
68
68
|
key: 0,
|
|
69
69
|
role: "alert",
|
|
70
70
|
"data-testid": "ai-rewrite-error",
|
|
71
71
|
class: "tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-danger)]"
|
|
72
|
-
},
|
|
72
|
+
}, Oe = { class: "tpl:m-0 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, F = /* @__PURE__ */ g({
|
|
73
73
|
__name: "AiRewriteMenu",
|
|
74
74
|
props: { editor: {} },
|
|
75
75
|
setup(g) {
|
|
76
|
-
let _ = g, { t: F, format:
|
|
76
|
+
let _ = g, { t: F, format: ke } = de(), Ae = ge(_e, "AiRewriteMenu"), je = h(pe, me), Me = h(fe, ne.liquid), I = h(he, void 0), L = h(ve, null), Ne = [
|
|
77
77
|
"shorten",
|
|
78
78
|
"expand",
|
|
79
79
|
"friendlier",
|
|
80
80
|
"formal",
|
|
81
81
|
"fixGrammar"
|
|
82
|
-
], R =
|
|
82
|
+
], R = be(I), z = u(!1), B = u(R[0].value), V = u(""), H = u(!1), U = u(""), W = u(null), G = u(null), K = null, q = 0, J = s(() => W.value === null ? null : ae(x(W.value, je.value, Me))), Pe = s(() => J.value === null ? null : oe(J.value)), Fe = s(() => b(U.value)), Y = s(() => G.value ? ye(G.value, F.ai.errors, ke, I) : "");
|
|
83
83
|
function X() {
|
|
84
84
|
q++;
|
|
85
85
|
let e = K;
|
|
@@ -91,7 +91,7 @@ var x = _({
|
|
|
91
91
|
function Q() {
|
|
92
92
|
Z(), z.value = !1;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Ie() {
|
|
95
95
|
z.value ? Q() : z.value = !0;
|
|
96
96
|
}
|
|
97
97
|
async function $(e) {
|
|
@@ -100,13 +100,13 @@ var x = _({
|
|
|
100
100
|
Z();
|
|
101
101
|
let n = _.editor.getHTML();
|
|
102
102
|
if (Array.from(n).length > 2e4) {
|
|
103
|
-
G.value = new
|
|
103
|
+
G.value = new re(F.ai.rewrite.tooLarge, 413);
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
106
|
let r = new AbortController(), i = ++q;
|
|
107
107
|
K = r, H.value = !0;
|
|
108
108
|
try {
|
|
109
|
-
let a = await
|
|
109
|
+
let a = await Ae.rewrite({
|
|
110
110
|
html: n,
|
|
111
111
|
preset: e,
|
|
112
112
|
language: e === "translate" ? B.value : null,
|
|
@@ -122,10 +122,10 @@ var x = _({
|
|
|
122
122
|
i === q && (H.value = !1, K = null);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function Le() {
|
|
126
126
|
J.value !== null && (_.editor.chain().focus().setContent(J.value, { emitUpdate: !0 }).run(), Q());
|
|
127
127
|
}
|
|
128
|
-
return L?.activeLocale && e(L.activeLocale, Q, { flush: "sync" }), ee(X), (e, s) => (n(), d("div",
|
|
128
|
+
return L?.activeLocale && e(L.activeLocale, Q, { flush: "sync" }), ee(X), (e, s) => (n(), d("div", C, [p("button", {
|
|
129
129
|
type: "button",
|
|
130
130
|
"data-testid": "ai-rewrite-trigger",
|
|
131
131
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-primary)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
@@ -133,18 +133,18 @@ var x = _({
|
|
|
133
133
|
title: c(F).ai.rewrite.title,
|
|
134
134
|
"aria-haspopup": "dialog",
|
|
135
135
|
"aria-expanded": z.value,
|
|
136
|
-
onClick:
|
|
137
|
-
}, [o(c(
|
|
136
|
+
onClick: Ie
|
|
137
|
+
}, [o(c(se), {
|
|
138
138
|
size: 16,
|
|
139
139
|
"stroke-width": 2,
|
|
140
140
|
"aria-hidden": "true"
|
|
141
|
-
}), f(" " + t(c(F).ai.menu.button), 1)], 8,
|
|
141
|
+
}), f(" " + t(c(F).ai.menu.button), 1)], 8, w), z.value ? (n(), d("div", {
|
|
142
142
|
key: 0,
|
|
143
143
|
role: "dialog",
|
|
144
144
|
"aria-label": c(F).ai.rewrite.title,
|
|
145
145
|
"data-testid": "ai-rewrite-panel",
|
|
146
146
|
class: "tpl-ai-rewrite-panel tpl:absolute tpl:top-full tpl:right-0 tpl:z-50 tpl:mt-2 tpl:flex tpl:w-80 tpl:flex-col tpl:gap-3 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:shadow-[var(--tpl-shadow-lg)]"
|
|
147
|
-
}, [p("div",
|
|
147
|
+
}, [p("div", E, [p("span", D, [o(c(S), {
|
|
148
148
|
size: 14,
|
|
149
149
|
"stroke-width": 2,
|
|
150
150
|
"aria-hidden": "true"
|
|
@@ -154,39 +154,39 @@ var x = _({
|
|
|
154
154
|
"aria-label": c(F).ai.rewrite.close,
|
|
155
155
|
title: c(F).ai.rewrite.close,
|
|
156
156
|
onClick: Q
|
|
157
|
-
}, [o(c(
|
|
157
|
+
}, [o(c(le), {
|
|
158
158
|
size: 14,
|
|
159
159
|
"stroke-width": 2,
|
|
160
160
|
"aria-hidden": "true"
|
|
161
|
-
})], 8,
|
|
162
|
-
p("span",
|
|
163
|
-
p("p",
|
|
161
|
+
})], 8, O)]), J.value === null ? H.value ? (n(), d(m, { key: 1 }, [
|
|
162
|
+
p("span", M, t(c(F).ai.rewrite.suggestionLabel), 1),
|
|
163
|
+
p("p", N, t(Fe.value || c(F).ai.rewrite.rewriting), 1),
|
|
164
164
|
p("button", {
|
|
165
165
|
type: "button",
|
|
166
166
|
"data-testid": "ai-rewrite-stop",
|
|
167
167
|
class: r([c(v), "tpl:self-end"]),
|
|
168
168
|
onClick: X
|
|
169
|
-
}, [o(c(
|
|
169
|
+
}, [o(c(ce), {
|
|
170
170
|
size: 12,
|
|
171
171
|
"stroke-width": 2,
|
|
172
172
|
"aria-hidden": "true"
|
|
173
173
|
}), f(" " + t(c(F).ai.rewrite.stop), 1)], 2)
|
|
174
174
|
], 64)) : (n(), d(m, { key: 2 }, [
|
|
175
|
-
p("div",
|
|
175
|
+
p("div", xe, [(n(), d(m, null, i(Ne, (e) => p("button", {
|
|
176
176
|
key: e,
|
|
177
177
|
type: "button",
|
|
178
178
|
"data-testid": `ai-rewrite-preset-${e}`,
|
|
179
179
|
class: r(c(v)),
|
|
180
180
|
onClick: (t) => $(e)
|
|
181
|
-
}, t(c(F).ai.rewrite.presets[e]), 11,
|
|
182
|
-
p("div",
|
|
181
|
+
}, t(c(F).ai.rewrite.presets[e]), 11, Se)), 64))]),
|
|
182
|
+
p("div", Ce, [
|
|
183
183
|
o(c(ie), {
|
|
184
184
|
size: 14,
|
|
185
185
|
"stroke-width": 2,
|
|
186
186
|
class: "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)]",
|
|
187
187
|
"aria-hidden": "true"
|
|
188
188
|
}),
|
|
189
|
-
o(
|
|
189
|
+
o(ue, {
|
|
190
190
|
modelValue: B.value,
|
|
191
191
|
"onUpdate:modelValue": s[0] ||= (e) => B.value = e,
|
|
192
192
|
options: c(R),
|
|
@@ -203,9 +203,9 @@ var x = _({
|
|
|
203
203
|
class: r(c(v)),
|
|
204
204
|
disabled: B.value === "",
|
|
205
205
|
onClick: s[1] ||= (e) => $("translate")
|
|
206
|
-
}, t(c(F).ai.rewrite.presets.translate), 11,
|
|
206
|
+
}, t(c(F).ai.rewrite.presets.translate), 11, we)
|
|
207
207
|
]),
|
|
208
|
-
p("div",
|
|
208
|
+
p("div", Te, [a(p("textarea", {
|
|
209
209
|
"onUpdate:modelValue": s[2] ||= (e) => V.value = e,
|
|
210
210
|
"data-testid": "ai-rewrite-instruction",
|
|
211
211
|
maxlength: "500",
|
|
@@ -213,23 +213,23 @@ var x = _({
|
|
|
213
213
|
class: "tpl:flex-1 tpl:resize-none tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:py-1.5 tpl:font-sans tpl:text-sm tpl:text-[var(--tpl-text)]",
|
|
214
214
|
"aria-label": c(F).ai.rewrite.instructionLabel,
|
|
215
215
|
placeholder: c(F).ai.rewrite.instructionPlaceholder
|
|
216
|
-
}, null, 8,
|
|
216
|
+
}, null, 8, Ee), [[te, V.value]]), p("button", {
|
|
217
217
|
type: "button",
|
|
218
218
|
"data-testid": "ai-rewrite-run",
|
|
219
219
|
class: r(c(y)),
|
|
220
220
|
disabled: V.value.trim() === "",
|
|
221
221
|
onClick: s[3] ||= (e) => $(null)
|
|
222
|
-
}, t(c(F).ai.rewrite.run), 11,
|
|
223
|
-
Y.value ? (n(), d("p",
|
|
224
|
-
p("p",
|
|
222
|
+
}, t(c(F).ai.rewrite.run), 11, De)]),
|
|
223
|
+
Y.value ? (n(), d("p", P, t(Y.value), 1)) : l("", !0),
|
|
224
|
+
p("p", Oe, t(c(F).ai.chat.disclaimer), 1)
|
|
225
225
|
], 64)) : (n(), d(m, { key: 0 }, [
|
|
226
|
-
p("span",
|
|
226
|
+
p("span", k, t(c(F).ai.rewrite.suggestionLabel), 1),
|
|
227
227
|
p("div", {
|
|
228
228
|
"data-testid": "ai-rewrite-preview",
|
|
229
229
|
class: "tpl:max-h-48 tpl:overflow-y-auto tpl:text-sm tpl:text-[var(--tpl-text)]",
|
|
230
|
-
innerHTML:
|
|
231
|
-
}, null, 8,
|
|
232
|
-
p("div",
|
|
230
|
+
innerHTML: Pe.value
|
|
231
|
+
}, null, 8, A),
|
|
232
|
+
p("div", j, [p("button", {
|
|
233
233
|
type: "button",
|
|
234
234
|
"data-testid": "ai-rewrite-discard",
|
|
235
235
|
class: r(c(v)),
|
|
@@ -238,9 +238,9 @@ var x = _({
|
|
|
238
238
|
type: "button",
|
|
239
239
|
"data-testid": "ai-rewrite-replace",
|
|
240
240
|
class: r(c(y)),
|
|
241
|
-
onClick:
|
|
241
|
+
onClick: Le
|
|
242
242
|
}, t(c(F).ai.rewrite.replaceAction), 3)])
|
|
243
|
-
], 64))], 8,
|
|
243
|
+
], 64))], 8, T)) : l("", !0)]));
|
|
244
244
|
}
|
|
245
245
|
});
|
|
246
246
|
export { F as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { M as e, Mt as t, c as n, ct as r, d as i, f as a, u as o, w as s, y as c } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as l } from "./circle-
|
|
3
|
-
import { t as u } from "./triangle-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { M as e, Mt as t, c as n, ct as r, d as i, f as a, u as o, w as s, y as c } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { t as l } from "./circle-exclamation-point-DHjORV_I.js";
|
|
3
|
+
import { t as u } from "./triangle-exclamation-point-BhJvBEoT.js";
|
|
4
|
+
import { t as d } from "./useI18n-CM9vKbYc.js";
|
|
5
|
+
import { et as f, v as p } from "./keys-D9oKZN1h.js";
|
|
6
6
|
// src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var m = ["title", "aria-label"], h = /* @__PURE__ */ c({
|
|
8
8
|
__name: "BlockIssueBadge",
|
|
9
9
|
props: { blockId: {} },
|
|
10
10
|
setup(c) {
|
|
11
|
-
let h = c, { t: g } =
|
|
11
|
+
let h = c, { t: g } = d(), _ = s(f, null), v = s(p, null), y = n(() => (_?.issues.value ?? []).filter((e) => e.blockId === h.blockId && !(v?.activeLocale?.value && e.ruleId.startsWith("localization.")))), b = n(() => y.value.some((e) => e.severity === "error") ? "error" : y.value.some((e) => e.severity === "warning") ? "warning" : null), x = n(() => b.value === "error" ? g.issues.badgeError : g.issues.badgeWarning);
|
|
12
12
|
return (n, s) => b.value ? (e(), a("span", {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: t(["tpl-block-issue-badge tpl:flex tpl:size-5 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:ring-1 tpl:ring-[var(--tpl-border)] tpl:hover:shadow-[var(--tpl-shadow-sm)]", b.value === "error" ? "tpl:text-[var(--tpl-danger)]" : "tpl:text-[var(--tpl-warning)]"]),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { I as t, L as n, M as r, N as i, P as a, Pt as o, c as s, ct as c, f as l, l as u, r as d, u as f, w as p, y as m } from "./vue.runtime.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { I as t, L as n, M as r, N as i, P as a, Pt as o, c as s, ct as c, f as l, l as u, r as d, u as f, w as p, y as m } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
3
|
+
import { D as h, E as g, S as _, T as v, _ as y, a as b, d as x, g as S, h as C, i as w, k as T, m as E, o as D, r as O, v as k, x as A, y as j } from "./composables-DbjgUQlV.js";
|
|
4
|
+
import { B as M, C as N, R as P, Y as F, b as I, ct as L, l as R, m as ee, st as te, v as ne } from "./keys-D9oKZN1h.js";
|
|
5
|
+
import { t as re } from "./WrapperBlock-BiW4ye3w.js";
|
|
6
|
+
import { c as z, l as B, o as V } from "./socialIcons-brRkK9Om.js";
|
|
7
|
+
import { Ht as H, _ as U } from "./dist-CAvsz9cW.js";
|
|
8
8
|
// src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var W = { class: "tpl:w-full" }, G = { class: "tpl:flex tpl:gap-0" }, K = /* @__PURE__ */ m({
|
|
10
10
|
name: "PreviewSectionBlock",
|
|
@@ -15,19 +15,19 @@ var W = { class: "tpl:w-full" }, G = { class: "tpl:flex tpl:gap-0" }, K = /* @__
|
|
|
15
15
|
},
|
|
16
16
|
setup(e) {
|
|
17
17
|
let i = {
|
|
18
|
-
title:
|
|
19
|
-
paragraph:
|
|
20
|
-
image:
|
|
21
|
-
video:
|
|
22
|
-
button:
|
|
23
|
-
divider:
|
|
24
|
-
social:
|
|
25
|
-
menu:
|
|
26
|
-
table:
|
|
27
|
-
spacer:
|
|
28
|
-
html:
|
|
29
|
-
custom:
|
|
30
|
-
}, m = e, h = p(
|
|
18
|
+
title: x,
|
|
19
|
+
paragraph: E,
|
|
20
|
+
image: S,
|
|
21
|
+
video: O,
|
|
22
|
+
button: A,
|
|
23
|
+
divider: k,
|
|
24
|
+
social: D,
|
|
25
|
+
menu: C,
|
|
26
|
+
table: w,
|
|
27
|
+
spacer: b,
|
|
28
|
+
html: y,
|
|
29
|
+
custom: j
|
|
30
|
+
}, m = e, h = p(R, null), g = s(() => {
|
|
31
31
|
switch (m.block.columns) {
|
|
32
32
|
case "2": return ["50%", "50%"];
|
|
33
33
|
case "3": return [
|
|
@@ -57,25 +57,25 @@ var W = { class: "tpl:w-full" }, G = { class: "tpl:flex tpl:gap-0" }, K = /* @__
|
|
|
57
57
|
for (; t.length < e;) t.push([]);
|
|
58
58
|
return t.slice(0, e);
|
|
59
59
|
});
|
|
60
|
-
function
|
|
60
|
+
function M(e) {
|
|
61
61
|
return _.value[e] || [];
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
return
|
|
63
|
+
function N(e) {
|
|
64
|
+
return T(e, h, i);
|
|
65
65
|
}
|
|
66
66
|
return (e, i) => {
|
|
67
67
|
let s = t("PreviewSectionBlock", !0);
|
|
68
68
|
return r(), l("div", W, [u("div", G, [(r(!0), l(d, null, a(_.value, (e, t) => (r(), l("div", {
|
|
69
69
|
key: t,
|
|
70
70
|
style: o({ width: g.value[t] })
|
|
71
|
-
}, [(r(!0), l(d, null, a(
|
|
71
|
+
}, [(r(!0), l(d, null, a(M(t), (e) => (r(), l("div", {
|
|
72
72
|
key: e.id,
|
|
73
|
-
style: o(c(
|
|
73
|
+
style: o(c(v)(e))
|
|
74
74
|
}, [e.type === "section" ? (r(), f(s, {
|
|
75
75
|
key: 0,
|
|
76
76
|
block: e,
|
|
77
77
|
viewport: "desktop"
|
|
78
|
-
}, null, 8, ["block"])) : (r(), f(n(
|
|
78
|
+
}, null, 8, ["block"])) : (r(), f(n(N(e)), {
|
|
79
79
|
key: 1,
|
|
80
80
|
block: e,
|
|
81
81
|
viewport: "desktop"
|
|
@@ -94,30 +94,30 @@ var W = { class: "tpl:w-full" }, G = { class: "tpl:flex tpl:gap-0" }, K = /* @__
|
|
|
94
94
|
settings: { default: void 0 }
|
|
95
95
|
},
|
|
96
96
|
setup(e) {
|
|
97
|
-
let t = e, m = p(
|
|
98
|
-
i(
|
|
99
|
-
let
|
|
97
|
+
let t = e, m = p(R), v = p(ne, null), W = p(ee, null), G = L(I, "BlockPreviewCanvas"), J = p(N, null), Y = p(M, U.liquid), X = p(P, null);
|
|
98
|
+
i(F, s(() => !0)), i(te, s(() => X?.value ?? !1));
|
|
99
|
+
let ie = s(() => t.applyConditionFilter ? t.blocks.filter((e) => !W?.isHidden(e.id)) : t.blocks), Z = s(() => t.settings ?? v?.content.value.settings), Q = s(() => B(Z.value, t.viewport)), ae = s(() => Z.value ? h(Z.value, G.resolveFontFamily) : {}), oe = s(() => Z.value?.locale?.trim() || void 0), se = s(() => H(Z.value ?? { locale: "en" })), ce = s(() => Z.value?.backgroundColor || "var(--tpl-canvas-bg)"), le = s(() => Q.value + 192), $ = {
|
|
100
100
|
section: K,
|
|
101
|
-
title:
|
|
102
|
-
paragraph:
|
|
103
|
-
image:
|
|
104
|
-
video:
|
|
105
|
-
button:
|
|
106
|
-
divider:
|
|
107
|
-
social:
|
|
108
|
-
menu:
|
|
109
|
-
table:
|
|
110
|
-
spacer:
|
|
111
|
-
html:
|
|
112
|
-
custom:
|
|
113
|
-
wrapper:
|
|
101
|
+
title: x,
|
|
102
|
+
paragraph: E,
|
|
103
|
+
image: S,
|
|
104
|
+
video: O,
|
|
105
|
+
button: A,
|
|
106
|
+
divider: k,
|
|
107
|
+
social: D,
|
|
108
|
+
menu: C,
|
|
109
|
+
table: w,
|
|
110
|
+
spacer: b,
|
|
111
|
+
html: y,
|
|
112
|
+
custom: j,
|
|
113
|
+
wrapper: re
|
|
114
114
|
};
|
|
115
|
-
function le(e) {
|
|
116
|
-
return k(e, m, ce);
|
|
117
|
-
}
|
|
118
115
|
function ue(e) {
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
return T(e, m, $);
|
|
117
|
+
}
|
|
118
|
+
function de(e) {
|
|
119
|
+
let n = Z.value;
|
|
120
|
+
return g(e, J, Y, V(e, n ? {
|
|
121
121
|
blocks: t.blocks,
|
|
122
122
|
settings: n
|
|
123
123
|
} : void 0));
|
|
@@ -126,26 +126,26 @@ var W = { class: "tpl:w-full" }, G = { class: "tpl:flex tpl:gap-0" }, K = /* @__
|
|
|
126
126
|
"data-testid": "block-preview-stage",
|
|
127
127
|
class: "tpl-canvas-pane tpl:pointer-events-none tpl:mx-auto tpl:flex tpl:select-none tpl:justify-center tpl:rounded-lg",
|
|
128
128
|
style: o({
|
|
129
|
-
width: `${
|
|
130
|
-
minWidth: `${
|
|
129
|
+
width: `${le.value}px`,
|
|
130
|
+
minWidth: `${Q.value}px`,
|
|
131
131
|
maxWidth: "100%",
|
|
132
|
-
backgroundColor:
|
|
132
|
+
backgroundColor: ce.value,
|
|
133
133
|
boxShadow: "var(--tpl-shadow-sm)"
|
|
134
134
|
})
|
|
135
135
|
}, [u("div", {
|
|
136
136
|
"data-testid": "block-preview-canvas",
|
|
137
|
-
lang:
|
|
138
|
-
dir:
|
|
137
|
+
lang: oe.value,
|
|
138
|
+
dir: se.value,
|
|
139
139
|
style: o({
|
|
140
|
-
width: `${
|
|
141
|
-
[c(
|
|
142
|
-
transition: c(
|
|
143
|
-
...
|
|
140
|
+
width: `${Q.value}px`,
|
|
141
|
+
[c(_)]: `${Q.value}px`,
|
|
142
|
+
transition: c(z),
|
|
143
|
+
...ae.value
|
|
144
144
|
})
|
|
145
|
-
}, [(r(!0), l(d, null, a(
|
|
145
|
+
}, [(r(!0), l(d, null, a(ie.value, (t) => (r(), l("div", {
|
|
146
146
|
key: t.id,
|
|
147
|
-
style: o(
|
|
148
|
-
}, [(r(), f(n(
|
|
147
|
+
style: o(de(t))
|
|
148
|
+
}, [(r(), f(n(ue(t)), {
|
|
149
149
|
block: t,
|
|
150
150
|
viewport: e.viewport
|
|
151
151
|
}, null, 8, ["block", "viewport"]))], 4))), 128))], 12, q)], 4));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ft as e, M as t, ct as n, d as r, f as i, r as a, y as o } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as s } from "./useCloudI18n-
|
|
1
|
+
import { Ft as e, M as t, ct as n, d as r, f as i, r as a, y as o } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { t as s } from "./useCloudI18n-HhCZYRV6.js";
|
|
3
3
|
// src/cloud/components/CloudHeaderExtras.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var c = {
|
|
5
5
|
key: 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Ft as e, M as t, Mt as n, P as r, U as i, _ as a, ct as o, d as s, f as c, h as l, l as u, r as d, u as f, y as p } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as m } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import { t as h } from "./circle-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as b } from "./
|
|
7
|
-
import { t as x } from "./TplModal-
|
|
1
|
+
import { Ft as e, M as t, Mt as n, P as r, U as i, _ as a, ct as o, d as s, f as c, h as l, l as u, r as d, u as f, y as p } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { t as m } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
+
import { t as h } from "./circle-exclamation-point-DHjORV_I.js";
|
|
4
|
+
import { C as g, b as _, f as v } from "./styleConstants-CgiNKdnc.js";
|
|
5
|
+
import { t as y } from "./useCloudI18n-HhCZYRV6.js";
|
|
6
|
+
import { t as b } from "./triangle-exclamation-point-BhJvBEoT.js";
|
|
7
|
+
import { t as x } from "./TplModal-DnFFEulp.js";
|
|
8
8
|
// src/cloud/components/CloudErrorOverlay.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var S = {
|
|
10
10
|
key: 0,
|
|
@@ -18,7 +18,7 @@ var S = {
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["retry"],
|
|
20
20
|
setup(r, { emit: i }) {
|
|
21
|
-
let l = i, { t: d } =
|
|
21
|
+
let l = i, { t: d } = y();
|
|
22
22
|
function f(e) {
|
|
23
23
|
return "isUnauthorized" in e && e.isUnauthorized ? d.error.authFailed : "isNotFound" in e && e.isNotFound ? d.error.templateNotFound : d.error.defaultMessage;
|
|
24
24
|
}
|
|
@@ -35,7 +35,7 @@ var S = {
|
|
|
35
35
|
p(r.error) ? s("", !0) : (t(), c("button", {
|
|
36
36
|
key: 0,
|
|
37
37
|
type: "button",
|
|
38
|
-
class: n(o(
|
|
38
|
+
class: n(o(_)),
|
|
39
39
|
onClick: m[0] ||= (e) => l("retry")
|
|
40
40
|
}, e(o(d).error.retry), 3))
|
|
41
41
|
])) : s("", !0);
|
|
@@ -44,7 +44,7 @@ var S = {
|
|
|
44
44
|
__name: "CloudLoadingOverlay",
|
|
45
45
|
props: { visible: { type: Boolean } },
|
|
46
46
|
setup(e) {
|
|
47
|
-
let { t: n } =
|
|
47
|
+
let { t: n } = y();
|
|
48
48
|
return (i, a) => e.visible ? (t(), c("div", {
|
|
49
49
|
key: 0,
|
|
50
50
|
role: "status",
|
|
@@ -78,13 +78,13 @@ var S = {
|
|
|
78
78
|
},
|
|
79
79
|
emits: ["cancel", "confirm"],
|
|
80
80
|
setup(s, { emit: l }) {
|
|
81
|
-
let p = l, { t: m } =
|
|
81
|
+
let p = l, { t: m } = y();
|
|
82
82
|
return (l, h) => (t(), f(x, {
|
|
83
83
|
visible: s.open,
|
|
84
84
|
onClose: h[2] ||= (e) => p("cancel")
|
|
85
85
|
}, {
|
|
86
86
|
default: i(() => [u("div", M, [
|
|
87
|
-
u("header", N, [a(o(
|
|
87
|
+
u("header", N, [a(o(b), {
|
|
88
88
|
size: 18,
|
|
89
89
|
"stroke-width": 2,
|
|
90
90
|
class: "tpl:text-[var(--tpl-warning)]"
|
|
@@ -97,12 +97,12 @@ var S = {
|
|
|
97
97
|
u("footer", z, [u("button", {
|
|
98
98
|
type: "button",
|
|
99
99
|
"data-testid": "cloud-save-gate-cancel",
|
|
100
|
-
class: n(o(
|
|
100
|
+
class: n(o(g)),
|
|
101
101
|
onClick: h[0] ||= (e) => p("cancel")
|
|
102
102
|
}, e(o(m).saveGate.cancel), 3), u("button", {
|
|
103
103
|
type: "button",
|
|
104
104
|
"data-testid": "cloud-save-gate-confirm",
|
|
105
|
-
class: n(o(
|
|
105
|
+
class: n(o(v)),
|
|
106
106
|
onClick: h[1] ||= (e) => p("confirm")
|
|
107
107
|
}, e(o(m).saveGate.confirm), 3)])
|
|
108
108
|
])]),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Ft as e, M as t, Pt as n, _ as r, c as i, ct as a, d as o, f as s, l as c, r as l, y as u } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as d } from "./x-
|
|
3
|
-
import { t as f } from "./
|
|
4
|
-
import { t as p } from "./
|
|
1
|
+
import { Ft as e, M as t, Pt as n, _ as r, c as i, ct as a, d as o, f as s, l as c, r as l, y as u } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { t as d } from "./x-DbLX5Qdm.js";
|
|
3
|
+
import { t as f } from "./noticeTones-D7BPu-Le.js";
|
|
4
|
+
import { t as p } from "./useI18n-CM9vKbYc.js";
|
|
5
5
|
// src/components/collaboration/CollaborationNotices.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var m = ["data-kind", "data-tone"], h = ["aria-label", "title"], g = /* @__PURE__ */ u({
|
|
7
7
|
__name: "CollaborationNotices",
|
|
8
8
|
props: { feature: {} },
|
|
9
9
|
setup(u) {
|
|
10
|
-
let g = u, { t: _, format: v } =
|
|
10
|
+
let g = u, { t: _, format: v } = p(), y = i(() => g.feature.notices.value.at(-1) ?? null), b = i(() => g.feature.connection.value === "reconnecting" || g.feature.connection.value === "offline"), x = i(() => y.value?.kind === "agentEdited" || y.value?.kind === "aiEdited" ? "info" : "warning");
|
|
11
11
|
function S(e) {
|
|
12
12
|
return e.isGuest || !e.name ? _.collaboration.guest : e.name;
|
|
13
13
|
}
|
|
@@ -31,7 +31,7 @@ var m = ["data-kind", "data-tone"], h = ["aria-label", "title"], g = /* @__PURE_
|
|
|
31
31
|
case "aiEdited": return C(e);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
return (i,
|
|
34
|
+
return (i, p) => (t(), s(l, null, [b.value ? (t(), s("div", {
|
|
35
35
|
key: 0,
|
|
36
36
|
"data-testid": "collaboration-notice",
|
|
37
37
|
"data-kind": "reconnecting",
|
|
@@ -39,7 +39,7 @@ var m = ["data-kind", "data-tone"], h = ["aria-label", "title"], g = /* @__PURE_
|
|
|
39
39
|
role: "status",
|
|
40
40
|
"aria-live": "polite",
|
|
41
41
|
class: "tpl:pointer-events-auto tpl:rounded-[var(--tpl-radius)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
42
|
-
style: n(a(
|
|
42
|
+
style: n(a(f).warning)
|
|
43
43
|
}, e(a(_).collaboration.reconnectingNotice), 5)) : o("", !0), y.value ? (t(), s("div", {
|
|
44
44
|
key: y.value.id,
|
|
45
45
|
"data-testid": "collaboration-notice",
|
|
@@ -48,13 +48,13 @@ var m = ["data-kind", "data-tone"], h = ["aria-label", "title"], g = /* @__PURE_
|
|
|
48
48
|
role: "status",
|
|
49
49
|
"aria-live": "polite",
|
|
50
50
|
class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
51
|
-
style: n(a(
|
|
51
|
+
style: n(a(f)[x.value])
|
|
52
52
|
}, [c("span", null, e(w(y.value)), 1), c("button", {
|
|
53
53
|
type: "button",
|
|
54
54
|
class: "tpl:flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded tpl:text-[var(--tpl-text-muted)] tpl:hover:text-[var(--tpl-text)]",
|
|
55
55
|
"aria-label": a(_).collaboration.dismiss,
|
|
56
56
|
title: a(_).collaboration.dismiss,
|
|
57
|
-
onClick:
|
|
57
|
+
onClick: p[0] ||= (e) => u.feature.dismissNotice(y.value.id)
|
|
58
58
|
}, [r(a(d), {
|
|
59
59
|
size: 14,
|
|
60
60
|
"stroke-width": 2,
|
|
@@ -1,6 +1,6 @@
|
|
|
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, y as d } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as f } from "./createLucideIcon-
|
|
3
|
-
import { t as p } from "./useI18n-
|
|
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, y as d } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { t as f } from "./createLucideIcon-D-mELTSY.js";
|
|
3
|
+
import { t as p } from "./useI18n-CM9vKbYc.js";
|
|
4
4
|
import { t as m } from "./readableTextColor-BfZUGnVj.js";
|
|
5
5
|
var h = f({
|
|
6
6
|
name: "wifi-off",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { M as e, U as t, ct as n, d as r, u as i, v as a, y as o } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { t as s } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
+
// src/components/CommentsPanel.vue
|
|
4
|
+
var c = /* @__PURE__ */ o({
|
|
5
|
+
__name: "CommentsPanel",
|
|
6
|
+
props: { feature: {} },
|
|
7
|
+
setup(o) {
|
|
8
|
+
let c = a(() => import("./CommentsSidebar-B3M90RY_.js"));
|
|
9
|
+
return (a, l) => (e(), i(s, {
|
|
10
|
+
"enter-active-class": "tpl-panel-enter-active",
|
|
11
|
+
"leave-active-class": "tpl-panel-leave-active"
|
|
12
|
+
}, {
|
|
13
|
+
default: t(() => [o.feature.isOpen.value ? (e(), i(n(c), {
|
|
14
|
+
key: 0,
|
|
15
|
+
visible: o.feature.isOpen.value,
|
|
16
|
+
feature: o.feature,
|
|
17
|
+
onClose: l[0] ||= (e) => o.feature.close()
|
|
18
|
+
}, null, 8, ["visible", "feature"])) : r("", !0)]),
|
|
19
|
+
_: 1
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export { c as default };
|