@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,17 +1,17 @@
|
|
|
1
|
-
import { B as e, Ft as t, M as n, Mt as r, O as i, P as a, Pt as o, S as s, U as c, Y as l, Z as u, _ as d, a as f, c as p, ct as m, d as h, et as g, f as _, g as v, l as y, q as b, r as x, u as S, w as C, y as w } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { c as T, n as E, s as ee, t as D } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import { t as R } from "./useI18n-
|
|
1
|
+
import { B as e, Ft as t, M as n, Mt as r, O as i, P as a, Pt as o, S as s, U as c, Y as l, Z as u, _ as d, a as f, c as p, ct as m, d as h, et as g, f as _, g as v, l as y, q as b, r as x, u as S, w as C, y as w } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { c as T, n as E, s as ee, t as D } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
+
import { Xt as O, Zt as k, dt as A, ht as j, k as M, mt as N, xt as P } from "./dist-CAvsz9cW.js";
|
|
4
|
+
import { t as F } from "./createLucideIcon-D-mELTSY.js";
|
|
5
|
+
import { t as I } from "./pencil-C2TRSR-Y.js";
|
|
6
|
+
import { t as L } from "./x-DbLX5Qdm.js";
|
|
7
|
+
import { nt as te, ot as ne, p as re, rt as ie } from "./keys-D9oKZN1h.js";
|
|
8
|
+
import { t as R } from "./useI18n-CM9vKbYc.js";
|
|
9
9
|
import { d as ae } from "./styleConstants-CgiNKdnc.js";
|
|
10
|
-
import { t as oe } from "./dist-
|
|
11
|
-
import { t as z } from "./useMergeTag-
|
|
12
|
-
import { a as se, c as ce, n as le, o as ue, r as de, s as fe, t as pe } from "./usePopoverPosition-
|
|
13
|
-
import { t as me } from "./useLogicTag-
|
|
14
|
-
var B =
|
|
10
|
+
import { t as oe } from "./dist-B6ptxfPo.js";
|
|
11
|
+
import { t as z } from "./useMergeTag-D2YDZ8vR.js";
|
|
12
|
+
import { a as se, c as ce, n as le, o as ue, r as de, s as fe, t as pe } from "./usePopoverPosition-CVRzzLkC.js";
|
|
13
|
+
import { t as me } from "./useLogicTag-cTC2KbWd.js";
|
|
14
|
+
var B = F({
|
|
15
15
|
name: "braces",
|
|
16
16
|
size: 24,
|
|
17
17
|
node: [["path", {
|
|
@@ -22,7 +22,7 @@ var B = P({
|
|
|
22
22
|
key: "e1hn23"
|
|
23
23
|
}]],
|
|
24
24
|
aliases: ["curly-braces"]
|
|
25
|
-
}), V =
|
|
25
|
+
}), V = F({
|
|
26
26
|
name: "scan-line",
|
|
27
27
|
size: 24,
|
|
28
28
|
node: [
|
|
@@ -349,11 +349,11 @@ var Ve = [
|
|
|
349
349
|
e(b, (e) => {
|
|
350
350
|
e && (O.value = !1);
|
|
351
351
|
}, { flush: "sync" });
|
|
352
|
-
let
|
|
353
|
-
oe(
|
|
352
|
+
let k = g(), A = g(), j = g(!1);
|
|
353
|
+
oe(k, () => {
|
|
354
354
|
O.value = !1;
|
|
355
|
-
}, { ignore: [
|
|
356
|
-
let
|
|
355
|
+
}, { ignore: [A] });
|
|
356
|
+
let M = p(() => !l.modelValue), N = p(() => l.modelValue.trim().toLowerCase() === "transparent"), P = p(() => ue(l.modelValue)), F = p(() => (l.modelValue ? fe(l.modelValue) : null) || (fe(l.seedColor) ?? "#ffffff")), I = p(() => !b.value && !M.value), ie = C(re, de), z = p(() => [...new Set(l.presets ?? ie.presets)]), me = p(() => l.allowCustom ?? ie.allowCustom), B = p(() => z.value.length > 0), V = p(() => me.value || !B.value), H = p(() => se(l.modelValue));
|
|
357
357
|
function U(e) {
|
|
358
358
|
return H.value !== "" && se(e) === H.value;
|
|
359
359
|
}
|
|
@@ -365,7 +365,7 @@ var Ve = [
|
|
|
365
365
|
return W.value ? e + 1 : e;
|
|
366
366
|
}
|
|
367
367
|
let _e = p(() => {
|
|
368
|
-
if (W.value &&
|
|
368
|
+
if (W.value && M.value) return 0;
|
|
369
369
|
let e = z.value.findIndex((e) => U(e));
|
|
370
370
|
return e === -1 ? 0 : ge(e);
|
|
371
371
|
});
|
|
@@ -386,13 +386,13 @@ var Ve = [
|
|
|
386
386
|
i !== -1 && (n[(i + (e.key === "ArrowRight" || e.key === "ArrowDown" ? 1 : -1) + n.length) % n.length]?.focus(), e.preventDefault());
|
|
387
387
|
}
|
|
388
388
|
function ye(e) {
|
|
389
|
-
b.value || (
|
|
389
|
+
b.value || (j.value = !0, w("update:modelValue", e.detail.value));
|
|
390
390
|
}
|
|
391
391
|
function be() {
|
|
392
|
-
b.value || (
|
|
392
|
+
b.value || (j.value = !1);
|
|
393
393
|
}
|
|
394
394
|
function q() {
|
|
395
|
-
b.value || !
|
|
395
|
+
b.value || !j.value && M.value && w("update:modelValue", F.value);
|
|
396
396
|
}
|
|
397
397
|
function xe(e) {
|
|
398
398
|
b.value || w("update:modelValue", e.target.value);
|
|
@@ -403,14 +403,14 @@ var Ve = [
|
|
|
403
403
|
function Se() {
|
|
404
404
|
b.value || w("update:modelValue", "transparent");
|
|
405
405
|
}
|
|
406
|
-
let Y = le(), { toLocal: X } = pe(), Z = C(
|
|
406
|
+
let Y = le(), { toLocal: X } = pe(), Z = C(te, null), Ce = C(ne, null), Q = g({
|
|
407
407
|
top: 0,
|
|
408
408
|
left: 0
|
|
409
409
|
});
|
|
410
410
|
function we() {
|
|
411
411
|
if (!b.value) {
|
|
412
412
|
if (!O.value) {
|
|
413
|
-
let e =
|
|
413
|
+
let e = A.value?.getBoundingClientRect();
|
|
414
414
|
if (e) {
|
|
415
415
|
let t = e.bottom + 8 + 240 <= window.innerHeight ? e.bottom + 8 : Math.max(8, e.top - 240 - 8);
|
|
416
416
|
Q.value = X({
|
|
@@ -425,7 +425,7 @@ var Ve = [
|
|
|
425
425
|
return (e, s) => (n(), _("div", { class: r(["tpl:flex tpl:items-center tpl:gap-2 tpl:relative", b.value && "tpl:opacity-60 tpl:cursor-not-allowed"]) }, [
|
|
426
426
|
y("button", {
|
|
427
427
|
ref_key: "swatchRef",
|
|
428
|
-
ref:
|
|
428
|
+
ref: A,
|
|
429
429
|
type: "button",
|
|
430
430
|
disabled: b.value,
|
|
431
431
|
"aria-label": i.ariaLabel || m(E).colorPicker.pickColor,
|
|
@@ -440,28 +440,28 @@ var Ve = [
|
|
|
440
440
|
onClick: we
|
|
441
441
|
}, [y("span", {
|
|
442
442
|
class: r(["tpl:block tpl:size-full tpl:rounded-[calc(var(--tpl-radius-sm)-2px)]", {
|
|
443
|
-
"tpl-color-swatch-empty":
|
|
444
|
-
"tpl-color-swatch-transparent":
|
|
443
|
+
"tpl-color-swatch-empty": M.value,
|
|
444
|
+
"tpl-color-swatch-transparent": N.value
|
|
445
445
|
}]),
|
|
446
|
-
style: o(
|
|
446
|
+
style: o(M.value || N.value ? void 0 : { backgroundColor: P.value })
|
|
447
447
|
}, null, 6)], 10, Ve),
|
|
448
448
|
!i.swatchOnly && V.value ? (n(), _("div", He, [y("input", {
|
|
449
449
|
type: "text",
|
|
450
450
|
class: r([m(ae), "tpl:w-full"]),
|
|
451
|
-
style: o(
|
|
452
|
-
value:
|
|
451
|
+
style: o(I.value ? { paddingRight: "2.25rem" } : void 0),
|
|
452
|
+
value: P.value,
|
|
453
453
|
placeholder: i.placeholder || m(E).colorPicker.notSet,
|
|
454
454
|
disabled: b.value,
|
|
455
455
|
"aria-label": m(E).colorPicker.hexValue,
|
|
456
456
|
onInput: xe
|
|
457
|
-
}, null, 46, Ue),
|
|
457
|
+
}, null, 46, Ue), I.value ? (n(), _("button", {
|
|
458
458
|
key: 0,
|
|
459
459
|
type: "button",
|
|
460
460
|
"aria-label": m(E).colorPicker.clear,
|
|
461
461
|
title: m(E).colorPicker.clear,
|
|
462
462
|
class: "tpl:absolute tpl:right-2 tpl:top-1/2 tpl:flex tpl:size-6 tpl:-translate-y-1/2 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
463
463
|
onClick: J
|
|
464
|
-
}, [d(m(
|
|
464
|
+
}, [d(m(L), {
|
|
465
465
|
size: 14,
|
|
466
466
|
"stroke-width": 1.5
|
|
467
467
|
})], 8, We)) : h("", !0)])) : h("", !0),
|
|
@@ -479,7 +479,7 @@ var Ve = [
|
|
|
479
479
|
default: c(() => [O.value ? (n(), _("div", {
|
|
480
480
|
key: 0,
|
|
481
481
|
ref_key: "popoverRef",
|
|
482
|
-
ref:
|
|
482
|
+
ref: k,
|
|
483
483
|
"data-tpl-theme": m(Ce),
|
|
484
484
|
class: "tpl-color-popover tpl:absolute tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
485
485
|
style: o({
|
|
@@ -492,10 +492,10 @@ var Ve = [
|
|
|
492
492
|
key: 0,
|
|
493
493
|
type: "button",
|
|
494
494
|
"data-testid": "color-picker-transparent",
|
|
495
|
-
"aria-pressed":
|
|
495
|
+
"aria-pressed": N.value,
|
|
496
496
|
"aria-label": m(E).colorPicker.transparent,
|
|
497
497
|
title: m(E).colorPicker.transparent,
|
|
498
|
-
class: r(["tpl:mb-2 tpl:flex tpl:w-full tpl:items-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:py-1 tpl:text-left tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)]",
|
|
498
|
+
class: r(["tpl:mb-2 tpl:flex tpl:w-full tpl:items-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:py-1 tpl:text-left tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)]", N.value ? "tpl:ring-2 tpl:ring-[var(--tpl-primary)] tpl:ring-offset-1 tpl:ring-offset-[var(--tpl-bg-elevated)]" : "tpl:hover:border-[var(--tpl-text-dim)]"]),
|
|
499
499
|
onClick: Se
|
|
500
500
|
}, [s[2] ||= y("span", { class: "tpl-color-swatch-transparent tpl:size-4 tpl:shrink-0 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)]" }, null, -1), v(" " + t(m(E).colorPicker.transparent), 1)], 10, Ke)) : h("", !0),
|
|
501
501
|
B.value ? (n(), _("div", {
|
|
@@ -510,9 +510,9 @@ var Ve = [
|
|
|
510
510
|
role: "radio",
|
|
511
511
|
"aria-label": m(E).colorPicker.clear,
|
|
512
512
|
title: m(E).colorPicker.clear,
|
|
513
|
-
"aria-checked":
|
|
513
|
+
"aria-checked": M.value,
|
|
514
514
|
tabindex: G(),
|
|
515
|
-
class: r(["tpl-color-swatch-empty tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]",
|
|
515
|
+
class: r(["tpl-color-swatch-empty tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]", M.value ? "tpl:ring-2 tpl:ring-[var(--tpl-primary)] tpl:ring-offset-1 tpl:ring-offset-[var(--tpl-bg-elevated)]" : "tpl:hover:border-[var(--tpl-text-dim)]"]),
|
|
516
516
|
onClick: J
|
|
517
517
|
}, null, 10, Je)) : h("", !0), (n(!0), _(x, null, a(z.value, (e, t) => (n(), _("button", {
|
|
518
518
|
key: e,
|
|
@@ -528,7 +528,7 @@ var Ve = [
|
|
|
528
528
|
}, null, 14, Ye))), 128))], 42, qe)) : h("", !0),
|
|
529
529
|
V.value ? (n(), _("hex-color-picker", {
|
|
530
530
|
key: 2,
|
|
531
|
-
color:
|
|
531
|
+
color: F.value,
|
|
532
532
|
"aria-label": m(E).colorPicker.pickColor,
|
|
533
533
|
onColorChanged: ye,
|
|
534
534
|
onPointerdown: be,
|
|
@@ -538,21 +538,21 @@ var Ve = [
|
|
|
538
538
|
i.swatchOnly && V.value ? (n(), _("div", Ze, [y("input", {
|
|
539
539
|
type: "text",
|
|
540
540
|
class: r([m(ae), "tpl:w-full"]),
|
|
541
|
-
style: o(
|
|
542
|
-
value:
|
|
541
|
+
style: o(I.value ? { paddingRight: "2.25rem" } : void 0),
|
|
542
|
+
value: P.value,
|
|
543
543
|
placeholder: i.placeholder || m(E).colorPicker.notSet,
|
|
544
544
|
disabled: b.value,
|
|
545
545
|
"aria-label": m(E).colorPicker.hexValue,
|
|
546
546
|
onChange: xe,
|
|
547
547
|
onKeydown: s[1] ||= ee(T((e) => e.target.blur(), ["prevent"]), ["enter"])
|
|
548
|
-
}, null, 46, Qe),
|
|
548
|
+
}, null, 46, Qe), I.value ? (n(), _("button", {
|
|
549
549
|
key: 0,
|
|
550
550
|
type: "button",
|
|
551
551
|
"aria-label": m(E).colorPicker.clear,
|
|
552
552
|
title: m(E).colorPicker.clear,
|
|
553
553
|
class: "tpl:absolute tpl:right-2 tpl:top-1/2 tpl:flex tpl:size-6 tpl:-translate-y-1/2 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
554
554
|
onClick: J
|
|
555
|
-
}, [d(m(
|
|
555
|
+
}, [d(m(L), {
|
|
556
556
|
size: 14,
|
|
557
557
|
"stroke-width": 1.5
|
|
558
558
|
})], 8, $e)) : h("", !0)])) : h("", !0)
|
|
@@ -719,7 +719,7 @@ function ft(e, t, n, r, i) {
|
|
|
719
719
|
}
|
|
720
720
|
function pt(e, t) {
|
|
721
721
|
let n = t instanceof RegExp ? void 0 : t;
|
|
722
|
-
if (n &&
|
|
722
|
+
if (n && M(n)) {
|
|
723
723
|
let t = k(e, n, "value"), r = t[t.length - 1];
|
|
724
724
|
return r ? r.index + r.value.length : 0;
|
|
725
725
|
}
|
|
@@ -771,7 +771,7 @@ var _t = /* @__PURE__ */ new Set([
|
|
|
771
771
|
"End"
|
|
772
772
|
]);
|
|
773
773
|
function vt(t) {
|
|
774
|
-
let { elementRef: n, modelValue: r, emit: a, mergeTags: o, syntax: s, enabled: c, onInsert: d } = t, f = ce(), m =
|
|
774
|
+
let { elementRef: n, modelValue: r, emit: a, mergeTags: o, syntax: s, enabled: c, onInsert: d } = t, f = ce(), m = j(s), h = N(s), g = p(() => f.value && c && m !== null && o.value.length > 0), _ = C(ie, null), v = dt((l(_) ? _.value : _)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", le());
|
|
775
775
|
e(f, (e) => {
|
|
776
776
|
e || v.close();
|
|
777
777
|
}, { flush: "sync" });
|
|
@@ -847,7 +847,7 @@ function yt(e) {
|
|
|
847
847
|
let e = t();
|
|
848
848
|
if (!e) return [];
|
|
849
849
|
let n = [], r = 0;
|
|
850
|
-
for (let t of
|
|
850
|
+
for (let t of O(e, m)) {
|
|
851
851
|
t.index > r && n.push({
|
|
852
852
|
type: "text",
|
|
853
853
|
value: e.slice(r, t.index)
|
|
@@ -857,10 +857,10 @@ function yt(e) {
|
|
|
857
857
|
type: "mergeTag",
|
|
858
858
|
value: i,
|
|
859
859
|
label: l(i)
|
|
860
|
-
}) :
|
|
860
|
+
}) : P(i, m) ? n.push({
|
|
861
861
|
type: "logicMergeTag",
|
|
862
862
|
value: i,
|
|
863
|
-
keyword:
|
|
863
|
+
keyword: A(i, m)
|
|
864
864
|
}) : n.push({
|
|
865
865
|
type: "text",
|
|
866
866
|
value: i
|
|
@@ -881,22 +881,22 @@ function yt(e) {
|
|
|
881
881
|
function D() {
|
|
882
882
|
S || (x.value = !1);
|
|
883
883
|
}
|
|
884
|
-
function
|
|
884
|
+
function k(e) {
|
|
885
885
|
n(e.target.value), w.refresh();
|
|
886
886
|
}
|
|
887
|
-
function
|
|
887
|
+
function j(e) {
|
|
888
888
|
return w.handleKeydown(e) ? (e.preventDefault(), !0) : (e.key === "Escape" && D(), !1);
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function M() {
|
|
891
891
|
w.refresh();
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function N() {
|
|
894
894
|
w.close(), D();
|
|
895
895
|
}
|
|
896
|
-
function
|
|
896
|
+
function F() {
|
|
897
897
|
n("");
|
|
898
898
|
}
|
|
899
|
-
async function
|
|
899
|
+
async function I() {
|
|
900
900
|
let e = x.value && r.value ? r.value.selectionStart ?? t().length : t().length;
|
|
901
901
|
S = !0;
|
|
902
902
|
let a;
|
|
@@ -914,7 +914,7 @@ function yt(e) {
|
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
916
|
}
|
|
917
|
-
async function
|
|
917
|
+
async function L(e) {
|
|
918
918
|
let t = T.value, r = t[e];
|
|
919
919
|
if (r?.type !== "mergeTag") return;
|
|
920
920
|
S = !0;
|
|
@@ -929,7 +929,7 @@ function yt(e) {
|
|
|
929
929
|
}
|
|
930
930
|
!C && i && n(t.map((t, n) => n === e ? i.value : t.value).join(""));
|
|
931
931
|
}
|
|
932
|
-
async function
|
|
932
|
+
async function te() {
|
|
933
933
|
let e = r.value, a = e?.selectionStart ?? t().length, o = e?.selectionEnd ?? a;
|
|
934
934
|
S = !0;
|
|
935
935
|
let s;
|
|
@@ -954,14 +954,14 @@ function yt(e) {
|
|
|
954
954
|
isEditing: x,
|
|
955
955
|
startEditing: ee,
|
|
956
956
|
stopEditing: D,
|
|
957
|
-
handleInput:
|
|
958
|
-
handleKeydown:
|
|
959
|
-
handleClick:
|
|
960
|
-
handleBlur:
|
|
961
|
-
clearValue:
|
|
962
|
-
insertMergeTag:
|
|
963
|
-
replaceMergeTagAt:
|
|
964
|
-
insertLogicTag:
|
|
957
|
+
handleInput: k,
|
|
958
|
+
handleKeydown: j,
|
|
959
|
+
handleClick: M,
|
|
960
|
+
handleBlur: N,
|
|
961
|
+
clearValue: F,
|
|
962
|
+
insertMergeTag: I,
|
|
963
|
+
replaceMergeTagAt: L,
|
|
964
|
+
insertLogicTag: te,
|
|
965
965
|
autocompleteAvailable: w.available
|
|
966
966
|
};
|
|
967
967
|
}
|
|
@@ -1033,7 +1033,7 @@ var bt = ["aria-label"], xt = [
|
|
|
1033
1033
|
title: m(s).mergeTag.editAsText,
|
|
1034
1034
|
"data-testid": "merge-tag-field-edit",
|
|
1035
1035
|
onClick: T(f, ["stop"])
|
|
1036
|
-
}, [d(m(
|
|
1036
|
+
}, [d(m(I), {
|
|
1037
1037
|
size: 12,
|
|
1038
1038
|
"stroke-width": 2
|
|
1039
1039
|
})], 8, Tt),
|
|
@@ -1044,7 +1044,7 @@ var bt = ["aria-label"], xt = [
|
|
|
1044
1044
|
title: m(s).mergeTag.remove,
|
|
1045
1045
|
"data-testid": "merge-tag-field-clear",
|
|
1046
1046
|
onClick: p[0] ||= T((e) => o("clear"), ["stop"])
|
|
1047
|
-
}, [d(m(
|
|
1047
|
+
}, [d(m(L), {
|
|
1048
1048
|
size: 12,
|
|
1049
1049
|
"stroke-width": 2.5
|
|
1050
1050
|
})], 8, Et)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as e, D as t, F as n, Ft as r, I as i, L as a, M as o, Mt as s, P as c, Pt as l, U as u, W as d, _ as f, a as p, c as m, ct as h, d as g, et as _, f as v, g as ee, l as y, r as te, u as b, w as ne, y as x } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as re, c as ie, o as ae, t as oe } from "./runtime-dom.esm-bundler-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { B as e, D as t, F as n, Ft as r, I as i, L as a, M as o, Mt as s, P as c, Pt as l, U as u, W as d, _ as f, a as p, c as m, ct as h, d as g, et as _, f as v, g as ee, l as y, r as te, u as b, w as ne, y as x } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { a as re, c as ie, o as ae, t as oe } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
|
|
3
|
+
import { a as se, n as ce, o as le, r as ue, t as de } from "./editor-modal-CgsaLpwB.js";
|
|
4
|
+
import { t as fe } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
5
5
|
// ../media-library/src/composables/useImageCrop.ts
|
|
6
6
|
var pe = {
|
|
7
7
|
free: void 0,
|
|
@@ -63,7 +63,7 @@ function _e(e, t, n, r) {
|
|
|
63
63
|
height: a
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
// ../../node_modules/.pnpm/vue-advanced-cropper@2.8.9_vue@3.5.
|
|
66
|
+
// ../../node_modules/.pnpm/vue-advanced-cropper@2.8.9_vue@3.5.45_typescript@6.0.3_/node_modules/vue-advanced-cropper/dist/index.esm-bundler.js
|
|
67
67
|
function ve(e, t) {
|
|
68
68
|
var n = Object.keys(e);
|
|
69
69
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -3355,7 +3355,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
|
|
|
3355
3355
|
role: "alert",
|
|
3356
3356
|
class: "tpl:shrink-0 tpl:px-5 tpl:pt-3 tpl:text-xs",
|
|
3357
3357
|
style: { color: "var(--tpl-danger)" }
|
|
3358
|
-
}, bn = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2 tpl:p-5 tpl:pt-4" }, xn = ["disabled"], Sn = ["disabled"], Cn = /*#__PURE__*/
|
|
3358
|
+
}, bn = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2 tpl:p-5 tpl:pt-4" }, xn = ["disabled"], Sn = ["disabled"], Cn = /*#__PURE__*/ fe(/* @__PURE__ */ x({
|
|
3359
3359
|
__name: "MediaEditModal",
|
|
3360
3360
|
props: {
|
|
3361
3361
|
visible: { type: Boolean },
|
|
@@ -3365,7 +3365,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
|
|
|
3365
3365
|
},
|
|
3366
3366
|
emits: ["close"],
|
|
3367
3367
|
setup(t, { emit: n }) {
|
|
3368
|
-
let i = t, a = n, { t: x } =
|
|
3368
|
+
let i = t, a = n, { t: x } = ue(), ae = ne(le, null), fe = ne(se, _(null)), ve = x.mediaLibrary, { isImageMimeType: S } = ce(), C = _(""), ye = _(""), w = _(null), T = _("free"), E = _(void 0), D = _(void 0), O = _(""), k = _(""), A = _(void 0), j = _(null), be = _(!1), M = _(!1), N = _(!1), P = _(null), F = null, I = [
|
|
3369
3369
|
"image/jpeg",
|
|
3370
3370
|
"image/png",
|
|
3371
3371
|
"image/webp"
|
|
@@ -3433,7 +3433,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
|
|
|
3433
3433
|
M.value || a("close");
|
|
3434
3434
|
}
|
|
3435
3435
|
let Me = _(null), Ne = m(() => i.visible && i.item !== null);
|
|
3436
|
-
|
|
3436
|
+
de(Me, Ne);
|
|
3437
3437
|
function B(e) {
|
|
3438
3438
|
if (e.stopPropagation(), e.key === "Enter" && !M.value) {
|
|
3439
3439
|
if (e.target?.closest("textarea, [contenteditable]")) return;
|
|
@@ -3441,7 +3441,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
|
|
|
3441
3441
|
}
|
|
3442
3442
|
e.key === "Escape" && je();
|
|
3443
3443
|
}
|
|
3444
|
-
return (e, n) => (o(), b(p, { to: h(
|
|
3444
|
+
return (e, n) => (o(), b(p, { to: h(fe) || "body" }, [f(oe, {
|
|
3445
3445
|
"enter-active-class": "tpl:transition tpl:ease-out tpl:duration-150",
|
|
3446
3446
|
"enter-from-class": "tpl:opacity-0",
|
|
3447
3447
|
"enter-to-class": "tpl:opacity-100",
|
|
@@ -3452,7 +3452,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
|
|
|
3452
3452
|
default: u(() => [t.visible && t.item ? (o(), v("div", {
|
|
3453
3453
|
key: 0,
|
|
3454
3454
|
"data-tpl-theme": h(ae),
|
|
3455
|
-
class: s([h(
|
|
3455
|
+
class: s([h(fe) ? void 0 : "tpl", "tpl:fixed tpl:inset-0 tpl:z-10 tpl:flex tpl:items-center tpl:justify-center tpl:p-4"]),
|
|
3456
3456
|
style: { "background-color": "var(--tpl-overlay)" },
|
|
3457
3457
|
onClick: ie(je, ["self"]),
|
|
3458
3458
|
onKeydown: B
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as e, ct as t, d as n, u as r, v as i, y as a } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { M as e, ct as t, d as n, u as r, v as i, y as a } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
2
|
// src/components/MediaPanels.vue
|
|
3
3
|
var o = /* @__PURE__ */ a({
|
|
4
4
|
__name: "MediaPanels",
|
|
@@ -10,7 +10,7 @@ var o = /* @__PURE__ */ a({
|
|
|
10
10
|
popoverTarget: {}
|
|
11
11
|
},
|
|
12
12
|
setup(a) {
|
|
13
|
-
let o = a, s = i(async () => (await import("./editor-modal-
|
|
13
|
+
let o = a, s = i(async () => (await import("./editor-modal-CgsaLpwB.js")).MediaLibraryModal);
|
|
14
14
|
function c(e) {
|
|
15
15
|
o.feature.select(e);
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { M as e, Mt as t, _ as n, ct as r, d as i, et as a, f as o, l as s, u as c, y as l } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { h } from "./
|
|
1
|
+
import { M as e, Mt as t, _ as n, ct as r, d as i, et as a, f as o, l as s, u as c, y as l } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { i as u, n as d, r as f, t as p } from "./LogicTagInsertButton-CJ1Jk6jv.js";
|
|
3
|
+
import { h as m } from "./styleConstants-CgiNKdnc.js";
|
|
4
|
+
import { t as h } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
5
5
|
// src/components/MergeTagInput.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var g = { key: 0 }, _ = {
|
|
7
7
|
key: 0,
|
|
@@ -13,7 +13,7 @@ var g = { key: 0 }, _ = {
|
|
|
13
13
|
], b = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
|
|
16
|
-
}, x = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", S = /*#__PURE__*/
|
|
16
|
+
}, x = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-[var(--tpl-shadow-sm)] tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", S = /*#__PURE__*/ h(/* @__PURE__ */ l({
|
|
17
17
|
__name: "MergeTagInput",
|
|
18
18
|
props: {
|
|
19
19
|
modelValue: {},
|
|
@@ -25,8 +25,8 @@ var g = { key: 0 }, _ = {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
emits: ["update:modelValue", "keydown"],
|
|
28
|
-
setup(l, { emit:
|
|
29
|
-
let S = l, C =
|
|
28
|
+
setup(l, { emit: h }) {
|
|
29
|
+
let S = l, C = h, w = a(null), { segments: T, hasMergeTags: E, canRequestMergeTag: D, isRequestingMergeTag: O, canInsertLogicTag: k, isRequestingLogicTag: A, isEditing: j, startEditing: M, handleInput: N, handleKeydown: P, handleClick: F, handleBlur: I, clearValue: L, insertMergeTag: R, insertLogicTag: z, replaceMergeTagAt: B } = u({
|
|
30
30
|
modelValue: () => S.modelValue,
|
|
31
31
|
emit: (e) => C("update:modelValue", e),
|
|
32
32
|
elementRef: w
|
|
@@ -34,7 +34,7 @@ var g = { key: 0 }, _ = {
|
|
|
34
34
|
function V(e) {
|
|
35
35
|
P(e) || C("keydown", e);
|
|
36
36
|
}
|
|
37
|
-
return (a, u) => r(E) && !r(j) ? (e(), o("div", g, [n(
|
|
37
|
+
return (a, u) => r(E) && !r(j) ? (e(), o("div", g, [n(f, {
|
|
38
38
|
segments: r(T),
|
|
39
39
|
"display-class": x,
|
|
40
40
|
pulse: l.pulse,
|
|
@@ -47,11 +47,11 @@ var g = { key: 0 }, _ = {
|
|
|
47
47
|
"onEdit",
|
|
48
48
|
"onClear",
|
|
49
49
|
"onRepick"
|
|
50
|
-
]), r(D) || r(k) ? (e(), o("div", _, [r(D) ? (e(), c(
|
|
50
|
+
]), r(D) || r(k) ? (e(), o("div", _, [r(D) ? (e(), c(d, {
|
|
51
51
|
key: 0,
|
|
52
52
|
disabled: r(O),
|
|
53
53
|
onInsert: r(R)
|
|
54
|
-
}, null, 8, ["disabled", "onInsert"])) : i("", !0), r(k) ? (e(), c(
|
|
54
|
+
}, null, 8, ["disabled", "onInsert"])) : i("", !0), r(k) ? (e(), c(p, {
|
|
55
55
|
key: 1,
|
|
56
56
|
disabled: r(A),
|
|
57
57
|
onInsert: r(z)
|
|
@@ -59,18 +59,18 @@ var g = { key: 0 }, _ = {
|
|
|
59
59
|
ref_key: "inputRef",
|
|
60
60
|
ref: w,
|
|
61
61
|
type: l.type,
|
|
62
|
-
class: t([r(
|
|
62
|
+
class: t([r(m), { "tpl-pulse-fill": l.pulse }]),
|
|
63
63
|
value: l.modelValue,
|
|
64
64
|
placeholder: l.placeholder,
|
|
65
65
|
onInput: u[0] ||= (...e) => r(N) && r(N)(...e),
|
|
66
66
|
onKeydown: V,
|
|
67
67
|
onClick: u[1] ||= (...e) => r(F) && r(F)(...e),
|
|
68
68
|
onBlur: u[2] ||= (...e) => r(I) && r(I)(...e)
|
|
69
|
-
}, null, 42, y), r(D) || r(k) ? (e(), o("div", b, [r(D) ? (e(), c(
|
|
69
|
+
}, null, 42, y), r(D) || r(k) ? (e(), o("div", b, [r(D) ? (e(), c(d, {
|
|
70
70
|
key: 0,
|
|
71
71
|
disabled: r(O),
|
|
72
72
|
onInsert: r(R)
|
|
73
|
-
}, null, 8, ["disabled", "onInsert"])) : i("", !0), r(k) ? (e(), c(
|
|
73
|
+
}, null, 8, ["disabled", "onInsert"])) : i("", !0), r(k) ? (e(), c(p, {
|
|
74
74
|
key: 1,
|
|
75
75
|
disabled: r(A),
|
|
76
76
|
onInsert: r(z)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Ft as e, M as t, P as n, Pt as r, c as i, ct as a, d as o, f as s, l as c, r as l, u, w as d, y as f } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import {
|
|
3
|
-
import { t as m } from "./createLucideIcon-
|
|
4
|
-
import { n as h, t as g } from "./smartphone-
|
|
5
|
-
import { t as _ } from "./sparkles-
|
|
6
|
-
import { P as v, V as y } from "./keys-
|
|
7
|
-
import { t as b } 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, w as d, y as f } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { gt as p } from "./dist-CAvsz9cW.js";
|
|
3
|
+
import { t as m } from "./createLucideIcon-D-mELTSY.js";
|
|
4
|
+
import { n as h, t as g } from "./smartphone-rLz4X-Dd.js";
|
|
5
|
+
import { t as _ } from "./sparkles-JWQlUiSn.js";
|
|
6
|
+
import { P as v, V as y } from "./keys-D9oKZN1h.js";
|
|
7
|
+
import { t as b } from "./useI18n-CM9vKbYc.js";
|
|
8
8
|
var x = m({
|
|
9
9
|
name: "text-cursor-input",
|
|
10
10
|
size: 24,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { F as e, Ft as t, M as n, Mt as r, Nt as i, _ as a, c as o, ct as s, d as c, et as l, f as u, g as d, l as f, u as p, w as m, x as h, y as g } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import {
|
|
3
|
-
import { i as b, n as x, r as S, t as C } from "./LogicTagInsertButton-
|
|
4
|
-
import { t as w } from "./rotate-ccw-
|
|
5
|
-
import { v as T } from "./keys-
|
|
6
|
-
import { t as E } from "./useI18n-
|
|
1
|
+
import { F as e, Ft as t, M as n, Mt as r, Nt as i, _ as a, c as o, ct as s, d as c, et as l, f as u, g as d, l as f, u as p, w as m, x as h, y as g } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
|
|
2
|
+
import { et as _, lt as v, zt as y } from "./dist-CAvsz9cW.js";
|
|
3
|
+
import { i as b, n as x, r as S, t as C } from "./LogicTagInsertButton-CJ1Jk6jv.js";
|
|
4
|
+
import { t as w } from "./rotate-ccw-BlnQ3y6R.js";
|
|
5
|
+
import { v as T } from "./keys-D9oKZN1h.js";
|
|
6
|
+
import { t as E } from "./useI18n-CM9vKbYc.js";
|
|
7
7
|
import { t as D } from "./languageName-DEEOhDWI.js";
|
|
8
8
|
import { p as O, u as k } from "./styleConstants-CgiNKdnc.js";
|
|
9
9
|
// src/components/toolbar/FieldRow.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -23,14 +23,14 @@ var A = ["data-locale-path"], j = {
|
|
|
23
23
|
},
|
|
24
24
|
emits: ["reset"],
|
|
25
25
|
setup(l, { emit: p }) {
|
|
26
|
-
let g = O.replace("tpl:text-sm", "tpl:text-xs"), b = l, x = p, S = m(T, null), C = `tpl-field-${
|
|
26
|
+
let g = O.replace("tpl:text-sm", "tpl:text-xs"), b = l, x = p, S = m(T, null), C = `tpl-field-${v()}`, { t: F, format: I } = E(), L = o(() => {
|
|
27
27
|
let e = S?.activeLocale?.value;
|
|
28
28
|
if (e) return b.settings ? S?.content.value.settings.l10n?.[e] : S?.selectedBlock?.value?.l10n?.[e];
|
|
29
|
-
}), R = o(() => b.path ? [...Object.keys(L.value?.set ?? {}), ...Object.keys(L.value?.text ?? {})].filter((e) => e === b.path || e.startsWith(`${b.path}.`) || b.path.startsWith(`${e}.`) && !
|
|
29
|
+
}), R = o(() => b.path ? [...Object.keys(L.value?.set ?? {}), ...Object.keys(L.value?.text ?? {})].filter((e) => e === b.path || e.startsWith(`${b.path}.`) || b.path.startsWith(`${e}.`) && !_(y(L.value?.set?.[e], b.path.slice(e.length + 1)), y(b.settings ? S?.content.value.settings : S?.selectedBlock?.value, b.path))) : []), z = o(() => b.overridden ?? R.value.length > 0), B = o(() => D(S?.activeLocale?.value ?? "")), V = o(() => I(F.localization.resetToDefault, { default: D(S?.content.value.settings.locale ?? "en") }));
|
|
30
30
|
function H() {
|
|
31
31
|
if (b.settings && b.path && S) {
|
|
32
32
|
let e = S.content.value.settings;
|
|
33
|
-
S.updateSettings({ [b.path]:
|
|
33
|
+
S.updateSettings({ [b.path]: y(e, b.path) });
|
|
34
34
|
} else b.path && S?.selectedBlock?.value && S.resetLocaleFields?.(S.selectedBlock.value.id, [b.path]);
|
|
35
35
|
x("reset");
|
|
36
36
|
}
|