@templatical/editor 0.35.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/{AiChatSidebar-DPHbCGu4.js → AiChatSidebar-tu4eLcf_.js} +57 -57
  2. package/dist/{AiFeatureMenu--8z7qvg1.js → AiFeatureMenu-BF0i0vA4.js} +17 -17
  3. package/dist/{BlockIssueBadge-BGCsJqqM.js → BlockIssueBadge-DT-FqKeC.js} +9 -9
  4. package/dist/{BlockPreviewCanvas-DKspIy8V.js → BlockPreviewCanvas-DDCmMram.js} +28 -28
  5. package/dist/CloudHeaderExtras-NPhudovT.js +59 -0
  6. package/dist/{CloudPanels-Bp5gFtaL.js → CloudPanels-Iwnky0iA.js} +78 -108
  7. package/dist/{CollaboratorBar-DvwZm5u7.js → CollaboratorBar-DAITu0hz.js} +17 -17
  8. package/dist/{ColorPicker-DtozuN75.js → ColorPicker-BqlZ_TqG.js} +193 -193
  9. package/dist/{CommentsPanel-3C-DsEjy.js → CommentsPanel-CDvgmWP1.js} +3 -3
  10. package/dist/{CommentsSidebar-go1FnjDW.js → CommentsSidebar-X_xqM3dR.js} +158 -158
  11. package/dist/{CountdownBlock-D1fsNsyS.js → CountdownBlock-ZFJIdbP6.js} +12 -12
  12. package/dist/{CountdownToolbar-SLBuij7Q.js → CountdownToolbar-DBFoG3a6.js} +67 -67
  13. package/dist/{DesignReferenceSidebar-rcE_BvUd.js → DesignReferenceSidebar--QtXjLrw.js} +57 -57
  14. package/dist/{FieldRow-BWt7ECqo.js → FieldRow-C8nOknr_.js} +39 -39
  15. package/dist/{IssuesPanel-Cig46N1i.js → IssuesPanel-BLbNFMSX.js} +38 -38
  16. package/dist/{LoadingTrack-SQXoZVf2.js → LoadingTrack-BlTL4zFv.js} +2 -2
  17. package/dist/MediaPanels-CMTAhDXB.js +43 -0
  18. package/dist/{MergeTagInput-D1hzsn2b.js → MergeTagInput-BEjzj4Iu.js} +115 -115
  19. package/dist/{MergeTagModeToggle-CH9wR5YF.js → MergeTagModeToggle-DKN6ihI5.js} +40 -40
  20. package/dist/{MergeTagSuggestion-CoCuzEmW.js → MergeTagSuggestion-DKoLEeoj.js} +21 -21
  21. package/dist/{ParagraphEditor-CT2AdMdZ.js → ParagraphEditor-1E9yzOfk.js} +231 -258
  22. package/dist/{RestoreVersionDialog-mdqgQxFR.js → RestoreVersionDialog-BMGUkcd8.js} +28 -28
  23. package/dist/{RichTextEditorContent-riOB-rKD.js → RichTextEditorContent-BnxbQUV9.js} +49 -59
  24. package/dist/{SaveBlockDialog-Cn2v4Lpj.js → SaveBlockDialog-WKASpCCT.js} +78 -78
  25. package/dist/SavedBlocksBrowserModal-AYEXTMtQ.js +323 -0
  26. package/dist/{SavedBlocksPanels-ffBnWuVU.js → SavedBlocksPanels-D_CpacTl.js} +6 -6
  27. package/dist/{SavedBlocksPickBar-BmQC2tWN.js → SavedBlocksPickBar-BHMwg-1G.js} +11 -11
  28. package/dist/{TemplateScoringPanel-CxAtdreR.js → TemplateScoringPanel-CSin43YM.js} +99 -98
  29. package/dist/{TestEmailModal-Cjn1padY.js → TestEmailModal-BxizsRCd.js} +59 -59
  30. package/dist/{TestEmailPanel-Bf3XZ1jn.js → TestEmailPanel-vd2e5HzT.js} +3 -3
  31. package/dist/TitleEditor-CLJ68Ty4.js +199 -0
  32. package/dist/TplModal-Q9fDgS1M.js +51 -0
  33. package/dist/{VersionHistoryMenu-CrNrGsaa.js → VersionHistoryMenu-eGYVhM4H.js} +41 -47
  34. package/dist/{VersionHistoryPanels-CsuQk6W3.js → VersionHistoryPanels-C7Ntrrfq.js} +4 -4
  35. package/dist/{VersionPreviewBanner-BqbO0Zss.js → VersionPreviewBanner-BbQXnR0M.js} +9 -9
  36. package/dist/{blockTypeIcons-D_4HdaY9.js → blockTypeIcons-5qD4bB76.js} +5 -17
  37. package/dist/bundle-stats.json +8 -8
  38. package/dist/ca-Jx2CDwtn.js +83 -0
  39. package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js → AiChatSidebar-dyqqHAcI.js} +4 -4
  40. package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js.map → AiChatSidebar-dyqqHAcI.js.map} +1 -1
  41. package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js → AiFeatureMenu-BjVMwhW8.js} +5 -5
  42. package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js.map → AiFeatureMenu-BjVMwhW8.js.map} +1 -1
  43. package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js → BlockIssueBadge-BJ__oEtm.js} +4 -4
  44. package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js.map → BlockIssueBadge-BJ__oEtm.js.map} +1 -1
  45. package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js → BlockPreviewCanvas-B5f26eLE.js} +5 -5
  46. package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js.map → BlockPreviewCanvas-B5f26eLE.js.map} +1 -1
  47. package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js → CloudHeaderExtras-D5P5IEKA.js} +4 -4
  48. package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js.map → CloudHeaderExtras-D5P5IEKA.js.map} +1 -1
  49. package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js → CloudPanels-DkmR05nB.js} +15 -45
  50. package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js.map → CloudPanels-DkmR05nB.js.map} +1 -1
  51. package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js → CollaboratorBar-Yn7KSpt4.js} +4 -4
  52. package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js.map → CollaboratorBar-Yn7KSpt4.js.map} +1 -1
  53. package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js → ColorPicker-LcrzgMoW.js} +7 -7
  54. package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js.map → ColorPicker-LcrzgMoW.js.map} +1 -1
  55. package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js → CommentsPanel-CntwwocI.js} +2 -2
  56. package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js.map → CommentsPanel-CntwwocI.js.map} +1 -1
  57. package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js → CommentsSidebar-BLDKnKy7.js} +4 -4
  58. package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js.map → CommentsSidebar-BLDKnKy7.js.map} +1 -1
  59. package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js → CountdownBlock-B4AfqJwb.js} +2 -2
  60. package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js.map → CountdownBlock-B4AfqJwb.js.map} +1 -1
  61. package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js → CountdownToolbar-CA1dpuOI.js} +3 -3
  62. package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js.map → CountdownToolbar-CA1dpuOI.js.map} +1 -1
  63. package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js → DesignReferenceSidebar-D1Y9Hswe.js} +5 -5
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js.map → DesignReferenceSidebar-D1Y9Hswe.js.map} +1 -1
  65. package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js → IssuesPanel-Q62LTqvd.js} +5 -5
  66. package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js.map → IssuesPanel-Q62LTqvd.js.map} +1 -1
  67. package/dist/cdn/chunks/MediaPanels-D21M6shx.js +45 -0
  68. package/dist/cdn/chunks/MediaPanels-D21M6shx.js.map +1 -0
  69. package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js → MergeTagInput-l7paaAml.js} +7 -7
  70. package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js.map → MergeTagInput-l7paaAml.js.map} +1 -1
  71. package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js → MergeTagModeToggle-DYxkAGtA.js} +4 -4
  72. package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js.map → MergeTagModeToggle-DYxkAGtA.js.map} +1 -1
  73. package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js → ParagraphEditor-Bd-GQXee.js} +15 -15
  74. package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js.map → ParagraphEditor-Bd-GQXee.js.map} +1 -1
  75. package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js → RestoreVersionDialog-2X9RpM9A.js} +4 -4
  76. package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js.map → RestoreVersionDialog-2X9RpM9A.js.map} +1 -1
  77. package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js → RichTextEditorContent-D_rb0rmU.js} +8 -8
  78. package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js.map → RichTextEditorContent-D_rb0rmU.js.map} +1 -1
  79. package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js → SaveBlockDialog-CufdTomT.js} +15 -15
  80. package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js.map → SaveBlockDialog-CufdTomT.js.map} +1 -1
  81. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js → SavedBlocksBrowserModal-CqpaNsk7.js} +8 -8
  82. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js.map → SavedBlocksBrowserModal-CqpaNsk7.js.map} +1 -1
  83. package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js → SavedBlocksPanels-DpxYxddo.js} +2 -2
  84. package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js.map → SavedBlocksPanels-DpxYxddo.js.map} +1 -1
  85. package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js → SavedBlocksPickBar-Drpoav1B.js} +4 -4
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js.map → SavedBlocksPickBar-Drpoav1B.js.map} +1 -1
  87. package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js → TemplateScoringPanel-DBjUNULq.js} +5 -5
  88. package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js.map → TemplateScoringPanel-DBjUNULq.js.map} +1 -1
  89. package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js → TestEmailModal-BTNlSW6f.js} +10 -10
  90. package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js.map → TestEmailModal-BTNlSW6f.js.map} +1 -1
  91. package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js → TestEmailPanel-D0A9Zgxr.js} +2 -2
  92. package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js.map → TestEmailPanel-D0A9Zgxr.js.map} +1 -1
  93. package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js → TitleEditor-CrnuIq62.js} +9 -9
  94. package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js.map → TitleEditor-CrnuIq62.js.map} +1 -1
  95. package/dist/cdn/chunks/{TplModal-DxOMcVwp.js → TplModal-DYXrTz42.js} +5 -5
  96. package/dist/cdn/chunks/{TplModal-DxOMcVwp.js.map → TplModal-DYXrTz42.js.map} +1 -1
  97. package/dist/cdn/chunks/{VersionHistoryMenu-BfVUvWHT.js → VersionHistoryMenu-bDGnE4hb.js} +4 -4
  98. package/dist/cdn/chunks/VersionHistoryMenu-bDGnE4hb.js.map +1 -0
  99. package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js → VersionHistoryPanels-82P0Q0HM.js} +2 -2
  100. package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js.map → VersionHistoryPanels-82P0Q0HM.js.map} +1 -1
  101. package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js → VersionPreviewBanner-BJiwKkVC.js} +3 -3
  102. package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js.map → VersionPreviewBanner-BJiwKkVC.js.map} +1 -1
  103. package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js → blockTypeIcons-CNjJSFun.js} +2 -2
  104. package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js.map → blockTypeIcons-CNjJSFun.js.map} +1 -1
  105. package/dist/cdn/chunks/{ca-CNRWAMHI.js → ca-Jx2CDwtn.js} +2 -6
  106. package/dist/cdn/chunks/ca-Jx2CDwtn.js.map +1 -0
  107. package/dist/cdn/chunks/{cloud-CullB76F.js → cloud-BLgCKP7Z.js} +452 -227
  108. package/dist/cdn/chunks/cloud-BLgCKP7Z.js.map +1 -0
  109. package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js +385 -0
  110. package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js.map +1 -0
  111. package/dist/cdn/chunks/{de-DFYCT4QU.js → de-Ck0pBGHu.js} +2 -6
  112. package/dist/cdn/chunks/de-Ck0pBGHu.js.map +1 -0
  113. package/dist/cdn/chunks/{src-CaXeO-gG.js → editor-modal-MXgtarMl.js} +1474 -1935
  114. package/dist/cdn/chunks/editor-modal-MXgtarMl.js.map +1 -0
  115. package/dist/cdn/chunks/en-C9U7N77n.js +2 -0
  116. package/dist/cdn/chunks/{es-OgkdMZGX.js → es-lagTvUfX.js} +2 -6
  117. package/dist/cdn/chunks/es-lagTvUfX.js.map +1 -0
  118. package/dist/cdn/chunks/{extensions-BpXY7jO5.js → extensions-B8_jnIkD.js} +3 -3
  119. package/dist/cdn/chunks/{extensions-BpXY7jO5.js.map → extensions-B8_jnIkD.js.map} +1 -1
  120. package/dist/cdn/chunks/{fr-Dswns199.js → fr-C4hVl5Lk.js} +2 -6
  121. package/dist/cdn/chunks/fr-C4hVl5Lk.js.map +1 -0
  122. package/dist/cdn/chunks/{icons-BLxcQUck.js → icons-BUlqGSgd.js} +24 -24
  123. package/dist/cdn/chunks/{icons-BLxcQUck.js.map → icons-BUlqGSgd.js.map} +1 -1
  124. package/dist/cdn/chunks/{keys-DQp8x7Nx.js → keys-DBFhDFng.js} +4 -4
  125. package/dist/cdn/chunks/{keys-DQp8x7Nx.js.map → keys-DBFhDFng.js.map} +1 -1
  126. package/dist/cdn/chunks/{nl-CbcPJlrL.js → nl-CReD7Apd.js} +2 -6
  127. package/dist/cdn/chunks/nl-CReD7Apd.js.map +1 -0
  128. package/dist/cdn/chunks/{pt-BR-BibOQm-o.js → pt-BR-BRA0-vGP.js} +2 -6
  129. package/dist/cdn/chunks/pt-BR-BRA0-vGP.js.map +1 -0
  130. package/dist/cdn/chunks/{src-BC-eolWY.js → src-Ozknnj-v.js} +2 -2
  131. package/dist/cdn/chunks/{src-BC-eolWY.js.map → src-Ozknnj-v.js.map} +1 -1
  132. package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js → useCloudI18n-DSWSGj-A.js} +2 -2
  133. package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js.map → useCloudI18n-DSWSGj-A.js.map} +1 -1
  134. package/dist/cdn/chunks/{useEditorCore-D4MytYB9.js → useEditorCore-Cs7rYVBo.js} +488 -406
  135. package/dist/cdn/chunks/useEditorCore-Cs7rYVBo.js.map +1 -0
  136. package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js → useEditorRoot-B0zW2nT4.js} +2 -2
  137. package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js.map → useEditorRoot-B0zW2nT4.js.map} +1 -1
  138. package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js → useI18n-Dlo7R9RA.js} +2 -2
  139. package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js.map → useI18n-Dlo7R9RA.js.map} +1 -1
  140. package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js → useMergeTag-BYAifvh8.js} +3 -3
  141. package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js.map → useMergeTag-BYAifvh8.js.map} +1 -1
  142. package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js → usePopoverPosition-ElP3ABaV.js} +2 -2
  143. package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js.map → usePopoverPosition-ElP3ABaV.js.map} +1 -1
  144. package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js → useScrollToBlock-nTbWkgaU.js} +2 -2
  145. package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js.map → useScrollToBlock-nTbWkgaU.js.map} +1 -1
  146. package/dist/cdn/editor.css +1 -1
  147. package/dist/cdn/editor.js +1094 -1005
  148. package/dist/cdn/editor.js.map +1 -1
  149. package/dist/{check-CY-Ec6FV.js → check-DWtkBzBU.js} +1 -1
  150. package/dist/{chevron-down-BghbWA9p.js → chevron-down-C-Fjxcqj.js} +1 -1
  151. package/dist/chevron-right-SOkn2d4P.js +11 -0
  152. package/dist/{chevron-up-n3qFAPS3.js → chevron-up-lntU1ypp.js} +1 -1
  153. package/dist/{circle-alert-L5uGGFRP.js → circle-alert-CjzUTwy3.js} +1 -1
  154. package/dist/{clock-Dgnwp18n.js → clock-pB2QKPsJ.js} +1 -1
  155. package/dist/{cloud-B1c4XIsn.js → cloud-DdidMW6f.js} +445 -200
  156. package/dist/copy-CId1E038.js +19 -0
  157. package/dist/createCloudRuntime-x5WZm3p8.js +383 -0
  158. package/dist/{createLucideIcon-05lB8iWe.js → createLucideIcon-Cwf_nTzE.js} +6 -6
  159. package/dist/de-Ck0pBGHu.js +83 -0
  160. package/dist/{dist-BxFbxpgW.js → dist-BVqAYoRB.js} +125 -125
  161. package/dist/dist-D8i1ixHK.js +177 -0
  162. package/dist/dist-DBirAJIs.js +410 -0
  163. package/dist/editor-modal-B_LaQf0s.js +5998 -0
  164. package/dist/en-DcmpWV53.js +2 -0
  165. package/dist/es-lagTvUfX.js +83 -0
  166. package/dist/{extensions-Bawm4BOM.js → extensions-CHOBZRab.js} +42 -42
  167. package/dist/eye-BuGtFUoJ.js +16 -0
  168. package/dist/fr-C4hVl5Lk.js +83 -0
  169. package/dist/{image-up-ovhjl9u9.js → image-up-gH4JEpU5.js} +1 -1
  170. package/dist/index.d.ts +90 -11
  171. package/dist/{info-c3KI927I.js → info-BQ60P82u.js} +1 -1
  172. package/dist/{keys-C3P1yxnr.js → keys-DQA2i1k1.js} +4 -4
  173. package/dist/link-3R8it3J7.js +14 -0
  174. package/dist/list-Ccdgj46T.js +33 -0
  175. package/dist/{loader-circle-B2Y8xZQb.js → loader-circle-B_tAD4k6.js} +1 -1
  176. package/dist/{message-circle-B7K-naUa.js → message-circle-P-KSc6V0.js} +1 -1
  177. package/dist/nl-CReD7Apd.js +83 -0
  178. package/dist/{pencil-BhWTFcp4.js → pencil-9ZiwqS4r.js} +1 -1
  179. package/dist/plus-BwJEzCaO.js +14 -0
  180. package/dist/pt-BR-BRA0-vGP.js +83 -0
  181. package/dist/{refresh-cw-BqUR5vgO.js → refresh-cw-DEgfb2FK.js} +2 -14
  182. package/dist/{runtime-dom.esm-bundler-BuG03jBM.js → runtime-dom.esm-bundler-PnoZU512.js} +106 -106
  183. package/dist/search-DqQ8Li5E.js +16 -0
  184. package/dist/{send-D1vvuW79.js → send-CE6uvqop.js} +1 -1
  185. package/dist/{shield-check-DjK54PnW.js → shield-check-DhD1Z3rd.js} +1 -1
  186. package/dist/{sparkles-DNdS9V_3.js → sparkles-R0ZQHa6F.js} +1 -1
  187. package/dist/style.css +1 -1
  188. package/dist/templatical-editor.js +2491 -2408
  189. package/dist/{text-align-start-Bcmo_VUY.js → text-align-start-DSux2UNn.js} +1 -1
  190. package/dist/{trash-C9bMXvw4.js → trash-Cf_SqsER.js} +1 -1
  191. package/dist/{triangle-alert-Bn8Bd2Yv.js → triangle-alert-C6tGa6jw.js} +1 -1
  192. package/dist/{upload-DKgg1gno.js → upload-DusKjpVr.js} +1 -1
  193. package/dist/{useAliveFlag-PVmp95MT.js → useAliveFlag-oyByIcjy.js} +1 -1
  194. package/dist/{useCloudI18n-BKoiYsWZ.js → useCloudI18n-BLyh_e2T.js} +2 -2
  195. package/dist/{useEditorCore-CYGvurZa.js → useEditorCore-DhlKOYwe.js} +1552 -1486
  196. package/dist/{useEditorRoot-DkRGTQRs.js → useEditorRoot-ds57-l6F.js} +2 -2
  197. package/dist/{useI18n-CL6RfPzK.js → useI18n-BbdxxpOE.js} +2 -2
  198. package/dist/{useMergeTag-C9GEpljB.js → useMergeTag-DlvOBW_B.js} +3 -3
  199. package/dist/{usePopoverPosition-CWxaIWd3.js → usePopoverPosition-CprM5p-c.js} +2 -2
  200. package/dist/{useScrollToBlock-oUx1HIZ2.js → useScrollToBlock-BTFw0b9O.js} +3 -3
  201. package/dist/{vue.runtime.esm-bundler-D9JUcKrV.js → vue.runtime.esm-bundler-DShF3P6k.js} +1192 -1181
  202. package/dist/{x-BPKoRPTG.js → x-D_-42Ukq.js} +1 -1
  203. package/package.json +9 -12
  204. package/dist/CloudHeaderExtras-CRUQvgSV.js +0 -59
  205. package/dist/SavedBlocksBrowserModal-BORqqASb.js +0 -322
  206. package/dist/TitleEditor-pYEUX6lR.js +0 -198
  207. package/dist/TplModal-DRx4ytx8.js +0 -51
  208. package/dist/cdn/chunks/VersionHistoryMenu-BfVUvWHT.js.map +0 -1
  209. package/dist/cdn/chunks/ca-CNRWAMHI.js.map +0 -1
  210. package/dist/cdn/chunks/cloud-CullB76F.js.map +0 -1
  211. package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js +0 -443
  212. package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js.map +0 -1
  213. package/dist/cdn/chunks/de-DFYCT4QU.js.map +0 -1
  214. package/dist/cdn/chunks/en-rGHphLWo.js +0 -2
  215. package/dist/cdn/chunks/es-OgkdMZGX.js.map +0 -1
  216. package/dist/cdn/chunks/fr-Dswns199.js.map +0 -1
  217. package/dist/cdn/chunks/nl-CbcPJlrL.js.map +0 -1
  218. package/dist/cdn/chunks/pt-BR-BibOQm-o.js.map +0 -1
  219. package/dist/cdn/chunks/src-CaXeO-gG.js.map +0 -1
  220. package/dist/cdn/chunks/useEditorCore-D4MytYB9.js.map +0 -1
  221. package/dist/createCloudRuntime-PevFSH74.js +0 -441
  222. package/dist/dist-dNiknO7j.js +0 -251
  223. package/dist/dist-heatwAdo.js +0 -150
@@ -1,20 +1,21 @@
1
- import { Dt as e, L as t, Ot as n, P as r, S as i, X as a, c as o, d as s, g as c, h as l, j as u, k as d, kt as f, l as p, r as m, rt as h, u as g, v as _, z as ee } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
- import { t as te } from "./runtime-dom.esm-bundler-BuG03jBM.js";
3
- import { B as ne, E as re, J as v, h as y } from "./keys-C3P1yxnr.js";
4
- import { t as b } from "./createLucideIcon-05lB8iWe.js";
5
- import { t as ie } from "./chevron-down-BghbWA9p.js";
6
- import { t as x } from "./circle-alert-L5uGGFRP.js";
7
- import { n as ae, t as S } from "./refresh-cw-BqUR5vgO.js";
8
- import { t as C } from "./info-c3KI927I.js";
9
- import { t as w } from "./loader-circle-B2Y8xZQb.js";
10
- import { t as T } from "./shield-check-DjK54PnW.js";
11
- import { t as E } from "./sparkles-DNdS9V_3.js";
12
- import { t as oe } from "./triangle-alert-Bn8Bd2Yv.js";
13
- import { t as se } from "./x-BPKoRPTG.js";
14
- import { t as ce } from "./LoadingTrack-SQXoZVf2.js";
15
- import { t as D } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { n as le } from "./useCloudI18n-BKoiYsWZ.js";
17
- var O = b({
1
+ import { A as e, At as t, B as n, F as r, M as i, R as ee, S as a, Z as te, at as o, c as s, d as c, g as l, h as u, jt as d, kt as f, l as p, r as m, u as h, v as g } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
+ import { t as ne } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
+ import { D as re, V as ie, Y as _, g as ae } from "./keys-DQA2i1k1.js";
4
+ import { t as v } from "./createLucideIcon-Cwf_nTzE.js";
5
+ import { t as oe } from "./chevron-down-C-Fjxcqj.js";
6
+ import { t as y } from "./circle-alert-CjzUTwy3.js";
7
+ import { t as se } from "./eye-BuGtFUoJ.js";
8
+ import { t as b } from "./info-BQ60P82u.js";
9
+ import { t as x } from "./loader-circle-B_tAD4k6.js";
10
+ import { t as S } from "./refresh-cw-DEgfb2FK.js";
11
+ import { t as C } from "./shield-check-DhD1Z3rd.js";
12
+ import { t as w } from "./sparkles-R0ZQHa6F.js";
13
+ import { t as ce } from "./triangle-alert-C6tGa6jw.js";
14
+ import { t as le } from "./x-D_-42Ukq.js";
15
+ import { t as ue } from "./LoadingTrack-BlTL4zFv.js";
16
+ import { t as T } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
+ import { n as E } from "./useCloudI18n-BLyh_e2T.js";
18
+ var D = v({
18
19
  name: "shield-x",
19
20
  size: 24,
20
21
  node: [
@@ -32,7 +33,7 @@ var O = b({
32
33
  }]
33
34
  ],
34
35
  aliases: ["shield-close"]
35
- }), k = b({
36
+ }), O = v({
36
37
  name: "zap",
37
38
  size: 24,
38
39
  node: [["path", {
@@ -42,39 +43,39 @@ var O = b({
42
43
  });
43
44
  //#endregion
44
45
  //#region src/cloud/utils/scoringStyles.ts
45
- function A(e) {
46
+ function k(e) {
46
47
  return e >= 80 ? "var(--tpl-success)" : e >= 60 ? "var(--tpl-warning)" : "var(--tpl-danger)";
47
48
  }
48
- function j(e) {
49
+ function A(e) {
49
50
  return e >= 80 ? "var(--tpl-success-light)" : e >= 60 ? "var(--tpl-warning-light)" : "var(--tpl-danger-light)";
50
51
  }
51
- function M(e) {
52
+ function j(e) {
52
53
  return e === "high" ? "var(--tpl-danger)" : e === "medium" ? "var(--tpl-warning)" : "var(--tpl-text-muted)";
53
54
  }
54
- function N(e) {
55
+ function M(e) {
55
56
  return e === "high" ? "var(--tpl-danger-light)" : e === "medium" ? "var(--tpl-warning-light)" : "var(--tpl-bg-hover)";
56
57
  }
57
58
  //#endregion
58
59
  //#region src/cloud/components/TemplateScoringPanel.vue?vue&type=script&setup=true&lang.ts
59
- var P = {
60
+ var N = {
60
61
  key: 0,
61
62
  class: "tpl-scoring-panel tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
62
- }, F = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, I = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, L = { class: "tpl:flex tpl:items-center tpl:gap-1" }, R = ["title"], z = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, B = {
63
+ }, P = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, F = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, I = { class: "tpl:flex tpl:items-center tpl:gap-1" }, L = ["title"], R = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, z = {
63
64
  key: 0,
64
65
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
65
- }, V = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, H = {
66
+ }, B = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, V = {
66
67
  key: 1,
67
68
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
68
- }, U = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, W = {
69
+ }, H = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, U = {
69
70
  key: 2,
70
71
  class: "tpl:flex tpl:flex-col tpl:gap-4"
71
- }, ue = { class: "tpl:text-xs tpl:font-medium tpl:uppercase tpl:tracking-wider tpl:text-[var(--tpl-text-muted)]" }, de = {
72
+ }, de = { class: "tpl:text-xs tpl:font-medium tpl:uppercase tpl:tracking-wider tpl:text-[var(--tpl-text-muted)]" }, fe = {
72
73
  key: 0,
73
74
  class: "tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
74
- }, fe = {
75
+ }, pe = {
75
76
  key: 0,
76
77
  class: "tpl:flex tpl:items-start tpl:gap-2 tpl:rounded-lg tpl:px-3 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
77
- }, pe = ["onClick"], me = { class: "tpl:flex-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, he = {
78
+ }, W = ["onClick"], me = { class: "tpl:flex-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, he = {
78
79
  key: 0,
79
80
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]"
80
81
  }, ge = {
@@ -95,12 +96,12 @@ var P = {
95
96
  }, Ee = {
96
97
  key: 3,
97
98
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
98
- }, De = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Oe = { class: "tpl:m-0 tpl:px-4 tpl:pb-2 tpl:pt-2 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, G = /*#__PURE__*/ D(/* @__PURE__ */ _({
99
+ }, De = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Oe = { class: "tpl:m-0 tpl:px-4 tpl:pb-2 tpl:pt-2 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, G = /*#__PURE__*/ T(/* @__PURE__ */ g({
99
100
  __name: "TemplateScoringPanel",
100
101
  props: { visible: { type: Boolean } },
101
102
  emits: ["close"],
102
- setup(_, { emit: b }) {
103
- let D = _, G = b, { t: K } = le(), q = v(y, "TemplateScoringPanel"), J = v(ne, "TemplateScoringPanel"), Y = i(re, []), X = a({
103
+ setup(g, { emit: v }) {
104
+ let T = g, G = v, { t: K } = E(), q = _(ae, "TemplateScoringPanel"), J = _(ie, "TemplateScoringPanel"), Y = a(re, []), X = te({
104
105
  spam: !0,
105
106
  readability: !0,
106
107
  accessibility: !0,
@@ -115,15 +116,15 @@ var P = {
115
116
  "accessibility",
116
117
  "bestPractices"
117
118
  ], Ae = {
118
- spam: O,
119
- readability: ae,
120
- accessibility: E,
121
- bestPractices: k
119
+ spam: D,
120
+ readability: se,
121
+ accessibility: w,
122
+ bestPractices: O
122
123
  };
123
124
  function Q() {
124
125
  J.score(q.content.value, Y);
125
126
  }
126
- t(() => D.visible, (e) => {
127
+ ee(() => T.visible, (e) => {
127
128
  e && !J.scoringResult.value && !J.isScoring.value && Q();
128
129
  });
129
130
  async function je(e) {
@@ -138,7 +139,7 @@ var P = {
138
139
  function $() {
139
140
  return J.scoringResult.value ? Z.reduce((e, t) => e + (J.scoringResult.value?.categories[t]?.findings.length ?? 0), 0) : 0;
140
141
  }
141
- return (t, i) => (d(), p(te, {
142
+ return (ee, a) => (e(), p(ne, {
142
143
  "enter-active-class": "tpl-scoring-slide-enter-active",
143
144
  "enter-from-class": "tpl:translate-x-full",
144
145
  "enter-to-class": "tpl:translate-x-0",
@@ -146,118 +147,118 @@ var P = {
146
147
  "leave-from-class": "tpl:translate-x-0",
147
148
  "leave-to-class": "tpl:translate-x-full"
148
149
  }, {
149
- default: ee(() => [_.visible ? (d(), s("div", P, [o("div", F, [o("div", I, [c(h(T), {
150
+ default: n(() => [g.visible ? (e(), c("div", N, [s("div", P, [s("div", F, [l(o(C), {
150
151
  size: 13,
151
152
  "stroke-width": 2
152
- }), o("span", null, f(h(K).scoring.title), 1)]), o("div", L, [h(J).scoringResult.value && !h(J).isScoring.value ? (d(), s("button", {
153
+ }), s("span", null, d(o(K).scoring.title), 1)]), s("div", I, [o(J).scoringResult.value && !o(J).isScoring.value ? (e(), c("button", {
153
154
  key: 0,
154
155
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
155
- title: h(K).scoring.rescore,
156
- onClick: i[0] ||= (e) => Q()
157
- }, [c(h(S), {
156
+ title: o(K).scoring.rescore,
157
+ onClick: a[0] ||= (e) => Q()
158
+ }, [l(o(S), {
158
159
  size: 14,
159
160
  "stroke-width": 2
160
- })], 8, R)) : g("", !0), o("button", {
161
+ })], 8, L)) : h("", !0), s("button", {
161
162
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
162
- onClick: i[1] ||= (e) => G("close")
163
- }, [c(h(se), {
163
+ onClick: a[1] ||= (e) => G("close")
164
+ }, [l(o(le), {
164
165
  size: 14,
165
166
  "stroke-width": 2
166
- })])])]), o("div", z, [h(J).isScoring.value ? (d(), s("div", B, [o("p", V, f(h(K).scoring.scoring), 1), c(ce, { class: "tpl:w-3/4" })])) : h(J).error.value && !h(J).scoringResult.value ? (d(), s("div", H, [
167
- c(h(x), {
167
+ })])])]), s("div", R, [o(J).isScoring.value ? (e(), c("div", z, [s("p", B, d(o(K).scoring.scoring), 1), l(ue, { class: "tpl:w-3/4" })])) : o(J).error.value && !o(J).scoringResult.value ? (e(), c("div", V, [
168
+ l(o(y), {
168
169
  size: 32,
169
170
  "stroke-width": 1.5,
170
171
  class: "tpl:text-[var(--tpl-danger)]"
171
172
  }),
172
- o("p", U, f(h(K).scoring.error), 1),
173
- o("button", {
173
+ s("p", H, d(o(K).scoring.error), 1),
174
+ s("button", {
174
175
  class: "tpl:mt-2 tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text-muted)]",
175
- onClick: i[2] ||= (e) => Q()
176
- }, [c(h(S), {
176
+ onClick: a[2] ||= (e) => Q()
177
+ }, [l(o(S), {
177
178
  size: 12,
178
179
  "stroke-width": 2
179
- }), l(" " + f(h(K).scoring.rescore), 1)])
180
- ])) : h(J).scoringResult.value ? (d(), s("div", W, [
181
- o("div", {
180
+ }), u(" " + d(o(K).scoring.rescore), 1)])
181
+ ])) : o(J).scoringResult.value ? (e(), c("div", U, [
182
+ s("div", {
182
183
  class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:p-5",
183
- style: n({ backgroundColor: h(j)(h(J).scoringResult.value.score) })
184
+ style: t({ backgroundColor: o(A)(o(J).scoringResult.value.score) })
184
185
  }, [
185
- o("span", {
186
+ s("span", {
186
187
  class: "tpl:text-4xl tpl:font-bold tpl:tabular-nums",
187
- style: n({ color: h(A)(h(J).scoringResult.value.score) })
188
- }, f(h(J).scoringResult.value.score), 5),
189
- o("span", ue, f(h(K).scoring.overallScore), 1),
190
- $() > 0 ? (d(), s("span", de, f($()) + " " + f(h(K).scoring.findings), 1)) : g("", !0)
188
+ style: t({ color: o(k)(o(J).scoringResult.value.score) })
189
+ }, d(o(J).scoringResult.value.score), 5),
190
+ s("span", de, d(o(K).scoring.overallScore), 1),
191
+ $() > 0 ? (e(), c("span", fe, d($()) + " " + d(o(K).scoring.findings), 1)) : h("", !0)
191
192
  ], 4),
192
- h(J).fixError.value ? (d(), s("div", fe, [c(h(x), {
193
+ o(J).fixError.value ? (e(), c("div", pe, [l(o(y), {
193
194
  size: 14,
194
195
  "stroke-width": 2,
195
196
  class: "tpl:mt-0.5 tpl:shrink-0"
196
- }), o("span", null, f(h(K).scoring.fixError), 1)])) : g("", !0),
197
- (d(), s(m, null, u(Z, (t) => o("div", {
198
- key: t,
197
+ }), s("span", null, d(o(K).scoring.fixError), 1)])) : h("", !0),
198
+ (e(), c(m, null, i(Z, (n) => s("div", {
199
+ key: n,
199
200
  class: "tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)]"
200
- }, [o("button", {
201
+ }, [s("button", {
201
202
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-2.5 tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-colors tpl:bg-[var(--tpl-bg)]",
202
- onClick: (e) => ke(t)
203
+ onClick: (e) => ke(n)
203
204
  }, [
204
- (d(), p(r(Ae[t]), {
205
+ (e(), p(r(Ae[n]), {
205
206
  size: 14,
206
207
  "stroke-width": 2,
207
- style: n({ color: h(A)(h(J).scoringResult.value.categories[t].score) })
208
+ style: t({ color: o(k)(o(J).scoringResult.value.categories[n].score) })
208
209
  }, null, 8, ["style"])),
209
- o("span", me, f(h(K).scoring.categories[t]), 1),
210
- o("span", {
210
+ s("span", me, d(o(K).scoring.categories[n]), 1),
211
+ s("span", {
211
212
  class: "tpl:rounded-full tpl:px-2 tpl:py-0.5 tpl:text-xs tpl:font-semibold tpl:tabular-nums",
212
- style: n({
213
- color: h(A)(h(J).scoringResult.value.categories[t].score),
214
- backgroundColor: h(j)(h(J).scoringResult.value.categories[t].score)
213
+ style: t({
214
+ color: o(k)(o(J).scoringResult.value.categories[n].score),
215
+ backgroundColor: o(A)(o(J).scoringResult.value.categories[n].score)
215
216
  })
216
- }, f(h(J).scoringResult.value.categories[t].score), 5),
217
- h(J).scoringResult.value.categories[t].findings.length > 0 ? (d(), s("span", he, f(h(J).scoringResult.value.categories[t].findings.length), 1)) : g("", !0),
218
- c(h(ie), {
217
+ }, d(o(J).scoringResult.value.categories[n].score), 5),
218
+ o(J).scoringResult.value.categories[n].findings.length > 0 ? (e(), c("span", he, d(o(J).scoringResult.value.categories[n].findings.length), 1)) : h("", !0),
219
+ l(o(oe), {
219
220
  size: 12,
220
221
  "stroke-width": 2,
221
- class: e(["tpl:transition-transform tpl:duration-200 tpl:text-[var(--tpl-text-dim)]", X.value[t] ? "tpl:rotate-0" : "tpl:-rotate-90"])
222
+ class: f(["tpl:transition-transform tpl:duration-200 tpl:text-[var(--tpl-text-dim)]", X.value[n] ? "tpl:rotate-0" : "tpl:-rotate-90"])
222
223
  }, null, 8, ["class"])
223
- ], 8, pe), X.value[t] ? (d(), s("div", ge, [h(J).scoringResult.value.categories[t].findings.length === 0 ? (d(), s("div", _e, f(h(K).scoring.noFindings), 1)) : g("", !0), (d(!0), s(m, null, u(h(J).scoringResult.value.categories[t].findings, (e) => (d(), s("div", {
224
- key: e.id,
224
+ ], 8, W), X.value[n] ? (e(), c("div", ge, [o(J).scoringResult.value.categories[n].findings.length === 0 ? (e(), c("div", _e, d(o(K).scoring.noFindings), 1)) : h("", !0), (e(!0), c(m, null, i(o(J).scoringResult.value.categories[n].findings, (n) => (e(), c("div", {
225
+ key: n.id,
225
226
  class: "tpl:border-t tpl:px-3 tpl:py-2.5 tpl:first:border-t-0 tpl:border-[var(--tpl-border-light)]"
226
- }, [o("div", ve, [(d(), p(r(e.severity === "high" ? h(x) : e.severity === "medium" ? h(oe) : h(C)), {
227
+ }, [s("div", ve, [(e(), p(r(n.severity === "high" ? o(y) : n.severity === "medium" ? o(ce) : o(b)), {
227
228
  size: 13,
228
229
  "stroke-width": 2,
229
230
  class: "tpl:mt-0.5 tpl:shrink-0",
230
- style: n({ color: h(M)(e.severity) })
231
- }, null, 8, ["style"])), o("div", ye, [
232
- o("div", be, [o("span", {
231
+ style: t({ color: o(j)(n.severity) })
232
+ }, null, 8, ["style"])), s("div", ye, [
233
+ s("div", be, [s("span", {
233
234
  class: "tpl:mt-0.5 tpl:shrink-0 tpl:rounded tpl:px-1 tpl:py-px tpl:text-[10px] tpl:font-medium tpl:leading-tight",
234
- style: n({
235
- color: h(M)(e.severity),
236
- backgroundColor: h(N)(e.severity)
235
+ style: t({
236
+ color: o(j)(n.severity),
237
+ backgroundColor: o(M)(n.severity)
237
238
  })
238
- }, f(h(K).scoring.severity[e.severity]), 5), o("span", xe, f(e.message), 1)]),
239
- e.suggestion ? (d(), s("p", Se, f(e.suggestion), 1)) : g("", !0),
240
- e.blockId ? (d(), s("div", Ce, [o("button", {
239
+ }, d(o(K).scoring.severity[n.severity]), 5), s("span", xe, d(n.message), 1)]),
240
+ n.suggestion ? (e(), c("p", Se, d(n.suggestion), 1)) : h("", !0),
241
+ n.blockId ? (e(), c("div", Ce, [s("button", {
241
242
  class: "tpl-scoring-fix-btn tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded tpl:border tpl:px-3 tpl:py-1.5 tpl:text-[11px] tpl:font-medium tpl:transition-all tpl:disabled:opacity-50 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)]",
242
243
  style: { "background-color": "transparent" },
243
- disabled: h(J).fixingFindingId.value !== null,
244
- onClick: (t) => je(e)
245
- }, [h(J).fixingFindingId.value === e.id ? (d(), p(h(w), {
244
+ disabled: o(J).fixingFindingId.value !== null,
245
+ onClick: (e) => je(n)
246
+ }, [o(J).fixingFindingId.value === n.id ? (e(), p(o(x), {
246
247
  key: 0,
247
248
  class: "tpl-spinner",
248
249
  size: 11,
249
250
  "stroke-width": 2
250
- })) : (d(), p(h(E), {
251
+ })) : (e(), p(o(w), {
251
252
  key: 1,
252
253
  size: 11,
253
254
  "stroke-width": 2
254
- })), l(" " + f(h(J).fixingFindingId.value === e.id ? h(K).scoring.fixing : h(K).scoring.fix), 1)], 8, we), h(J).fixError.value ? (d(), s("p", Te, f(h(J).fixError.value), 1)) : g("", !0)])) : g("", !0)
255
- ])])]))), 128))])) : g("", !0)])), 64))
256
- ])) : (d(), s("div", Ee, [c(h(T), {
255
+ })), u(" " + d(o(J).fixingFindingId.value === n.id ? o(K).scoring.fixing : o(K).scoring.fix), 1)], 8, we), o(J).fixError.value ? (e(), c("p", Te, d(o(J).fixError.value), 1)) : h("", !0)])) : h("", !0)
256
+ ])])]))), 128))])) : h("", !0)])), 64))
257
+ ])) : (e(), c("div", Ee, [l(o(C), {
257
258
  size: 32,
258
259
  "stroke-width": 1.5,
259
260
  class: "tpl:text-[var(--tpl-text-dim)]"
260
- }), o("p", De, f(h(K).scoring.emptyState), 1)])), o("p", Oe, f(h(K).aiMenu.disclaimer), 1)])])) : g("", !0)]),
261
+ }), s("p", De, d(o(K).scoring.emptyState), 1)])), s("p", Oe, d(o(K).aiMenu.disclaimer), 1)])])) : h("", !0)]),
261
262
  _: 1
262
263
  }));
263
264
  }
@@ -1,24 +1,24 @@
1
- import { B as e, Dt as t, L as n, S as r, X as i, c as a, d as o, g as s, h as c, j as l, k as u, kt as d, l as f, r as p, rt as m, s as h, u as g, v as _, z as ee } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
- import { a as te, i as v } from "./runtime-dom.esm-bundler-BuG03jBM.js";
3
- import { N as ne } from "./dist-tGkjkX-v.js";
4
- import { Z as re } from "./useEditorCore-CYGvurZa.js";
5
- import { A as ie, E as ae, R as oe, h as se } from "./keys-C3P1yxnr.js";
6
- import { t as ce } from "./useI18n-CL6RfPzK.js";
7
- import { t as le } from "./check-CY-Ec6FV.js";
8
- import { t as ue } from "./loader-circle-B2Y8xZQb.js";
9
- import { n as de, t as fe } from "./MergeTagModeToggle-CH9wR5YF.js";
10
- import { v as pe } from "./styleConstants-C_YAPdQS.js";
11
- import { t as me } from "./TplModal-DRx4ytx8.js";
12
- import { t as he } from "./BlockPreviewCanvas-DKspIy8V.js";
1
+ import { A as e, B as t, M as n, R as r, S as i, V as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as p, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
+ import { a as ee, i as y } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
+ import { N as te } from "./dist-tGkjkX-v.js";
4
+ import { X as ne } from "./useEditorCore-DhlKOYwe.js";
5
+ import { D as re, g as ie, j as ae, z as oe } from "./keys-DQA2i1k1.js";
6
+ import { t as se } from "./useI18n-BbdxxpOE.js";
7
+ import { t as ce } from "./check-DWtkBzBU.js";
8
+ import { t as le } from "./loader-circle-B_tAD4k6.js";
9
+ import { n as ue, t as de } from "./MergeTagModeToggle-DKN6ihI5.js";
10
+ import { v as fe } from "./styleConstants-C_YAPdQS.js";
11
+ import { t as pe } from "./TplModal-Q9fDgS1M.js";
12
+ import { t as me } from "./BlockPreviewCanvas-DDCmMram.js";
13
13
  //#region src/utils/validateEmailShape.ts
14
- var y = /[,;<>()[\]\\"'`|/?#@!$%^&*+=~{}]/;
15
- function b(e) {
14
+ var b = /[,;<>()[\]\\"'`|/?#@!$%^&*+=~{}]/;
15
+ function he(e) {
16
16
  let t = e.trim();
17
17
  if (t.length === 0 || /\s/.test(t)) return !1;
18
18
  let n = t.split("@");
19
19
  if (n.length !== 2) return !1;
20
20
  let [r, i] = n;
21
- if (r.length === 0 || y.test(i)) return !1;
21
+ if (r.length === 0 || b.test(i)) return !1;
22
22
  let a = i.indexOf(".");
23
23
  return a > 0 && a < i.length - 1;
24
24
  }
@@ -64,7 +64,7 @@ var x = ["aria-busy"], S = {
64
64
  }, ve = { class: "tpl:flex tpl:shrink-0 tpl:justify-end tpl:gap-2" }, ye = ["disabled"], be = ["disabled"], xe = {
65
65
  key: 0,
66
66
  class: "tpl:flex tpl:items-center tpl:gap-1.5"
67
- }, Se = { key: 1 }, z = /* @__PURE__ */ _({
67
+ }, Se = { key: 1 }, z = /* @__PURE__ */ v({
68
68
  __name: "TestEmailModal",
69
69
  props: {
70
70
  visible: { type: Boolean },
@@ -75,8 +75,8 @@ var x = ["aria-busy"], S = {
75
75
  error: {}
76
76
  },
77
77
  emits: ["send", "close"],
78
- setup(_, { emit: y }) {
79
- let z = _, B = y, { t: V } = ce(), Ce = r(se, null), H = i(""), U = i("desktop"), we = r(oe, void 0), W = re({
78
+ setup(v, { emit: b }) {
79
+ let z = v, B = b, { t: V } = se(), Ce = i(ie, null), H = o(""), U = o("desktop"), we = i(oe, void 0), W = ne({
80
80
  resolvePreview: we ?? void 0,
81
81
  getContent: () => Ce?.content.value ?? {
82
82
  blocks: [],
@@ -84,16 +84,16 @@ var x = ["aria-busy"], S = {
84
84
  },
85
85
  isActive: () => z.visible,
86
86
  getRecipient: () => H.value || void 0
87
- }), G = r(ie, null), K = i(ne(r(ae, []))), q = h({
87
+ }), G = i(ae, null), K = o(te(i(re, []))), q = g({
88
88
  get: () => W.isConfigured ? !1 : G?.value ?? K.value,
89
89
  set: (e) => {
90
90
  G ? G.value = e : K.value = e;
91
91
  }
92
- }), Te = h(() => W.content.value.blocks ?? []), J = h(() => z.allowedRecipients !== void 0 && z.allowedRecipients.length > 0), Ee = h(() => z.allowedRecipients?.length === 1);
93
- n(() => z.visible, (e) => {
92
+ }), Te = g(() => W.content.value.blocks ?? []), J = g(() => z.allowedRecipients !== void 0 && z.allowedRecipients.length > 0), Ee = g(() => z.allowedRecipients?.length === 1);
93
+ r(() => z.visible, (e) => {
94
94
  e && (H.value = z.defaultRecipient ?? z.allowedRecipients?.[0] ?? "");
95
95
  }, { immediate: !0 });
96
- let Y = h(() => J.value ? H.value.length > 0 : b(H.value)), X = h(() => Y.value && !z.isSending && !z.justSent), De = h(() => !J.value && H.value.trim().length > 0 && !Y.value), Z = h(() => z.error ? z.error.kind === "provider" ? z.error.message : V.testEmail.recipientNotAllowed : null);
96
+ let Y = g(() => J.value ? H.value.length > 0 : he(H.value)), X = g(() => Y.value && !z.isSending && !z.justSent), De = g(() => !J.value && H.value.trim().length > 0 && !Y.value), Z = g(() => z.error ? z.error.kind === "provider" ? z.error.message : V.testEmail.recipientNotAllowed : null);
97
97
  function Q() {
98
98
  X.value && B("send", H.value.trim());
99
99
  }
@@ -103,15 +103,15 @@ var x = ["aria-busy"], S = {
103
103
  function Oe(e) {
104
104
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q()), e.key === "Escape" && $();
105
105
  }
106
- return (n, r) => (u(), f(me, {
107
- visible: _.visible,
106
+ return (r, i) => (e(), m(pe, {
107
+ visible: v.visible,
108
108
  onClose: $,
109
109
  onKeydown: Oe
110
110
  }, {
111
- default: ee(() => [a("div", {
111
+ default: t(() => [c("div", {
112
112
  role: "dialog",
113
113
  "aria-modal": "true",
114
- "aria-busy": _.isSending,
114
+ "aria-busy": v.isSending,
115
115
  "aria-labelledby": "tpl-test-email-title",
116
116
  class: "tpl-scale-in tpl:flex tpl:max-h-[90%] tpl:w-full tpl:max-w-3xl tpl:flex-col tpl:rounded-[var(--tpl-radius-lg)] tpl:p-5",
117
117
  style: {
@@ -119,10 +119,10 @@ var x = ["aria-busy"], S = {
119
119
  "box-shadow": "var(--tpl-shadow-xl)"
120
120
  }
121
121
  }, [
122
- a("h3", S, d(m(V).testEmail.title), 1),
123
- a("div", C, [
124
- a("label", w, d(m(V).testEmail.recipientLabel), 1),
125
- Ee.value ? (u(), o("input", {
122
+ c("h3", S, f(s(V).testEmail.title), 1),
123
+ c("div", C, [
124
+ c("label", w, f(s(V).testEmail.recipientLabel), 1),
125
+ Ee.value ? (e(), l("input", {
126
126
  key: 0,
127
127
  id: "tpl-test-email-recipient",
128
128
  type: "text",
@@ -130,73 +130,73 @@ var x = ["aria-busy"], S = {
130
130
  disabled: "",
131
131
  "data-testid": "test-email-recipient",
132
132
  class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:opacity-70 tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
133
- }, null, 8, T)) : J.value ? e((u(), o("select", {
133
+ }, null, 8, T)) : J.value ? a((e(), l("select", {
134
134
  key: 1,
135
135
  id: "tpl-test-email-recipient",
136
- "onUpdate:modelValue": r[0] ||= (e) => H.value = e,
137
- disabled: _.isSending || _.justSent,
136
+ "onUpdate:modelValue": i[0] ||= (e) => H.value = e,
137
+ disabled: v.isSending || v.justSent,
138
138
  "data-testid": "test-email-recipient",
139
139
  class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
140
- }, [(u(!0), o(p, null, l(_.allowedRecipients, (e) => (u(), o("option", {
141
- key: e,
142
- value: e
143
- }, d(e), 9, D))), 128))], 8, E)), [[v, H.value]]) : e((u(), o("input", {
140
+ }, [(e(!0), l(h, null, n(v.allowedRecipients, (t) => (e(), l("option", {
141
+ key: t,
142
+ value: t
143
+ }, f(t), 9, D))), 128))], 8, E)), [[y, H.value]]) : a((e(), l("input", {
144
144
  key: 2,
145
145
  id: "tpl-test-email-recipient",
146
- "onUpdate:modelValue": r[1] ||= (e) => H.value = e,
146
+ "onUpdate:modelValue": i[1] ||= (e) => H.value = e,
147
147
  type: "email",
148
148
  autocomplete: "email",
149
149
  spellcheck: "false",
150
- placeholder: m(V).testEmail.recipientPlaceholder,
151
- disabled: _.isSending || _.justSent,
150
+ placeholder: s(V).testEmail.recipientPlaceholder,
151
+ disabled: v.isSending || v.justSent,
152
152
  "data-testid": "test-email-recipient",
153
153
  class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
154
- }, null, 8, O)), [[te, H.value]]),
155
- De.value ? (u(), o("p", k, d(m(V).testEmail.invalidAddress), 1)) : g("", !0)
154
+ }, null, 8, O)), [[ee, H.value]]),
155
+ De.value ? (e(), l("p", k, f(s(V).testEmail.invalidAddress), 1)) : _("", !0)
156
156
  ]),
157
- a("div", A, [a("div", j, [a("span", M, d(m(V).testEmail.preview), 1), a("div", N, [m(W).supersedesSamples.value ? g("", !0) : (u(), f(fe, {
157
+ c("div", A, [c("div", j, [c("span", M, f(s(V).testEmail.preview), 1), c("div", N, [s(W).supersedesSamples.value ? _("", !0) : (e(), m(de, {
158
158
  key: 0,
159
159
  "sample-mode": q.value,
160
- onChange: r[2] ||= (e) => q.value = e
161
- }, null, 8, ["sample-mode"])), s(de, {
160
+ onChange: i[2] ||= (e) => q.value = e
161
+ }, null, 8, ["sample-mode"])), u(ue, {
162
162
  viewport: U.value,
163
- onChange: r[3] ||= (e) => U.value = e
164
- }, null, 8, ["viewport"])])]), a("p", P, d(m(W).supersedesSamples.value ? m(V).previewResolution.hint : q.value ? m(V).testEmail.previewHintSample : m(V).testEmail.previewHint), 1)]),
165
- a("div", F, [m(W).isInitialResolve.value ? (u(), o("div", I, [a("span", L, d(m(V).previewResolution.resolving), 1), (u(), o(p, null, l(3, (e) => a("div", {
163
+ onChange: i[3] ||= (e) => U.value = e
164
+ }, null, 8, ["viewport"])])]), c("p", P, f(s(W).supersedesSamples.value ? s(V).previewResolution.hint : q.value ? s(V).testEmail.previewHintSample : s(V).testEmail.previewHint), 1)]),
165
+ c("div", F, [s(W).isInitialResolve.value ? (e(), l("div", I, [c("span", L, f(s(V).previewResolution.resolving), 1), (e(), l(h, null, n(3, (e) => c("div", {
166
166
  key: e,
167
167
  "aria-hidden": "true",
168
168
  class: "tpl-pulse tpl:h-16 tpl:rounded-md tpl:bg-[var(--tpl-bg-hover)]"
169
- })), 64))])) : m(W).hasFailed.value ? (u(), o("p", R, d(m(V).previewResolution.failed), 1)) : g("", !0), m(W).isInitialResolve.value ? g("", !0) : (u(), f(he, {
169
+ })), 64))])) : s(W).hasFailed.value ? (e(), l("p", R, f(s(V).previewResolution.failed), 1)) : _("", !0), s(W).isInitialResolve.value ? _("", !0) : (e(), m(me, {
170
170
  key: 2,
171
171
  blocks: Te.value,
172
172
  viewport: U.value,
173
- "apply-condition-filter": !m(W).isConfigured
173
+ "apply-condition-filter": !s(W).isConfigured
174
174
  }, null, 8, [
175
175
  "blocks",
176
176
  "viewport",
177
177
  "apply-condition-filter"
178
178
  ]))]),
179
- _.justSent ? (u(), o("p", ge, [s(m(le), {
179
+ v.justSent ? (e(), l("p", ge, [u(s(ce), {
180
180
  size: 13,
181
181
  "stroke-width": 2.5
182
- }), c(" " + d(m(V).testEmail.success), 1)])) : Z.value ? (u(), o("p", _e, d(Z.value), 1)) : g("", !0),
183
- a("div", ve, [a("button", {
182
+ }), d(" " + f(s(V).testEmail.success), 1)])) : Z.value ? (e(), l("p", _e, f(Z.value), 1)) : _("", !0),
183
+ c("div", ve, [c("button", {
184
184
  type: "button",
185
185
  "data-testid": "test-email-cancel",
186
- class: t(["tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-[var(--tpl-shadow-sm)] tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", { "tpl:cursor-not-allowed tpl:opacity-50": _.isSending }]),
187
- disabled: _.isSending,
186
+ class: p(["tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-[var(--tpl-shadow-sm)] tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", { "tpl:cursor-not-allowed tpl:opacity-50": v.isSending }]),
187
+ disabled: v.isSending,
188
188
  onClick: $
189
- }, d(m(V).testEmail.cancel), 11, ye), a("button", {
189
+ }, f(s(V).testEmail.cancel), 11, ye), c("button", {
190
190
  type: "button",
191
191
  "data-testid": "test-email-send",
192
- class: t(m(pe)),
192
+ class: p(s(fe)),
193
193
  disabled: !X.value,
194
194
  onClick: Q
195
- }, [_.isSending ? (u(), o("span", xe, [s(m(ue), {
195
+ }, [v.isSending ? (e(), l("span", xe, [u(s(le), {
196
196
  class: "tpl:animate-spin",
197
197
  size: 12,
198
198
  "stroke-width": 2
199
- }), c(" " + d(m(V).testEmail.sending), 1)])) : (u(), o("span", Se, d(m(V).testEmail.send), 1))], 10, be)])
199
+ }), d(" " + f(s(V).testEmail.sending), 1)])) : (e(), l("span", Se, f(s(V).testEmail.send), 1))], 10, be)])
200
200
  ], 8, x)]),
201
201
  _: 1
202
202
  }, 8, ["visible"]));
@@ -1,15 +1,15 @@
1
- import { _ as e, k as t, l as n, rt as r, u as i, v as a } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
1
+ import { A as e, _ as t, at as n, l as r, u as i, v as a } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
2
  //#endregion
3
3
  //#region src/components/TestEmailPanel.vue
4
4
  var o = /* @__PURE__ */ a({
5
5
  __name: "TestEmailPanel",
6
6
  props: { feature: {} },
7
7
  setup(a) {
8
- let o = a, s = e(() => import("./TestEmailModal-Cjn1padY.js"));
8
+ let o = a, s = t(() => import("./TestEmailModal-BxizsRCd.js"));
9
9
  function c(e) {
10
10
  o.feature.send(e);
11
11
  }
12
- return (e, o) => a.feature.isModalOpen.value ? (t(), n(r(s), {
12
+ return (t, o) => a.feature.isModalOpen.value ? (e(), r(n(s), {
13
13
  key: 0,
14
14
  visible: a.feature.isModalOpen.value,
15
15
  "allowed-recipients": a.feature.allowedRecipients.value,