@templatical/editor 0.23.0 → 0.24.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 (240) hide show
  1. package/dist/{AiChatSidebar-Bru6-ziQ.js → AiChatSidebar-X4viKtvs.js} +14 -14
  2. package/dist/{AiFeatureMenu-CcqjRMFW.js → AiFeatureMenu-DDAamRaA.js} +7 -7
  3. package/dist/{BlockIssueBadge-Dmj9rVra.js → BlockIssueBadge-Qxrl7Ujl.js} +5 -5
  4. package/dist/BlockPreviewCanvas-Cf-kxbEr.js +117 -0
  5. package/dist/{CloudEditor-iK4vkpNm.js → CloudEditor-JIzhj1Xq.js} +134 -129
  6. package/dist/{CollaboratorBar-C_1SF7Xf.js → CollaboratorBar-tC7AACTb.js} +4 -4
  7. package/dist/{ColorPicker-s9GHXjZs.js → ColorPicker--_2PbzFk.js} +9 -11
  8. package/dist/{CommentsSidebar-DvNEdugN.js → CommentsSidebar-Ci2Ov8FG.js} +15 -15
  9. package/dist/{CountdownBlock-J_Q9JRQM.js → CountdownBlock-aZIKfBWY.js} +3 -3
  10. package/dist/{CountdownToolbar-DPRcv3Fu.js → CountdownToolbar-DHp6T0Q_.js} +4 -4
  11. package/dist/DesignReferenceSidebar-DQsC-3hB.js +264 -0
  12. package/dist/{IssuesPanel-CEnEGFtd.js → IssuesPanel-CoOfib44.js} +8 -8
  13. package/dist/{LoadingTrack-KIcREPlS.js → LoadingTrack-XK_eeUdq.js} +1 -1
  14. package/dist/MergeTagModeToggle-CiFiSV0C.js +180 -0
  15. package/dist/{MergeTagSuggestion-D9eCryMC.js → MergeTagSuggestion-D0OHRv7L.js} +9 -13
  16. package/dist/{NumberWithSuffix-CCPN_oCh.js → NumberWithSuffix-CXFbUqsx.js} +2 -2
  17. package/dist/{ParagraphEditor-MKJYyWN9.js → ParagraphEditor-Cy-bpEjI.js} +45 -45
  18. package/dist/{RichTextEditorContent-FbnWsh46.js → RichTextEditorContent-CYJko6id.js} +9 -9
  19. package/dist/{SaveBlockDialog-CFAJHP3v.js → SaveBlockDialog-CNTSaMEa.js} +11 -11
  20. package/dist/{SavedBlocksBrowserModal-C_-Xcm0Q.js → SavedBlocksBrowserModal-CvxS5-YX.js} +11 -11
  21. package/dist/{SavedBlocksPanels-CRf7zzFn.js → SavedBlocksPanels-CNdUxS89.js} +2 -2
  22. package/dist/{SavedBlocksPickBar-C1FTJP-I.js → SavedBlocksPickBar-BvXKhblL.js} +4 -4
  23. package/dist/{SnapshotHistory-DWlQ3Eh0.js → SnapshotHistory-BqPSIV9L.js} +10 -10
  24. package/dist/{TemplateScoringPanel-ifGGGWs5.js → TemplateScoringPanel-CMEuz9yF.js} +15 -15
  25. package/dist/{TestEmailModal-D90-3Yex.js → TestEmailModal-BDhnnCBx.js} +71 -59
  26. package/dist/{TestEmailPanel-B0u_Yd3X.js → TestEmailPanel--RwnwLn2.js} +2 -2
  27. package/dist/{TitleEditor-DzsPxKv4.js → TitleEditor-F7E_pU9H.js} +13 -13
  28. package/dist/TplModal-BIiS24Of.js +49 -0
  29. package/dist/{blockTypeIcons-CpKkI47V.js → blockTypeIcons-C6PnLMp7.js} +26 -26
  30. package/dist/bundle-stats.json +6 -6
  31. package/dist/{ca-D47BxSGu.js → ca-CO4nq6TX.js} +8 -1
  32. package/dist/cdn/chunks/{AiChatSidebar-BMnsF8G6.js → AiChatSidebar-UbF3ePzR.js} +15 -15
  33. package/dist/cdn/chunks/{AiChatSidebar-BMnsF8G6.js.map → AiChatSidebar-UbF3ePzR.js.map} +1 -1
  34. package/dist/cdn/chunks/{AiFeatureMenu-hWgWQg11.js → AiFeatureMenu-OIwoJzHG.js} +9 -9
  35. package/dist/cdn/chunks/{AiFeatureMenu-hWgWQg11.js.map → AiFeatureMenu-OIwoJzHG.js.map} +1 -1
  36. package/dist/cdn/chunks/{BlockIssueBadge-Da4yR-mh.js → BlockIssueBadge-Bd2EuT1C.js} +5 -5
  37. package/dist/cdn/chunks/{BlockIssueBadge-Da4yR-mh.js.map → BlockIssueBadge-Bd2EuT1C.js.map} +1 -1
  38. package/dist/cdn/chunks/BlockPreviewCanvas-C-ut8GkJ.js +119 -0
  39. package/dist/cdn/chunks/BlockPreviewCanvas-C-ut8GkJ.js.map +1 -0
  40. package/dist/cdn/chunks/{CloudEditor-S8zLHtKb.js → CloudEditor-D87qsqbZ.js} +133 -128
  41. package/dist/cdn/chunks/CloudEditor-D87qsqbZ.js.map +1 -0
  42. package/dist/cdn/chunks/{CollaboratorBar-mkJVAkSh.js → CollaboratorBar-Br4RvNrA.js} +5 -5
  43. package/dist/cdn/chunks/{CollaboratorBar-mkJVAkSh.js.map → CollaboratorBar-Br4RvNrA.js.map} +1 -1
  44. package/dist/cdn/chunks/{ColorPicker-DZSzZ5ZP.js → ColorPicker-B-ymPPtU.js} +10 -12
  45. package/dist/cdn/chunks/{ColorPicker-DZSzZ5ZP.js.map → ColorPicker-B-ymPPtU.js.map} +1 -1
  46. package/dist/cdn/chunks/{CommentsSidebar-DHdRiGPX.js → CommentsSidebar-Tv_WTcJv.js} +19 -19
  47. package/dist/cdn/chunks/{CommentsSidebar-DHdRiGPX.js.map → CommentsSidebar-Tv_WTcJv.js.map} +1 -1
  48. package/dist/cdn/chunks/{CountdownBlock-Bffpoppw.js → CountdownBlock-cEcXSK91.js} +4 -4
  49. package/dist/cdn/chunks/{CountdownBlock-Bffpoppw.js.map → CountdownBlock-cEcXSK91.js.map} +1 -1
  50. package/dist/cdn/chunks/{CountdownToolbar-DAnmIZjq.js → CountdownToolbar-CLp3_ebk.js} +5 -5
  51. package/dist/cdn/chunks/{CountdownToolbar-DAnmIZjq.js.map → CountdownToolbar-CLp3_ebk.js.map} +1 -1
  52. package/dist/cdn/chunks/{DesignReferenceSidebar-CM-k15pd.js → DesignReferenceSidebar-YeqxSsxO.js} +33 -33
  53. package/dist/cdn/chunks/{DesignReferenceSidebar-CM-k15pd.js.map → DesignReferenceSidebar-YeqxSsxO.js.map} +1 -1
  54. package/dist/cdn/chunks/{IssuesPanel-D80JedOj.js → IssuesPanel-BhsvC3XQ.js} +10 -10
  55. package/dist/cdn/chunks/{IssuesPanel-D80JedOj.js.map → IssuesPanel-BhsvC3XQ.js.map} +1 -1
  56. package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js → LoadingTrack-G2tuXqCJ.js} +2 -2
  57. package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js.map → LoadingTrack-G2tuXqCJ.js.map} +1 -1
  58. package/dist/cdn/chunks/MergeTagModeToggle-DrdxQA0K.js +127 -0
  59. package/dist/cdn/chunks/MergeTagModeToggle-DrdxQA0K.js.map +1 -0
  60. package/dist/cdn/chunks/{MergeTagSuggestion-BM349_QH.js → MergeTagSuggestion-Ces5Ua78.js} +3 -3
  61. package/dist/cdn/chunks/{MergeTagSuggestion-BM349_QH.js.map → MergeTagSuggestion-Ces5Ua78.js.map} +1 -1
  62. package/dist/cdn/chunks/{NumberWithSuffix-CjlVNIEe.js → NumberWithSuffix-BK_Xh4w4.js} +3 -3
  63. package/dist/cdn/chunks/{NumberWithSuffix-CjlVNIEe.js.map → NumberWithSuffix-BK_Xh4w4.js.map} +1 -1
  64. package/dist/cdn/chunks/{ParagraphEditor-J-1RLyi7.js → ParagraphEditor-DKz4vTWB.js} +128 -128
  65. package/dist/cdn/chunks/{ParagraphEditor-J-1RLyi7.js.map → ParagraphEditor-DKz4vTWB.js.map} +1 -1
  66. package/dist/cdn/chunks/{RichTextEditorContent-BbdgJqWM.js → RichTextEditorContent-CJ2WVicQ.js} +8 -8
  67. package/dist/cdn/chunks/{RichTextEditorContent-BbdgJqWM.js.map → RichTextEditorContent-CJ2WVicQ.js.map} +1 -1
  68. package/dist/cdn/chunks/{SaveBlockDialog-Bi_Z3kuA.js → SaveBlockDialog-DTemkKPX.js} +9 -9
  69. package/dist/cdn/chunks/{SaveBlockDialog-Bi_Z3kuA.js.map → SaveBlockDialog-DTemkKPX.js.map} +1 -1
  70. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CesYxFsH.js → SavedBlocksBrowserModal-DbMaIbeH.js} +9 -9
  71. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CesYxFsH.js.map → SavedBlocksBrowserModal-DbMaIbeH.js.map} +1 -1
  72. package/dist/cdn/chunks/{SavedBlocksPanels-BsSpJwrW.js → SavedBlocksPanels-CUffuDAC.js} +3 -3
  73. package/dist/cdn/chunks/{SavedBlocksPanels-BsSpJwrW.js.map → SavedBlocksPanels-CUffuDAC.js.map} +1 -1
  74. package/dist/cdn/chunks/{SavedBlocksPickBar-CduR1Cpb.js → SavedBlocksPickBar-D7SmNz2n.js} +7 -7
  75. package/dist/cdn/chunks/{SavedBlocksPickBar-CduR1Cpb.js.map → SavedBlocksPickBar-D7SmNz2n.js.map} +1 -1
  76. package/dist/cdn/chunks/{SnapshotHistory-DO-gzr3i.js → SnapshotHistory-m5Z8bTej.js} +10 -10
  77. package/dist/cdn/chunks/{SnapshotHistory-DO-gzr3i.js.map → SnapshotHistory-m5Z8bTej.js.map} +1 -1
  78. package/dist/cdn/chunks/{TemplateScoringPanel-CTk8WwxU.js → TemplateScoringPanel-DgRU5fty.js} +53 -53
  79. package/dist/cdn/chunks/{TemplateScoringPanel-CTk8WwxU.js.map → TemplateScoringPanel-DgRU5fty.js.map} +1 -1
  80. package/dist/cdn/chunks/TestEmailModal-Ce8-vzGh.js +174 -0
  81. package/dist/cdn/chunks/TestEmailModal-Ce8-vzGh.js.map +1 -0
  82. package/dist/cdn/chunks/{TestEmailPanel-048m0kxX.js → TestEmailPanel-BlmIKKSL.js} +3 -3
  83. package/dist/cdn/chunks/{TestEmailPanel-048m0kxX.js.map → TestEmailPanel-BlmIKKSL.js.map} +1 -1
  84. package/dist/cdn/chunks/{TitleEditor-J1vgU_J6.js → TitleEditor-C6_bQxYR.js} +19 -19
  85. package/dist/cdn/chunks/{TitleEditor-J1vgU_J6.js.map → TitleEditor-C6_bQxYR.js.map} +1 -1
  86. package/dist/cdn/chunks/TplModal-D6bFON2K.js +50 -0
  87. package/dist/cdn/chunks/TplModal-D6bFON2K.js.map +1 -0
  88. package/dist/cdn/chunks/blockTypeIcons-B8s3_ahs.js +21 -0
  89. package/dist/cdn/chunks/{blockTypeIcons-etMMQoVv.js.map → blockTypeIcons-B8s3_ahs.js.map} +1 -1
  90. package/dist/cdn/chunks/{ca-D47BxSGu.js → ca-CO4nq6TX.js} +9 -2
  91. package/dist/cdn/chunks/{ca-D47BxSGu.js.map → ca-CO4nq6TX.js.map} +1 -1
  92. package/dist/cdn/chunks/{cloud-F-aVi9hj.js → cloud-CRlDc0Ev.js} +13 -17
  93. package/dist/cdn/chunks/{cloud-F-aVi9hj.js.map → cloud-CRlDc0Ev.js.map} +1 -1
  94. package/dist/{de-CnnxBwh7.js → cdn/chunks/de-CUeaFJph.js} +10 -1
  95. package/dist/cdn/chunks/{de-CnnxBwh7.js.map → de-CUeaFJph.js.map} +1 -1
  96. package/dist/cdn/chunks/{dist-CxTt8FRE.js → dist-B8AX9np4.js} +16 -12
  97. package/dist/cdn/chunks/dist-B8AX9np4.js.map +1 -0
  98. package/dist/cdn/chunks/{dist-CiBEt0VR.js → dist-lZgXNk4G.js} +36 -20
  99. package/dist/cdn/chunks/dist-lZgXNk4G.js.map +1 -0
  100. package/dist/cdn/chunks/{draggable-D840DIZB.js → draggable-JcMTNF3U.js} +14 -15
  101. package/dist/cdn/chunks/{draggable-D840DIZB.js.map → draggable-JcMTNF3U.js.map} +1 -1
  102. package/dist/{en-5gW-bYy2.js → cdn/chunks/en-zCYIPAL5.js} +10 -1
  103. package/dist/cdn/chunks/{en-5gW-bYy2.js.map → en-zCYIPAL5.js.map} +1 -1
  104. package/dist/cdn/chunks/{es-sQ9SdI0l.js → es-BSiH7YkP.js} +9 -2
  105. package/dist/cdn/chunks/{es-sQ9SdI0l.js.map → es-BSiH7YkP.js.map} +1 -1
  106. package/dist/cdn/chunks/{extensions-C49c51P1.js → extensions-CKMD_er_.js} +25 -21
  107. package/dist/cdn/chunks/{extensions-C49c51P1.js.map → extensions-CKMD_er_.js.map} +1 -1
  108. package/dist/{fr-DBZ5w21C.js → cdn/chunks/fr-DTVJ3det.js} +10 -1
  109. package/dist/cdn/chunks/fr-DTVJ3det.js.map +1 -0
  110. package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js → htmlparser-CPhs2cYE.js} +3 -5
  111. package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js.map → htmlparser-CPhs2cYE.js.map} +1 -1
  112. package/dist/cdn/chunks/{icons-CYWw8Xfp.js → icons-Cp4ZIJw-.js} +65 -44
  113. package/dist/cdn/chunks/icons-Cp4ZIJw-.js.map +1 -0
  114. package/dist/cdn/chunks/keys-CswSK7eb.js +12 -0
  115. package/dist/cdn/chunks/keys-CswSK7eb.js.map +1 -0
  116. package/dist/cdn/chunks/{liquid.browser-BJOEu6Cg.js → liquid.browser-CZaQe87t.js} +756 -718
  117. package/dist/cdn/chunks/liquid.browser-CZaQe87t.js.map +1 -0
  118. package/dist/cdn/chunks/{nl-DOL7Fnfo.js → nl-BqSquFS3.js} +9 -2
  119. package/dist/cdn/chunks/nl-BqSquFS3.js.map +1 -0
  120. package/dist/{pt-BR-DRCdHX1d.js → cdn/chunks/pt-BR-CMljK37h.js} +10 -1
  121. package/dist/cdn/chunks/{pt-BR-DRCdHX1d.js.map → pt-BR-CMljK37h.js.map} +1 -1
  122. package/dist/cdn/chunks/{pusher-R0v5p99W.js → pusher-kUlkqMvR.js} +21 -28
  123. package/dist/cdn/chunks/{pusher-R0v5p99W.js.map → pusher-kUlkqMvR.js.map} +1 -1
  124. package/dist/cdn/chunks/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  125. package/dist/cdn/chunks/{src-SluTVSz_.js → src-B3HKHglu.js} +19 -23
  126. package/dist/cdn/chunks/{src-SluTVSz_.js.map → src-B3HKHglu.js.map} +1 -1
  127. package/dist/cdn/chunks/{src-CM0gCvAS.js → src-B4UhYbI8.js} +253 -253
  128. package/dist/cdn/chunks/{src-CM0gCvAS.js.map → src-B4UhYbI8.js.map} +1 -1
  129. package/dist/cdn/chunks/{src-CzoMNRq4.js → src-CumZZNXZ.js} +542 -806
  130. package/dist/cdn/chunks/{src-CzoMNRq4.js.map → src-CumZZNXZ.js.map} +1 -1
  131. package/dist/cdn/chunks/{src-BKI1x1k7.js → src-D5mfLR4V.js} +183 -165
  132. package/dist/cdn/chunks/{src-BKI1x1k7.js.map → src-D5mfLR4V.js.map} +1 -1
  133. package/dist/cdn/chunks/{styles-BbfU2w9R.js → styles--m9OCb_Z.js} +730 -723
  134. package/dist/cdn/chunks/styles--m9OCb_Z.js.map +1 -0
  135. package/dist/cdn/chunks/timeouts-SsLMC4a3.js +6 -0
  136. package/dist/cdn/chunks/{timeouts-Bmi_yePw.js.map → timeouts-SsLMC4a3.js.map} +1 -1
  137. package/dist/cdn/chunks/{tiptap-DUTbZTeR.js → tiptap-rsib432n.js} +136 -123
  138. package/dist/cdn/chunks/tiptap-rsib432n.js.map +1 -0
  139. package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js → useAliveFlag-CseYNikC.js} +2 -2
  140. package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js.map → useAliveFlag-CseYNikC.js.map} +1 -1
  141. package/dist/cdn/chunks/{useCloudI18n-BjNENqkM.js → useCloudI18n-sx1pqEbY.js} +3 -3
  142. package/dist/cdn/chunks/{useCloudI18n-BjNENqkM.js.map → useCloudI18n-sx1pqEbY.js.map} +1 -1
  143. package/dist/cdn/chunks/{useEditorCore-CzMhD6Gd.js → useEditorCore-ZqF7P99K.js} +457 -435
  144. package/dist/cdn/chunks/useEditorCore-ZqF7P99K.js.map +1 -0
  145. package/dist/cdn/chunks/{useI18n-8Wd7G-cq.js → useI18n-vD57BfVR.js} +3 -3
  146. package/dist/cdn/chunks/{useI18n-8Wd7G-cq.js.map → useI18n-vD57BfVR.js.map} +1 -1
  147. package/dist/cdn/chunks/{useMergeTag-C7G31KV-.js → useMergeTag-HatzNGgc.js} +5 -5
  148. package/dist/cdn/chunks/{useMergeTag-C7G31KV-.js.map → useMergeTag-HatzNGgc.js.map} +1 -1
  149. package/dist/cdn/chunks/{usePopoverPosition-Bx0QewTv.js → usePopoverPosition-BdQ3Sv4B.js} +3 -3
  150. package/dist/cdn/chunks/{usePopoverPosition-Bx0QewTv.js.map → usePopoverPosition-BdQ3Sv4B.js.map} +1 -1
  151. package/dist/cdn/editor.css +1 -1
  152. package/dist/cdn/editor.js +144 -139
  153. package/dist/cdn/editor.js.map +1 -1
  154. package/dist/{check-BpQDKiPz.js → check-CIhIDh4h.js} +1 -1
  155. package/dist/{chevron-down-j8GrdTyz.js → chevron-down-CZ0m6G3s.js} +1 -1
  156. package/dist/{chevron-up-BACyVhyC.js → chevron-up-BH_tJLeb.js} +1 -1
  157. package/dist/{circle-alert-CgtE46ND.js → circle-alert-DkEXnGPV.js} +1 -1
  158. package/dist/{clock-BzKLLW5L.js → clock-BDIJZUET.js} +1 -1
  159. package/dist/{cloud-CeZPgo1V.js → cloud-R8ci6yR1.js} +10 -14
  160. package/dist/{createLucideIcon-JWHwTI6N.js → createLucideIcon-AEltGIse.js} +3 -3
  161. package/dist/{cdn/chunks/de-CnnxBwh7.js → de-CUeaFJph.js} +8 -3
  162. package/dist/{dist-3DHaYEiT.js → dist-B6Px6GPj.js} +2 -2
  163. package/dist/{dist-BJbqgyPn.js → dist-Ba5Q-UX1.js} +106 -88
  164. package/dist/{dist-CL_CfQ3Q.js → dist-BxbTVeY0.js} +2 -2
  165. package/dist/{dist-DOtLGnLr.js → dist-CIqhVQ1O.js} +6 -6
  166. package/dist/{dist-CclnU_v0.js → dist-CRH880TV.js} +2 -2
  167. package/dist/{dist-3HenmYIg.js → dist-CcQFPJMF.js} +117 -101
  168. package/dist/dist-CkPvZCld.js +5 -0
  169. package/dist/{dist-BCnJcAQc.js → dist-DSIgxp0v.js} +2 -2
  170. package/dist/{dist-DYv_Pttj.js → dist-DT1XnEnj.js} +33 -17
  171. package/dist/{dist-Ih7ejWzn.js → dist-DX4x6mQ1.js} +4 -4
  172. package/dist/{dist-B_etKYyh.js → dist-Dx71pluS.js} +18 -13
  173. package/dist/{dist-bivrM-nS.js → dist-DyCHUyRR.js} +2 -2
  174. package/dist/dist-iCEDH3cC.js +5 -0
  175. package/dist/{dist-DKWoZJAV.js → dist-nR6mxyqI.js} +2 -2
  176. package/dist/{cdn/chunks/en-5gW-bYy2.js → en-zCYIPAL5.js} +8 -3
  177. package/dist/{es-sQ9SdI0l.js → es-BSiH7YkP.js} +8 -1
  178. package/dist/{extensions-3870a_3R.js → extensions-CGxj6-2o.js} +23 -19
  179. package/dist/{cdn/chunks/fr-DBZ5w21C.js → fr-DTVJ3det.js} +8 -3
  180. package/dist/{image-up-CQdtq8ge.js → image-up-8ktdYdaZ.js} +1 -1
  181. package/dist/{info-BUJBXoE6.js → info-CvrCgTLH.js} +1 -1
  182. package/dist/keys-uWpGv4Pq.js +10 -0
  183. package/dist/{liquid.browser-DZLtv26k.js → liquid.browser-BECWFL5Z.js} +755 -717
  184. package/dist/{list-checks-BGHaCSD5.js → list-checks-yzGT93ZL.js} +1 -1
  185. package/dist/{loader-circle-C-Z6kgI6.js → loader-circle-B6euendB.js} +1 -1
  186. package/dist/{message-circle-CEm5qckV.js → message-circle-BMldLVcA.js} +1 -1
  187. package/dist/{nl-DOL7Fnfo.js → nl-BqSquFS3.js} +8 -1
  188. package/dist/{pencil-DdwmkKLb.js → pencil-CkKkSd6N.js} +1 -1
  189. package/dist/{cdn/chunks/pt-BR-DRCdHX1d.js → pt-BR-CMljK37h.js} +8 -3
  190. package/dist/{refresh-cw-maKlg0dl.js → refresh-cw-fBPgB97G.js} +1 -1
  191. package/dist/{runtime-dom.esm-bundler-GdMI8WqG.js → runtime-dom.esm-bundler-CBbDt7sw.js} +2 -2
  192. package/dist/{scan-line-BFgesTOY.js → scan-line-CRoEOUiK.js} +1 -1
  193. package/dist/{send-B70aQDrA.js → send-B9Tt2qBi.js} +1 -1
  194. package/dist/{shield-check-B7x5OKt5.js → shield-check-QfZkYeIo.js} +1 -1
  195. package/dist/{sparkles-DVlm1Ipp.js → sparkles-8UeMmZb8.js} +1 -1
  196. package/dist/style.css +1 -1
  197. package/dist/{styles-BWTIgN5L.js → styles-C9AMvkJk.js} +884 -877
  198. package/dist/templatical-editor.js +96 -91
  199. package/dist/{text-align-start-Vay3Kvo2.js → text-align-start-Dn8uIheW.js} +1 -1
  200. package/dist/{trash-2-DE8CmxAG.js → trash-2-DDyvqj0E.js} +1 -1
  201. package/dist/{triangle-alert-Djg6IG8N.js → triangle-alert-B3PydLzl.js} +1 -1
  202. package/dist/{upload-BwwE0U6G.js → upload-hE8ItfyG.js} +2 -2
  203. package/dist/{useAliveFlag-C43EhZFY.js → useAliveFlag-AfoTE_AY.js} +1 -1
  204. package/dist/{useCloudI18n-BmiygEM4.js → useCloudI18n-BC_QV2Z7.js} +2 -2
  205. package/dist/{useEditorCore-CuMMIfiS.js → useEditorCore-Dojb-P2f.js} +941 -921
  206. package/dist/{useI18n-D2L9Mkik.js → useI18n-DzOcl2wl.js} +2 -2
  207. package/dist/{useMergeTag-BTdDq5DC.js → useMergeTag-BFxXCv3p.js} +4 -4
  208. package/dist/{usePopoverPosition-BO2LNy5n.js → usePopoverPosition-Dtr1Mp1x.js} +13 -13
  209. package/dist/{vue.runtime.esm-bundler-B0xoGkDv.js → vue.runtime.esm-bundler-Xpz-L9Fn.js} +27 -22
  210. package/dist/{x-CkD6A1iB.js → x-C4lETLDx.js} +1 -1
  211. package/package.json +25 -25
  212. package/dist/BlockPreviewCanvas-MD9BGuXV.js +0 -115
  213. package/dist/DesignReferenceSidebar-BxPo0zyx.js +0 -264
  214. package/dist/TplModal-CykwWFhF.js +0 -49
  215. package/dist/ViewportToggle-BjmbNoao.js +0 -97
  216. package/dist/cdn/chunks/BlockPreviewCanvas-eASrdFSN.js +0 -117
  217. package/dist/cdn/chunks/BlockPreviewCanvas-eASrdFSN.js.map +0 -1
  218. package/dist/cdn/chunks/CloudEditor-S8zLHtKb.js.map +0 -1
  219. package/dist/cdn/chunks/TestEmailModal-CCWEVrE2.js +0 -162
  220. package/dist/cdn/chunks/TestEmailModal-CCWEVrE2.js.map +0 -1
  221. package/dist/cdn/chunks/TplModal-BN53d9Se.js +0 -50
  222. package/dist/cdn/chunks/TplModal-BN53d9Se.js.map +0 -1
  223. package/dist/cdn/chunks/ViewportToggle-CFmF-N4i.js +0 -66
  224. package/dist/cdn/chunks/ViewportToggle-CFmF-N4i.js.map +0 -1
  225. package/dist/cdn/chunks/blockTypeIcons-etMMQoVv.js +0 -21
  226. package/dist/cdn/chunks/dist-CiBEt0VR.js.map +0 -1
  227. package/dist/cdn/chunks/dist-CxTt8FRE.js.map +0 -1
  228. package/dist/cdn/chunks/fr-DBZ5w21C.js.map +0 -1
  229. package/dist/cdn/chunks/icons-CYWw8Xfp.js.map +0 -1
  230. package/dist/cdn/chunks/keys-D7kUmfpE.js +0 -12
  231. package/dist/cdn/chunks/keys-D7kUmfpE.js.map +0 -1
  232. package/dist/cdn/chunks/liquid.browser-BJOEu6Cg.js.map +0 -1
  233. package/dist/cdn/chunks/nl-DOL7Fnfo.js.map +0 -1
  234. package/dist/cdn/chunks/styles-BbfU2w9R.js.map +0 -1
  235. package/dist/cdn/chunks/timeouts-Bmi_yePw.js +0 -6
  236. package/dist/cdn/chunks/tiptap-DUTbZTeR.js.map +0 -1
  237. package/dist/cdn/chunks/useEditorCore-CzMhD6Gd.js.map +0 -1
  238. package/dist/dist-CcQLJeWV.js +0 -5
  239. package/dist/dist-DerdmERj.js +0 -5
  240. package/dist/keys-CHPcp-Nz.js +0 -10
@@ -1,28 +1,28 @@
1
- import { A as e, D as t, Dt as n, E as r, Et as i, I as a, K as o, O as s, Ot as c, R as l, Y as u, Z as d, _ as f, c as p, d as m, g as h, h as g, k as _, l as v, m as y, nt as b, p as x, r as S, s as C, u as w, z as T } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { c as E, o as D, t as O } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { n as k } from "./upload-BwwE0U6G.js";
4
- import { A } from "./dist-BJbqgyPn.js";
5
- import { E as j, V as M, t as N, x as P } from "./useEditorCore-CuMMIfiS.js";
6
- import { m as F } from "./dist-DYv_Pttj.js";
7
- import { s as I } from "./usePopoverPosition-BO2LNy5n.js";
8
- import { A as L, F as ee, c as R, r as z, s as B, t as V, u as te } from "./keys-CHPcp-Nz.js";
9
- import { t as H } from "./useI18n-D2L9Mkik.js";
10
- import { t as U } from "./createLucideIcon-JWHwTI6N.js";
11
- import { t as W } from "./check-BpQDKiPz.js";
12
- import { t as G } from "./circle-alert-CgtE46ND.js";
13
- import { a as K, c as ne, d as q, f as re, h as ie, i as J, l as ae, m as oe, n as se, o as ce, p as le, r as ue, s as de, t as fe, u as pe } from "./styles-BWTIgN5L.js";
14
- import { t as me } from "./clock-BzKLLW5L.js";
15
- import { t as Y } from "./loader-circle-C-Z6kgI6.js";
16
- import { t as X } from "./message-circle-CEm5qckV.js";
17
- import { t as Z } from "./ViewportToggle-BjmbNoao.js";
18
- import { t as he } from "./send-B70aQDrA.js";
19
- import { t as ge } from "./sparkles-DVlm1Ipp.js";
20
- import { t as _e } from "./triangle-alert-Djg6IG8N.js";
21
- import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
22
- import { n as Q } from "./useCloudI18n-BmiygEM4.js";
23
- import { d as $ } from "./ColorPicker-s9GHXjZs.js";
24
- import { _ as ye, a as be, b as xe, c as Se, d as Ce, g as we, h as Te, i as Ee, l as De, m as Oe, n as ke, p as Ae, r as je, s as Me, t as Ne, u as Pe, v as Fe, y as Ie } from "./cloud-CeZPgo1V.js";
25
- var Le = U("save", [
1
+ import { A as e, D as t, Dt as n, E as r, Et as i, I as a, K as o, O as s, Ot as c, R as l, Y as u, Z as d, _ as f, c as p, d as m, g as h, h as g, k as _, l as v, m as y, nt as b, p as x, r as S, s as C, u as w, z as T } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { c as E, o as D, t as O } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
3
+ import { n as k } from "./upload-hE8ItfyG.js";
4
+ import { M as A } from "./dist-Ba5Q-UX1.js";
5
+ import { E as j, V as M, t as N, x as P } from "./useEditorCore-Dojb-P2f.js";
6
+ import { m as F } from "./dist-DT1XnEnj.js";
7
+ import { s as I } from "./usePopoverPosition-Dtr1Mp1x.js";
8
+ import { I as L, c as R, j as ee, r as z, s as B, t as V, u as te } from "./keys-uWpGv4Pq.js";
9
+ import { t as H } from "./useI18n-DzOcl2wl.js";
10
+ import { t as U } from "./createLucideIcon-AEltGIse.js";
11
+ import { t as W } from "./check-CIhIDh4h.js";
12
+ import { t as G } from "./circle-alert-DkEXnGPV.js";
13
+ import { a as K, c as ne, d as q, f as re, h as ie, i as J, l as ae, m as oe, n as se, o as ce, p as le, r as ue, s as de, t as fe, u as pe } from "./styles-C9AMvkJk.js";
14
+ import { t as me } from "./clock-BDIJZUET.js";
15
+ import { t as Y } from "./loader-circle-B6euendB.js";
16
+ import { t as X } from "./message-circle-BMldLVcA.js";
17
+ import { n as Z, t as he } from "./MergeTagModeToggle-CiFiSV0C.js";
18
+ import { t as ge } from "./send-B9Tt2qBi.js";
19
+ import { t as _e } from "./sparkles-8UeMmZb8.js";
20
+ import { t as ve } from "./triangle-alert-B3PydLzl.js";
21
+ import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
22
+ import { n as Q } from "./useCloudI18n-BC_QV2Z7.js";
23
+ import { d as $ } from "./ColorPicker--_2PbzFk.js";
24
+ import { _ as be, a as xe, b as Se, c as Ce, d as we, g as Te, h as Ee, i as De, l as Oe, m as ke, n as Ae, p as je, r as Me, s as Ne, t as Pe, u as Fe, v as Ie, y as Le } from "./cloud-R8ci6yR1.js";
25
+ var Re = U("save", [
26
26
  ["path", {
27
27
  d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
28
28
  key: "1c8476"
@@ -38,14 +38,14 @@ var Le = U("save", [
38
38
  ]);
39
39
  //#endregion
40
40
  //#region src/cloud/composables/useSnapshotPreview.ts
41
- function Re(e) {
41
+ function ze(e) {
42
42
  let { authManager: t, editor: n, history: r, conditionPreview: i, autoSave: a, onError: s } = e, c = d(null), l = u(null), f = u(null), p = !1;
43
43
  o(() => {
44
44
  p = !0;
45
45
  });
46
46
  let m = C(() => l.value !== null), h = C(() => c.value?.snapshots.value ?? []), g = C(() => c.value?.isLoading.value ?? !1), _ = C(() => c.value?.isRestoring.value ?? !1);
47
47
  function v() {
48
- n.state.template?.id && !c.value && (c.value = ye({
48
+ n.state.template?.id && !c.value && (c.value = be({
49
49
  authManager: t,
50
50
  templateId: n.state.template.id,
51
51
  onRestore: y,
@@ -97,7 +97,7 @@ function Re(e) {
97
97
  }
98
98
  //#endregion
99
99
  //#region src/cloud/composables/useCloudPanelState.ts
100
- function ze() {
100
+ function Be() {
101
101
  let e = u(null), t = C({
102
102
  get: () => e.value === "ai-chat",
103
103
  set: (t) => e.value = t ? "ai-chat" : null
@@ -141,7 +141,7 @@ function ze() {
141
141
  }
142
142
  //#endregion
143
143
  //#region src/cloud/composables/useCollabUndoWarning.ts
144
- function Be(e) {
144
+ function Ve(e) {
145
145
  let { isCollaborationEnabled: t, getCollaboratorCount: n, canUndo: r } = e, i = u(!1), a = u(!1), { start: o } = F(() => {
146
146
  a.value = !1;
147
147
  }, k, { immediate: !1 });
@@ -155,7 +155,7 @@ function Be(e) {
155
155
  }
156
156
  //#endregion
157
157
  //#region src/cloud/composables/useCloudFeatureFlags.ts
158
- function Ve(e) {
158
+ function He(e) {
159
159
  let { planConfigInstance: t, aiConfig: n, editor: r } = e, i = C(() => t.hasFeature("ai_generation") && n.hasAnyMenuFeature.value), a = C(() => t.hasFeature("test_email")), o = C(() => !!r.state.template?.id), s = C(() => t.hasFeature("white_label")), c = C(() => t.config.value?.limits.max_templates ?? null), l = C(() => t.config.value?.template_count ?? 0), d = u(!1), f = u("idle"), p = u(""), { start: m } = F(() => {
160
160
  f.value = "idle";
161
161
  }, 3e3, { immediate: !1 });
@@ -174,7 +174,7 @@ function Ve(e) {
174
174
  }
175
175
  //#endregion
176
176
  //#region src/cloud/composables/useCloudMediaLibrary.ts
177
- function He(e) {
177
+ function Ue(e) {
178
178
  let { onRequestMedia: t, mediaLibraryOpen: n, mediaLibraryAccept: r, authManager: i, getMediaConfig: a, onError: s } = e, c = null;
179
179
  function l(e) {
180
180
  return {
@@ -236,30 +236,30 @@ function He(e) {
236
236
  }
237
237
  //#endregion
238
238
  //#region src/cloud/composables/useCloudInitialization.ts
239
- function Ue(e) {
240
- let { config: t, translations: n, fontsManager: r, emit: i, getCommentsSidebar: o } = e, s = u(!0), c = u(!1), l = u(null), d = !1, f = { value: null }, p = null, m = null, h = new Ne({
239
+ function We(e) {
240
+ let { config: t, translations: n, fontsManager: r, emit: i, getCommentsSidebar: o } = e, s = u(!0), c = u(!1), l = u(null), d = !1, f = { value: null }, p = null, m = null, h = new Pe({
241
241
  ...t.auth,
242
242
  onError: t.onError
243
- }), g = we({
243
+ }), g = Te({
244
244
  authManager: h,
245
245
  onError: t.onError
246
- }), v = u(/* @__PURE__ */ new Map()), y = Ae({
246
+ }), v = u(/* @__PURE__ */ new Map()), y = je({
247
247
  authManager: h,
248
248
  defaultFontFamily: t.fonts?.defaultFont,
249
249
  templateDefaults: t.templateDefaults,
250
250
  onError: t.onError,
251
251
  lockedBlocks: v
252
- }), b = xe({
252
+ }), b = Se({
253
253
  authManager: h,
254
254
  onError: t.onError
255
255
  });
256
- t.mcp?.enabled && Te({
256
+ t.mcp?.enabled && Ee({
257
257
  editor: y,
258
258
  channel: b.channel,
259
259
  onOperation: t.mcp.onOperation
260
260
  });
261
261
  let x = null;
262
- t.collaboration?.enabled && (x = Se({
262
+ t.collaboration?.enabled && (x = Ce({
263
263
  authManager: h,
264
264
  editor: y,
265
265
  channel: b.channel,
@@ -270,7 +270,7 @@ function Ue(e) {
270
270
  onBlockUnlocked: t.collaboration.onBlockUnlocked
271
271
  }), a(() => x.lockedBlocks.value, (e) => {
272
272
  v.value = e;
273
- }, { immediate: !0 }), De(y, x));
273
+ }, { immediate: !0 }), Oe(y, x));
274
274
  let S = C(() => !!t.collaboration?.enabled && g.hasFeature("collaboration")), w = N({
275
275
  editor: y,
276
276
  config: {
@@ -307,13 +307,13 @@ function Ue(e) {
307
307
  keyboardOptions: { onBeforeUndo: () => m?.showCollabUndoWarning() },
308
308
  editorRoot: e.editorRoot,
309
309
  containerEl: e.containerEl
310
- }), T = Be({
310
+ }), T = Ve({
311
311
  isCollaborationEnabled: S,
312
312
  getCollaboratorCount: () => x?.collaborators.value.length ?? 0,
313
313
  canUndo: w.history.canUndo
314
314
  });
315
315
  m = T;
316
- let E = Re({
316
+ let E = ze({
317
317
  authManager: h,
318
318
  editor: y,
319
319
  history: w.history,
@@ -322,11 +322,11 @@ function Ue(e) {
322
322
  onError: t.onError
323
323
  });
324
324
  p = E;
325
- let D = ze(), O = Me(t.ai), k = Ve({
325
+ let D = Be(), O = Ne(t.ai), k = He({
326
326
  planConfigInstance: g,
327
327
  aiConfig: O,
328
328
  editor: y
329
- }), A = He({
329
+ }), A = Ue({
330
330
  onRequestMedia: t.onRequestMedia,
331
331
  mediaLibraryOpen: D.mediaLibraryOpen,
332
332
  mediaLibraryAccept: D.mediaLibraryAccept,
@@ -338,15 +338,15 @@ function Ue(e) {
338
338
  onBlockMove: y.moveBlock,
339
339
  onBlockAdd: y.addBlock
340
340
  });
341
- let P = Oe({
341
+ let P = ke({
342
342
  authManager: h,
343
343
  getFontsConfig: () => t.fonts,
344
344
  canUseCustomFonts: () => g.hasFeature("custom_fonts")
345
- }), F = Ie({
345
+ }), F = Le({
346
346
  authManager: h,
347
347
  isAuthReady: c
348
348
  }), I = t.testEmail ?? null, R = re({
349
- provider: I ?? je({
349
+ provider: I ?? Me({
350
350
  authManager: h,
351
351
  getTemplateId: () => y.state.template?.id ?? null,
352
352
  save: () => y.save(),
@@ -363,7 +363,7 @@ function Ue(e) {
363
363
  }),
364
364
  onError: t.onError,
365
365
  isAvailable: I ? () => !0 : () => F.isEnabled.value && k.canSendTestEmail.value && k.hasTemplateSaved.value
366
- }), H = Ce({
366
+ }), H = we({
367
367
  authManager: h,
368
368
  getTemplateId: () => y.state.template?.id ?? null,
369
369
  getSocketId: () => b.getSocketId(),
@@ -372,16 +372,16 @@ function Ue(e) {
372
372
  isAuthReady: c,
373
373
  hasCommentingFeature: () => t.commenting !== !1 && g.hasFeature("commenting")
374
374
  });
375
- Pe({
375
+ Fe({
376
376
  comments: H,
377
377
  channel: b.channel
378
378
  });
379
379
  let U = typeof t.savedBlocks == "object" && t.savedBlocks !== null ? t.savedBlocks : null, W = oe({
380
- provider: U ?? ke(h),
380
+ provider: U ?? Ae(h),
381
381
  editor: y,
382
382
  onError: t.onError,
383
383
  isAvailable: U ? () => !0 : () => t.savedBlocks !== !1 && g.hasFeature("saved_modules")
384
- }), G = Fe({
384
+ }), G = Ie({
385
385
  authManager: h,
386
386
  getTemplateId: () => y.state.template?.id ?? null
387
387
  });
@@ -390,7 +390,7 @@ function Ue(e) {
390
390
  o()?.filterByBlock(e);
391
391
  });
392
392
  }
393
- _(L, A.handleRequestMedia), _(z, h), _(V, O), _(te, H), _(ee, G), _(B, {
393
+ _(ee, A.handleRequestMedia), _(z, h), _(V, O), _(te, H), _(L, G), _(B, {
394
394
  plan: g,
395
395
  ai: O,
396
396
  comments: {
@@ -411,7 +411,7 @@ function Ue(e) {
411
411
  try {
412
412
  if (await h.initialize(), d) return;
413
413
  c.value = !0;
414
- let e = await Ee({ authManager: h });
414
+ let e = await De({ authManager: h });
415
415
  if (d) return;
416
416
  if (!e.api.ok) throw Error("Health check failed: API is not reachable");
417
417
  if (!e.auth.ok) throw Error(`Health check failed: authentication error${e.auth.error ? ` - ${e.auth.error}` : ""}`);
@@ -461,7 +461,7 @@ function Ue(e) {
461
461
  }
462
462
  //#endregion
463
463
  //#region src/utils/preRenderCustomBlocks.ts
464
- async function We(e, t) {
464
+ async function Ge(e, t) {
465
465
  let n = async (e) => {
466
466
  if (A(e)) {
467
467
  let n = e;
@@ -480,10 +480,10 @@ async function We(e, t) {
480
480
  }
481
481
  //#endregion
482
482
  //#region src/cloud/composables/useCloudLifecycle.ts
483
- function Ge(e) {
483
+ function Ke(e) {
484
484
  let { config: t, editor: n, websocket: r, planConfigInstance: i, snapshotPreview: a, core: o, exporter: s, featureFlags: c, isDestroyed: l } = e;
485
485
  function u() {
486
- return be(i.config.value.websocket);
486
+ return xe(i.config.value.websocket);
487
487
  }
488
488
  async function d(e) {
489
489
  let i = await n.create(e);
@@ -496,7 +496,7 @@ function Ge(e) {
496
496
  async function p() {
497
497
  c.isSaveExporting.value = !0, c.saveStatus.value = "idle";
498
498
  try {
499
- if (await We(n.content.value, o.registry), l()) throw Error("Component unmounted during save");
499
+ if (await Ge(n.content.value, o.registry), l()) throw Error("Component unmounted during save");
500
500
  let e = await n.save();
501
501
  if (l()) throw Error("Component unmounted during save");
502
502
  a.initSnapshotHistory(), a.snapshotHistoryInstance.value?.loadSnapshots();
@@ -523,7 +523,7 @@ function Ge(e) {
523
523
  }
524
524
  //#endregion
525
525
  //#region src/cloud/composables/useCloudSaveGate.ts
526
- function Ke(e) {
526
+ function qe(e) {
527
527
  let t = u(!1), n = null, r = C(() => e.planConfig.value?.accessibility?.blockOnError === !0), i = C(() => r.value ? e.issues.value.filter((e) => e.severity === "error") : []), a = C(() => i.value.length > 0);
528
528
  async function o(e) {
529
529
  return a.value ? (n = e, t.value = !0, !1) : (await e(), !0);
@@ -546,7 +546,7 @@ function Ke(e) {
546
546
  }
547
547
  //#endregion
548
548
  //#region src/cloud/components/CloudSaveGateModal.vue?vue&type=script&setup=true&lang.ts
549
- var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl:max-w-md tpl:flex-col tpl:gap-4 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-md)]" }, Ye = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Xe = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ze = { class: "tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Qe = { class: "tpl:m-0 tpl:flex tpl:max-h-64 tpl:list-none tpl:flex-col tpl:gap-1.5 tpl:overflow-y-auto tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2" }, $e = { class: "tpl:text-xs tpl:text-[var(--tpl-text)]" }, et = { class: "tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, tt = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, nt = /* @__PURE__ */ f({
549
+ var Je = ["aria-label"], Ye = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl:max-w-md tpl:flex-col tpl:gap-4 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:p-5 tpl:shadow-[var(--tpl-shadow-md)]" }, Xe = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ze = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Qe = { class: "tpl:m-0 tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, $e = { class: "tpl:m-0 tpl:flex tpl:max-h-64 tpl:list-none tpl:flex-col tpl:gap-1.5 tpl:overflow-y-auto tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-2" }, et = { class: "tpl:text-xs tpl:text-[var(--tpl-text)]" }, tt = { class: "tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, nt = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, rt = /* @__PURE__ */ f({
550
550
  __name: "CloudSaveGateModal",
551
551
  props: {
552
552
  open: { type: Boolean },
@@ -568,18 +568,18 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
568
568
  "aria-label": b(i).saveGate.title,
569
569
  class: "tpl:fixed tpl:inset-0 tpl:z-50 tpl:flex tpl:items-center tpl:justify-center tpl:bg-black/40 tpl:p-6",
570
570
  onClick: a[2] ||= E((e) => r("cancel"), ["self"])
571
- }, [p("div", Je, [
572
- p("header", Ye, [g(b(_e), {
571
+ }, [p("div", Ye, [
572
+ p("header", Xe, [g(b(ve), {
573
573
  size: 18,
574
574
  "stroke-width": 2,
575
575
  class: "tpl:text-[var(--tpl-warning)]"
576
- }), p("h2", Xe, c(b(i).saveGate.title), 1)]),
577
- p("p", Ze, c(b(i).saveGate.body), 1),
578
- p("ul", Qe, [(s(!0), m(S, null, e(t.issues, (e) => (s(), m("li", {
576
+ }), p("h2", Ze, c(b(i).saveGate.title), 1)]),
577
+ p("p", Qe, c(b(i).saveGate.body), 1),
578
+ p("ul", $e, [(s(!0), m(S, null, e(t.issues, (e) => (s(), m("li", {
579
579
  key: `${e.ruleId}-${e.blockId ?? "template"}`,
580
580
  class: "tpl:flex tpl:flex-col tpl:gap-0.5 tpl:rounded tpl:px-2 tpl:py-1.5"
581
- }, [p("span", $e, c(e.message), 1), p("span", et, c(e.ruleId), 1)]))), 128))]),
582
- p("footer", tt, [p("button", {
581
+ }, [p("span", et, c(e.message), 1), p("span", tt, c(e.ruleId), 1)]))), 128))]),
582
+ p("footer", nt, [p("button", {
583
583
  type: "button",
584
584
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]",
585
585
  onClick: a[0] ||= (e) => r("cancel")
@@ -588,11 +588,11 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
588
588
  class: "tpl:rounded-md tpl:bg-[var(--tpl-danger)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-white",
589
589
  onClick: a[1] ||= (e) => r("confirm")
590
590
  }, c(b(i).saveGate.confirm), 1)])
591
- ])], 8, qe)) : w("", !0)]),
591
+ ])], 8, Je)) : w("", !0)]),
592
592
  _: 1
593
593
  }));
594
594
  }
595
- }), rt = {
595
+ }), it = {
596
596
  class: "tpl-header tpl:absolute tpl:top-0 tpl:right-0 tpl:left-0 tpl:z-50 tpl:grid tpl:h-14 tpl:grid-cols-[1fr_auto_1fr] tpl:items-center tpl:px-4",
597
597
  style: {
598
598
  "background-color": "color-mix(in srgb, var(--tpl-bg) 80%, transparent)",
@@ -601,24 +601,24 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
601
601
  "box-shadow": "var(--tpl-shadow-md)",
602
602
  "border-bottom": "1px solid var(--tpl-border)"
603
603
  }
604
- }, it = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-3" }, at = {
604
+ }, at = { class: "tpl-header-left tpl:flex tpl:min-w-[200px] tpl:items-center tpl:gap-3" }, ot = {
605
605
  key: 0,
606
606
  class: "tpl:text-xs tpl:opacity-60 tpl:text-[var(--tpl-text-muted)]"
607
- }, ot = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, st = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, ct = ["data-tooltip"], lt = {
607
+ }, st = { class: "tpl-header-center tpl:flex tpl:items-center tpl:justify-center tpl:gap-10" }, ct = { class: "tpl-header-right tpl:flex tpl:min-w-[200px] tpl:items-center tpl:justify-end tpl:gap-3" }, lt = ["data-tooltip"], ut = {
608
608
  key: 1,
609
609
  "aria-live": "polite",
610
610
  class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-success)]"
611
- }, ut = {
611
+ }, dt = {
612
612
  key: 2,
613
613
  "aria-live": "polite",
614
614
  class: "tpl-status tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
615
- }, dt = ["aria-label", "aria-expanded"], ft = {
615
+ }, ft = ["aria-label", "aria-expanded"], pt = {
616
616
  key: 0,
617
617
  class: "tpl:inline-flex tpl:size-4.5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-semibold tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]"
618
- }, pt = ["aria-expanded"], mt = {
618
+ }, mt = ["aria-expanded"], ht = {
619
619
  key: 0,
620
620
  class: "tpl:absolute tpl:right-0 tpl:top-full tpl:z-50 tpl:mt-1 tpl:origin-top-right"
621
- }, ht = ["disabled"], gt = ["disabled"], _t = /* @__PURE__ */ f({
621
+ }, gt = ["disabled"], _t = ["disabled"], vt = /* @__PURE__ */ f({
622
622
  __name: "CloudHeader",
623
623
  props: {
624
624
  editor: {},
@@ -636,13 +636,13 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
636
636
  },
637
637
  emits: ["save"],
638
638
  setup(e) {
639
- let t = h(() => import("./CollaboratorBar-C_1SF7Xf.js")), r = h(() => import("./SnapshotHistory-DWlQ3Eh0.js")), a = h(() => import("./AiFeatureMenu-CcqjRMFW.js")), { t: o } = H(), { t: u, format: d } = Q();
640
- return (f, h) => (s(), m("header", rt, [
641
- p("div", it, [e.featureFlags.templateLimit.value === null ? w("", !0) : (s(), m("span", at, c(b(d)(b(u).header.templatesUsed, {
639
+ let t = h(() => import("./CollaboratorBar-tC7AACTb.js")), r = h(() => import("./SnapshotHistory-BqPSIV9L.js")), a = h(() => import("./AiFeatureMenu-DDAamRaA.js")), { t: o } = H(), { t: u, format: d } = Q();
640
+ return (f, h) => (s(), m("header", it, [
641
+ p("div", at, [e.featureFlags.templateLimit.value === null ? w("", !0) : (s(), m("span", ot, c(b(d)(b(u).header.templatesUsed, {
642
642
  used: e.featureFlags.templateCount.value,
643
643
  max: e.featureFlags.templateLimit.value
644
644
  })), 1))]),
645
- p("div", ot, [
645
+ p("div", st, [
646
646
  g(Z, {
647
647
  viewport: e.editor.state.viewport,
648
648
  onChange: e.editor.setViewport
@@ -655,13 +655,18 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
655
655
  "preview-mode": e.editor.state.previewMode,
656
656
  onChange: e.editor.setPreviewMode
657
657
  }, null, 8, ["preview-mode", "onChange"]),
658
- e.collaboration && e.isCollaborationEnabled ? (s(), v(b(t), {
658
+ e.editor.state.previewMode ? (s(), v(he, {
659
659
  key: 0,
660
+ "sample-mode": e.core.mergeTagSampleMode.value,
661
+ onChange: h[0] ||= (t) => e.core.mergeTagSampleMode.value = t
662
+ }, null, 8, ["sample-mode"])) : w("", !0),
663
+ e.collaboration && e.isCollaborationEnabled ? (s(), v(b(t), {
664
+ key: 1,
660
665
  collaborators: e.collaboration.collaborators.value,
661
666
  "is-connected": e.websocket.isConnected.value
662
667
  }, null, 8, ["collaborators", "is-connected"])) : w("", !0),
663
668
  e.snapshotPreview.snapshotHistoryInstance.value ? (s(), v(b(r), {
664
- key: 1,
669
+ key: 2,
665
670
  snapshots: e.snapshotPreview.snapshotHistorySnapshots.value,
666
671
  "is-loading": e.snapshotPreview.snapshotHistoryIsLoading.value,
667
672
  "is-restoring": e.snapshotPreview.snapshotHistoryIsRestoring.value,
@@ -675,7 +680,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
675
680
  "onNavigate"
676
681
  ])) : w("", !0)
677
682
  ]),
678
- p("div", st, [
683
+ p("div", ct, [
679
684
  e.featureFlags.saveStatus.value === "error" ? (s(), m("div", {
680
685
  key: 0,
681
686
  "aria-live": "assertive",
@@ -684,10 +689,10 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
684
689
  }, [g(b(G), {
685
690
  size: 12,
686
691
  "stroke-width": 2.5
687
- }), y(" " + c(b(u).header.saveFailed), 1)], 8, ct)) : e.featureFlags.saveStatus.value === "saved" ? (s(), m("div", lt, [g(b(W), {
692
+ }), y(" " + c(b(u).header.saveFailed), 1)], 8, lt)) : e.featureFlags.saveStatus.value === "saved" ? (s(), m("div", ut, [g(b(W), {
688
693
  size: 12,
689
694
  "stroke-width": 2.5
690
- }), y(" " + c(b(u).header.saved), 1)])) : e.editor.state.isDirty ? (s(), m("div", ut, [h[4] ||= p("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), y(" " + c(b(u).header.unsaved), 1)])) : w("", !0),
695
+ }), y(" " + c(b(u).header.saved), 1)])) : e.editor.state.isDirty ? (s(), m("div", dt, [h[5] ||= p("span", { class: "tpl-pulse tpl:size-1.5 tpl:rounded-full tpl:bg-[var(--tpl-primary)]" }, null, -1), y(" " + c(b(u).header.unsaved), 1)])) : w("", !0),
691
696
  e.commentsInstance.isEnabled.value && e.featureFlags.hasTemplateSaved.value ? (s(), m("button", {
692
697
  key: 3,
693
698
  "aria-label": e.commentsInstance.unresolvedCount.value > 0 ? `${b(u).comments.button} (${e.commentsInstance.unresolvedCount.value})` : b(u).comments.button,
@@ -698,15 +703,15 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
698
703
  color: e.panelState.commentsOpen.value ? "var(--tpl-bg)" : "var(--tpl-primary)",
699
704
  borderColor: "var(--tpl-primary)"
700
705
  }),
701
- onClick: h[0] ||= (t) => e.panelState.commentsOpen.value = !e.panelState.commentsOpen.value
706
+ onClick: h[1] ||= (t) => e.panelState.commentsOpen.value = !e.panelState.commentsOpen.value
702
707
  }, [
703
708
  g(b(X), {
704
709
  size: 16,
705
710
  "stroke-width": 2
706
711
  }),
707
712
  y(" " + c(b(u).comments.button) + " ", 1),
708
- e.commentsInstance.unresolvedCount.value > 0 && !e.panelState.commentsOpen.value ? (s(), m("span", ft, c(e.commentsInstance.unresolvedCount.value), 1)) : w("", !0)
709
- ], 14, dt)) : w("", !0),
713
+ e.commentsInstance.unresolvedCount.value > 0 && !e.panelState.commentsOpen.value ? (s(), m("span", pt, c(e.commentsInstance.unresolvedCount.value), 1)) : w("", !0)
714
+ ], 14, ft)) : w("", !0),
710
715
  e.featureFlags.canUseAiGeneration.value && e.featureFlags.hasTemplateSaved.value ? (s(), m("div", {
711
716
  key: 4,
712
717
  ref: (t) => e.panelState.aiMenuRef.value = t,
@@ -714,12 +719,12 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
714
719
  }, [p("button", {
715
720
  "aria-expanded": e.panelState.aiMenuOpen.value,
716
721
  class: i(["tpl-ai-btn tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-4 tpl:py-2 tpl:text-sm tpl:font-semibold tpl:whitespace-nowrap tpl:transition-all tpl:duration-200", e.panelState.aiButtonActive.value ? "tpl-ai-btn--active" : "tpl-ai-btn--idle"]),
717
- onClick: h[1] ||= E((...t) => e.panelState.toggleAiMenu && e.panelState.toggleAiMenu(...t), ["stop"])
718
- }, [g(b(ge), {
722
+ onClick: h[2] ||= E((...t) => e.panelState.toggleAiMenu && e.panelState.toggleAiMenu(...t), ["stop"])
723
+ }, [g(b(_e), {
719
724
  size: 16,
720
725
  "stroke-width": 2,
721
726
  class: "tpl-ai-btn-icon"
722
- }), y(" " + c(b(u).aiChat.button), 1)], 10, pt), g(O, {
727
+ }), y(" " + c(b(u).aiChat.button), 1)], 10, mt), g(O, {
723
728
  "enter-active-class": "tpl:transition-all tpl:duration-150 tpl:ease-out",
724
729
  "enter-from-class": "tpl:scale-95 tpl:opacity-0",
725
730
  "enter-to-class": "tpl:scale-100 tpl:opacity-100",
@@ -727,7 +732,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
727
732
  "leave-from-class": "tpl:scale-100 tpl:opacity-100",
728
733
  "leave-to-class": "tpl:scale-95 tpl:opacity-0"
729
734
  }, {
730
- default: l(() => [e.panelState.aiMenuOpen.value ? (s(), m("div", mt, [g(b(a), {
735
+ default: l(() => [e.panelState.aiMenuOpen.value ? (s(), m("div", ht, [g(b(a), {
731
736
  "active-feature": e.panelState.activeAiFeature.value,
732
737
  onSelect: e.panelState.handleAiFeatureSelect
733
738
  }, null, 8, ["active-feature", "onSelect"])])) : w("", !0)]),
@@ -743,17 +748,17 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
743
748
  "border-color": "var(--tpl-primary)"
744
749
  },
745
750
  disabled: e.testEmail.isSending.value,
746
- onClick: h[2] ||= (t) => e.testEmail.open()
751
+ onClick: h[3] ||= (t) => e.testEmail.open()
747
752
  }, [e.testEmail.isSending.value ? (s(), v(b(Y), {
748
753
  key: 1,
749
754
  class: "tpl-spinner",
750
755
  size: 16,
751
756
  "stroke-width": 2
752
- })) : (s(), v(b(he), {
757
+ })) : (s(), v(b(ge), {
753
758
  key: 0,
754
759
  size: 16,
755
760
  "stroke-width": 2
756
- })), y(" " + c(b(o).testEmail.button), 1)], 10, ht)) : w("", !0),
761
+ })), y(" " + c(b(o).testEmail.button), 1)], 10, gt)) : w("", !0),
757
762
  p("button", {
758
763
  class: i(b($)),
759
764
  style: {
@@ -762,21 +767,21 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
762
767
  "border-color": "var(--tpl-primary)"
763
768
  },
764
769
  disabled: e.isSaveDisabled,
765
- onClick: h[3] ||= (e) => f.$emit("save")
770
+ onClick: h[4] ||= (e) => f.$emit("save")
766
771
  }, [e.isSaving ? (s(), v(b(Y), {
767
772
  key: 1,
768
773
  class: "tpl-spinner",
769
774
  size: 16,
770
775
  "stroke-width": 2
771
- })) : (s(), v(b(Le), {
776
+ })) : (s(), v(b(Re), {
772
777
  key: 0,
773
778
  size: 16,
774
779
  "stroke-width": 2
775
- })), y(" " + c(e.isSaving ? b(u).header.saving : b(u).header.save), 1)], 10, gt)
780
+ })), y(" " + c(e.isSaving ? b(u).header.saving : b(u).header.save), 1)], 10, _t)
776
781
  ])
777
782
  ]));
778
783
  }
779
- }), vt = /* @__PURE__ */ f({
784
+ }), yt = /* @__PURE__ */ f({
780
785
  __name: "CloudPanels",
781
786
  props: {
782
787
  config: {},
@@ -787,7 +792,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
787
792
  mediaLib: {}
788
793
  },
789
794
  setup(e, { expose: t }) {
790
- let n = h(() => import("./AiChatSidebar-Bru6-ziQ.js")), r = h(() => import("./CommentsSidebar-DvNEdugN.js")), i = h(() => import("./DesignReferenceSidebar-BxPo0zyx.js")), a = h(() => import("./TemplateScoringPanel-ifGGGWs5.js")), o = h(async () => {
795
+ let n = h(() => import("./AiChatSidebar-X4viKtvs.js")), r = h(() => import("./CommentsSidebar-Ci2Ov8FG.js")), i = h(() => import("./DesignReferenceSidebar-DQsC-3hB.js")), a = h(() => import("./TemplateScoringPanel-CMEuz9yF.js")), o = h(async () => {
791
796
  try {
792
797
  return (await import("@templatical/media-library")).MediaLibraryModal;
793
798
  } catch {
@@ -838,23 +843,23 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
838
843
  ])
839
844
  ], 64));
840
845
  }
841
- }), yt = {
846
+ }), bt = {
842
847
  key: 0,
843
848
  class: "tpl-loading tpl:absolute tpl:inset-0 tpl:z-overlay tpl:flex tpl:flex-col tpl:bg-[var(--tpl-bg)]"
844
- }, bt = { class: "tpl:flex tpl:flex-1 tpl:overflow-hidden" }, xt = { 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)]" }, St = /* @__PURE__ */ f({
849
+ }, xt = { class: "tpl:flex tpl:flex-1 tpl:overflow-hidden" }, St = { 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)]" }, Ct = /* @__PURE__ */ f({
845
850
  __name: "CloudLoadingOverlay",
846
851
  props: { visible: { type: Boolean } },
847
852
  setup(t) {
848
- return (n, r) => t.visible ? (s(), m("div", yt, [r[1] ||= x("<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), p("div", bt, [p("div", xt, [(s(), m(S, null, e(5, (e) => p("div", {
853
+ return (n, r) => t.visible ? (s(), m("div", bt, [r[1] ||= x("<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), p("div", xt, [p("div", St, [(s(), m(S, null, e(5, (e) => p("div", {
849
854
  key: e,
850
855
  class: "tpl-shimmer tpl:size-7 tpl:rounded-[var(--tpl-radius-sm)]"
851
856
  })), 64))]), r[0] ||= x("<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)])])) : w("", !0);
852
857
  }
853
- }), Ct = {
858
+ }), wt = {
854
859
  key: 0,
855
860
  role: "alert",
856
861
  class: "tpl-error tpl:absolute tpl:inset-0 tpl:z-overlay tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-6 tpl:px-8 tpl:bg-[var(--tpl-bg)]"
857
- }, wt = { class: "tpl:flex tpl:size-16 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-danger-light)]" }, Tt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-2 tpl:text-center" }, Et = { class: "tpl:text-lg tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Dt = { class: "tpl:max-w-md tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ot = /* @__PURE__ */ f({
862
+ }, Tt = { class: "tpl:flex tpl:size-16 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-danger-light)]" }, Et = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-2 tpl:text-center" }, Dt = { class: "tpl:text-lg tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ot = { class: "tpl:max-w-md tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, kt = /* @__PURE__ */ f({
858
863
  __name: "CloudErrorOverlay",
859
864
  props: {
860
865
  error: {},
@@ -869,13 +874,13 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
869
874
  function a(e) {
870
875
  return "isNotFound" in e && !!e.isNotFound;
871
876
  }
872
- return (t, o) => e.visible && e.error ? (s(), m("div", Ct, [
873
- p("div", wt, [g(b(G), {
877
+ return (t, o) => e.visible && e.error ? (s(), m("div", wt, [
878
+ p("div", Tt, [g(b(G), {
874
879
  size: 32,
875
880
  "stroke-width": 1.5,
876
881
  class: "tpl:text-[var(--tpl-danger)]"
877
882
  })]),
878
- p("div", Tt, [p("h2", Et, c(b(r).error.title), 1), p("p", Dt, c(i(e.error)), 1)]),
883
+ p("div", Et, [p("h2", Dt, c(b(r).error.title), 1), p("p", Ot, c(i(e.error)), 1)]),
879
884
  a(e.error) ? w("", !0) : (s(), m("button", {
880
885
  key: 0,
881
886
  class: "tpl-btn tpl-btn-primary tpl:inline-flex tpl:items-center tpl:gap-2 tpl:rounded-md tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:shadow-xs tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
@@ -883,20 +888,20 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
883
888
  }, c(b(r).error.retry), 1))
884
889
  ])) : w("", !0);
885
890
  }
886
- }), kt = {
891
+ }), At = {
887
892
  key: 0,
888
893
  class: "tpl-preview-banner tpl:absolute tpl:top-14 tpl:right-0 tpl:left-0 tpl:z-40 tpl:flex tpl:items-center tpl:justify-center tpl:gap-4 tpl:px-4 tpl:py-3 tpl:bg-[var(--tpl-primary-light)] tpl:border-b tpl:border-[var(--tpl-primary)]"
889
- }, At = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:text-[var(--tpl-text)]" }, jt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Mt = /* @__PURE__ */ f({
894
+ }, jt = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:text-[var(--tpl-text)]" }, Mt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Nt = /* @__PURE__ */ f({
890
895
  __name: "SnapshotPreviewBanner",
891
896
  props: { visible: { type: Boolean } },
892
897
  emits: ["cancel", "confirm"],
893
898
  setup(e, { emit: t }) {
894
899
  let n = t, { t: r } = Q();
895
- return (t, i) => e.visible ? (s(), m("div", kt, [p("div", At, [g(b(me), {
900
+ return (t, i) => e.visible ? (s(), m("div", At, [p("div", jt, [g(b(me), {
896
901
  size: 18,
897
902
  "stroke-width": 2,
898
903
  class: "tpl:text-[var(--tpl-primary)]"
899
- }), p("span", null, c(b(r).snapshotPreview.message), 1)]), p("div", jt, [p("button", {
904
+ }), p("span", null, c(b(r).snapshotPreview.message), 1)]), p("div", Mt, [p("button", {
900
905
  class: "tpl:rounded-md tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-150 tpl:text-[var(--tpl-text-muted)] tpl:border tpl:border-[var(--tpl-border)]",
901
906
  style: { "background-color": "transparent" },
902
907
  onClick: i[0] ||= (e) => n("cancel")
@@ -905,7 +910,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
905
910
  onClick: i[1] ||= (e) => n("confirm")
906
911
  }, c(b(r).snapshotPreview.restore), 1)])])) : w("", !0);
907
912
  }
908
- }), Nt = {
913
+ }), Pt = {
909
914
  key: 0,
910
915
  role: "status",
911
916
  "aria-live": "polite",
@@ -915,14 +920,14 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
915
920
  color: "var(--tpl-text)",
916
921
  border: "1px solid var(--tpl-warning)"
917
922
  }
918
- }, Pt = /* @__PURE__ */ f({
923
+ }, Ft = /* @__PURE__ */ f({
919
924
  __name: "CollabUndoToast",
920
925
  props: { visible: { type: Boolean } },
921
926
  setup(e) {
922
927
  let { t } = H();
923
- return (n, r) => e.visible ? (s(), m("div", Nt, c(b(t).history.collabWarning), 1)) : w("", !0);
928
+ return (n, r) => e.visible ? (s(), m("div", Pt, c(b(t).history.collabWarning), 1)) : w("", !0);
924
929
  }
925
- }), Ft = ["data-tpl-theme"], It = { class: "tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Lt = { class: "tpl-main tpl:flex tpl:justify-center tpl:p-8" }, Rt = ["aria-label"], zt = /*#__PURE__*/ ve(/* @__PURE__ */ f({
930
+ }), It = ["data-tpl-theme"], Lt = { class: "tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Rt = { class: "tpl-main tpl:flex tpl:justify-center tpl:p-8" }, zt = ["aria-label"], Bt = /*#__PURE__*/ ye(/* @__PURE__ */ f({
926
931
  __name: "CloudEditor",
927
932
  props: {
928
933
  config: {},
@@ -933,9 +938,9 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
933
938
  },
934
939
  emits: ["ready"],
935
940
  setup(e, { expose: a, emit: o }) {
936
- let d = h(() => import("./SavedBlocksPanels-CRf7zzFn.js")), f = h(() => import("./TestEmailPanel-B0u_Yd3X.js")), x = e;
941
+ let d = h(() => import("./SavedBlocksPanels-CNdUxS89.js")), f = h(() => import("./TestEmailPanel--RwnwLn2.js")), x = e;
937
942
  _(R, x.cloudTranslations);
938
- let S = o, C = u(null), k = u(null), A = Ue({
943
+ let S = o, C = u(null), k = u(null), A = We({
939
944
  config: x.config,
940
945
  translations: x.translations,
941
946
  fontsManager: x.fontsManager,
@@ -949,7 +954,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
949
954
  await q.confirmRestoreSnapshot();
950
955
  } catch {}
951
956
  }
952
- let Y = Ge({
957
+ let Y = Ke({
953
958
  config: x.config,
954
959
  editor: z,
955
960
  websocket: I,
@@ -959,7 +964,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
959
964
  exporter: H,
960
965
  featureFlags: V,
961
966
  isDestroyed: A.isDestroyed
962
- }), X = Ke({
967
+ }), X = qe({
963
968
  issues: B.templateLint ? B.templateLint.issues : u([]),
964
969
  planConfig: F.config
965
970
  });
@@ -997,7 +1002,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
997
1002
  "leave-from-class": "tpl:opacity-100",
998
1003
  "leave-to-class": "tpl:opacity-0"
999
1004
  }, {
1000
- default: l(() => [g(St, { visible: b(j) || b(z).state.isLoading }, null, 8, ["visible"])]),
1005
+ default: l(() => [g(Ct, { visible: b(j) || b(z).state.isLoading }, null, 8, ["visible"])]),
1001
1006
  _: 1
1002
1007
  }),
1003
1008
  g(O, {
@@ -1008,7 +1013,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1008
1013
  "leave-from-class": "tpl:opacity-100",
1009
1014
  "leave-to-class": "tpl:opacity-0"
1010
1015
  }, {
1011
- default: l(() => [g(Ot, {
1016
+ default: l(() => [g(kt, {
1012
1017
  error: b(N),
1013
1018
  visible: !!b(N) && !b(j),
1014
1019
  onRetry: b(A).initialize
@@ -1019,7 +1024,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1019
1024
  ])]),
1020
1025
  _: 1
1021
1026
  }),
1022
- g(_t, {
1027
+ g(vt, {
1023
1028
  editor: b(z),
1024
1029
  core: b(B),
1025
1030
  "feature-flags": b(V),
@@ -1047,7 +1052,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1047
1052
  "is-saving",
1048
1053
  "is-save-disabled"
1049
1054
  ]),
1050
- g(nt, {
1055
+ g(rt, {
1051
1056
  open: b(X).modalOpen.value,
1052
1057
  issues: b(X).blockingIssues.value,
1053
1058
  onCancel: b(X).cancel,
@@ -1058,7 +1063,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1058
1063
  "onCancel",
1059
1064
  "onConfirm"
1060
1065
  ]),
1061
- g(Mt, {
1066
+ g(Nt, {
1062
1067
  visible: b(q).isPreviewingSnapshot.value,
1063
1068
  onCancel: b(q).cancelPreview,
1064
1069
  onConfirm: me
@@ -1071,7 +1076,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1071
1076
  "leave-from-class": "tpl:translate-y-0 tpl:opacity-100",
1072
1077
  "leave-to-class": "tpl:translate-y-[-8px] tpl:opacity-0"
1073
1078
  }, {
1074
- default: l(() => [g(Pt, { visible: b(re).collabUndoWarningVisible.value }, null, 8, ["visible"])]),
1079
+ default: l(() => [g(Ft, { visible: b(re).collabUndoWarningVisible.value }, null, 8, ["visible"])]),
1075
1080
  _: 1
1076
1081
  }),
1077
1082
  T(g(ne, null, null, 512), [[D, !b(z).state.previewMode]]),
@@ -1081,7 +1086,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1081
1086
  transition: "all 300ms cubic-bezier(0.34, 1.56, 0.64, 1)",
1082
1087
  "background-color": "var(--tpl-canvas-bg)"
1083
1088
  }
1084
- }, [p("div", It, [g(O, { name: "tpl-restore-btn" }, {
1089
+ }, [p("div", Lt, [g(O, { name: "tpl-restore-btn" }, {
1085
1090
  default: l(() => [b(B).conditionPreview.hasHiddenBlocks.value ? (s(), m("button", {
1086
1091
  key: 0,
1087
1092
  class: "tpl:absolute tpl:left-1/2 tpl:top-2 tpl:-translate-x-1/2 tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-full tpl:border tpl:px-3.5 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:whitespace-nowrap tpl:shadow-md tpl:hover:opacity-80",
@@ -1097,7 +1102,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1097
1102
  "stroke-width": 2
1098
1103
  }), y(" " + c(b(B).t.blockSettings.restoreHiddenBlocks), 1)])) : w("", !0)]),
1099
1104
  _: 1
1100
- })]), p("main", Lt, [g(pe, {
1105
+ })]), p("main", Rt, [g(pe, {
1101
1106
  viewport: b(z).state.viewport,
1102
1107
  content: b(z).content.value,
1103
1108
  "selected-block-id": b(z).state.selectedBlockId,
@@ -1126,7 +1131,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1126
1131
  "aria-live": "polite",
1127
1132
  "aria-atomic": "true",
1128
1133
  "aria-label": b(B).t.landmarks.reorderAnnouncements
1129
- }, c(b(B).keyboardReorder.announcement.value), 9, Rt),
1134
+ }, c(b(B).keyboardReorder.announcement.value), 9, zt),
1130
1135
  T(g(de, {
1131
1136
  "selected-block": b(z).selectedBlock.value,
1132
1137
  settings: b(z).content.value.settings,
@@ -1141,7 +1146,7 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1141
1146
  "shifted-left",
1142
1147
  "onUpdateSettings"
1143
1148
  ]), [[D, !b(z).state.previewMode]]),
1144
- !b(j) && b(M) ? (s(), v(vt, {
1149
+ !b(j) && b(M) ? (s(), v(yt, {
1145
1150
  key: 1,
1146
1151
  ref_key: "cloudPanelsRef",
1147
1152
  ref: C,
@@ -1174,8 +1179,8 @@ var qe = ["aria-label"], Je = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1174
1179
  g(se),
1175
1180
  g(fe),
1176
1181
  b(le) ? (s(), v(ce, { key: 4 })) : w("", !0)
1177
- ], 46, Ft));
1182
+ ], 46, It));
1178
1183
  }
1179
1184
  }), [["__scopeId", "data-v-d606cf3a"]]);
1180
1185
  //#endregion
1181
- export { zt as default };
1186
+ export { Bt as default };