@templatical/editor 0.52.0 → 0.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/dist/{AiAltTextPopover-Cm11CsKH.js → AiAltTextPopover-DawbUywc.js} +13 -13
  2. package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-9ySsXOTU.js} +22 -22
  3. package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-CupPhmsN.js} +137 -137
  4. package/dist/{AiPanels-CxGp6klr.js → AiPanels-DqT4PgQ0.js} +4 -4
  5. package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-28agTycW.js} +62 -62
  6. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  7. package/dist/{BlockPreviewCanvas-Df9iz7sK.js → BlockPreviewCanvas-B-4bmJ3t.js} +23 -23
  8. package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-QI82yF54.js} +3 -3
  9. package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-BKJaLkUN.js} +50 -50
  10. package/dist/{CollaborationNotices-JQ3vQoqO.js → CollaborationNotices-CTw4JThq.js} +11 -11
  11. package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CXQqN3VP.js} +15 -15
  12. package/dist/{CommentsPanel-BuftXc0U.js → CommentsPanel-DwwFuh1h.js} +2 -2
  13. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  14. package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-CU2yTWtF.js} +20 -20
  15. package/dist/{CountdownToolbar-CrL4WKy9.js → CountdownToolbar-BqoYzf_6.js} +53 -53
  16. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  17. package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-DM4g6j7b.js} +1 -1
  18. package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-CfscnwCn.js} +234 -234
  19. package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-Dy08GEwE.js} +446 -446
  20. package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-BgEp7iCp.js} +2 -2
  21. package/dist/{MergeTagInput-DE7kWwXx.js → MergeTagInput-B9dtUthD.js} +11 -11
  22. package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DxujhYJ4.js} +30 -30
  23. package/dist/{MergeTagTextarea-DVPQkiYY.js → MergeTagTextarea-CPFEjJZd.js} +11 -11
  24. package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-CWXfurGh.js} +201 -201
  25. package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-C4s_JYCx.js} +14 -14
  26. package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-o6HmE8GR.js} +40 -39
  27. package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-CWLrly6l.js} +56 -56
  28. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  29. package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-BE1N9rNZ.js} +6 -6
  30. package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-Dwl94xhP.js} +12 -12
  31. package/dist/{TemplateSettings-D0XcH32O.js → TemplateSettings-CS0f1Ues.js} +74 -74
  32. package/dist/{TestEmailModal-Cb5t0yB2.js → TestEmailModal-DBD0X5nV.js} +52 -52
  33. package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-DaFjP9QK.js} +2 -2
  34. package/dist/{TitleEditor-BYk_9SpQ.js → TitleEditor-DSqtle77.js} +75 -75
  35. package/dist/{ToggleSwitch-poGWbduy.js → ToggleSwitch-JykPyD_8.js} +4 -4
  36. package/dist/{Toolbar-Dku_pZni.js → Toolbar-BZPFfKrf.js} +913 -913
  37. package/dist/{TplModal-9IndEYk5.js → TplModal-DLMssVlt.js} +15 -15
  38. package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BkbYUs0Q.js} +35 -35
  39. package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DP7HaYWv.js} +4 -4
  40. package/dist/{VersionPreviewBanner-CSs7zum_.js → VersionPreviewBanner-DECaBwLq.js} +9 -9
  41. package/dist/{WrapperBlock-DwjK_IdJ.js → WrapperBlock-BsJv_Fiw.js} +16 -16
  42. package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BHjlPnPf.js} +23 -22
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js → AiAltTextPopover-SEEjkd-I.js} +21 -21
  45. package/dist/cdn/chunks/{AiAltTextPopover-DjMoJCgU.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-BGLLSKLm.js} +41 -41
  47. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js → AiChatPanel-DKDAaBNi.js} +127 -127
  49. package/dist/cdn/chunks/{AiChatPanel-DXeZgc7D.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  50. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-0wBarZSH.js} +3 -3
  51. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  52. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-qf-cfEpy.js} +43 -43
  53. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js.map → AiRewriteMenu-qf-cfEpy.js.map} +1 -1
  54. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  55. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js → BlockPreviewCanvas-DGBh6mqe.js} +20 -20
  57. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  58. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BMNK_F9p.js} +3 -3
  59. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  60. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-JMWIoVWh.js} +32 -32
  61. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  62. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js → CollaborationNotices-Bsf1rGW9.js} +12 -12
  63. package/dist/cdn/chunks/{CollaborationNotices-Hf8r08Sw.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  64. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-CXByAoUz.js} +14 -14
  65. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  66. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js → CommentsPanel-DoJnKLXI.js} +3 -3
  67. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  68. package/dist/cdn/chunks/{CommentsSidebar-Dj8sDiLN.js → CommentsSidebar-CUtgvdBC.js} +100 -99
  69. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  70. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-BqRw147R.js} +18 -18
  71. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  72. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js → CountdownToolbar-xobieKoU.js} +26 -26
  73. package/dist/cdn/chunks/{CountdownToolbar-CguFJdqn.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  74. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-C7LfxaAY.js} +75 -75
  75. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  76. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-CZuLTazv.js} +2 -2
  77. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  78. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-BIi05UQu.js} +250 -250
  79. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  80. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-Cpcod6_U.js} +148 -148
  81. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  82. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-BIdcW_1f.js} +3 -3
  83. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  84. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js → MergeTagInput-BvWg8o5E.js} +32 -32
  85. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  86. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BgKEVUtV.js} +27 -27
  87. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  88. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js → MergeTagTextarea-tBz8McZf.js} +32 -32
  89. package/dist/cdn/chunks/{MergeTagTextarea-Zo0mYWbf.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  90. package/dist/cdn/chunks/{ParagraphEditor-DsPLVAgm.js → ParagraphEditor-B3Rj_cWF.js} +191 -191
  91. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  92. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-CjOdD2xj.js} +19 -19
  93. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  94. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-DNjR_sNN.js} +29 -29
  95. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  96. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-CUhpawq0.js} +75 -75
  97. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  98. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  99. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  100. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-C6--Bc81.js} +3 -3
  101. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  102. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-DUavxpbU.js} +14 -14
  103. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  104. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js → TemplateSettings-CKtI-dof.js} +69 -69
  105. package/dist/cdn/chunks/{TemplateSettings-jWpmuWDR.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  106. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-CDQTgESD.js} +65 -65
  107. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  108. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CcUpEpAn.js} +3 -3
  109. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  110. package/dist/cdn/chunks/{TitleEditor-R2lQw6WA.js → TitleEditor-Cob7RLyK.js} +70 -70
  111. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  112. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js → ToggleSwitch-J7Vwhvha.js} +5 -5
  113. package/dist/cdn/chunks/{ToggleSwitch-BDMugNES.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  114. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js → Toolbar-CdpsvNOR.js} +893 -893
  115. package/dist/cdn/chunks/{Toolbar-CnvfW72e.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  116. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  117. package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  118. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-BYlLRvRJ.js} +32 -32
  119. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  120. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-C6SOVoiT.js} +3 -3
  121. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  122. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js → VersionPreviewBanner-Dvg0ZfAW.js} +10 -10
  123. package/dist/cdn/chunks/{VersionPreviewBanner-CZ--HOoa.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  124. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js → WrapperBlock-C7Md56IT.js} +13 -13
  125. package/dist/cdn/chunks/{WrapperBlock-D3obNGab.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  126. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  127. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  128. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-Cth2JCEh.js} +36 -36
  129. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C2epoAwW.js → dist-8ym3y-pH.js} +43 -43
  131. package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-8ym3y-pH.js.map} +1 -1
  132. package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-BMzNabtD.js} +106 -107
  133. package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-BMzNabtD.js.map} +1 -1
  134. package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-Du8AUMFT.js} +639 -636
  135. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  136. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CyCe560f.js} +891 -891
  137. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CyCe560f.js.map} +1 -1
  138. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  139. package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-CFF2KWy-.js} +55 -55
  140. package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-CFF2KWy-.js.map} +1 -1
  141. package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-okSPsLOa.js} +99 -97
  142. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  143. package/dist/cdn/chunks/{keys-BF9gazbd.js → keys-CUj6UA38.js} +2 -2
  144. package/dist/cdn/chunks/{keys-BF9gazbd.js.map → keys-CUj6UA38.js.map} +1 -1
  145. package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
  146. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  147. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js → normalizeMergeTagMarkup-C_KlfSW4.js} +2 -2
  148. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DpHCSESZ.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  149. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-BcXIz7oJ.js} +2 -2
  150. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  151. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js → sanitizeHtml-CN85EDrO.js} +2 -2
  152. package/dist/cdn/chunks/{sanitizeHtml-B2h15u0_.js.map → sanitizeHtml-CN85EDrO.js.map} +1 -1
  153. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js → socialIcons-jsTDmkbb.js} +480 -480
  154. package/dist/cdn/chunks/{socialIcons-rJoqO1TJ.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  155. package/dist/cdn/chunks/{src-CUH_EI7k.js → src-C7bkofBL.js} +6 -6
  156. package/dist/cdn/chunks/{src-CUH_EI7k.js.map → src-C7bkofBL.js.map} +1 -1
  157. package/dist/cdn/chunks/{src-BKpAis_q.js → src-DEd87i_U.js} +2 -2
  158. package/dist/cdn/chunks/{src-BKpAis_q.js.map → src-DEd87i_U.js.map} +1 -1
  159. package/dist/cdn/chunks/{src-C9DTvn1H.js → src-DwWrYnUj.js} +3 -22
  160. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  161. package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-CbiTlECY.js} +45 -45
  162. package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-CbiTlECY.js.map} +1 -1
  163. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-DY8_-ETE.js} +3 -3
  164. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  165. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  166. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  167. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  168. package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  169. package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-D8pY4LTq.js} +3 -3
  170. package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  171. package/dist/{useLogicTag-DFDYJeMN.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +5 -3
  172. package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  173. package/dist/{useMergeTag-B46vACAG.js → cdn/chunks/useMergeTag-B-aG--s1.js} +7 -5
  174. package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  175. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js → usePopoverPosition-DSMtmu2W.js} +4 -4
  176. package/dist/cdn/chunks/{usePopoverPosition-AnVIwiVv.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  177. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-vjQ0fe-L.js} +3 -3
  178. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  179. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-hZTvYBHO.js} +2 -2
  180. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  181. package/dist/cdn/editor.css +1 -1
  182. package/dist/cdn/editor.js +1422 -1422
  183. package/dist/cdn/editor.js.map +1 -1
  184. package/dist/{check-N3x4z_rH.js → check-BZ8o0eet.js} +1 -1
  185. package/dist/{chevron-down-gXu9qNwO.js → chevron-down-DfAAfILv.js} +1 -1
  186. package/dist/{chevron-right-rL0ayGk5.js → chevron-right-Bk4mGdr7.js} +1 -1
  187. package/dist/{chevron-up-0ugh8HnW.js → chevron-up-MhUf_azW.js} +1 -1
  188. package/dist/{circle-alert-B9Ls75B5.js → circle-alert-CShJwVFv.js} +1 -1
  189. package/dist/{clock-BqHBaCLm.js → clock-CTfD6OCt.js} +1 -1
  190. package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DCgO4A1r.js} +24 -24
  191. package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-CvhTA2KG.js} +6 -6
  192. package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-ByCWA2Tv.js} +100 -99
  193. package/dist/{dist-CzrLYq2s.js → dist-CKi_npZM.js} +2 -21
  194. package/dist/{dist-CEdyyDn7.js → dist-CVy-7PHQ.js} +54 -54
  195. package/dist/{dist-DDN7yR-w.js → dist-D6cMdrfG.js} +129 -129
  196. package/dist/{editor-modal-Du9VI9q4.js → editor-modal-zaZHcmlO.js} +812 -812
  197. package/dist/en-Db76vJbY.js +1 -0
  198. package/dist/{extensions-FRYhx7qa.js → extensions-fo_c-vqf.js} +32 -32
  199. package/dist/{eye-BKj9Tfnc.js → eye-7W4t5e0Q.js} +1 -1
  200. package/dist/{image-DNdvdTla.js → image-BDiRFzSd.js} +1 -1
  201. package/dist/{info-Bx-kBkbH.js → info-Cxi3-Kh9.js} +1 -1
  202. package/dist/{keys-DBjrQkYH.js → keys-BgRERHzu.js} +1 -1
  203. package/dist/{link-D8-rYdIQ.js → link-ju_2Cmir.js} +1 -1
  204. package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
  205. package/dist/{list-BneisA27.js → list-DYZJf0aZ.js} +1 -1
  206. package/dist/{loader-circle-DBEXphyx.js → loader-circle-BZRD0a4I.js} +1 -1
  207. package/dist/{message-circle-Bg4xInCM.js → message-circle-DuEw4Zfx.js} +1 -1
  208. package/dist/{normalizeMergeTagMarkup-IH8COHzd.js → normalizeMergeTagMarkup-CELnOlgK.js} +1 -1
  209. package/dist/{package-B40Vkfsp.js → package-CePMr2kK.js} +1 -1
  210. package/dist/{pencil-CYdAHTds.js → pencil-D3aFCL7c.js} +1 -1
  211. package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks--_xc0XK3.js} +1 -1
  212. package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xnro7_Sk.js} +1 -1
  213. package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-BURR-bj5.js} +118 -118
  214. package/dist/{sanitizeHtml-CnOA1efV.js → sanitizeHtml-BzfzpYJY.js} +1 -1
  215. package/dist/{search-BZEo08gi.js → search-CDrstRBv.js} +1 -1
  216. package/dist/{send-DHtrnXQs.js → send-DROkPOaX.js} +1 -1
  217. package/dist/{smartphone-dlN3vpA3.js → smartphone-Bx6u_tjn.js} +1 -1
  218. package/dist/{socialIcons-B_d52_eS.js → socialIcons-D7MGsg0d.js} +366 -366
  219. package/dist/{sparkles-NOttoDnJ.js → sparkles-CdaTtvoz.js} +1 -1
  220. package/dist/{square-B1CJgdt2.js → square-BbCROH_f.js} +1 -1
  221. package/dist/style.css +1 -1
  222. package/dist/templatical-editor.js +1096 -1096
  223. package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-CGacJ9Vw.js} +1 -1
  224. package/dist/{trash-CGbk4Sgt.js → trash-DxCd7zIy.js} +1 -1
  225. package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-7_oaitpf.js} +1 -1
  226. package/dist/{upload-DQoackAn.js → upload-DuFEOi_0.js} +1 -1
  227. package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-DEMmUKuO.js} +2 -2
  228. package/dist/{useEditorCore-DG9UvWUm.js → useEditorCore-BSo2sSID.js} +1518 -1470
  229. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  230. package/dist/{useI18n-CeTm777E.js → useI18n-BBrHTdu8.js} +2 -2
  231. package/dist/{cdn/chunks/useLogicTag-vy5KGg5D.js → useLogicTag-ZPC39rfH.js} +3 -5
  232. package/dist/{cdn/chunks/useMergeTag-BFBBjnwh.js → useMergeTag-BQ4qqWpQ.js} +5 -7
  233. package/dist/{usePopoverPosition-C42kD7zt.js → usePopoverPosition-DV1PxL66.js} +3 -3
  234. package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-BSyAV4pk.js} +3 -3
  235. package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-CnEeTfhs.js} +993 -990
  236. package/dist/{withCurrentFont-v_a4Oso8.js → withCurrentFont-B22FXAF5.js} +1 -1
  237. package/dist/{x-zcrnmcmU.js → x-BpfG7v9g.js} +1 -1
  238. package/package.json +10 -10
  239. package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
  240. package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
  241. package/dist/IssuesPanel-BHFQ3wrP.js +0 -359
  242. package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
  243. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
  244. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
  245. package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
  246. package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
  247. package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
  248. package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
  249. package/dist/cdn/chunks/TplModal-BDyeS69p.js +0 -51
  250. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
  251. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
  252. package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
  253. package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
  254. package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
  255. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
  256. package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
  257. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
  258. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
  259. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
  260. package/dist/en-CyEE7FPY.js +0 -1
  261. package/dist/useEditorRoot-BKr6nNkC.js +0 -7
@@ -1,18 +1,18 @@
1
- import { $ as e, A as t, C as n, D as r, I as i, L as a, P as o, U as s, V as c, W as ee, _ as l, b as u, dt as d, g as f, h as p, lt as m, m as h, o as te, ot as g, p as _, u as v, x as y } from "./draggable-B8hTTYFO.js";
2
- import { _ as ne, g as b } from "./dist-C2epoAwW.js";
3
- import { X as re } from "./keys-BF9gazbd.js";
4
- import { t as ie } from "./useI18n-11iqzC6m.js";
5
- import { D as x, K as ae, Pt as oe, T as se, at as ce, ht as S, j as le, l as ue, t as C, tt as de, wt as w, z as fe } from "./icons-HCBP93Ch.js";
6
- import { t as pe } from "./LoadingTrack-DfJ_C33G.js";
7
- import { t as T } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
8
- import { n as E } from "./aiErrors-C3QEMB0x.js";
9
- import { S as D } from "./styleConstants-B8xVRiwX.js";
1
+ import { A as e, C as t, D as n, G as r, I as i, L as a, P as o, V as s, W as c, _ as l, b as u, et as d, ft as f, g as p, h as m, m as h, o as ee, p as g, st as _, u as v, ut as y, x as b } from "./draggable-Du8AUMFT.js";
2
+ import { _ as te, g as ne } from "./dist-8ym3y-pH.js";
3
+ import { X as x } from "./keys-CUj6UA38.js";
4
+ import { t as re } from "./useI18n-D8pY4LTq.js";
5
+ import { D as S, Ft as ie, K as ae, T as oe, Tt as C, _t as w, at as se, j as ce, l as le, t as T, tt as ue, z as de } from "./icons-okSPsLOa.js";
6
+ import { t as fe } from "./LoadingTrack-CZuLTazv.js";
7
+ import { t as E } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
8
+ import { n as D } from "./aiErrors-C3QEMB0x.js";
9
+ import { S as O } from "./styleConstants-B8xVRiwX.js";
10
10
  // src/components/ai/AiPanelShell.vue?vue&type=script&setup=true&lang.ts
11
- var O = ["aria-label", "data-testid"], k = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, A = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, j = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, M = { "data-testid": "ai-panel-title" }, N = {
11
+ var k = ["aria-label", "data-testid"], A = { class: "tpl:flex tpl:items-start tpl:justify-between tpl:gap-2 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, j = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, M = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, N = { "data-testid": "ai-panel-title" }, P = {
12
12
  key: 0,
13
13
  "data-testid": "ai-panel-subtitle",
14
14
  class: "tpl:m-0 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
15
- }, P = { class: "tpl:flex tpl:items-center tpl:gap-1" }, F = ["aria-label", "title"], I = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col" }, L = /* @__PURE__ */ n({
15
+ }, F = { class: "tpl:flex tpl:items-center tpl:gap-1" }, I = ["aria-label", "title"], L = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col" }, pe = /* @__PURE__ */ t({
16
16
  __name: "AiPanelShell",
17
17
  props: {
18
18
  title: {},
@@ -29,25 +29,25 @@ var O = ["aria-label", "data-testid"], k = { class: "tpl:flex tpl:items-start tp
29
29
  "data-testid": e.testid,
30
30
  class: "tpl-ai-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
31
31
  }, [
32
- h("div", k, [h("div", A, [h("div", j, [y(g(x), {
32
+ h("div", A, [h("div", j, [h("div", M, [b(_(S), {
33
33
  size: 13,
34
34
  "stroke-width": 2,
35
35
  "aria-hidden": "true"
36
- }), h("span", M, d(e.title), 1)]), e.subtitle ? (o(), l("p", N, d(e.subtitle), 1)) : f("", !0)]), h("div", P, [a(t.$slots, "actions"), h("button", {
36
+ }), h("span", N, f(e.title), 1)]), e.subtitle ? (o(), l("p", P, f(e.subtitle), 1)) : p("", !0)]), h("div", F, [a(t.$slots, "actions"), h("button", {
37
37
  type: "button",
38
38
  "data-testid": "ai-panel-close",
39
39
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
40
40
  "aria-label": e.closeLabel,
41
41
  title: e.closeLabel,
42
42
  onClick: r[0] ||= (e) => n("close")
43
- }, [y(g(C), {
43
+ }, [b(_(T), {
44
44
  size: 14,
45
45
  "stroke-width": 2,
46
46
  "aria-hidden": "true"
47
- })], 8, F)])]),
48
- h("div", I, [a(t.$slots, "default")]),
47
+ })], 8, I)])]),
48
+ h("div", L, [a(t.$slots, "default")]),
49
49
  a(t.$slots, "footer")
50
- ], 8, O));
50
+ ], 8, k));
51
51
  }
52
52
  }), R = /* @__PURE__ */ new Set([
53
53
  "image/png",
@@ -130,14 +130,14 @@ var B = [
130
130
  }, De = { class: "tpl:flex tpl:flex-col tpl:gap-1.5" }, Oe = ["onClick"], ke = { class: "tpl:border-t tpl:p-3 tpl:border-[var(--tpl-border)]" }, Ae = ["disabled"], je = {
131
131
  key: 0,
132
132
  class: "tpl:mb-2 tpl:flex tpl:flex-wrap tpl:gap-1"
133
- }, Me = { class: "tpl:truncate" }, Ne = [
133
+ }, V = { class: "tpl:truncate" }, Me = [
134
134
  "aria-label",
135
135
  "disabled",
136
136
  "onClick"
137
- ], Pe = {
137
+ ], Ne = {
138
138
  key: 1,
139
139
  class: "tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
140
- }, V = {
140
+ }, Pe = {
141
141
  "aria-live": "polite",
142
142
  class: "tpl:text-xs tpl:text-[var(--tpl-danger)]"
143
143
  }, Fe = {
@@ -165,33 +165,33 @@ var B = [
165
165
  "aria-label",
166
166
  "title",
167
167
  "disabled"
168
- ], We = { class: "tpl:m-0 tpl:px-1 tpl:pt-2 tpl:text-center tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, H = /*#__PURE__*/ T(/* @__PURE__ */ n({
168
+ ], We = { class: "tpl:m-0 tpl:px-1 tpl:pt-2 tpl:text-center tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, H = /*#__PURE__*/ E(/* @__PURE__ */ t({
169
169
  __name: "AiChatPanel",
170
170
  props: { feature: {} },
171
171
  emits: ["close"],
172
- setup(n, { emit: a }) {
173
- let T = n, O = a, { t: k, format: A } = ie(), j = r(re, void 0), M = e(""), N = e(null), P = e(null), F = e([]), I = e([]), R = e(0);
174
- c(() => T.feature.templateSession.value, () => {
175
- M.value = "", F.value = [], I.value = [], R.value = 0;
172
+ setup(t, { emit: a }) {
173
+ let E = t, k = a, { t: A, format: j } = re(), M = n(x, void 0), N = d(""), P = d(null), F = d(null), I = d([]), L = d([]), R = d(0);
174
+ s(() => E.feature.templateSession.value, () => {
175
+ N.value = "", I.value = [], L.value = [], R.value = 0;
176
176
  }, { flush: "sync" });
177
- let H = _(() => T.feature.has("chatAttachments"));
177
+ let H = g(() => E.feature.has("chatAttachments"));
178
178
  function U(e) {
179
- let t = z(F.value, e);
180
- F.value = t.accepted;
179
+ let t = z(I.value, e);
180
+ I.value = t.accepted;
181
181
  let n = {
182
182
  tooMany: "attachTooMany",
183
183
  tooLarge: "attachTooLarge",
184
184
  totalTooLarge: "attachTotalTooLarge",
185
185
  wrongType: "attachWrongType"
186
186
  };
187
- I.value = t.errors.map((e) => A(k.ai.chat[n[e.reason]], { name: e.name }));
187
+ L.value = t.errors.map((e) => j(A.ai.chat[n[e.reason]], { name: e.name }));
188
188
  }
189
189
  function Ge(e) {
190
190
  let t = e.target;
191
191
  !Y.value && H.value && U(Array.from(t.files ?? [])), t.value = "";
192
192
  }
193
193
  function Ke(e) {
194
- Y.value || (F.value.splice(e, 1), I.value = []);
194
+ Y.value || (I.value.splice(e, 1), L.value = []);
195
195
  }
196
196
  function W(e) {
197
197
  return Array.from(e.dataTransfer?.types ?? []).includes("Files");
@@ -208,89 +208,89 @@ var B = [
208
208
  function Xe(e) {
209
209
  R.value = 0, H.value && W(e) && (e.preventDefault(), Y.value || U(Array.from(e.dataTransfer?.files ?? [])));
210
210
  }
211
- c(() => T.feature.importQueue.value, (e) => {
212
- H.value && e.length && (U(e), M.value.trim() || (M.value = k.ai.import.prompt), T.feature.importQueue.value = [], t(() => N.value?.focus()));
211
+ s(() => E.feature.importQueue.value, (t) => {
212
+ H.value && t.length && (U(t), N.value.trim() || (N.value = A.ai.import.prompt), E.feature.importQueue.value = [], e(() => P.value?.focus()));
213
213
  }, { immediate: !0 });
214
- let G = e(null), K = e(0), q = _(() => T.feature.isTemplateEmpty.value ? [
215
- k.ai.starters.emptyWelcome,
216
- k.ai.starters.emptyLaunch,
217
- k.ai.starters.emptyNewsletter
214
+ let G = d(null), K = d(0), q = g(() => E.feature.isTemplateEmpty.value ? [
215
+ A.ai.starters.emptyWelcome,
216
+ A.ai.starters.emptyLaunch,
217
+ A.ai.starters.emptyNewsletter
218
218
  ] : [
219
- k.ai.starters.filledShorten,
220
- k.ai.starters.filledFriendlier,
221
- k.ai.starters.filledDates,
222
- k.ai.starters.filledCta
223
- ]), J = _(() => T.feature.messages.value), Y = _(() => T.feature.isRunning.value), X = _(() => {
224
- let e = T.feature.failure.value;
225
- return e ? E(e.error, k.ai.errors, A, j, e.context) : "";
226
- }), { pause: Z, resume: Ze } = b(() => {
219
+ A.ai.starters.filledShorten,
220
+ A.ai.starters.filledFriendlier,
221
+ A.ai.starters.filledDates,
222
+ A.ai.starters.filledCta
223
+ ]), J = g(() => E.feature.messages.value), Y = g(() => E.feature.isRunning.value), X = g(() => {
224
+ let e = E.feature.failure.value;
225
+ return e ? D(e.error, A.ai.errors, j, M, e.context) : "";
226
+ }), { pause: Z, resume: Ze } = ne(() => {
227
227
  K.value < q.value.length ? K.value++ : Z();
228
- }, 150, { immediate: !1 }), { start: Qe } = ne(() => Ze(), 100, { immediate: !1 });
229
- c(() => q.value.length, (e) => {
228
+ }, 150, { immediate: !1 }), { start: Qe } = te(() => Ze(), 100, { immediate: !1 });
229
+ s(() => q.value.length, (e) => {
230
230
  Z(), K.value = 0, e > 0 && Qe();
231
231
  }, { immediate: !0 });
232
232
  function Q() {
233
- t(() => {
233
+ e(() => {
234
234
  G.value && (G.value.scrollTop = G.value.scrollHeight);
235
235
  });
236
236
  }
237
- c(() => J.value.length, Q), c(() => [T.feature.failedPrompt.value, T.feature.failedAttachments.value], ([e, t]) => {
238
- e && (M.value = e, F.value = [...t]);
237
+ s(() => J.value.length, Q), s(() => [E.feature.failedPrompt.value, E.feature.failedAttachments.value], ([e, t]) => {
238
+ e && (N.value = e, I.value = [...t]);
239
239
  }, { immediate: !0 });
240
240
  async function $() {
241
- let e = M.value.trim();
241
+ let e = N.value.trim();
242
242
  if (!e || Y.value) return;
243
- let t = [...F.value];
244
- M.value = "", F.value = [], I.value = [], Q(), await T.feature.send(e, t), Q();
243
+ let t = [...I.value];
244
+ N.value = "", I.value = [], L.value = [], Q(), await E.feature.send(e, t), Q();
245
245
  }
246
246
  function $e(e) {
247
- return e.undone ? k.ai.chat.undone : e.operationCount === 1 ? k.ai.chat.appliedChange : A(k.ai.chat.appliedChanges, { count: e.operationCount });
247
+ return e.undone ? A.ai.chat.undone : e.operationCount === 1 ? A.ai.chat.appliedChange : j(A.ai.chat.appliedChanges, { count: e.operationCount });
248
248
  }
249
249
  function et(e) {
250
- return e.failure ? E(e.failure.error, k.ai.errors, A, j, e.failure.context) : "";
250
+ return e.failure ? D(e.failure.error, A.ai.errors, j, M, e.failure.context) : "";
251
251
  }
252
252
  function tt(e) {
253
- e.undone ? T.feature.redoMessage(e.id) : T.feature.undoMessage(e.id);
253
+ e.undone ? E.feature.redoMessage(e.id) : E.feature.undoMessage(e.id);
254
254
  }
255
255
  function nt(e) {
256
- Z(), M.value = e, $();
256
+ Z(), N.value = e, $();
257
257
  }
258
258
  function rt(e) {
259
259
  e.isComposing || e.keyCode === 229 || e.key === "Enter" && !e.shiftKey && (e.preventDefault(), $());
260
260
  }
261
- return (e, t) => (o(), l("div", {
261
+ return (e, n) => (o(), l("div", {
262
262
  class: "tpl:contents",
263
263
  "data-testid": "ai-chat-dropzone",
264
264
  onDragenter: qe,
265
265
  onDragleave: Je,
266
266
  onDragover: Ye,
267
267
  onDrop: Xe
268
- }, [y(L, {
269
- title: g(k).ai.chat.title,
270
- subtitle: g(k).ai.chat.notice,
268
+ }, [b(pe, {
269
+ title: _(A).ai.chat.title,
270
+ subtitle: _(A).ai.chat.notice,
271
271
  testid: "ai-panel-chat",
272
- "close-label": g(k).ai.chat.close,
273
- onClose: t[5] ||= (e) => O("close")
272
+ "close-label": _(A).ai.chat.close,
273
+ onClose: n[5] ||= (e) => k("close")
274
274
  }, {
275
- actions: s(() => [n.feature.canClear && J.value.length > 0 ? (o(), l("button", {
275
+ actions: c(() => [t.feature.canClear && J.value.length > 0 ? (o(), l("button", {
276
276
  key: 0,
277
277
  type: "button",
278
278
  "data-testid": "ai-chat-new",
279
279
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)] tpl:disabled:opacity-40",
280
- "aria-label": g(k).ai.chat.newChat,
281
- title: g(k).ai.chat.newChat,
280
+ "aria-label": _(A).ai.chat.newChat,
281
+ title: _(A).ai.chat.newChat,
282
282
  disabled: Y.value,
283
- onClick: t[0] ||= (e) => n.feature.newChat()
284
- }, [y(g(de), {
283
+ onClick: n[0] ||= (e) => t.feature.newChat()
284
+ }, [b(_(ue), {
285
285
  size: 14,
286
286
  "stroke-width": 2,
287
287
  "aria-hidden": "true"
288
- })], 8, B)) : f("", !0)]),
289
- footer: s(() => [h("div", ke, [
288
+ })], 8, B)) : p("", !0)]),
289
+ footer: c(() => [h("div", ke, [
290
290
  H.value ? (o(), l(v, { key: 0 }, [
291
291
  h("input", {
292
292
  ref_key: "fileInput",
293
- ref: P,
293
+ ref: F,
294
294
  "data-testid": "ai-chat-files",
295
295
  type: "file",
296
296
  multiple: "",
@@ -299,82 +299,82 @@ var B = [
299
299
  disabled: Y.value,
300
300
  onChange: Ge
301
301
  }, null, 40, Ae),
302
- F.value.length ? (o(), l("div", je, [(o(!0), l(v, null, i(F.value, (e, t) => (o(), l("span", {
302
+ I.value.length ? (o(), l("div", je, [(o(!0), l(v, null, i(I.value, (e, t) => (o(), l("span", {
303
303
  key: t,
304
304
  "data-testid": "ai-chat-attachment",
305
305
  class: "tpl:flex tpl:max-w-full tpl:items-center tpl:gap-1 tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text)]"
306
306
  }, [
307
- e.type === "application/pdf" ? (o(), p(g(w), {
307
+ e.type === "application/pdf" ? (o(), m(_(C), {
308
308
  key: 0,
309
309
  size: 12,
310
310
  "aria-hidden": "true"
311
- })) : (o(), p(g(S), {
311
+ })) : (o(), m(_(w), {
312
312
  key: 1,
313
313
  size: 12,
314
314
  "aria-hidden": "true"
315
315
  })),
316
- h("span", Me, d(e.name), 1),
316
+ h("span", V, f(e.name), 1),
317
317
  h("button", {
318
318
  type: "button",
319
- "aria-label": g(A)(g(k).ai.chat.removeAttachment, { name: e.name }),
319
+ "aria-label": _(j)(_(A).ai.chat.removeAttachment, { name: e.name }),
320
320
  disabled: Y.value,
321
321
  class: "tpl:shrink-0 tpl:rounded tpl:p-0.5 tpl:disabled:opacity-40",
322
322
  onClick: (e) => Ke(t)
323
- }, [y(g(C), {
323
+ }, [b(_(T), {
324
324
  size: 12,
325
325
  "aria-hidden": "true"
326
- })], 8, Ne)
327
- ]))), 128))])) : f("", !0),
328
- F.value.length ? (o(), l("p", Pe, d(g(k).ai.import.placeholderNote), 1)) : f("", !0),
329
- h("div", V, [(o(!0), l(v, null, i(I.value, (e, t) => (o(), l("p", {
326
+ })], 8, Me)
327
+ ]))), 128))])) : p("", !0),
328
+ I.value.length ? (o(), l("p", Ne, f(_(A).ai.import.placeholderNote), 1)) : p("", !0),
329
+ h("div", Pe, [(o(!0), l(v, null, i(L.value, (e, t) => (o(), l("p", {
330
330
  key: t,
331
331
  class: "tpl:mb-2"
332
- }, d(e), 1))), 128))])
333
- ], 64)) : f("", !0),
334
- n.feature.keptYourVersion.value ? (o(), l("div", Fe, [h("p", null, d(g(k).ai.chat.keptYourVersion), 1), h("button", {
332
+ }, f(e), 1))), 128))])
333
+ ], 64)) : p("", !0),
334
+ t.feature.keptYourVersion.value ? (o(), l("div", Fe, [h("p", null, f(_(A).ai.chat.keptYourVersion), 1), h("button", {
335
335
  type: "button",
336
336
  disabled: Y.value,
337
- class: m(g(D)),
338
- onClick: t[1] ||= (e) => n.feature.reloadTemplate()
339
- }, d(g(k).ai.chat.reload), 11, Ie)])) : f("", !0),
340
- X.value ? (o(), l("div", Le, [y(g(oe), {
337
+ class: y(_(O)),
338
+ onClick: n[1] ||= (e) => t.feature.reloadTemplate()
339
+ }, f(_(A).ai.chat.reload), 11, Ie)])) : p("", !0),
340
+ X.value ? (o(), l("div", Le, [b(_(ie), {
341
341
  size: 14,
342
342
  "stroke-width": 2,
343
343
  class: "tpl:mt-0.5 tpl:shrink-0",
344
344
  "aria-hidden": "true"
345
- }), h("span", null, d(X.value), 1)])) : f("", !0),
346
- h("div", Re, [ee(h("textarea", {
345
+ }), h("span", null, f(X.value), 1)])) : p("", !0),
346
+ h("div", Re, [r(h("textarea", {
347
347
  ref_key: "composer",
348
- ref: N,
349
- "onUpdate:modelValue": t[2] ||= (e) => M.value = e,
348
+ ref: P,
349
+ "onUpdate:modelValue": n[2] ||= (e) => N.value = e,
350
350
  "data-testid": "ai-chat-input",
351
351
  class: "tpl:max-h-32 tpl:min-h-[44px] tpl:w-full tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-sm tpl:outline-none tpl:text-[var(--tpl-text)]",
352
- placeholder: g(k).ai.chat.inputPlaceholder,
353
- "aria-label": g(k).ai.chat.inputPlaceholder,
352
+ placeholder: _(A).ai.chat.inputPlaceholder,
353
+ "aria-label": _(A).ai.chat.inputPlaceholder,
354
354
  disabled: Y.value,
355
355
  maxlength: "4000",
356
356
  rows: "3",
357
357
  onKeydown: rt
358
- }, null, 40, ze), [[te, M.value]]), h("div", Be, [H.value ? (o(), l("button", {
358
+ }, null, 40, ze), [[ee, N.value]]), h("div", Be, [H.value ? (o(), l("button", {
359
359
  key: 0,
360
360
  type: "button",
361
- "aria-label": g(k).ai.chat.attach,
362
- title: g(k).ai.chat.attach,
361
+ "aria-label": _(A).ai.chat.attach,
362
+ title: _(A).ai.chat.attach,
363
363
  disabled: Y.value,
364
364
  class: "tpl:-ml-1.5 tpl:shrink-0 tpl:rounded-md tpl:p-1.5 tpl:text-[var(--tpl-text-muted)] tpl:disabled:opacity-40",
365
- onClick: t[3] ||= (e) => P.value?.click()
366
- }, [y(g(ae), {
365
+ onClick: n[3] ||= (e) => F.value?.click()
366
+ }, [b(_(ae), {
367
367
  size: 16,
368
368
  "aria-hidden": "true"
369
- })], 8, Ve)) : f("", !0), Y.value ? (o(), l("button", {
369
+ })], 8, Ve)) : p("", !0), Y.value ? (o(), l("button", {
370
370
  key: 1,
371
371
  type: "button",
372
372
  "data-testid": "ai-chat-stop",
373
373
  class: "tpl-ai-send-btn tpl:ml-auto tpl:-mr-1.5 tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:text-[var(--tpl-primary)]",
374
- "aria-label": g(k).ai.chat.stop,
375
- title: g(k).ai.chat.stop,
376
- onClick: t[4] ||= (e) => n.feature.stop()
377
- }, [y(g(se), {
374
+ "aria-label": _(A).ai.chat.stop,
375
+ title: _(A).ai.chat.stop,
376
+ onClick: n[4] ||= (e) => t.feature.stop()
377
+ }, [b(_(oe), {
378
378
  size: 16,
379
379
  "stroke-width": 2,
380
380
  "aria-hidden": "true"
@@ -383,75 +383,75 @@ var B = [
383
383
  type: "button",
384
384
  "data-testid": "ai-chat-send",
385
385
  class: "tpl-ai-send-btn tpl:ml-auto tpl:-mr-1.5 tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
386
- "aria-label": g(k).ai.chat.send,
387
- title: g(k).ai.chat.send,
388
- disabled: !M.value.trim(),
386
+ "aria-label": _(A).ai.chat.send,
387
+ title: _(A).ai.chat.send,
388
+ disabled: !N.value.trim(),
389
389
  onClick: $
390
- }, [y(g(le), {
390
+ }, [b(_(ce), {
391
391
  size: 16,
392
392
  "stroke-width": 2,
393
393
  "aria-hidden": "true"
394
394
  })], 8, Ue))])]),
395
- h("p", We, d(g(k).ai.chat.disclaimer), 1)
395
+ h("p", We, f(_(A).ai.chat.disclaimer), 1)
396
396
  ])]),
397
- default: s(() => [
398
- H.value && R.value > 0 && !Y.value ? (o(), l("div", me, d(g(k).ai.chat.dropHint), 1)) : f("", !0),
397
+ default: c(() => [
398
+ H.value && R.value > 0 && !Y.value ? (o(), l("div", me, f(_(A).ai.chat.dropHint), 1)) : p("", !0),
399
399
  h("div", {
400
400
  ref_key: "messagesContainer",
401
401
  ref: G,
402
402
  class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4"
403
- }, [n.feature.isLoadingHistory.value ? (o(), l("div", he, [y(g(ce), {
403
+ }, [t.feature.isLoadingHistory.value ? (o(), l("div", he, [b(_(se), {
404
404
  class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
405
405
  size: 24,
406
406
  "stroke-width": 2,
407
407
  "aria-hidden": "true"
408
- }), h("p", ge, d(g(k).ai.chat.loadingHistory), 1)])) : J.value.length === 0 ? (o(), l("div", _e, [y(g(x), {
408
+ }), h("p", ge, f(_(A).ai.chat.loadingHistory), 1)])) : J.value.length === 0 ? (o(), l("div", _e, [b(_(S), {
409
409
  size: 32,
410
410
  "stroke-width": 1.5,
411
411
  class: "tpl:text-[var(--tpl-text-dim)]",
412
412
  "aria-hidden": "true"
413
- }), h("p", ve, d(g(k).ai.chat.placeholder), 1)])) : (o(), l("div", ye, [(o(!0), l(v, null, i(J.value, (e) => (o(), l("div", {
413
+ }), h("p", ve, f(_(A).ai.chat.placeholder), 1)])) : (o(), l("div", ye, [(o(!0), l(v, null, i(J.value, (e) => (o(), l("div", {
414
414
  key: e.id,
415
415
  class: "tpl:flex tpl:flex-col tpl:gap-2"
416
- }, [e.role === "user" ? (o(), l("div", be, [u(d(e.text) + " ", 1), (o(!0), l(v, null, i(e.attachments, (e, t) => (o(), l("span", {
416
+ }, [e.role === "user" ? (o(), l("div", be, [u(f(e.text) + " ", 1), (o(!0), l(v, null, i(e.attachments, (e, t) => (o(), l("span", {
417
417
  key: t,
418
418
  "data-testid": "ai-chat-history-attachment",
419
419
  class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-1 tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:px-2 tpl:py-1 tpl:text-xs"
420
- }, [e.kind === "pdf" ? (o(), p(g(w), {
420
+ }, [e.kind === "pdf" ? (o(), m(_(C), {
421
421
  key: 0,
422
422
  size: 12,
423
423
  "aria-hidden": "true"
424
- })) : (o(), p(g(S), {
424
+ })) : (o(), m(_(w), {
425
425
  key: 1,
426
426
  size: 12,
427
427
  "aria-hidden": "true"
428
- })), u(d(e.name), 1)]))), 128))])) : (o(), l("div", xe, [
429
- e.text === "" && e.status === "streaming" ? (o(), p(pe, { key: 0 })) : e.text === "" ? f("", !0) : (o(), l("div", Se, d(e.text), 1)),
430
- e.operationCount > 0 ? (o(), l("div", Ce, [h("span", null, d($e(e)), 1), (e.undone ? e.canRedo : e.canUndo) ? (o(), l("button", {
428
+ })), u(f(e.name), 1)]))), 128))])) : (o(), l("div", xe, [
429
+ e.text === "" && e.status === "streaming" ? (o(), m(fe, { key: 0 })) : e.text === "" ? p("", !0) : (o(), l("div", Se, f(e.text), 1)),
430
+ e.operationCount > 0 ? (o(), l("div", Ce, [h("span", null, f($e(e)), 1), (e.undone ? e.canRedo : e.canUndo) ? (o(), l("button", {
431
431
  key: 0,
432
432
  type: "button",
433
433
  "data-testid": "ai-chat-undo",
434
- class: m(g(D)),
434
+ class: y(_(O)),
435
435
  disabled: Y.value,
436
436
  onClick: (t) => tt(e)
437
- }, [e.undone ? (o(), p(g(fe), {
437
+ }, [e.undone ? (o(), m(_(de), {
438
438
  key: 0,
439
439
  size: 12,
440
440
  "stroke-width": 2,
441
441
  "aria-hidden": "true"
442
- })) : (o(), p(g(ue), {
442
+ })) : (o(), m(_(le), {
443
443
  key: 1,
444
444
  size: 12,
445
445
  "stroke-width": 2,
446
446
  "aria-hidden": "true"
447
- })), u(" " + d(e.undone ? g(k).ai.chat.redo : g(k).ai.chat.undo), 1)], 10, we)) : f("", !0)])) : f("", !0),
448
- e.failure ? (o(), l("p", Te, d(et(e)), 1)) : f("", !0)
447
+ })), u(" " + f(e.undone ? _(A).ai.chat.redo : _(A).ai.chat.undo), 1)], 10, we)) : p("", !0)])) : p("", !0),
448
+ e.failure ? (o(), l("p", Te, f(et(e)), 1)) : p("", !0)
449
449
  ]))]))), 128))]))], 512),
450
450
  J.value.length === 0 && q.value.length > 0 ? (o(), l("div", Ee, [h("div", De, [(o(!0), l(v, null, i(q.value, (e, t) => (o(), l("button", {
451
451
  key: t,
452
452
  type: "button",
453
453
  "data-testid": "ai-chat-starter",
454
- class: m(["tpl-starter-btn tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:text-left tpl:text-xs tpl:leading-snug tpl:transition-all tpl:duration-300 tpl:ease-out", q.value.length - 1 - t < K.value ? "tpl:translate-y-0 tpl:opacity-100" : "tpl:pointer-events-none tpl:-translate-y-2 tpl:opacity-0"]),
454
+ class: y(["tpl-starter-btn tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:text-left tpl:text-xs tpl:leading-snug tpl:transition-all tpl:duration-300 tpl:ease-out", q.value.length - 1 - t < K.value ? "tpl:translate-y-0 tpl:opacity-100" : "tpl:pointer-events-none tpl:-translate-y-2 tpl:opacity-0"]),
455
455
  style: {
456
456
  "border-color": "var(--tpl-border)",
457
457
  color: "var(--tpl-primary)",
@@ -459,7 +459,7 @@ var B = [
459
459
  "box-shadow": "var(--tpl-shadow)"
460
460
  },
461
461
  onClick: (t) => nt(e)
462
- }, d(e), 11, Oe))), 128))])])) : f("", !0)
462
+ }, f(e), 11, Oe))), 128))])])) : p("", !0)
463
463
  ]),
464
464
  _: 1
465
465
  }, 8, [
@@ -471,4 +471,4 @@ var B = [
471
471
  }), [["__scopeId", "data-v-e0f79f23"]]);
472
472
  export { H as default };
473
473
 
474
- //# sourceMappingURL=AiChatPanel-DXeZgc7D.js.map
474
+ //# sourceMappingURL=AiChatPanel-DKDAaBNi.js.map