@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,12 +1,12 @@
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/CommentsPanel.vue
4
4
  var o = /* @__PURE__ */ a({
5
5
  __name: "CommentsPanel",
6
6
  props: { feature: {} },
7
7
  setup(a) {
8
- let o = e(() => import("./CommentsSidebar-go1FnjDW.js"));
9
- return (e, s) => a.feature.isOpen.value ? (t(), n(r(o), {
8
+ let o = t(() => import("./CommentsSidebar-X_xqM3dR.js"));
9
+ return (t, s) => a.feature.isOpen.value ? (e(), r(n(o), {
10
10
  key: 0,
11
11
  visible: a.feature.isOpen.value,
12
12
  feature: a.feature,
@@ -1,17 +1,17 @@
1
- import { B as e, Dt as t, L as n, Ot as r, T as i, X as a, c as o, d as s, g as c, h as ee, 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 v } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
- import { a as y, t as b } from "./runtime-dom.esm-bundler-BuG03jBM.js";
3
- import { J as te, h as ne } from "./keys-C3P1yxnr.js";
4
- import { t as re } from "./useI18n-CL6RfPzK.js";
5
- import { t as x } from "./createLucideIcon-05lB8iWe.js";
6
- import { t as ie } from "./check-CY-Ec6FV.js";
7
- import { t as ae } from "./chevron-down-BghbWA9p.js";
8
- import { t as oe } from "./chevron-up-n3qFAPS3.js";
9
- import { t as S } from "./loader-circle-B2Y8xZQb.js";
10
- import { t as C } from "./message-circle-B7K-naUa.js";
11
- import { t as w } from "./pencil-BhWTFcp4.js";
12
- import { t as T } from "./send-D1vvuW79.js";
13
- import { t as E } from "./trash-C9bMXvw4.js";
14
- import { t as D } from "./x-BPKoRPTG.js";
1
+ import { A as e, At as t, B as n, E as r, M as i, R as a, V as o, Z as s, at as c, c as l, d as u, g as d, h as ee, 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 y, t as b } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
+ import { Y as te, g as ne } from "./keys-DQA2i1k1.js";
4
+ import { t as re } from "./useI18n-BbdxxpOE.js";
5
+ import { t as x } from "./createLucideIcon-Cwf_nTzE.js";
6
+ import { t as ie } from "./check-DWtkBzBU.js";
7
+ import { t as ae } from "./chevron-down-C-Fjxcqj.js";
8
+ import { t as oe } from "./chevron-up-lntU1ypp.js";
9
+ import { t as S } from "./loader-circle-B_tAD4k6.js";
10
+ import { t as C } from "./message-circle-P-KSc6V0.js";
11
+ import { t as w } from "./pencil-9ZiwqS4r.js";
12
+ import { t as T } from "./send-CE6uvqop.js";
13
+ import { t as E } from "./trash-Cf_SqsER.js";
14
+ import { t as D } from "./x-D_-42Ukq.js";
15
15
  import { t as O } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
16
  import { t as se } from "./formatRelativeTime-CtUU-QZ8.js";
17
17
  var ce = x({
@@ -101,19 +101,19 @@ var ce = x({
101
101
  }, pt = {
102
102
  key: 1,
103
103
  class: "tpl-comments-input-wrapper tpl-focus-ring-host tpl:flex tpl:min-h-[68px] tpl:items-end tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]"
104
- }, mt = ["placeholder", "disabled"], ht = ["disabled"], k = /*#__PURE__*/ O(/* @__PURE__ */ _({
104
+ }, mt = ["placeholder", "disabled"], ht = ["disabled"], k = /*#__PURE__*/ O(/* @__PURE__ */ v({
105
105
  __name: "CommentsSidebar",
106
106
  props: {
107
107
  visible: { type: Boolean },
108
108
  feature: {}
109
109
  },
110
110
  emits: ["close"],
111
- setup(_, { expose: x, emit: O }) {
112
- let k = _, gt = O, { t: A, format: j } = re(), M = te(ne, "CommentsSidebar"), N = h(() => k.feature.headless), P = a("unresolved"), F = a(""), I = a(null), L = a(""), R = a(null), z = a(""), B = a(/* @__PURE__ */ new Set()), V = a(null), H = a(null), U = h(() => k.feature.filterBlockId.value);
113
- n(U, (e) => {
111
+ setup(v, { expose: x, emit: O }) {
112
+ let k = v, gt = O, { t: A, format: j } = re(), M = te(ne, "CommentsSidebar"), N = g(() => k.feature.headless), P = s("unresolved"), F = s(""), I = s(null), L = s(""), R = s(null), z = s(""), B = s(/* @__PURE__ */ new Set()), V = s(null), H = s(null), U = g(() => k.feature.filterBlockId.value);
113
+ a(U, (e) => {
114
114
  e && (P.value = "block");
115
115
  }, { immediate: !0 });
116
- let _t = h(() => N.value.isLoading.value && N.value.comments.value.length === 0), vt = h(() => {
116
+ let _t = g(() => N.value.isLoading.value && N.value.comments.value.length === 0), vt = g(() => {
117
117
  let e = /* @__PURE__ */ new Set();
118
118
  for (let t of M.content.value.blocks) if (e.add(t.id), t.type === "section") for (let n of t.children) for (let t of n) e.add(t.id);
119
119
  return e;
@@ -121,11 +121,11 @@ var ce = x({
121
121
  function yt(e) {
122
122
  return e ? !vt.value.has(e) : !1;
123
123
  }
124
- let bt = h(() => P.value !== "block" || !U.value ? !1 : k.feature.capability.isBlockSaved(U.value) === !1), W = h(() => {
124
+ let bt = g(() => P.value !== "block" || !U.value ? !1 : k.feature.capability.isBlockSaved(U.value) === !1), W = g(() => {
125
125
  let e = N.value.comments.value;
126
126
  return P.value === "unresolved" ? e = e.filter((e) => !e.resolvedAt) : P.value === "block" && U.value && (e = e.filter((e) => e.blockId === U.value)), e;
127
127
  });
128
- n(() => M.state.selectedBlockId, (e) => {
128
+ a(() => M.state.selectedBlockId, (e) => {
129
129
  P.value === "block" && e && (k.feature.filterBlockId.value = e);
130
130
  });
131
131
  function G(e, t) {
@@ -214,14 +214,14 @@ var ce = x({
214
214
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q(t)), e.key === "Escape" && q();
215
215
  }
216
216
  function Mt() {
217
- i(() => {
217
+ r(() => {
218
218
  H.value?.focus();
219
219
  });
220
220
  }
221
221
  return x({
222
222
  filterByBlock: xt,
223
223
  focusNewComment: Mt
224
- }), (n, i) => (u(), f(b, {
224
+ }), (r, a) => (e(), m(b, {
225
225
  "enter-active-class": "tpl-comments-slide-enter-active",
226
226
  "enter-from-class": "tpl:translate-x-full",
227
227
  "enter-to-class": "tpl:translate-x-0",
@@ -229,259 +229,259 @@ var ce = x({
229
229
  "leave-from-class": "tpl:translate-x-0",
230
230
  "leave-to-class": "tpl:translate-x-full"
231
231
  }, {
232
- default: v(() => [_.visible ? (u(), s("div", ue, [
233
- o("div", de, [o("div", fe, [
234
- c(m(C), {
232
+ default: n(() => [v.visible ? (e(), u("div", ue, [
233
+ l("div", de, [l("div", fe, [
234
+ d(c(C), {
235
235
  size: 13,
236
236
  "stroke-width": 2
237
237
  }),
238
- o("span", null, d(m(A).comments.title), 1),
239
- _.feature.unresolvedCount.value > 0 ? (u(), s("span", pe, d(_.feature.unresolvedCount.value), 1)) : g("", !0)
240
- ]), o("button", {
238
+ l("span", null, f(c(A).comments.title), 1),
239
+ v.feature.unresolvedCount.value > 0 ? (e(), u("span", pe, f(v.feature.unresolvedCount.value), 1)) : _("", !0)
240
+ ]), l("button", {
241
241
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
242
- onClick: i[0] ||= (e) => gt("close")
243
- }, [c(m(D), {
242
+ onClick: a[0] ||= (e) => gt("close")
243
+ }, [d(c(D), {
244
244
  size: 14,
245
245
  "stroke-width": 2
246
246
  })])]),
247
- o("div", me, [
248
- o("button", {
249
- class: t(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
247
+ l("div", me, [
248
+ l("button", {
249
+ class: p(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
250
250
  "data-testid": "comments-filter-unresolved",
251
- onClick: i[1] ||= (e) => G("unresolved")
252
- }, d(m(A).comments.filterUnresolved), 3),
253
- o("button", {
254
- class: t(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "all" ? "tpl-comment-filter--active" : ""]),
251
+ onClick: a[1] ||= (e) => G("unresolved")
252
+ }, f(c(A).comments.filterUnresolved), 3),
253
+ l("button", {
254
+ class: p(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "all" ? "tpl-comment-filter--active" : ""]),
255
255
  "data-testid": "comments-filter-all",
256
- onClick: i[2] ||= (e) => G("all")
257
- }, d(m(A).comments.filterAll), 3),
258
- m(M).state.selectedBlockId ? (u(), s("button", {
256
+ onClick: a[2] ||= (e) => G("all")
257
+ }, f(c(A).comments.filterAll), 3),
258
+ c(M).state.selectedBlockId ? (e(), u("button", {
259
259
  key: 0,
260
- class: t(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "block" ? "tpl-comment-filter--active" : ""]),
261
- onClick: i[3] ||= (e) => G("block", m(M).state.selectedBlockId ?? void 0)
262
- }, d(m(A).comments.filterBlock), 3)) : g("", !0)
260
+ class: p(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors", P.value === "block" ? "tpl-comment-filter--active" : ""]),
261
+ onClick: a[3] ||= (e) => G("block", c(M).state.selectedBlockId ?? void 0)
262
+ }, f(c(A).comments.filterBlock), 3)) : _("", !0)
263
263
  ]),
264
- o("div", he, [_t.value ? (u(), s("div", ge, [c(m(S), {
264
+ l("div", he, [_t.value ? (e(), u("div", ge, [d(c(S), {
265
265
  class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
266
266
  size: 24,
267
267
  "stroke-width": 2
268
- })])) : W.value.length === 0 ? (u(), s("div", _e, [c(m(C), {
268
+ })])) : W.value.length === 0 ? (e(), u("div", _e, [d(c(C), {
269
269
  size: 32,
270
270
  "stroke-width": 1.5,
271
271
  class: "tpl:text-[var(--tpl-text-dim)]"
272
- }), o("p", ve, d(P.value === "all" ? m(A).comments.noCommentsHint : m(A).comments.noComments), 1)])) : (u(), s("div", ye, [(u(!0), s(p, null, l(W.value, (n) => (u(), s("div", {
273
- key: n.id,
272
+ }), l("p", ve, f(P.value === "all" ? c(A).comments.noCommentsHint : c(A).comments.noComments), 1)])) : (e(), u("div", ye, [(e(!0), u(h, null, i(W.value, (r) => (e(), u("div", {
273
+ key: r.id,
274
274
  class: "tpl-comment-thread",
275
275
  "data-testid": "comment-thread"
276
276
  }, [
277
- o("div", be, [
278
- o("div", xe, [o("div", Se, [
279
- o("span", Ce, d(N.value.isOwn(n) ? m(A).comments.ownedByYou : n.author.name), 1),
280
- o("span", we, d(kt(n.createdAt)), 1),
281
- n.updatedAt ? (u(), s("span", Te, " (" + d(m(A).comments.edited) + ") ", 1)) : g("", !0)
282
- ]), o("div", Ee, [
283
- N.value.canResolve.value ? (u(), s("button", {
277
+ l("div", be, [
278
+ l("div", xe, [l("div", Se, [
279
+ l("span", Ce, f(N.value.isOwn(r) ? c(A).comments.ownedByYou : r.author.name), 1),
280
+ l("span", we, f(kt(r.createdAt)), 1),
281
+ r.updatedAt ? (e(), u("span", Te, " (" + f(c(A).comments.edited) + ") ", 1)) : _("", !0)
282
+ ]), l("div", Ee, [
283
+ N.value.canResolve.value ? (e(), u("button", {
284
284
  key: 0,
285
285
  "data-testid": "comment-resolve",
286
286
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
287
- title: n.resolvedAt ? m(A).comments.unresolve : m(A).comments.resolve,
288
- onClick: (e) => Et(n)
289
- }, [c(m(ce), {
287
+ title: r.resolvedAt ? c(A).comments.unresolve : c(A).comments.resolve,
288
+ onClick: (e) => Et(r)
289
+ }, [d(c(ce), {
290
290
  size: 13,
291
291
  "stroke-width": 2,
292
292
  class: "tpl-resolve-icon",
293
- style: r({ color: n.resolvedAt ? "var(--tpl-primary)" : void 0 })
294
- }, null, 8, ["style"])], 8, De)) : g("", !0),
295
- Dt(n) ? (u(), s("button", {
293
+ style: t({ color: r.resolvedAt ? "var(--tpl-primary)" : void 0 })
294
+ }, null, 8, ["style"])], 8, De)) : _("", !0),
295
+ Dt(r) ? (e(), u("button", {
296
296
  key: 1,
297
297
  "data-testid": "comment-edit",
298
298
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
299
- title: m(A).comments.edit,
300
- onClick: (e) => K(n)
301
- }, [c(m(w), {
299
+ title: c(A).comments.edit,
300
+ onClick: (e) => K(r)
301
+ }, [d(c(w), {
302
302
  size: 12,
303
303
  "stroke-width": 2
304
- })], 8, Oe)) : g("", !0),
305
- Ot(n) ? (u(), s("button", {
304
+ })], 8, Oe)) : _("", !0),
305
+ Ot(r) ? (e(), u("button", {
306
306
  key: 2,
307
307
  "data-testid": "comment-delete",
308
308
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
309
- title: m(A).comments.delete,
310
- onClick: (e) => J(n.id)
311
- }, [c(m(E), {
309
+ title: c(A).comments.delete,
310
+ onClick: (e) => J(r.id)
311
+ }, [d(c(E), {
312
312
  size: 12,
313
313
  "stroke-width": 2
314
- })], 8, ke)) : g("", !0)
314
+ })], 8, ke)) : _("", !0)
315
315
  ])]),
316
- c(b, { name: "tpl-resolve" }, {
317
- default: v(() => [n.resolvedAt ? (u(), s("div", Ae, [c(m(ie), {
316
+ d(b, { name: "tpl-resolve" }, {
317
+ default: n(() => [r.resolvedAt ? (e(), u("div", Ae, [d(c(ie), {
318
318
  size: 10,
319
319
  "stroke-width": 2.5
320
- }), o("span", null, d(m(j)(m(A).comments.resolvedBy, { name: n.resolvedBy?.name ?? "" })), 1)])) : g("", !0)]),
320
+ }), l("span", null, f(c(j)(c(A).comments.resolvedBy, { name: r.resolvedBy?.name ?? "" })), 1)])) : _("", !0)]),
321
321
  _: 2
322
322
  }, 1024),
323
- n.blockId && yt(n.blockId) ? (u(), s("span", je, d(m(A).comments.missingBlock), 1)) : n.blockId ? (u(), s("button", {
323
+ r.blockId && yt(r.blockId) ? (e(), u("span", je, f(c(A).comments.missingBlock), 1)) : r.blockId ? (e(), u("button", {
324
324
  key: 1,
325
325
  class: "tpl:mt-1 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:transition-colors tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]",
326
- onClick: (e) => m(M).selectBlock(n.blockId ?? "")
327
- }, d(m(A).comments.jumpToBlock), 9, Me)) : g("", !0),
328
- R.value === n.id ? (u(), s("div", Ne, [e(o("textarea", {
329
- "onUpdate:modelValue": i[4] ||= (e) => z.value = e,
326
+ onClick: (e) => c(M).selectBlock(r.blockId ?? "")
327
+ }, f(c(A).comments.jumpToBlock), 9, Me)) : _("", !0),
328
+ R.value === r.id ? (e(), u("div", Ne, [o(l("textarea", {
329
+ "onUpdate:modelValue": a[4] ||= (e) => z.value = e,
330
330
  class: "tpl:w-full tpl:resize-none tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:font-sans tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
331
331
  rows: "3",
332
- onKeydown: (e) => $(e, n.id)
333
- }, null, 40, Pe), [[y, z.value]]), o("div", Fe, [o("button", {
332
+ onKeydown: (e) => $(e, r.id)
333
+ }, null, 40, Pe), [[y, z.value]]), l("div", Fe, [l("button", {
334
334
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
335
335
  disabled: !z.value.trim() || N.value.isSubmitting.value,
336
- onClick: (e) => Q(n.id)
337
- }, d(m(A).comments.save), 9, Ie), o("button", {
336
+ onClick: (e) => Q(r.id)
337
+ }, f(c(A).comments.save), 9, Ie), l("button", {
338
338
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
339
- onClick: i[5] ||= (e) => q()
340
- }, d(m(A).comments.cancel), 1)])])) : (u(), s("p", Le, d(n.body), 1)),
341
- V.value === n.id ? (u(), s("div", Re, [
342
- o("span", ze, d(m(A).comments.deleteConfirm), 1),
343
- o("button", {
339
+ onClick: a[5] ||= (e) => q()
340
+ }, f(c(A).comments.cancel), 1)])])) : (e(), u("p", Le, f(r.body), 1)),
341
+ V.value === r.id ? (e(), u("div", Re, [
342
+ l("span", ze, f(c(A).comments.deleteConfirm), 1),
343
+ l("button", {
344
344
  class: "tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-danger)] tpl:text-[var(--tpl-bg)]",
345
345
  "data-testid": "comment-delete-confirm",
346
- onClick: (e) => Tt(n.id)
347
- }, d(m(A).comments.delete), 9, Be),
348
- o("button", {
346
+ onClick: (e) => Tt(r.id)
347
+ }, f(c(A).comments.delete), 9, Be),
348
+ l("button", {
349
349
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
350
- onClick: i[6] ||= (e) => Y()
351
- }, d(m(A).comments.cancel), 1)
352
- ])) : g("", !0),
353
- R.value !== n.id && V.value !== n.id ? (u(), s("div", Ve, [N.value.canCreate.value ? (u(), s("button", {
350
+ onClick: a[6] ||= (e) => Y()
351
+ }, f(c(A).comments.cancel), 1)
352
+ ])) : _("", !0),
353
+ R.value !== r.id && V.value !== r.id ? (e(), u("div", Ve, [N.value.canCreate.value ? (e(), u("button", {
354
354
  key: 0,
355
355
  "data-testid": "comment-reply",
356
356
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
357
- title: m(A).comments.reply,
358
- onClick: (e) => Ct(n.id)
359
- }, [c(m(le), {
357
+ title: c(A).comments.reply,
358
+ onClick: (e) => Ct(r.id)
359
+ }, [d(c(le), {
360
360
  size: 13,
361
361
  "stroke-width": 2,
362
362
  class: "tpl:text-[var(--tpl-primary)]"
363
- })], 8, He)) : g("", !0), (n.replies?.length ?? 0) > 0 ? (u(), s("button", {
363
+ })], 8, He)) : _("", !0), (r.replies?.length ?? 0) > 0 ? (e(), u("button", {
364
364
  key: 1,
365
365
  class: "tpl:flex tpl:items-center tpl:gap-0.5 tpl:text-[11px] tpl:font-medium tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
366
- onClick: (e) => St(n.id)
367
- }, [B.value.has(n.id) ? (u(), f(m(oe), {
366
+ onClick: (e) => St(r.id)
367
+ }, [B.value.has(r.id) ? (e(), m(c(oe), {
368
368
  key: 0,
369
369
  size: 11,
370
370
  "stroke-width": 2
371
- })) : (u(), f(m(ae), {
371
+ })) : (e(), m(c(ae), {
372
372
  key: 1,
373
373
  size: 11,
374
374
  "stroke-width": 2
375
- })), ee(" " + d((n.replies?.length ?? 0) === 1 ? m(j)(m(A).comments.replyOne, { count: String(n.replies?.length ?? 0) }) : m(j)(m(A).comments.replyMany, { count: String(n.replies?.length ?? 0) })), 1)], 8, Ue)) : g("", !0)])) : g("", !0)
375
+ })), ee(" " + f((r.replies?.length ?? 0) === 1 ? c(j)(c(A).comments.replyOne, { count: String(r.replies?.length ?? 0) }) : c(j)(c(A).comments.replyMany, { count: String(r.replies?.length ?? 0) })), 1)], 8, Ue)) : _("", !0)])) : _("", !0)
376
376
  ]),
377
- c(b, { name: "tpl-replies" }, {
378
- default: v(() => [B.value.has(n.id) && (n.replies?.length ?? 0) > 0 ? (u(), s("div", We, [(u(!0), s(p, null, l(n.replies, (r, a) => (u(), s("div", {
379
- key: r.id,
380
- class: t(["tpl-comment-reply-card tpl:relative tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-2.5", a < (n.replies?.length ?? 0) - 1 ? "tpl:mb-2" : ""])
377
+ d(b, { name: "tpl-replies" }, {
378
+ default: n(() => [B.value.has(r.id) && (r.replies?.length ?? 0) > 0 ? (e(), u("div", We, [(e(!0), u(h, null, i(r.replies, (t, n) => (e(), u("div", {
379
+ key: t.id,
380
+ class: p(["tpl-comment-reply-card tpl:relative tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-2.5", n < (r.replies?.length ?? 0) - 1 ? "tpl:mb-2" : ""])
381
381
  }, [
382
- o("div", Ge, [o("div", Ke, [
383
- o("span", qe, d(N.value.isOwn(r) ? m(A).comments.ownedByYou : r.author.name), 1),
384
- o("span", Je, d(kt(r.createdAt)), 1),
385
- r.updatedAt ? (u(), s("span", Ye, " (" + d(m(A).comments.edited) + ") ", 1)) : g("", !0)
386
- ]), o("div", Xe, [Dt(r) ? (u(), s("button", {
382
+ l("div", Ge, [l("div", Ke, [
383
+ l("span", qe, f(N.value.isOwn(t) ? c(A).comments.ownedByYou : t.author.name), 1),
384
+ l("span", Je, f(kt(t.createdAt)), 1),
385
+ t.updatedAt ? (e(), u("span", Ye, " (" + f(c(A).comments.edited) + ") ", 1)) : _("", !0)
386
+ ]), l("div", Xe, [Dt(t) ? (e(), u("button", {
387
387
  key: 0,
388
388
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
389
- title: m(A).comments.edit,
390
- onClick: (e) => K(r)
391
- }, [c(m(w), {
389
+ title: c(A).comments.edit,
390
+ onClick: (e) => K(t)
391
+ }, [d(c(w), {
392
392
  size: 11,
393
393
  "stroke-width": 2
394
- })], 8, Ze)) : g("", !0), Ot(r) ? (u(), s("button", {
394
+ })], 8, Ze)) : _("", !0), Ot(t) ? (e(), u("button", {
395
395
  key: 1,
396
396
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
397
- title: m(A).comments.delete,
398
- onClick: (e) => J(r.id)
399
- }, [c(m(E), {
397
+ title: c(A).comments.delete,
398
+ onClick: (e) => J(t.id)
399
+ }, [d(c(E), {
400
400
  size: 11,
401
401
  "stroke-width": 2
402
- })], 8, Qe)) : g("", !0)])]),
403
- R.value === r.id ? (u(), s("div", $e, [e(o("textarea", {
404
- "onUpdate:modelValue": i[7] ||= (e) => z.value = e,
402
+ })], 8, Qe)) : _("", !0)])]),
403
+ R.value === t.id ? (e(), u("div", $e, [o(l("textarea", {
404
+ "onUpdate:modelValue": a[7] ||= (e) => z.value = e,
405
405
  class: "tpl:w-full tpl:resize-none tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:font-sans tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
406
406
  rows: "2",
407
- onKeydown: (e) => $(e, r.id)
408
- }, null, 40, et), [[y, z.value]]), o("div", tt, [o("button", {
407
+ onKeydown: (e) => $(e, t.id)
408
+ }, null, 40, et), [[y, z.value]]), l("div", tt, [l("button", {
409
409
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
410
410
  disabled: !z.value.trim() || N.value.isSubmitting.value,
411
- onClick: (e) => Q(r.id)
412
- }, d(m(A).comments.save), 9, nt), o("button", {
411
+ onClick: (e) => Q(t.id)
412
+ }, f(c(A).comments.save), 9, nt), l("button", {
413
413
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
414
- onClick: i[8] ||= (e) => q()
415
- }, d(m(A).comments.cancel), 1)])])) : (u(), s("p", rt, d(r.body), 1)),
416
- V.value === r.id ? (u(), s("div", it, [
417
- o("span", at, d(m(A).comments.deleteConfirm), 1),
418
- o("button", {
414
+ onClick: a[8] ||= (e) => q()
415
+ }, f(c(A).comments.cancel), 1)])])) : (e(), u("p", rt, f(t.body), 1)),
416
+ V.value === t.id ? (e(), u("div", it, [
417
+ l("span", at, f(c(A).comments.deleteConfirm), 1),
418
+ l("button", {
419
419
  class: "tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-xs tpl:font-medium tpl:bg-[var(--tpl-danger)] tpl:text-[var(--tpl-bg)]",
420
420
  "data-testid": "comment-delete-confirm",
421
- onClick: (e) => Tt(r.id)
422
- }, d(m(A).comments.delete), 9, ot),
423
- o("button", {
421
+ onClick: (e) => Tt(t.id)
422
+ }, f(c(A).comments.delete), 9, ot),
423
+ l("button", {
424
424
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
425
- onClick: i[9] ||= (e) => Y()
426
- }, d(m(A).comments.cancel), 1)
427
- ])) : g("", !0)
428
- ], 2))), 128))])) : g("", !0)]),
425
+ onClick: a[9] ||= (e) => Y()
426
+ }, f(c(A).comments.cancel), 1)
427
+ ])) : _("", !0)
428
+ ], 2))), 128))])) : _("", !0)]),
429
429
  _: 2
430
430
  }, 1024),
431
- c(b, { name: "tpl-replies" }, {
432
- default: v(() => [I.value === n.id ? (u(), s("div", st, [o("div", ct, [
433
- e(o("textarea", {
434
- "onUpdate:modelValue": i[10] ||= (e) => L.value = e,
431
+ d(b, { name: "tpl-replies" }, {
432
+ default: n(() => [I.value === r.id ? (e(), u("div", st, [l("div", ct, [
433
+ o(l("textarea", {
434
+ "onUpdate:modelValue": a[10] ||= (e) => L.value = e,
435
435
  class: "tpl:max-h-24 tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-xs tpl:outline-none tpl:text-[var(--tpl-text)]",
436
- placeholder: m(A).comments.replyPlaceholder,
436
+ placeholder: c(A).comments.replyPlaceholder,
437
437
  rows: "2",
438
- onKeydown: (e) => jt(e, n.id)
438
+ onKeydown: (e) => jt(e, r.id)
439
439
  }, null, 40, lt), [[y, L.value]]),
440
- o("button", {
440
+ l("button", {
441
441
  class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
442
442
  disabled: !L.value.trim() || N.value.isSubmitting.value,
443
- onClick: (e) => Z(n.id)
444
- }, [c(m(T), {
443
+ onClick: (e) => Z(r.id)
444
+ }, [d(c(T), {
445
445
  size: 14,
446
446
  "stroke-width": 2
447
447
  })], 8, ut),
448
- o("button", {
448
+ l("button", {
449
449
  class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:text-[var(--tpl-text-muted)]",
450
- onClick: i[11] ||= (e) => wt()
451
- }, [c(m(D), {
450
+ onClick: a[11] ||= (e) => wt()
451
+ }, [d(c(D), {
452
452
  size: 14,
453
453
  "stroke-width": 2
454
454
  })])
455
- ])])) : g("", !0)]),
455
+ ])])) : _("", !0)]),
456
456
  _: 2
457
457
  }, 1024)
458
458
  ]))), 128))]))]),
459
- N.value.canCreate.value ? (u(), s("div", dt, [bt.value ? (u(), s("div", ft, d(m(A).comments.saveTemplateFirst), 1)) : (u(), s("div", pt, [e(o("textarea", {
459
+ N.value.canCreate.value ? (e(), u("div", dt, [bt.value ? (e(), u("div", ft, f(c(A).comments.saveTemplateFirst), 1)) : (e(), u("div", pt, [o(l("textarea", {
460
460
  ref_key: "newCommentInput",
461
461
  ref: H,
462
- "onUpdate:modelValue": i[12] ||= (e) => F.value = e,
462
+ "onUpdate:modelValue": a[12] ||= (e) => F.value = e,
463
463
  class: "tpl:max-h-24 tpl:min-h-[48px] tpl:flex-1 tpl:resize-none tpl:border-none tpl:bg-transparent tpl:font-sans tpl:text-xs tpl:outline-none tpl:text-[var(--tpl-text)]",
464
464
  "data-testid": "comments-input",
465
- placeholder: m(A).comments.placeholder,
465
+ placeholder: c(A).comments.placeholder,
466
466
  disabled: N.value.isSubmitting.value,
467
467
  rows: "2",
468
468
  onKeydown: At
469
- }, null, 40, mt), [[y, F.value]]), o("button", {
469
+ }, null, 40, mt), [[y, F.value]]), l("button", {
470
470
  class: "tpl-comments-send-btn tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-all tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
471
471
  "data-testid": "comments-send",
472
472
  disabled: !F.value.trim() || N.value.isSubmitting.value,
473
473
  onClick: X
474
- }, [N.value.isSubmitting.value ? (u(), f(m(S), {
474
+ }, [N.value.isSubmitting.value ? (e(), m(c(S), {
475
475
  key: 0,
476
476
  class: "tpl-spinner",
477
477
  size: 16,
478
478
  "stroke-width": 2
479
- })) : (u(), f(m(T), {
479
+ })) : (e(), m(c(T), {
480
480
  key: 1,
481
481
  size: 16,
482
482
  "stroke-width": 2
483
- }))], 8, ht)]))])) : g("", !0)
484
- ])) : g("", !0)]),
483
+ }))], 8, ht)]))])) : _("", !0)
484
+ ])) : _("", !0)]),
485
485
  _: 1
486
486
  }));
487
487
  }
@@ -1,6 +1,6 @@
1
- import { Ot as e, X as t, c as n, d as r, j as i, k as a, kt as o, r as s, rt as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
- import { p as f } from "./dist-heatwAdo.js";
3
- import { t as p } from "./useI18n-CL6RfPzK.js";
1
+ import { A as e, At as t, M as n, Z as r, at as i, c as a, d as o, jt as s, r as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
+ import { g as f } from "./dist-D8i1ixHK.js";
3
+ import { t as p } from "./useI18n-BbdxxpOE.js";
4
4
  //#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
5
5
  var m = {
6
6
  key: 0,
@@ -15,7 +15,7 @@ var m = {
15
15
  viewport: {}
16
16
  },
17
17
  setup(d) {
18
- let _ = d, { t: v } = p(), y = t(Date.now());
18
+ let _ = d, { t: v } = p(), y = r(Date.now());
19
19
  f(() => {
20
20
  y.value = Date.now();
21
21
  }, 1e3);
@@ -69,22 +69,22 @@ var m = {
69
69
  color: _.block.digitColor,
70
70
  fontFamily: _.block.fontFamily || "inherit"
71
71
  }));
72
- return (t, l) => d.block.targetDate ? x.value && d.block.hideOnExpiry ? (a(), r("div", h, o(c(v).countdown.hidden), 1)) : x.value ? (a(), r("div", {
72
+ return (r, l) => d.block.targetDate ? x.value && d.block.hideOnExpiry ? (e(), o("div", h, s(i(v).countdown.hidden), 1)) : x.value ? (e(), o("div", {
73
73
  key: 2,
74
- style: e(w.value),
74
+ style: t(w.value),
75
75
  class: "tpl:py-4 tpl:text-center"
76
- }, [n("span", { style: e({
76
+ }, [a("span", { style: t({
77
77
  fontSize: `${d.block.digitFontSize}px`,
78
78
  color: d.block.digitColor
79
- }) }, o(d.block.expiredMessage), 5)], 4)) : (a(), r("div", {
79
+ }) }, s(d.block.expiredMessage), 5)], 4)) : (e(), o("div", {
80
80
  key: 3,
81
- style: e(w.value),
81
+ style: t(w.value),
82
82
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-2 tpl:py-4"
83
- }, [(a(!0), r(s, null, i(C.value, (t, i) => (a(), r(s, { key: t.label }, [i > 0 ? (a(), r("span", {
83
+ }, [(e(!0), o(c, null, n(C.value, (n, r) => (e(), o(c, { key: n.label }, [r > 0 ? (e(), o("span", {
84
84
  key: 0,
85
- style: e(D.value),
85
+ style: t(D.value),
86
86
  class: "tpl:self-start"
87
- }, o(d.block.separator), 5)) : u("", !0), n("div", g, [n("div", { style: e(T.value) }, o(t.value), 5), n("div", { style: e(E.value) }, o(t.label), 5)])], 64))), 128))], 4)) : (a(), r("div", m, o(c(v).countdown.setDate), 1));
87
+ }, s(d.block.separator), 5)) : u("", !0), a("div", g, [a("div", { style: t(T.value) }, s(n.value), 5), a("div", { style: t(E.value) }, s(n.label), 5)])], 64))), 128))], 4)) : (e(), o("div", m, s(i(v).countdown.setDate), 1));
88
88
  }
89
89
  });
90
90
  //#endregion