@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 { At as e, C as t, H as n, Mt as r, N as i, O as a, Q as o, _ as s, c, d as l, f as u, g as d, j as f, l as p, ot as m, r as h, y as g } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { a as ee } from "./runtime-dom.esm-bundler-CLGymEyk.js";
3
- import { m as te, p as ne } from "./dist-CzrLYq2s.js";
4
- import { $ as _, F as re, O as ie, P as ae, X as oe, t as se } from "./keys-DBjrQkYH.js";
5
- import { t as ce } from "./useI18n-CeTm777E.js";
6
- import { t as le } from "./sanitizeHtml-CnOA1efV.js";
7
- import { t as v } from "./createLucideIcon-BV7Gwz_Z.js";
8
- import { t as ue } from "./sparkles-NOttoDnJ.js";
9
- import { t as de } from "./square-B1CJgdt2.js";
10
- import { t as fe } from "./x-zcrnmcmU.js";
11
- import { r as pe } from "./normalizeMergeTagMarkup-IH8COHzd.js";
1
+ import { $ as e, C as t, N as n, Nt as r, O as i, U as a, _ as o, c as s, d as c, f as l, g as u, j as d, jt as f, l as p, r as m, st as h, y as g } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { a as ee } from "./runtime-dom.esm-bundler-BURR-bj5.js";
3
+ import { m as te, p as ne } from "./dist-CKi_npZM.js";
4
+ import { $ as re, F as ie, O as ae, P as oe, X as _, t as se } from "./keys-BgRERHzu.js";
5
+ import { t as ce } from "./useI18n-BBrHTdu8.js";
6
+ import { t as le } from "./sanitizeHtml-BzfzpYJY.js";
7
+ import { t as v } from "./createLucideIcon-CvhTA2KG.js";
8
+ import { t as ue } from "./sparkles-CdaTtvoz.js";
9
+ import { t as de } from "./square-BbCROH_f.js";
10
+ import { t as fe } from "./x-BpfG7v9g.js";
11
+ import { r as pe } from "./normalizeMergeTagMarkup-CELnOlgK.js";
12
12
  import { n as me } from "./aiErrors-C3QEMB0x.js";
13
13
  import { n as he, t as ge } from "./aiRewritePreview-DlMyx6Si.js";
14
14
  import { S as y, y as b } from "./styleConstants-B8xVRiwX.js";
15
- import { n as _e } from "./ParagraphEditor-D-nqs82g.js";
15
+ import { n as _e } from "./ParagraphEditor-CWXfurGh.js";
16
16
  var ve = v({
17
17
  name: "languages",
18
18
  size: 24,
@@ -102,13 +102,13 @@ var ve = v({
102
102
  __name: "AiRewriteMenu",
103
103
  props: { editor: {} },
104
104
  setup(g) {
105
- let v = g, { t: I, format: Te } = ce(), Ee = _(se, "AiRewriteMenu"), De = t(ie, re), Oe = t(ae, ne.liquid), L = t(oe, void 0), ke = [
105
+ let v = g, { t: I, format: Te } = ce(), Ee = re(se, "AiRewriteMenu"), De = t(ae, ie), Oe = t(oe, ne.liquid), L = t(_, void 0), ke = [
106
106
  "shorten",
107
107
  "expand",
108
108
  "friendlier",
109
109
  "formal",
110
110
  "fixGrammar"
111
- ], R = he(L), z = o(!1), B = o(R[0].value), V = o(""), H = o(!1), U = o(""), W = o(null), G = o(null), K = null, q = 0, J = c(() => W.value === null ? null : le(pe(W.value, De.value, Oe))), Ae = c(() => ge(U.value)), Y = c(() => G.value ? me(G.value, I.ai.errors, Te, L) : "");
111
+ ], R = he(L), z = e(!1), B = e(R[0].value), V = e(""), H = e(!1), U = e(""), W = e(null), G = e(null), K = null, q = 0, J = s(() => W.value === null ? null : le(pe(W.value, De.value, Oe))), Ae = s(() => ge(U.value)), Y = s(() => G.value ? me(G.value, I.ai.errors, Te, L) : "");
112
112
  function X() {
113
113
  q++;
114
114
  let e = K;
@@ -154,72 +154,72 @@ var ve = v({
154
154
  function Me() {
155
155
  J.value !== null && (v.editor.chain().focus().setContent(J.value, { emitUpdate: !0 }).run(), Q());
156
156
  }
157
- return a(X), (t, a) => (f(), u("div", S, [p("button", {
157
+ return i(X), (e, t) => (d(), l("div", S, [p("button", {
158
158
  type: "button",
159
159
  "data-testid": "ai-rewrite-trigger",
160
160
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-primary)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
161
- "aria-label": m(I).ai.rewrite.title,
162
- title: m(I).ai.rewrite.title,
161
+ "aria-label": h(I).ai.rewrite.title,
162
+ title: h(I).ai.rewrite.title,
163
163
  "aria-haspopup": "dialog",
164
164
  "aria-expanded": z.value,
165
165
  onClick: je
166
- }, [s(m(ue), {
166
+ }, [o(h(ue), {
167
167
  size: 16,
168
168
  "stroke-width": 2,
169
169
  "aria-hidden": "true"
170
- }), d(" " + r(m(I).ai.menu.button), 1)], 8, C), z.value ? (f(), u("div", {
170
+ }), u(" " + r(h(I).ai.menu.button), 1)], 8, C), z.value ? (d(), l("div", {
171
171
  key: 0,
172
172
  role: "dialog",
173
- "aria-label": m(I).ai.rewrite.title,
173
+ "aria-label": h(I).ai.rewrite.title,
174
174
  "data-testid": "ai-rewrite-panel",
175
175
  class: "tpl-ai-rewrite-panel tpl:absolute tpl:top-full tpl:right-0 tpl:z-50 tpl:mt-2 tpl:flex tpl:w-80 tpl:flex-col tpl:gap-3 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:shadow-[var(--tpl-shadow-lg)]"
176
- }, [p("div", T, [p("span", E, [s(m(x), {
176
+ }, [p("div", T, [p("span", E, [o(h(x), {
177
177
  size: 14,
178
178
  "stroke-width": 2,
179
179
  "aria-hidden": "true"
180
- }), d(" " + r(m(I).ai.rewrite.title), 1)]), p("button", {
180
+ }), u(" " + r(h(I).ai.rewrite.title), 1)]), p("button", {
181
181
  type: "button",
182
182
  class: "tpl:rounded-md tpl:p-0.5 tpl:text-[var(--tpl-text-muted)]",
183
- "aria-label": m(I).ai.rewrite.close,
184
- title: m(I).ai.rewrite.close,
183
+ "aria-label": h(I).ai.rewrite.close,
184
+ title: h(I).ai.rewrite.close,
185
185
  onClick: Q
186
- }, [s(m(fe), {
186
+ }, [o(h(fe), {
187
187
  size: 14,
188
188
  "stroke-width": 2,
189
189
  "aria-hidden": "true"
190
- })], 8, D)]), J.value === null ? H.value ? (f(), u(h, { key: 1 }, [
191
- p("span", j, r(m(I).ai.rewrite.suggestionLabel), 1),
192
- p("p", M, r(Ae.value || m(I).ai.rewrite.rewriting), 1),
190
+ })], 8, D)]), J.value === null ? H.value ? (d(), l(m, { key: 1 }, [
191
+ p("span", j, r(h(I).ai.rewrite.suggestionLabel), 1),
192
+ p("p", M, r(Ae.value || h(I).ai.rewrite.rewriting), 1),
193
193
  p("button", {
194
194
  type: "button",
195
195
  "data-testid": "ai-rewrite-stop",
196
- class: e([m(y), "tpl:self-end"]),
196
+ class: f([h(y), "tpl:self-end"]),
197
197
  onClick: X
198
- }, [s(m(de), {
198
+ }, [o(h(de), {
199
199
  size: 12,
200
200
  "stroke-width": 2,
201
201
  "aria-hidden": "true"
202
- }), d(" " + r(m(I).ai.rewrite.stop), 1)], 2)
203
- ], 64)) : (f(), u(h, { key: 2 }, [
204
- p("div", N, [(f(), u(h, null, i(ke, (t) => p("button", {
205
- key: t,
202
+ }), u(" " + r(h(I).ai.rewrite.stop), 1)], 2)
203
+ ], 64)) : (d(), l(m, { key: 2 }, [
204
+ p("div", N, [(d(), l(m, null, n(ke, (e) => p("button", {
205
+ key: e,
206
206
  type: "button",
207
- "data-testid": `ai-rewrite-preset-${t}`,
208
- class: e(m(y)),
209
- onClick: (e) => $(t)
210
- }, r(m(I).ai.rewrite.presets[t]), 11, P)), 64))]),
207
+ "data-testid": `ai-rewrite-preset-${e}`,
208
+ class: f(h(y)),
209
+ onClick: (t) => $(e)
210
+ }, r(h(I).ai.rewrite.presets[e]), 11, P)), 64))]),
211
211
  p("div", F, [
212
- s(m(ve), {
212
+ o(h(ve), {
213
213
  size: 14,
214
214
  "stroke-width": 2,
215
215
  class: "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)]",
216
216
  "aria-hidden": "true"
217
217
  }),
218
- s(_e, {
218
+ o(_e, {
219
219
  modelValue: B.value,
220
- "onUpdate:modelValue": a[0] ||= (e) => B.value = e,
221
- options: m(R),
222
- label: m(I).ai.rewrite.language,
220
+ "onUpdate:modelValue": t[0] ||= (e) => B.value = e,
221
+ options: h(R),
222
+ label: h(I).ai.rewrite.language,
223
223
  "width-class": "tpl:flex-1"
224
224
  }, null, 8, [
225
225
  "modelValue",
@@ -229,30 +229,30 @@ var ve = v({
229
229
  p("button", {
230
230
  type: "button",
231
231
  "data-testid": "ai-rewrite-preset-translate",
232
- class: e(m(y)),
232
+ class: f(h(y)),
233
233
  disabled: B.value === "",
234
- onClick: a[1] ||= (e) => $("translate")
235
- }, r(m(I).ai.rewrite.presets.translate), 11, ye)
234
+ onClick: t[1] ||= (e) => $("translate")
235
+ }, r(h(I).ai.rewrite.presets.translate), 11, ye)
236
236
  ]),
237
- p("div", be, [n(p("textarea", {
238
- "onUpdate:modelValue": a[2] ||= (e) => V.value = e,
237
+ p("div", be, [a(p("textarea", {
238
+ "onUpdate:modelValue": t[2] ||= (e) => V.value = e,
239
239
  "data-testid": "ai-rewrite-instruction",
240
240
  maxlength: "500",
241
241
  rows: "2",
242
242
  class: "tpl:flex-1 tpl:resize-none tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:py-1.5 tpl:font-sans tpl:text-sm tpl:text-[var(--tpl-text)]",
243
- "aria-label": m(I).ai.rewrite.instructionLabel,
244
- placeholder: m(I).ai.rewrite.instructionPlaceholder
243
+ "aria-label": h(I).ai.rewrite.instructionLabel,
244
+ placeholder: h(I).ai.rewrite.instructionPlaceholder
245
245
  }, null, 8, xe), [[ee, V.value]]), p("button", {
246
246
  type: "button",
247
247
  "data-testid": "ai-rewrite-run",
248
- class: e(m(b)),
248
+ class: f(h(b)),
249
249
  disabled: V.value.trim() === "",
250
- onClick: a[3] ||= (e) => $(null)
251
- }, r(m(I).ai.rewrite.run), 11, Se)]),
252
- Y.value ? (f(), u("p", Ce, r(Y.value), 1)) : l("", !0),
253
- p("p", we, r(m(I).ai.chat.disclaimer), 1)
254
- ], 64)) : (f(), u(h, { key: 0 }, [
255
- p("span", O, r(m(I).ai.rewrite.suggestionLabel), 1),
250
+ onClick: t[3] ||= (e) => $(null)
251
+ }, r(h(I).ai.rewrite.run), 11, Se)]),
252
+ Y.value ? (d(), l("p", Ce, r(Y.value), 1)) : c("", !0),
253
+ p("p", we, r(h(I).ai.chat.disclaimer), 1)
254
+ ], 64)) : (d(), l(m, { key: 0 }, [
255
+ p("span", O, r(h(I).ai.rewrite.suggestionLabel), 1),
256
256
  p("div", {
257
257
  "data-testid": "ai-rewrite-preview",
258
258
  class: "tpl:max-h-48 tpl:overflow-y-auto tpl:text-sm tpl:text-[var(--tpl-text)]",
@@ -261,15 +261,15 @@ var ve = v({
261
261
  p("div", A, [p("button", {
262
262
  type: "button",
263
263
  "data-testid": "ai-rewrite-discard",
264
- class: e(m(y)),
264
+ class: f(h(y)),
265
265
  onClick: Z
266
- }, r(m(I).ai.rewrite.discard), 3), p("button", {
266
+ }, r(h(I).ai.rewrite.discard), 3), p("button", {
267
267
  type: "button",
268
268
  "data-testid": "ai-rewrite-replace",
269
- class: e(m(b)),
269
+ class: f(h(b)),
270
270
  onClick: Me
271
- }, r(m(I).ai.rewrite.replaceAction), 3)])
272
- ], 64))], 8, w)) : l("", !0)]));
271
+ }, r(h(I).ai.rewrite.replaceAction), 3)])
272
+ ], 64))], 8, w)) : c("", !0)]));
273
273
  }
274
274
  });
275
275
  export { I as default };
@@ -0,0 +1,33 @@
1
+ import { C as e, c as t, d as n, f as r, j as i, jt as a, st as o, u as s, y as c } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { K as l } from "./keys-BgRERHzu.js";
3
+ import { t as u } from "./useI18n-BBrHTdu8.js";
4
+ import { t as d } from "./circle-alert-CShJwVFv.js";
5
+ import { t as f } from "./triangle-alert-7_oaitpf.js";
6
+ // src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
7
+ var p = ["title", "aria-label"], m = /* @__PURE__ */ c({
8
+ __name: "BlockIssueBadge",
9
+ props: { blockId: {} },
10
+ setup(c) {
11
+ let m = c, { t: h } = u(), g = e(l, null), _ = t(() => (g?.issues.value ?? []).filter((e) => e.blockId === m.blockId)), v = t(() => _.value.some((e) => e.severity === "error") ? "error" : _.value.some((e) => e.severity === "warning") ? "warning" : null), y = t(() => v.value === "error" ? h.issues.badgeError : h.issues.badgeWarning);
12
+ return (e, t) => v.value ? (i(), r("span", {
13
+ key: 0,
14
+ class: a(["tpl-block-issue-badge tpl:flex tpl:size-5 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:ring-1 tpl:ring-[var(--tpl-border)]", v.value === "error" ? "tpl:text-[var(--tpl-danger)]" : "tpl:text-[var(--tpl-warning)]"]),
15
+ title: y.value,
16
+ "aria-label": y.value,
17
+ role: "img"
18
+ }, [v.value === "error" ? (i(), s(o(d), {
19
+ key: 0,
20
+ size: 14,
21
+ "stroke-width": 2.25,
22
+ fill: "currentColor",
23
+ stroke: "var(--tpl-bg)"
24
+ })) : (i(), s(o(f), {
25
+ key: 1,
26
+ size: 14,
27
+ "stroke-width": 2.25,
28
+ fill: "currentColor",
29
+ stroke: "var(--tpl-bg)"
30
+ }))], 10, p)) : n("", !0);
31
+ }
32
+ });
33
+ export { m as default };
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { C as t, F as n, I as r, M as i, N as a, c as o, f as s, j as c, jt as l, l as u, ot as d, r as f, u as p, y as m } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
3
- import { gt as h, p as g } from "./dist-CzrLYq2s.js";
4
- import { a as _, c as v, s as y } from "./socialIcons-B_d52_eS.js";
5
- import { A as b, M as x, O as S, P as C, _ as w, a as T, f as E, g as D, h as O, i as k, j as ee, m as A, n as j, p as M, r as N, u as P } from "./useEditorCore-DG9UvWUm.js";
6
- import { $ as F, M as I, P as L, Q as R, f as te, g as ne, s as z, v as B, x as V } from "./keys-DBjrQkYH.js";
7
- import { t as H } from "./WrapperBlock-DwjK_IdJ.js";
2
+ import { C as t, F as n, I as r, M as i, Mt as a, N as o, c as s, f as c, j as l, l as u, r as d, st as f, u as p, y as m } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
3
+ import { gt as h, p as g } from "./dist-CKi_npZM.js";
4
+ import { a as _, c as v, s as y } from "./socialIcons-D7MGsg0d.js";
5
+ import { A as b, M as x, O as S, P as C, _ as w, a as T, f as E, g as D, h as O, i as k, j as ee, m as A, n as j, p as M, r as N, u as P } from "./useEditorCore-BSo2sSID.js";
6
+ import { $ as F, M as I, P as L, Q as R, f as te, g as ne, s as z, v as B, x as V } from "./keys-BgRERHzu.js";
7
+ import { t as H } from "./WrapperBlock-BsJv_Fiw.js";
8
8
  // src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
9
9
  var U = { class: "tpl:w-full" }, W = { class: "tpl:flex tpl:gap-0" }, G = /* @__PURE__ */ m({
10
10
  name: "PreviewSectionBlock",
@@ -27,7 +27,7 @@ var U = { class: "tpl:w-full" }, W = { class: "tpl:flex tpl:gap-0" }, G = /* @__
27
27
  spacer: k,
28
28
  html: O,
29
29
  custom: w
30
- }, m = e, h = t(z, null), g = o(() => {
30
+ }, m = e, h = t(z, null), g = s(() => {
31
31
  switch (m.block.columns) {
32
32
  case "2": return ["50%", "50%"];
33
33
  case "3": return [
@@ -39,7 +39,7 @@ var U = { class: "tpl:w-full" }, W = { class: "tpl:flex tpl:gap-0" }, G = /* @__
39
39
  case "2-1": return ["66.67%", "33.33%"];
40
40
  default: return ["100%"];
41
41
  }
42
- }), _ = o(() => {
42
+ }), _ = s(() => {
43
43
  let e = g.value.length, t = [...m.block.children];
44
44
  for (; t.length < e;) t.push([]);
45
45
  return t.slice(0, e);
@@ -52,17 +52,17 @@ var U = { class: "tpl:w-full" }, W = { class: "tpl:flex tpl:gap-0" }, G = /* @__
52
52
  }
53
53
  return (e, t) => {
54
54
  let i = n("PreviewSectionBlock", !0);
55
- return c(), s("div", U, [u("div", W, [(c(!0), s(f, null, a(_.value, (e, t) => (c(), s("div", {
55
+ return l(), c("div", U, [u("div", W, [(l(!0), c(d, null, o(_.value, (e, t) => (l(), c("div", {
56
56
  key: t,
57
- style: l({ width: g.value[t] })
58
- }, [(c(!0), s(f, null, a(v(t), (e) => (c(), s("div", {
57
+ style: a({ width: g.value[t] })
58
+ }, [(l(!0), c(d, null, o(v(t), (e) => (l(), c("div", {
59
59
  key: e.id,
60
- style: l(d(b)(e))
61
- }, [e.type === "section" ? (c(), p(i, {
60
+ style: a(f(b)(e))
61
+ }, [e.type === "section" ? (l(), p(i, {
62
62
  key: 0,
63
63
  block: e,
64
64
  viewport: "desktop"
65
- }, null, 8, ["block"])) : (c(), p(r(y(e)), {
65
+ }, null, 8, ["block"])) : (l(), p(r(y(e)), {
66
66
  key: 1,
67
67
  block: e,
68
68
  viewport: "desktop"
@@ -82,8 +82,8 @@ var U = { class: "tpl:w-full" }, W = { class: "tpl:flex tpl:gap-0" }, G = /* @__
82
82
  },
83
83
  setup(e) {
84
84
  let n = e, m = t(z), b = t(ne, null), U = t(te, null), W = F(B, "BlockPreviewCanvas"), q = t(V, null), J = t(L, g.liquid), Y = t(I, null);
85
- i(R, o(() => Y?.value ?? !1));
86
- let X = o(() => n.applyConditionFilter ? n.blocks.filter((e) => !U?.isHidden(e.id)) : n.blocks), Z = o(() => n.settings ?? b?.content.value.settings), Q = o(() => v(Z.value, n.viewport)), re = o(() => Z.value ? x(Z.value, W.resolveFontFamily) : {}), ie = o(() => Z.value?.locale?.trim() || void 0), ae = o(() => h(Z.value ?? { locale: "en" })), oe = o(() => Z.value?.backgroundColor || "var(--tpl-canvas-bg)"), $ = o(() => Q.value + 192), se = {
85
+ i(R, s(() => Y?.value ?? !1));
86
+ let X = s(() => n.applyConditionFilter ? n.blocks.filter((e) => !U?.isHidden(e.id)) : n.blocks), Z = s(() => n.settings ?? b?.content.value.settings), Q = s(() => v(Z.value, n.viewport)), re = s(() => Z.value ? x(Z.value, W.resolveFontFamily) : {}), ie = s(() => Z.value?.locale?.trim() || void 0), ae = s(() => h(Z.value ?? { locale: "en" })), oe = s(() => Z.value?.backgroundColor || "var(--tpl-canvas-bg)"), $ = s(() => Q.value + 192), se = {
87
87
  section: G,
88
88
  title: P,
89
89
  paragraph: E,
@@ -109,10 +109,10 @@ var U = { class: "tpl:w-full" }, W = { class: "tpl:flex tpl:gap-0" }, G = /* @__
109
109
  settings: t
110
110
  } : void 0));
111
111
  }
112
- return (t, n) => (c(), s("div", {
112
+ return (t, n) => (l(), c("div", {
113
113
  "data-testid": "block-preview-stage",
114
114
  class: "tpl:pointer-events-none tpl:mx-auto tpl:flex tpl:select-none tpl:justify-center tpl:rounded-lg",
115
- style: l({
115
+ style: a({
116
116
  width: `${$.value}px`,
117
117
  minWidth: `${Q.value}px`,
118
118
  maxWidth: "100%",
@@ -123,15 +123,15 @@ var U = { class: "tpl:w-full" }, W = { class: "tpl:flex tpl:gap-0" }, G = /* @__
123
123
  "data-testid": "block-preview-canvas",
124
124
  lang: ie.value,
125
125
  dir: ae.value,
126
- style: l({
126
+ style: a({
127
127
  width: `${Q.value}px`,
128
- transition: d(y),
128
+ transition: f(y),
129
129
  ...re.value
130
130
  })
131
- }, [(c(!0), s(f, null, a(X.value, (t) => (c(), s("div", {
131
+ }, [(l(!0), c(d, null, o(X.value, (t) => (l(), c("div", {
132
132
  key: t.id,
133
- style: l(le(t))
134
- }, [(c(), p(r(ce(t)), {
133
+ style: a(le(t))
134
+ }, [(l(), p(r(ce(t)), {
135
135
  block: t,
136
136
  viewport: e.viewport
137
137
  }, null, 8, ["block", "viewport"]))], 4))), 128))], 12, K)], 4));
@@ -1,5 +1,5 @@
1
- import { Mt as e, d as t, f as n, j as r, ot as i, r as a, y as o } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { t as s } from "./useCloudI18n-DcLtxOQZ.js";
1
+ import { Nt as e, d as t, f as n, j as r, r as i, st as a, y as o } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { t as s } from "./useCloudI18n-DEMmUKuO.js";
3
3
  // src/cloud/components/CloudHeaderExtras.vue?vue&type=script&setup=true&lang.ts
4
4
  var c = {
5
5
  key: 0,
@@ -13,7 +13,7 @@ var c = {
13
13
  },
14
14
  setup(o) {
15
15
  let { t: l, format: u } = s();
16
- return (s, d) => o.part === "left" ? (r(), n(a, { key: 0 }, [o.cloud.featureFlags.templateLimit.value === null ? t("", !0) : (r(), n("span", c, e(i(u)(i(l).header.templatesUsed, {
16
+ return (s, d) => o.part === "left" ? (r(), n(i, { key: 0 }, [o.cloud.featureFlags.templateLimit.value === null ? t("", !0) : (r(), n("span", c, e(a(u)(a(l).header.templatesUsed, {
17
17
  used: o.cloud.featureFlags.templateCount.value,
18
18
  max: o.cloud.featureFlags.templateLimit.value
19
19
  })), 1))], 64)) : t("", !0);
@@ -1,10 +1,10 @@
1
- import { At as e, Mt as t, N as n, V as r, _ as i, d as a, f as o, h as s, j as c, l, ot as u, r as d, u as f, y as p } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { t as m } from "./runtime-dom.esm-bundler-CLGymEyk.js";
3
- import { t as h } from "./circle-alert-B9Ls75B5.js";
4
- import { t as g } from "./triangle-alert-CKLMyGVp.js";
5
- import { t as _ } from "./useCloudI18n-DcLtxOQZ.js";
1
+ import { H as e, N as t, Nt as n, _ as r, d as i, f as a, h as o, j as s, jt as c, l, r as u, st as d, u as f, y as p } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { t as m } from "./runtime-dom.esm-bundler-BURR-bj5.js";
3
+ import { t as h } from "./circle-alert-CShJwVFv.js";
4
+ import { t as g } from "./triangle-alert-7_oaitpf.js";
5
+ import { t as _ } from "./useCloudI18n-DEMmUKuO.js";
6
6
  import { d as v, v as y, x as b } from "./styleConstants-B8xVRiwX.js";
7
- import { t as x } from "./TplModal-9IndEYk5.js";
7
+ import { t as x } from "./TplModal-DLMssVlt.js";
8
8
  // src/cloud/components/CloudErrorOverlay.vue?vue&type=script&setup=true&lang.ts
9
9
  var S = {
10
10
  key: 0,
@@ -17,45 +17,45 @@ var S = {
17
17
  visible: { type: Boolean }
18
18
  },
19
19
  emits: ["retry"],
20
- setup(n, { emit: r }) {
21
- let s = r, { t: d } = _();
20
+ setup(e, { emit: t }) {
21
+ let o = t, { t: u } = _();
22
22
  function f(e) {
23
- return "isUnauthorized" in e && e.isUnauthorized ? d.error.authFailed : "isNotFound" in e && e.isNotFound ? d.error.templateNotFound : d.error.defaultMessage;
23
+ return "isUnauthorized" in e && e.isUnauthorized ? u.error.authFailed : "isNotFound" in e && e.isNotFound ? u.error.templateNotFound : u.error.defaultMessage;
24
24
  }
25
25
  function p(e) {
26
26
  return "isNotFound" in e && !!e.isNotFound;
27
27
  }
28
- return (r, m) => n.visible && n.error ? (c(), o("div", S, [
29
- l("div", C, [i(u(h), {
28
+ return (t, m) => e.visible && e.error ? (s(), a("div", S, [
29
+ l("div", C, [r(d(h), {
30
30
  size: 32,
31
31
  "stroke-width": 1.5,
32
32
  class: "tpl:text-[var(--tpl-danger)]"
33
33
  })]),
34
- l("div", w, [l("h2", T, t(u(d).error.title), 1), l("p", E, t(f(n.error)), 1)]),
35
- p(n.error) ? a("", !0) : (c(), o("button", {
34
+ l("div", w, [l("h2", T, n(d(u).error.title), 1), l("p", E, n(f(e.error)), 1)]),
35
+ p(e.error) ? i("", !0) : (s(), a("button", {
36
36
  key: 0,
37
37
  type: "button",
38
- class: e(u(y)),
39
- onClick: m[0] ||= (e) => s("retry")
40
- }, t(u(d).error.retry), 3))
41
- ])) : a("", !0);
38
+ class: c(d(y)),
39
+ onClick: m[0] ||= (e) => o("retry")
40
+ }, n(d(u).error.retry), 3))
41
+ ])) : i("", !0);
42
42
  }
43
43
  }), O = ["aria-label"], k = { class: "tpl:flex tpl:flex-1 tpl:overflow-hidden" }, A = { class: "tpl:flex tpl:w-12 tpl:shrink-0 tpl:flex-col tpl:items-center tpl:gap-4 tpl:py-5 tpl:border-r tpl:border-[var(--tpl-border)]" }, j = /* @__PURE__ */ p({
44
44
  __name: "CloudLoadingOverlay",
45
45
  props: { visible: { type: Boolean } },
46
46
  setup(e) {
47
- let { t } = _();
48
- return (r, i) => e.visible ? (c(), o("div", {
47
+ let { t: n } = _();
48
+ return (r, c) => e.visible ? (s(), a("div", {
49
49
  key: 0,
50
50
  role: "status",
51
51
  "aria-live": "polite",
52
52
  "aria-busy": "true",
53
- "aria-label": u(t).loading.initializing,
53
+ "aria-label": d(n).loading.initializing,
54
54
  class: "tpl-loading tpl:absolute tpl:inset-0 tpl:z-[100] tpl:flex tpl:flex-col tpl:bg-[var(--tpl-bg)]"
55
- }, [i[1] ||= s("<div class=\"tpl:flex tpl:h-14 tpl:shrink-0 tpl:items-center tpl:justify-between tpl:px-4 tpl:border-b tpl:border-[var(--tpl-border)]\"><div class=\"tpl-shimmer tpl:h-5 tpl:w-28 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl:flex tpl:gap-3\"><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div></div></div>", 1), l("div", k, [l("div", A, [(c(), o(d, null, n(5, (e) => l("div", {
55
+ }, [c[1] ||= o("<div class=\"tpl:flex tpl:h-14 tpl:shrink-0 tpl:items-center tpl:justify-between tpl:px-4 tpl:border-b tpl:border-[var(--tpl-border)]\"><div class=\"tpl-shimmer tpl:h-5 tpl:w-28 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl:flex tpl:gap-3\"><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl-shimmer tpl:h-8 tpl:w-20 tpl:rounded-[var(--tpl-radius-sm)]\"></div></div></div>", 1), l("div", k, [l("div", A, [(s(), a(u, null, t(5, (e) => l("div", {
56
56
  key: e,
57
57
  class: "tpl-shimmer tpl:size-7 tpl:rounded-[var(--tpl-radius-sm)]"
58
- })), 64))]), i[0] ||= s("<div class=\"tpl:flex tpl:flex-1 tpl:items-start tpl:justify-center tpl:overflow-auto tpl:p-8 tpl:bg-[var(--tpl-canvas-bg)]\"><div class=\"tpl:w-full tpl:max-w-[600px] tpl:rounded-[var(--tpl-radius)] tpl:p-6 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)]\"><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:h-3 tpl:w-3/4 tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-full tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-5/6 tpl:rounded\"></div></div><div class=\"tpl:py-4\"><div class=\"tpl-shimmer tpl:h-44 tpl:w-full tpl:rounded-[var(--tpl-radius-sm)]\"></div></div><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:h-3 tpl:w-full tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-2/3 tpl:rounded\"></div></div><div class=\"tpl:flex tpl:justify-center tpl:py-4\"><div class=\"tpl-shimmer tpl:h-10 tpl:w-36 tpl:rounded-[var(--tpl-radius-sm)]\"></div></div><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:mx-auto tpl:h-2.5 tpl:w-1/2 tpl:rounded\"></div><div class=\"tpl-shimmer tpl:mx-auto tpl:h-2.5 tpl:w-1/3 tpl:rounded\"></div></div></div></div><div class=\"tpl:flex tpl:w-[320px] tpl:shrink-0 tpl:flex-col tpl:gap-4 tpl:p-4 tpl:border-l tpl:border-[var(--tpl-border)]\"><div class=\"tpl-shimmer tpl:h-8 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl-shimmer tpl:h-32 tpl:rounded-[var(--tpl-radius)]\"></div><div class=\"tpl-shimmer tpl:h-32 tpl:rounded-[var(--tpl-radius)]\"></div></div>", 2)])], 8, O)) : a("", !0);
58
+ })), 64))]), c[0] ||= o("<div class=\"tpl:flex tpl:flex-1 tpl:items-start tpl:justify-center tpl:overflow-auto tpl:p-8 tpl:bg-[var(--tpl-canvas-bg)]\"><div class=\"tpl:w-full tpl:max-w-[600px] tpl:rounded-[var(--tpl-radius)] tpl:p-6 tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)]\"><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:h-3 tpl:w-3/4 tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-full tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-5/6 tpl:rounded\"></div></div><div class=\"tpl:py-4\"><div class=\"tpl-shimmer tpl:h-44 tpl:w-full tpl:rounded-[var(--tpl-radius-sm)]\"></div></div><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:h-3 tpl:w-full tpl:rounded\"></div><div class=\"tpl-shimmer tpl:h-3 tpl:w-2/3 tpl:rounded\"></div></div><div class=\"tpl:flex tpl:justify-center tpl:py-4\"><div class=\"tpl-shimmer tpl:h-10 tpl:w-36 tpl:rounded-[var(--tpl-radius-sm)]\"></div></div><div class=\"tpl:space-y-2 tpl:py-4\"><div class=\"tpl-shimmer tpl:mx-auto tpl:h-2.5 tpl:w-1/2 tpl:rounded\"></div><div class=\"tpl-shimmer tpl:mx-auto tpl:h-2.5 tpl:w-1/3 tpl:rounded\"></div></div></div></div><div class=\"tpl:flex tpl:w-[320px] tpl:shrink-0 tpl:flex-col tpl:gap-4 tpl:p-4 tpl:border-l tpl:border-[var(--tpl-border)]\"><div class=\"tpl-shimmer tpl:h-8 tpl:rounded-[var(--tpl-radius-sm)]\"></div><div class=\"tpl-shimmer tpl:h-32 tpl:rounded-[var(--tpl-radius)]\"></div><div class=\"tpl-shimmer tpl:h-32 tpl:rounded-[var(--tpl-radius)]\"></div></div>", 2)])], 8, O)) : i("", !0);
59
59
  }
60
60
  }), M = {
61
61
  role: "alertdialog",
@@ -77,34 +77,34 @@ var S = {
77
77
  issues: {}
78
78
  },
79
79
  emits: ["cancel", "confirm"],
80
- setup(a, { emit: s }) {
81
- let p = s, { t: m } = _();
82
- return (s, h) => (c(), f(x, {
83
- visible: a.open,
80
+ setup(i, { emit: o }) {
81
+ let p = o, { t: m } = _();
82
+ return (o, h) => (s(), f(x, {
83
+ visible: i.open,
84
84
  onClose: h[2] ||= (e) => p("cancel")
85
85
  }, {
86
- default: r(() => [l("div", M, [
87
- l("header", N, [i(u(g), {
86
+ default: e(() => [l("div", M, [
87
+ l("header", N, [r(d(g), {
88
88
  size: 18,
89
89
  "stroke-width": 2,
90
90
  class: "tpl:text-[var(--tpl-warning)]"
91
- }), l("h2", P, t(u(m).saveGate.title), 1)]),
92
- l("p", F, t(u(m).saveGate.body), 1),
93
- l("ul", I, [(c(!0), o(d, null, n(a.issues, (e) => (c(), o("li", {
91
+ }), l("h2", P, n(d(m).saveGate.title), 1)]),
92
+ l("p", F, n(d(m).saveGate.body), 1),
93
+ l("ul", I, [(s(!0), a(u, null, t(i.issues, (e) => (s(), a("li", {
94
94
  key: `${e.ruleId}-${e.blockId ?? "template"}`,
95
95
  class: "tpl:flex tpl:flex-col tpl:gap-0.5 tpl:rounded tpl:px-2 tpl:py-1.5"
96
- }, [l("span", L, t(e.message), 1), l("span", R, t(e.ruleId), 1)]))), 128))]),
96
+ }, [l("span", L, n(e.message), 1), l("span", R, n(e.ruleId), 1)]))), 128))]),
97
97
  l("footer", z, [l("button", {
98
98
  type: "button",
99
99
  "data-testid": "cloud-save-gate-cancel",
100
- class: e(u(b)),
100
+ class: c(d(b)),
101
101
  onClick: h[0] ||= (e) => p("cancel")
102
- }, t(u(m).saveGate.cancel), 3), l("button", {
102
+ }, n(d(m).saveGate.cancel), 3), l("button", {
103
103
  type: "button",
104
104
  "data-testid": "cloud-save-gate-confirm",
105
- class: e(u(v)),
105
+ class: c(d(v)),
106
106
  onClick: h[1] ||= (e) => p("confirm")
107
- }, t(u(m).saveGate.confirm), 3)])
107
+ }, n(d(m).saveGate.confirm), 3)])
108
108
  ])]),
109
109
  _: 1
110
110
  }, 8, ["visible"]));
@@ -118,9 +118,9 @@ var S = {
118
118
  cloud: {},
119
119
  ready: {}
120
120
  },
121
- setup(e) {
122
- return (t, n) => (c(), o(d, null, [
123
- i(m, {
121
+ setup(t) {
122
+ return (n, i) => (s(), a(u, null, [
123
+ r(m, {
124
124
  "enter-active-class": "tpl:transition-opacity tpl:duration-200",
125
125
  "enter-from-class": "tpl:opacity-100",
126
126
  "enter-to-class": "tpl:opacity-100",
@@ -128,10 +128,10 @@ var S = {
128
128
  "leave-from-class": "tpl:opacity-100",
129
129
  "leave-to-class": "tpl:opacity-0"
130
130
  }, {
131
- default: r(() => [i(j, { visible: e.editor.state.isLoading }, null, 8, ["visible"])]),
131
+ default: e(() => [r(j, { visible: t.editor.state.isLoading }, null, 8, ["visible"])]),
132
132
  _: 1
133
133
  }),
134
- i(m, {
134
+ r(m, {
135
135
  "enter-active-class": "tpl:transition-opacity tpl:duration-200",
136
136
  "enter-from-class": "tpl:opacity-0",
137
137
  "enter-to-class": "tpl:opacity-100",
@@ -139,10 +139,10 @@ var S = {
139
139
  "leave-from-class": "tpl:opacity-100",
140
140
  "leave-to-class": "tpl:opacity-0"
141
141
  }, {
142
- default: r(() => [i(D, {
143
- error: e.ready.sessionError.value,
144
- visible: !!e.ready.sessionError.value,
145
- onRetry: e.ready.retry
142
+ default: e(() => [r(D, {
143
+ error: t.ready.sessionError.value,
144
+ visible: !!t.ready.sessionError.value,
145
+ onRetry: t.ready.retry
146
146
  }, null, 8, [
147
147
  "error",
148
148
  "visible",
@@ -150,11 +150,11 @@ var S = {
150
150
  ])]),
151
151
  _: 1
152
152
  }),
153
- i(B, {
154
- open: e.ready.saveGate.modalOpen.value,
155
- issues: e.ready.saveGate.blockingIssues.value,
156
- onCancel: e.ready.saveGate.cancel,
157
- onConfirm: e.ready.saveGate.confirmAndSave
153
+ r(B, {
154
+ open: t.ready.saveGate.modalOpen.value,
155
+ issues: t.ready.saveGate.blockingIssues.value,
156
+ onCancel: t.ready.saveGate.cancel,
157
+ onConfirm: t.ready.saveGate.confirmAndSave
158
158
  }, null, 8, [
159
159
  "open",
160
160
  "issues",
@@ -1,12 +1,12 @@
1
- import { Mt as e, _ as t, c as n, d as r, f as i, j as a, jt as o, l as s, ot as c, y as l } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { t as u } from "./useI18n-CeTm777E.js";
3
- import { t as d } from "./x-zcrnmcmU.js";
1
+ import { Mt as e, Nt as t, _ as n, c as r, d as i, f as a, j as o, l as s, st as c, y as l } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { t as u } from "./useI18n-BBrHTdu8.js";
3
+ import { t as d } from "./x-BpfG7v9g.js";
4
4
  // src/components/collaboration/CollaborationNotices.vue?vue&type=script&setup=true&lang.ts
5
5
  var f = { class: "tpl:pointer-events-none tpl:absolute tpl:top-16 tpl:left-1/2 tpl:z-[60] tpl:flex tpl:-translate-x-1/2 tpl:flex-col tpl:items-center tpl:gap-2" }, p = ["data-kind", "data-tone"], m = ["aria-label", "title"], h = /* @__PURE__ */ l({
6
6
  __name: "CollaborationNotices",
7
7
  props: { feature: {} },
8
8
  setup(l) {
9
- let h = l, { t: g, format: _ } = u(), v = n(() => h.feature.notices.value.at(-1) ?? null), y = n(() => h.feature.connection.value === "reconnecting" || h.feature.connection.value === "offline"), b = n(() => v.value?.kind === "agentEdited" || v.value?.kind === "aiEdited" ? "info" : "warning"), x = {
9
+ let h = l, { t: g, format: _ } = u(), v = r(() => h.feature.notices.value.at(-1) ?? null), y = r(() => h.feature.connection.value === "reconnecting" || h.feature.connection.value === "offline"), b = r(() => v.value?.kind === "agentEdited" || v.value?.kind === "aiEdited" ? "info" : "warning"), x = {
10
10
  warning: {
11
11
  backgroundColor: "var(--tpl-warning-light)",
12
12
  color: "var(--tpl-text)",
@@ -41,7 +41,7 @@ var f = { class: "tpl:pointer-events-none tpl:absolute tpl:top-16 tpl:left-1/2 t
41
41
  case "aiEdited": return C(e);
42
42
  }
43
43
  }
44
- return (n, u) => (a(), i("div", f, [y.value ? (a(), i("div", {
44
+ return (r, u) => (o(), a("div", f, [y.value ? (o(), a("div", {
45
45
  key: 0,
46
46
  "data-testid": "collaboration-notice",
47
47
  "data-kind": "reconnecting",
@@ -49,8 +49,8 @@ var f = { class: "tpl:pointer-events-none tpl:absolute tpl:top-16 tpl:left-1/2 t
49
49
  role: "status",
50
50
  "aria-live": "polite",
51
51
  class: "tpl:pointer-events-auto tpl:rounded-[var(--tpl-radius)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:shadow-[var(--tpl-shadow-lg)]",
52
- style: o(x.warning)
53
- }, e(c(g).collaboration.reconnectingNotice), 5)) : r("", !0), v.value ? (a(), i("div", {
52
+ style: e(x.warning)
53
+ }, t(c(g).collaboration.reconnectingNotice), 5)) : i("", !0), v.value ? (o(), a("div", {
54
54
  key: v.value.id,
55
55
  "data-testid": "collaboration-notice",
56
56
  "data-kind": v.value.kind,
@@ -58,18 +58,18 @@ var f = { class: "tpl:pointer-events-none tpl:absolute tpl:top-16 tpl:left-1/2 t
58
58
  role: "status",
59
59
  "aria-live": "polite",
60
60
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:shadow-[var(--tpl-shadow-lg)]",
61
- style: o(x[b.value])
62
- }, [s("span", null, e(w(v.value)), 1), s("button", {
61
+ style: e(x[b.value])
62
+ }, [s("span", null, t(w(v.value)), 1), s("button", {
63
63
  type: "button",
64
64
  class: "tpl:flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded tpl:text-[var(--tpl-text-muted)] tpl:hover:text-[var(--tpl-text)]",
65
65
  "aria-label": c(g).collaboration.dismiss,
66
66
  title: c(g).collaboration.dismiss,
67
67
  onClick: u[0] ||= (e) => l.feature.dismissNotice(v.value.id)
68
- }, [t(c(d), {
68
+ }, [n(c(d), {
69
69
  size: 14,
70
70
  "stroke-width": 2,
71
71
  "aria-hidden": "true"
72
- })], 8, m)], 12, p)) : r("", !0)]));
72
+ })], 8, m)], 12, p)) : i("", !0)]));
73
73
  }
74
74
  });
75
75
  export { h as default };