@templatical/editor 0.34.3 → 0.36.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 (290) hide show
  1. package/dist/{AiChatSidebar-CkHJ28sf.js → AiChatSidebar-tu4eLcf_.js} +78 -70
  2. package/dist/{AiFeatureMenu-DWdKguDN.js → AiFeatureMenu-BF0i0vA4.js} +17 -17
  3. package/dist/{BlockIssueBadge-DcyHTAqw.js → BlockIssueBadge-DT-FqKeC.js} +9 -9
  4. package/dist/BlockPreviewCanvas-DDCmMram.js +131 -0
  5. package/dist/CloudHeaderExtras-NPhudovT.js +59 -0
  6. package/dist/{CloudPanels-BGz9ygo6.js → CloudPanels-Iwnky0iA.js} +78 -108
  7. package/dist/CollaboratorBar-DAITu0hz.js +103 -0
  8. package/dist/{ColorPicker-C6EOwtHC.js → ColorPicker-BqlZ_TqG.js} +193 -193
  9. package/dist/{CommentsPanel-DmWh8f08.js → CommentsPanel-CDvgmWP1.js} +3 -3
  10. package/dist/{CommentsSidebar-CL_tffzT.js → CommentsSidebar-X_xqM3dR.js} +182 -173
  11. package/dist/{CountdownBlock-D1fsNsyS.js → CountdownBlock-ZFJIdbP6.js} +12 -12
  12. package/dist/{CountdownToolbar-B8J4i5Xp.js → CountdownToolbar-DBFoG3a6.js} +67 -67
  13. package/dist/{DesignReferenceSidebar-BDhEeaAh.js → DesignReferenceSidebar--QtXjLrw.js} +103 -95
  14. package/dist/{FieldRow-BWt7ECqo.js → FieldRow-C8nOknr_.js} +39 -39
  15. package/dist/IssuesPanel-BLbNFMSX.js +117 -0
  16. package/dist/{LoadingTrack-SQXoZVf2.js → LoadingTrack-BlTL4zFv.js} +2 -2
  17. package/dist/MediaPanels-CMTAhDXB.js +43 -0
  18. package/dist/{MergeTagInput-RytOlh1A.js → MergeTagInput-BEjzj4Iu.js} +153 -144
  19. package/dist/{MergeTagModeToggle-Bi-FydXj.js → MergeTagModeToggle-DKN6ihI5.js} +108 -96
  20. package/dist/{MergeTagSuggestion-CoCuzEmW.js → MergeTagSuggestion-DKoLEeoj.js} +21 -21
  21. package/dist/ParagraphEditor-1E9yzOfk.js +782 -0
  22. package/dist/{RestoreVersionDialog-Db5rZRMA.js → RestoreVersionDialog-BMGUkcd8.js} +28 -28
  23. package/dist/RichTextEditorContent-BnxbQUV9.js +154 -0
  24. package/dist/{SaveBlockDialog-CDCzx6Bo.js → SaveBlockDialog-WKASpCCT.js} +78 -78
  25. package/dist/SavedBlocksBrowserModal-AYEXTMtQ.js +323 -0
  26. package/dist/{SavedBlocksPanels-DFzV0CRD.js → SavedBlocksPanels-D_CpacTl.js} +6 -6
  27. package/dist/{SavedBlocksPickBar-XyXmnSnO.js → SavedBlocksPickBar-BHMwg-1G.js} +11 -11
  28. package/dist/TemplateScoringPanel-CSin43YM.js +267 -0
  29. package/dist/{TestEmailModal-DIfJy9eE.js → TestEmailModal-BxizsRCd.js} +59 -59
  30. package/dist/{TestEmailPanel-C8Wx5yPS.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-CV90OhXs.js → VersionHistoryMenu-eGYVhM4H.js} +48 -46
  34. package/dist/{VersionHistoryPanels-BE3pplJG.js → VersionHistoryPanels-C7Ntrrfq.js} +4 -4
  35. package/dist/{VersionPreviewBanner-BwUWBtlH.js → VersionPreviewBanner-BbQXnR0M.js} +9 -9
  36. package/dist/blockTypeIcons-5qD4bB76.js +163 -0
  37. package/dist/bundle-stats.json +8 -8
  38. package/dist/{ca-C0hfqt4U.js → ca-D9S-UCfZ.js} +2 -0
  39. package/dist/ca-Jx2CDwtn.js +83 -0
  40. package/dist/cdn/chunks/{AiChatSidebar-BEnIWn6s.js → AiChatSidebar-dyqqHAcI.js} +4 -4
  41. package/dist/cdn/chunks/{AiChatSidebar-BEnIWn6s.js.map → AiChatSidebar-dyqqHAcI.js.map} +1 -1
  42. package/dist/cdn/chunks/{AiFeatureMenu-DMl23akc.js → AiFeatureMenu-BjVMwhW8.js} +5 -5
  43. package/dist/cdn/chunks/{AiFeatureMenu-DMl23akc.js.map → AiFeatureMenu-BjVMwhW8.js.map} +1 -1
  44. package/dist/cdn/chunks/{BlockIssueBadge-CloK4k3M.js → BlockIssueBadge-BJ__oEtm.js} +4 -4
  45. package/dist/cdn/chunks/{BlockIssueBadge-CloK4k3M.js.map → BlockIssueBadge-BJ__oEtm.js.map} +1 -1
  46. package/dist/cdn/chunks/BlockPreviewCanvas-B5f26eLE.js +133 -0
  47. package/dist/cdn/chunks/BlockPreviewCanvas-B5f26eLE.js.map +1 -0
  48. package/dist/cdn/chunks/{CloudHeaderExtras-b4KpVeUN.js → CloudHeaderExtras-D5P5IEKA.js} +4 -4
  49. package/dist/cdn/chunks/{CloudHeaderExtras-b4KpVeUN.js.map → CloudHeaderExtras-D5P5IEKA.js.map} +1 -1
  50. package/dist/cdn/chunks/{CloudPanels-DzwOq9lp.js → CloudPanels-DkmR05nB.js} +15 -45
  51. package/dist/cdn/chunks/{CloudPanels-DzwOq9lp.js.map → CloudPanels-DkmR05nB.js.map} +1 -1
  52. package/dist/cdn/chunks/{CollaboratorBar-WXKvpoGK.js → CollaboratorBar-Yn7KSpt4.js} +4 -4
  53. package/dist/cdn/chunks/{CollaboratorBar-WXKvpoGK.js.map → CollaboratorBar-Yn7KSpt4.js.map} +1 -1
  54. package/dist/cdn/chunks/{ColorPicker-BubTDiS1.js → ColorPicker-LcrzgMoW.js} +7 -7
  55. package/dist/cdn/chunks/{ColorPicker-BubTDiS1.js.map → ColorPicker-LcrzgMoW.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-DAA2VqX4.js → CommentsPanel-CntwwocI.js} +2 -2
  57. package/dist/cdn/chunks/{CommentsPanel-DAA2VqX4.js.map → CommentsPanel-CntwwocI.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-Ci0M2ePp.js → CommentsSidebar-BLDKnKy7.js} +4 -4
  59. package/dist/cdn/chunks/{CommentsSidebar-Ci0M2ePp.js.map → CommentsSidebar-BLDKnKy7.js.map} +1 -1
  60. package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js → CountdownBlock-B4AfqJwb.js} +2 -2
  61. package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js.map → CountdownBlock-B4AfqJwb.js.map} +1 -1
  62. package/dist/cdn/chunks/{CountdownToolbar-CzZq26Vp.js → CountdownToolbar-CA1dpuOI.js} +3 -3
  63. package/dist/cdn/chunks/{CountdownToolbar-CzZq26Vp.js.map → CountdownToolbar-CA1dpuOI.js.map} +1 -1
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-C_ehdX5C.js → DesignReferenceSidebar-D1Y9Hswe.js} +5 -5
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-C_ehdX5C.js.map → DesignReferenceSidebar-D1Y9Hswe.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel-BXAN2_al.js → IssuesPanel-Q62LTqvd.js} +5 -5
  67. package/dist/cdn/chunks/{IssuesPanel-BXAN2_al.js.map → IssuesPanel-Q62LTqvd.js.map} +1 -1
  68. package/dist/cdn/chunks/MediaPanels-D21M6shx.js +45 -0
  69. package/dist/cdn/chunks/MediaPanels-D21M6shx.js.map +1 -0
  70. package/dist/cdn/chunks/{MergeTagInput-1vcI9uQH.js → MergeTagInput-l7paaAml.js} +8 -8
  71. package/dist/cdn/chunks/{MergeTagInput-1vcI9uQH.js.map → MergeTagInput-l7paaAml.js.map} +1 -1
  72. package/dist/cdn/chunks/{MergeTagModeToggle-B_mUYJo4.js → MergeTagModeToggle-DYxkAGtA.js} +5 -5
  73. package/dist/cdn/chunks/{MergeTagModeToggle-B_mUYJo4.js.map → MergeTagModeToggle-DYxkAGtA.js.map} +1 -1
  74. package/dist/cdn/chunks/{ParagraphEditor-DCDHMcmx.js → ParagraphEditor-Bd-GQXee.js} +176 -172
  75. package/dist/cdn/chunks/{ParagraphEditor-DCDHMcmx.js.map → ParagraphEditor-Bd-GQXee.js.map} +1 -1
  76. package/dist/cdn/chunks/{RestoreVersionDialog-BkSSwf-Q.js → RestoreVersionDialog-2X9RpM9A.js} +4 -4
  77. package/dist/cdn/chunks/{RestoreVersionDialog-BkSSwf-Q.js.map → RestoreVersionDialog-2X9RpM9A.js.map} +1 -1
  78. package/dist/cdn/chunks/{RichTextEditorContent-S4KogjIj.js → RichTextEditorContent-D_rb0rmU.js} +8 -8
  79. package/dist/cdn/chunks/{RichTextEditorContent-S4KogjIj.js.map → RichTextEditorContent-D_rb0rmU.js.map} +1 -1
  80. package/dist/cdn/chunks/{SaveBlockDialog-BH774Nt0.js → SaveBlockDialog-CufdTomT.js} +15 -15
  81. package/dist/cdn/chunks/{SaveBlockDialog-BH774Nt0.js.map → SaveBlockDialog-CufdTomT.js.map} +1 -1
  82. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CSUqw_dD.js → SavedBlocksBrowserModal-CqpaNsk7.js} +8 -8
  83. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CSUqw_dD.js.map → SavedBlocksBrowserModal-CqpaNsk7.js.map} +1 -1
  84. package/dist/cdn/chunks/{SavedBlocksPanels-B6ApbCjG.js → SavedBlocksPanels-DpxYxddo.js} +2 -2
  85. package/dist/cdn/chunks/{SavedBlocksPanels-B6ApbCjG.js.map → SavedBlocksPanels-DpxYxddo.js.map} +1 -1
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-C9MXSRcR.js → SavedBlocksPickBar-Drpoav1B.js} +4 -4
  87. package/dist/cdn/chunks/{SavedBlocksPickBar-C9MXSRcR.js.map → SavedBlocksPickBar-Drpoav1B.js.map} +1 -1
  88. package/dist/cdn/chunks/{TemplateScoringPanel-QVOxc9TZ.js → TemplateScoringPanel-DBjUNULq.js} +5 -5
  89. package/dist/cdn/chunks/{TemplateScoringPanel-QVOxc9TZ.js.map → TemplateScoringPanel-DBjUNULq.js.map} +1 -1
  90. package/dist/cdn/chunks/{TestEmailModal-_CZvaO58.js → TestEmailModal-BTNlSW6f.js} +11 -11
  91. package/dist/cdn/chunks/{TestEmailModal-_CZvaO58.js.map → TestEmailModal-BTNlSW6f.js.map} +1 -1
  92. package/dist/cdn/chunks/{TestEmailPanel-DXLxvyrD.js → TestEmailPanel-D0A9Zgxr.js} +2 -2
  93. package/dist/cdn/chunks/{TestEmailPanel-DXLxvyrD.js.map → TestEmailPanel-D0A9Zgxr.js.map} +1 -1
  94. package/dist/cdn/chunks/{TitleEditor-BuCOahW3.js → TitleEditor-CrnuIq62.js} +9 -9
  95. package/dist/cdn/chunks/{TitleEditor-BuCOahW3.js.map → TitleEditor-CrnuIq62.js.map} +1 -1
  96. package/dist/cdn/chunks/{TplModal-CqY8R3hn.js → TplModal-DYXrTz42.js} +5 -5
  97. package/dist/cdn/chunks/{TplModal-CqY8R3hn.js.map → TplModal-DYXrTz42.js.map} +1 -1
  98. package/dist/cdn/chunks/{VersionHistoryMenu-DDjIBvad.js → VersionHistoryMenu-bDGnE4hb.js} +6 -6
  99. package/dist/cdn/chunks/VersionHistoryMenu-bDGnE4hb.js.map +1 -0
  100. package/dist/cdn/chunks/{VersionHistoryPanels-BuTw04T5.js → VersionHistoryPanels-82P0Q0HM.js} +2 -2
  101. package/dist/cdn/chunks/{VersionHistoryPanels-BuTw04T5.js.map → VersionHistoryPanels-82P0Q0HM.js.map} +1 -1
  102. package/dist/cdn/chunks/{VersionPreviewBanner-fGAv20qI.js → VersionPreviewBanner-BJiwKkVC.js} +3 -3
  103. package/dist/cdn/chunks/{VersionPreviewBanner-fGAv20qI.js.map → VersionPreviewBanner-BJiwKkVC.js.map} +1 -1
  104. package/dist/cdn/chunks/{blockTypeIcons-ZEzEpCti.js → blockTypeIcons-CNjJSFun.js} +2 -2
  105. package/dist/cdn/chunks/{blockTypeIcons-ZEzEpCti.js.map → blockTypeIcons-CNjJSFun.js.map} +1 -1
  106. package/dist/cdn/chunks/{ca-C0hfqt4U.js → ca-D9S-UCfZ.js} +3 -1
  107. package/dist/cdn/chunks/{ca-C0hfqt4U.js.map → ca-D9S-UCfZ.js.map} +1 -1
  108. package/dist/cdn/chunks/{ca-CNRWAMHI.js → ca-Jx2CDwtn.js} +2 -6
  109. package/dist/cdn/chunks/ca-Jx2CDwtn.js.map +1 -0
  110. package/dist/cdn/chunks/{cloud-BP5-6__d.js → cloud-BLgCKP7Z.js} +453 -228
  111. package/dist/cdn/chunks/cloud-BLgCKP7Z.js.map +1 -0
  112. package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js +385 -0
  113. package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js.map +1 -0
  114. package/dist/{de-C6J2Iae8.js → cdn/chunks/de-BUPszLpi.js} +4 -0
  115. package/dist/cdn/chunks/{de-C6J2Iae8.js.map → de-BUPszLpi.js.map} +1 -1
  116. package/dist/cdn/chunks/{de-DFYCT4QU.js → de-Ck0pBGHu.js} +2 -6
  117. package/dist/cdn/chunks/de-Ck0pBGHu.js.map +1 -0
  118. package/dist/cdn/chunks/{src-Cxl-9O-L.js → editor-modal-MXgtarMl.js} +1473 -1934
  119. package/dist/cdn/chunks/editor-modal-MXgtarMl.js.map +1 -0
  120. package/dist/cdn/chunks/{en-BaUYOQi8.js → en-BbOC5x3w.js} +3 -1
  121. package/dist/cdn/chunks/en-BbOC5x3w.js.map +1 -0
  122. package/dist/cdn/chunks/en-C9U7N77n.js +2 -0
  123. package/dist/cdn/chunks/{es-CKDYfJYn.js → es-0bCDcT9p.js} +3 -1
  124. package/dist/cdn/chunks/{es-CKDYfJYn.js.map → es-0bCDcT9p.js.map} +1 -1
  125. package/dist/cdn/chunks/{es-OgkdMZGX.js → es-lagTvUfX.js} +2 -6
  126. package/dist/cdn/chunks/es-lagTvUfX.js.map +1 -0
  127. package/dist/cdn/chunks/{extensions-7z04EIGg.js → extensions-B8_jnIkD.js} +4 -4
  128. package/dist/cdn/chunks/{extensions-7z04EIGg.js.map → extensions-B8_jnIkD.js.map} +1 -1
  129. package/dist/{fr-L8DR73mK.js → cdn/chunks/fr-Brr8mJ9e.js} +4 -0
  130. package/dist/cdn/chunks/fr-Brr8mJ9e.js.map +1 -0
  131. package/dist/cdn/chunks/{fr-Dswns199.js → fr-C4hVl5Lk.js} +2 -6
  132. package/dist/cdn/chunks/fr-C4hVl5Lk.js.map +1 -0
  133. package/dist/cdn/chunks/icons-BUlqGSgd.js +1675 -0
  134. package/dist/cdn/chunks/icons-BUlqGSgd.js.map +1 -0
  135. package/dist/cdn/chunks/{keys-DQp8x7Nx.js → keys-DBFhDFng.js} +4 -4
  136. package/dist/cdn/chunks/{keys-DQp8x7Nx.js.map → keys-DBFhDFng.js.map} +1 -1
  137. package/dist/cdn/chunks/{nl-CbcPJlrL.js → nl-CReD7Apd.js} +2 -6
  138. package/dist/cdn/chunks/nl-CReD7Apd.js.map +1 -0
  139. package/dist/{nl-GDWeuX18.js → cdn/chunks/nl-Co3_RL0M.js} +4 -0
  140. package/dist/cdn/chunks/nl-Co3_RL0M.js.map +1 -0
  141. package/dist/cdn/chunks/{preRenderCustomBlocks-LFB-e-0m.js → preRenderCustomBlocks-Bdpiiw4A.js} +2 -2
  142. package/dist/cdn/chunks/{preRenderCustomBlocks-LFB-e-0m.js.map → preRenderCustomBlocks-Bdpiiw4A.js.map} +1 -1
  143. package/dist/cdn/chunks/{pt-BR-B1AVVhWj.js → pt-BR-BECez5b0.js} +3 -1
  144. package/dist/cdn/chunks/{pt-BR-B1AVVhWj.js.map → pt-BR-BECez5b0.js.map} +1 -1
  145. package/dist/cdn/chunks/{pt-BR-BibOQm-o.js → pt-BR-BRA0-vGP.js} +2 -6
  146. package/dist/cdn/chunks/pt-BR-BRA0-vGP.js.map +1 -0
  147. package/dist/cdn/chunks/{src-BM3f9I7t.js → src-CUvZWL6Y.js} +83 -83
  148. package/dist/cdn/chunks/src-CUvZWL6Y.js.map +1 -0
  149. package/dist/cdn/chunks/{src-BDvZrpFH.js → src-DZ0C9mH7.js} +161 -160
  150. package/dist/cdn/chunks/src-DZ0C9mH7.js.map +1 -0
  151. package/dist/cdn/chunks/{src-CLoCCDfs.js → src-Dwgq7hf4.js} +71 -48
  152. package/dist/cdn/chunks/src-Dwgq7hf4.js.map +1 -0
  153. package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js → useCloudI18n-DSWSGj-A.js} +2 -2
  154. package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js.map → useCloudI18n-DSWSGj-A.js.map} +1 -1
  155. package/dist/cdn/chunks/{useEditorCore-ehUSEsbw.js → useEditorCore-Cs7rYVBo.js} +614 -522
  156. package/dist/cdn/chunks/useEditorCore-Cs7rYVBo.js.map +1 -0
  157. package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js → useEditorRoot-B0zW2nT4.js} +2 -2
  158. package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js.map → useEditorRoot-B0zW2nT4.js.map} +1 -1
  159. package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js → useI18n-Dlo7R9RA.js} +2 -2
  160. package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js.map → useI18n-Dlo7R9RA.js.map} +1 -1
  161. package/dist/cdn/chunks/{useMergeTag-TLhF2fGK.js → useMergeTag-BYAifvh8.js} +4 -4
  162. package/dist/cdn/chunks/{useMergeTag-TLhF2fGK.js.map → useMergeTag-BYAifvh8.js.map} +1 -1
  163. package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js → usePopoverPosition-ElP3ABaV.js} +2 -2
  164. package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js.map → usePopoverPosition-ElP3ABaV.js.map} +1 -1
  165. package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js → useScrollToBlock-nTbWkgaU.js} +2 -2
  166. package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js.map → useScrollToBlock-nTbWkgaU.js.map} +1 -1
  167. package/dist/cdn/editor.css +1 -1
  168. package/dist/cdn/editor.js +1195 -1095
  169. package/dist/cdn/editor.js.map +1 -1
  170. package/dist/check-DWtkBzBU.js +11 -0
  171. package/dist/chevron-down-C-Fjxcqj.js +11 -0
  172. package/dist/chevron-right-SOkn2d4P.js +11 -0
  173. package/dist/chevron-up-lntU1ypp.js +11 -0
  174. package/dist/circle-alert-CjzUTwy3.js +30 -0
  175. package/dist/clock-pB2QKPsJ.js +16 -0
  176. package/dist/{cloud-BMzRKCbk.js → cloud-DdidMW6f.js} +446 -201
  177. package/dist/copy-CId1E038.js +19 -0
  178. package/dist/createCloudRuntime-x5WZm3p8.js +383 -0
  179. package/dist/createLucideIcon-Cwf_nTzE.js +96 -0
  180. package/dist/{cdn/chunks/de-C6J2Iae8.js → de-BUPszLpi.js} +2 -2
  181. package/dist/de-Ck0pBGHu.js +83 -0
  182. package/dist/{dist-BxFbxpgW.js → dist-BVqAYoRB.js} +125 -125
  183. package/dist/dist-D8i1ixHK.js +177 -0
  184. package/dist/dist-DBirAJIs.js +410 -0
  185. package/dist/{dist-PL6vP4SC.js → dist-tGkjkX-v.js} +143 -122
  186. package/dist/editor-modal-B_LaQf0s.js +5998 -0
  187. package/dist/{en-BaUYOQi8.js → en-BbOC5x3w.js} +2 -0
  188. package/dist/en-DcmpWV53.js +2 -0
  189. package/dist/{es-CKDYfJYn.js → es-0bCDcT9p.js} +2 -0
  190. package/dist/es-lagTvUfX.js +83 -0
  191. package/dist/{extensions-Mf8iHey9.js → extensions-CHOBZRab.js} +43 -43
  192. package/dist/eye-BuGtFUoJ.js +16 -0
  193. package/dist/{cdn/chunks/fr-L8DR73mK.js → fr-Brr8mJ9e.js} +2 -2
  194. package/dist/fr-C4hVl5Lk.js +83 -0
  195. package/dist/image-up-gH4JEpU5.js +27 -0
  196. package/dist/index.d.ts +77 -11
  197. package/dist/info-BQ60P82u.js +23 -0
  198. package/dist/{keys-C3P1yxnr.js → keys-DQA2i1k1.js} +4 -4
  199. package/dist/link-3R8it3J7.js +14 -0
  200. package/dist/list-Ccdgj46T.js +33 -0
  201. package/dist/loader-circle-B_tAD4k6.js +12 -0
  202. package/dist/message-circle-P-KSc6V0.js +11 -0
  203. package/dist/nl-CReD7Apd.js +83 -0
  204. package/dist/{cdn/chunks/nl-GDWeuX18.js → nl-Co3_RL0M.js} +2 -2
  205. package/dist/pencil-9ZiwqS4r.js +14 -0
  206. package/dist/plus-BwJEzCaO.js +14 -0
  207. package/dist/{preRenderCustomBlocks-CSIF-HyJ.js → preRenderCustomBlocks-DFXH54Zr.js} +1 -1
  208. package/dist/{pt-BR-B1AVVhWj.js → pt-BR-BECez5b0.js} +2 -0
  209. package/dist/pt-BR-BRA0-vGP.js +83 -0
  210. package/dist/refresh-cw-DEgfb2FK.js +25 -0
  211. package/dist/{runtime-dom.esm-bundler-BuG03jBM.js → runtime-dom.esm-bundler-PnoZU512.js} +106 -106
  212. package/dist/search-DqQ8Li5E.js +16 -0
  213. package/dist/send-CE6uvqop.js +14 -0
  214. package/dist/shield-check-DhD1Z3rd.js +14 -0
  215. package/dist/sparkles-R0ZQHa6F.js +28 -0
  216. package/dist/style.css +1 -1
  217. package/dist/templatical-editor.js +2742 -2590
  218. package/dist/text-align-start-DSux2UNn.js +58 -0
  219. package/dist/trash-Cf_SqsER.js +30 -0
  220. package/dist/triangle-alert-C6tGa6jw.js +22 -0
  221. package/dist/upload-DusKjpVr.js +21 -0
  222. package/dist/{useAliveFlag-PVmp95MT.js → useAliveFlag-oyByIcjy.js} +1 -1
  223. package/dist/{useCloudI18n-BKoiYsWZ.js → useCloudI18n-BLyh_e2T.js} +2 -2
  224. package/dist/{useEditorCore-DdkQuTHl.js → useEditorCore-DhlKOYwe.js} +1780 -1651
  225. package/dist/{useEditorRoot-DkRGTQRs.js → useEditorRoot-ds57-l6F.js} +2 -2
  226. package/dist/{useI18n-CL6RfPzK.js → useI18n-BbdxxpOE.js} +2 -2
  227. package/dist/{useMergeTag-gSuYus-M.js → useMergeTag-DlvOBW_B.js} +4 -4
  228. package/dist/{usePopoverPosition-CWxaIWd3.js → usePopoverPosition-CprM5p-c.js} +2 -2
  229. package/dist/useScrollToBlock-BTFw0b9O.js +48 -0
  230. package/dist/{vue.runtime.esm-bundler-D9JUcKrV.js → vue.runtime.esm-bundler-DShF3P6k.js} +1192 -1181
  231. package/dist/x-D_-42Ukq.js +14 -0
  232. package/package.json +9 -12
  233. package/dist/BlockPreviewCanvas-B621ANn9.js +0 -129
  234. package/dist/CloudHeaderExtras-BJ3Cebhv.js +0 -59
  235. package/dist/CollaboratorBar-KphmSQeZ.js +0 -95
  236. package/dist/IssuesPanel-CiOjeRFI.js +0 -109
  237. package/dist/ParagraphEditor-C87tkmtE.js +0 -767
  238. package/dist/RichTextEditorContent-BmTcV2-a.js +0 -152
  239. package/dist/SavedBlocksBrowserModal-DQR6kJB1.js +0 -322
  240. package/dist/TemplateScoringPanel-CpyEKMzC.js +0 -257
  241. package/dist/TitleEditor-iNFOisr4.js +0 -198
  242. package/dist/TplModal-CowM3o_F.js +0 -51
  243. package/dist/blockTypeIcons-DQsKtHik.js +0 -134
  244. package/dist/cdn/chunks/BlockPreviewCanvas-DSiJFJa0.js +0 -131
  245. package/dist/cdn/chunks/BlockPreviewCanvas-DSiJFJa0.js.map +0 -1
  246. package/dist/cdn/chunks/VersionHistoryMenu-DDjIBvad.js.map +0 -1
  247. package/dist/cdn/chunks/ca-CNRWAMHI.js.map +0 -1
  248. package/dist/cdn/chunks/cloud-BP5-6__d.js.map +0 -1
  249. package/dist/cdn/chunks/createCloudRuntime-JFE-sxbT.js +0 -443
  250. package/dist/cdn/chunks/createCloudRuntime-JFE-sxbT.js.map +0 -1
  251. package/dist/cdn/chunks/de-DFYCT4QU.js.map +0 -1
  252. package/dist/cdn/chunks/en-BaUYOQi8.js.map +0 -1
  253. package/dist/cdn/chunks/en-mEKGL1PX.js +0 -2
  254. package/dist/cdn/chunks/es-OgkdMZGX.js.map +0 -1
  255. package/dist/cdn/chunks/fr-Dswns199.js.map +0 -1
  256. package/dist/cdn/chunks/fr-L8DR73mK.js.map +0 -1
  257. package/dist/cdn/chunks/icons-SP5Itd-A.js +0 -1218
  258. package/dist/cdn/chunks/icons-SP5Itd-A.js.map +0 -1
  259. package/dist/cdn/chunks/nl-CbcPJlrL.js.map +0 -1
  260. package/dist/cdn/chunks/nl-GDWeuX18.js.map +0 -1
  261. package/dist/cdn/chunks/pt-BR-BibOQm-o.js.map +0 -1
  262. package/dist/cdn/chunks/src-BDvZrpFH.js.map +0 -1
  263. package/dist/cdn/chunks/src-BM3f9I7t.js.map +0 -1
  264. package/dist/cdn/chunks/src-CLoCCDfs.js.map +0 -1
  265. package/dist/cdn/chunks/src-Cxl-9O-L.js.map +0 -1
  266. package/dist/cdn/chunks/useEditorCore-ehUSEsbw.js.map +0 -1
  267. package/dist/check-JK8Uacq0.js +0 -7
  268. package/dist/chevron-down-a-fb_Ijn.js +0 -7
  269. package/dist/chevron-up-x4l0et_Y.js +0 -7
  270. package/dist/circle-alert-CJDW5LZo.js +0 -25
  271. package/dist/clock-BW6rXk2f.js +0 -12
  272. package/dist/createCloudRuntime-DbTFm1ES.js +0 -441
  273. package/dist/createLucideIcon-Bvw1Zx56.js +0 -43
  274. package/dist/dist-dNiknO7j.js +0 -251
  275. package/dist/dist-heatwAdo.js +0 -150
  276. package/dist/image-up-CuzFc1mu.js +0 -23
  277. package/dist/info-DybAwcA3.js +0 -19
  278. package/dist/loader-circle-t-SVgmJ3.js +0 -7
  279. package/dist/message-circle-DtwKrlhN.js +0 -7
  280. package/dist/pencil-2qhC-Y4q.js +0 -10
  281. package/dist/refresh-cw-C8SBuPdg.js +0 -29
  282. package/dist/send-BoqJliF6.js +0 -10
  283. package/dist/shield-check-D0dMaHtE.js +0 -10
  284. package/dist/sparkles-Dy2BJjiX.js +0 -23
  285. package/dist/text-align-start-DrxjxvIy.js +0 -43
  286. package/dist/trash-rYMzzHZd.js +0 -25
  287. package/dist/triangle-alert-DxnFj4-B.js +0 -17
  288. package/dist/upload-DZu1adQz.js +0 -17
  289. package/dist/useScrollToBlock-CdI8fGqt.js +0 -44
  290. package/dist/x-DJOd1hS4.js +0 -10
@@ -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-CL_tffzT.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,34 +1,43 @@
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-Bvw1Zx56.js";
6
- import { t as ie } from "./check-JK8Uacq0.js";
7
- import { t as ae } from "./chevron-down-a-fb_Ijn.js";
8
- import { t as oe } from "./chevron-up-x4l0et_Y.js";
9
- import { t as S } from "./loader-circle-t-SVgmJ3.js";
10
- import { t as C } from "./message-circle-DtwKrlhN.js";
11
- import { t as w } from "./pencil-2qhC-Y4q.js";
12
- import { t as T } from "./send-BoqJliF6.js";
13
- import { t as E } from "./trash-rYMzzHZd.js";
14
- import { t as D } from "./x-DJOd1hS4.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
- var ce = x("circle-check", [["circle", {
18
- cx: "12",
19
- cy: "12",
20
- r: "10",
21
- key: "1mglay"
22
- }], ["path", {
23
- d: "m16 9-5.5 5.5L8 12",
24
- key: "xofnsj"
25
- }]]), le = x("reply", [["path", {
26
- d: "M20 18v-2a4 4 0 0 0-4-4H4",
27
- key: "5vmcpk"
28
- }], ["path", {
29
- d: "m9 17-5-5 5-5",
30
- key: "nvlc11"
31
- }]]), ue = {
17
+ var ce = x({
18
+ name: "circle-check",
19
+ size: 24,
20
+ node: [["circle", {
21
+ cx: "12",
22
+ cy: "12",
23
+ r: "10",
24
+ key: "1mglay"
25
+ }], ["path", {
26
+ d: "m16 9-5.5 5.5L8 12",
27
+ key: "xofnsj"
28
+ }]],
29
+ aliases: ["check-circle-2"]
30
+ }), le = x({
31
+ name: "reply",
32
+ size: 24,
33
+ node: [["path", {
34
+ d: "M20 18v-2a4 4 0 0 0-4-4H4",
35
+ key: "5vmcpk"
36
+ }], ["path", {
37
+ d: "m9 17-5-5 5-5",
38
+ key: "nvlc11"
39
+ }]]
40
+ }), ue = {
32
41
  key: 0,
33
42
  "data-testid": "comments-sidebar",
34
43
  class: "tpl-comments-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
@@ -92,19 +101,19 @@ var ce = x("circle-check", [["circle", {
92
101
  }, pt = {
93
102
  key: 1,
94
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)]"
95
- }, mt = ["placeholder", "disabled"], ht = ["disabled"], k = /*#__PURE__*/ O(/* @__PURE__ */ _({
104
+ }, mt = ["placeholder", "disabled"], ht = ["disabled"], k = /*#__PURE__*/ O(/* @__PURE__ */ v({
96
105
  __name: "CommentsSidebar",
97
106
  props: {
98
107
  visible: { type: Boolean },
99
108
  feature: {}
100
109
  },
101
110
  emits: ["close"],
102
- setup(_, { expose: x, emit: O }) {
103
- 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);
104
- 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) => {
105
114
  e && (P.value = "block");
106
115
  }, { immediate: !0 });
107
- 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(() => {
108
117
  let e = /* @__PURE__ */ new Set();
109
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);
110
119
  return e;
@@ -112,11 +121,11 @@ var ce = x("circle-check", [["circle", {
112
121
  function yt(e) {
113
122
  return e ? !vt.value.has(e) : !1;
114
123
  }
115
- 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(() => {
116
125
  let e = N.value.comments.value;
117
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;
118
127
  });
119
- n(() => M.state.selectedBlockId, (e) => {
128
+ a(() => M.state.selectedBlockId, (e) => {
120
129
  P.value === "block" && e && (k.feature.filterBlockId.value = e);
121
130
  });
122
131
  function G(e, t) {
@@ -205,14 +214,14 @@ var ce = x("circle-check", [["circle", {
205
214
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q(t)), e.key === "Escape" && q();
206
215
  }
207
216
  function Mt() {
208
- i(() => {
217
+ r(() => {
209
218
  H.value?.focus();
210
219
  });
211
220
  }
212
221
  return x({
213
222
  filterByBlock: xt,
214
223
  focusNewComment: Mt
215
- }), (n, i) => (u(), f(b, {
224
+ }), (r, a) => (e(), m(b, {
216
225
  "enter-active-class": "tpl-comments-slide-enter-active",
217
226
  "enter-from-class": "tpl:translate-x-full",
218
227
  "enter-to-class": "tpl:translate-x-0",
@@ -220,259 +229,259 @@ var ce = x("circle-check", [["circle", {
220
229
  "leave-from-class": "tpl:translate-x-0",
221
230
  "leave-to-class": "tpl:translate-x-full"
222
231
  }, {
223
- default: v(() => [_.visible ? (u(), s("div", ue, [
224
- o("div", de, [o("div", fe, [
225
- c(m(C), {
232
+ default: n(() => [v.visible ? (e(), u("div", ue, [
233
+ l("div", de, [l("div", fe, [
234
+ d(c(C), {
226
235
  size: 13,
227
236
  "stroke-width": 2
228
237
  }),
229
- o("span", null, d(m(A).comments.title), 1),
230
- _.feature.unresolvedCount.value > 0 ? (u(), s("span", pe, d(_.feature.unresolvedCount.value), 1)) : g("", !0)
231
- ]), 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", {
232
241
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
233
- onClick: i[0] ||= (e) => gt("close")
234
- }, [c(m(D), {
242
+ onClick: a[0] ||= (e) => gt("close")
243
+ }, [d(c(D), {
235
244
  size: 14,
236
245
  "stroke-width": 2
237
246
  })])]),
238
- o("div", me, [
239
- o("button", {
240
- 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" : ""]),
241
250
  "data-testid": "comments-filter-unresolved",
242
- onClick: i[1] ||= (e) => G("unresolved")
243
- }, d(m(A).comments.filterUnresolved), 3),
244
- o("button", {
245
- 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" : ""]),
246
255
  "data-testid": "comments-filter-all",
247
- onClick: i[2] ||= (e) => G("all")
248
- }, d(m(A).comments.filterAll), 3),
249
- 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", {
250
259
  key: 0,
251
- 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" : ""]),
252
- onClick: i[3] ||= (e) => G("block", m(M).state.selectedBlockId ?? void 0)
253
- }, 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)
254
263
  ]),
255
- 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), {
256
265
  class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
257
266
  size: 24,
258
267
  "stroke-width": 2
259
- })])) : W.value.length === 0 ? (u(), s("div", _e, [c(m(C), {
268
+ })])) : W.value.length === 0 ? (e(), u("div", _e, [d(c(C), {
260
269
  size: 32,
261
270
  "stroke-width": 1.5,
262
271
  class: "tpl:text-[var(--tpl-text-dim)]"
263
- }), 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", {
264
- 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,
265
274
  class: "tpl-comment-thread",
266
275
  "data-testid": "comment-thread"
267
276
  }, [
268
- o("div", be, [
269
- o("div", xe, [o("div", Se, [
270
- o("span", Ce, d(N.value.isOwn(n) ? m(A).comments.ownedByYou : n.author.name), 1),
271
- o("span", we, d(kt(n.createdAt)), 1),
272
- n.updatedAt ? (u(), s("span", Te, " (" + d(m(A).comments.edited) + ") ", 1)) : g("", !0)
273
- ]), o("div", Ee, [
274
- 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", {
275
284
  key: 0,
276
285
  "data-testid": "comment-resolve",
277
286
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
278
- title: n.resolvedAt ? m(A).comments.unresolve : m(A).comments.resolve,
279
- onClick: (e) => Et(n)
280
- }, [c(m(ce), {
287
+ title: r.resolvedAt ? c(A).comments.unresolve : c(A).comments.resolve,
288
+ onClick: (e) => Et(r)
289
+ }, [d(c(ce), {
281
290
  size: 13,
282
291
  "stroke-width": 2,
283
292
  class: "tpl-resolve-icon",
284
- style: r({ color: n.resolvedAt ? "var(--tpl-primary)" : void 0 })
285
- }, null, 8, ["style"])], 8, De)) : g("", !0),
286
- 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", {
287
296
  key: 1,
288
297
  "data-testid": "comment-edit",
289
298
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
290
- title: m(A).comments.edit,
291
- onClick: (e) => K(n)
292
- }, [c(m(w), {
299
+ title: c(A).comments.edit,
300
+ onClick: (e) => K(r)
301
+ }, [d(c(w), {
293
302
  size: 12,
294
303
  "stroke-width": 2
295
- })], 8, Oe)) : g("", !0),
296
- Ot(n) ? (u(), s("button", {
304
+ })], 8, Oe)) : _("", !0),
305
+ Ot(r) ? (e(), u("button", {
297
306
  key: 2,
298
307
  "data-testid": "comment-delete",
299
308
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
300
- title: m(A).comments.delete,
301
- onClick: (e) => J(n.id)
302
- }, [c(m(E), {
309
+ title: c(A).comments.delete,
310
+ onClick: (e) => J(r.id)
311
+ }, [d(c(E), {
303
312
  size: 12,
304
313
  "stroke-width": 2
305
- })], 8, ke)) : g("", !0)
314
+ })], 8, ke)) : _("", !0)
306
315
  ])]),
307
- c(b, { name: "tpl-resolve" }, {
308
- 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), {
309
318
  size: 10,
310
319
  "stroke-width": 2.5
311
- }), 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)]),
312
321
  _: 2
313
322
  }, 1024),
314
- 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", {
315
324
  key: 1,
316
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)]",
317
- onClick: (e) => m(M).selectBlock(n.blockId ?? "")
318
- }, d(m(A).comments.jumpToBlock), 9, Me)) : g("", !0),
319
- R.value === n.id ? (u(), s("div", Ne, [e(o("textarea", {
320
- "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,
321
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)]",
322
331
  rows: "3",
323
- onKeydown: (e) => $(e, n.id)
324
- }, 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", {
325
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)]",
326
335
  disabled: !z.value.trim() || N.value.isSubmitting.value,
327
- onClick: (e) => Q(n.id)
328
- }, 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", {
329
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)]",
330
- onClick: i[5] ||= (e) => q()
331
- }, d(m(A).comments.cancel), 1)])])) : (u(), s("p", Le, d(n.body), 1)),
332
- V.value === n.id ? (u(), s("div", Re, [
333
- o("span", ze, d(m(A).comments.deleteConfirm), 1),
334
- 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", {
335
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)]",
336
345
  "data-testid": "comment-delete-confirm",
337
- onClick: (e) => Tt(n.id)
338
- }, d(m(A).comments.delete), 9, Be),
339
- o("button", {
346
+ onClick: (e) => Tt(r.id)
347
+ }, f(c(A).comments.delete), 9, Be),
348
+ l("button", {
340
349
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
341
- onClick: i[6] ||= (e) => Y()
342
- }, d(m(A).comments.cancel), 1)
343
- ])) : g("", !0),
344
- 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", {
345
354
  key: 0,
346
355
  "data-testid": "comment-reply",
347
356
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
348
- title: m(A).comments.reply,
349
- onClick: (e) => Ct(n.id)
350
- }, [c(m(le), {
357
+ title: c(A).comments.reply,
358
+ onClick: (e) => Ct(r.id)
359
+ }, [d(c(le), {
351
360
  size: 13,
352
361
  "stroke-width": 2,
353
362
  class: "tpl:text-[var(--tpl-primary)]"
354
- })], 8, He)) : g("", !0), (n.replies?.length ?? 0) > 0 ? (u(), s("button", {
363
+ })], 8, He)) : _("", !0), (r.replies?.length ?? 0) > 0 ? (e(), u("button", {
355
364
  key: 1,
356
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)]",
357
- onClick: (e) => St(n.id)
358
- }, [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), {
359
368
  key: 0,
360
369
  size: 11,
361
370
  "stroke-width": 2
362
- })) : (u(), f(m(ae), {
371
+ })) : (e(), m(c(ae), {
363
372
  key: 1,
364
373
  size: 11,
365
374
  "stroke-width": 2
366
- })), 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)
367
376
  ]),
368
- c(b, { name: "tpl-replies" }, {
369
- 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", {
370
- key: r.id,
371
- 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" : ""])
372
381
  }, [
373
- o("div", Ge, [o("div", Ke, [
374
- o("span", qe, d(N.value.isOwn(r) ? m(A).comments.ownedByYou : r.author.name), 1),
375
- o("span", Je, d(kt(r.createdAt)), 1),
376
- r.updatedAt ? (u(), s("span", Ye, " (" + d(m(A).comments.edited) + ") ", 1)) : g("", !0)
377
- ]), 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", {
378
387
  key: 0,
379
388
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors",
380
- title: m(A).comments.edit,
381
- onClick: (e) => K(r)
382
- }, [c(m(w), {
389
+ title: c(A).comments.edit,
390
+ onClick: (e) => K(t)
391
+ }, [d(c(w), {
383
392
  size: 11,
384
393
  "stroke-width": 2
385
- })], 8, Ze)) : g("", !0), Ot(r) ? (u(), s("button", {
394
+ })], 8, Ze)) : _("", !0), Ot(t) ? (e(), u("button", {
386
395
  key: 1,
387
396
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors",
388
- title: m(A).comments.delete,
389
- onClick: (e) => J(r.id)
390
- }, [c(m(E), {
397
+ title: c(A).comments.delete,
398
+ onClick: (e) => J(t.id)
399
+ }, [d(c(E), {
391
400
  size: 11,
392
401
  "stroke-width": 2
393
- })], 8, Qe)) : g("", !0)])]),
394
- R.value === r.id ? (u(), s("div", $e, [e(o("textarea", {
395
- "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,
396
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)]",
397
406
  rows: "2",
398
- onKeydown: (e) => $(e, r.id)
399
- }, 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", {
400
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)]",
401
410
  disabled: !z.value.trim() || N.value.isSubmitting.value,
402
- onClick: (e) => Q(r.id)
403
- }, 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", {
404
413
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
405
- onClick: i[8] ||= (e) => q()
406
- }, d(m(A).comments.cancel), 1)])])) : (u(), s("p", rt, d(r.body), 1)),
407
- V.value === r.id ? (u(), s("div", it, [
408
- o("span", at, d(m(A).comments.deleteConfirm), 1),
409
- 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", {
410
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)]",
411
420
  "data-testid": "comment-delete-confirm",
412
- onClick: (e) => Tt(r.id)
413
- }, d(m(A).comments.delete), 9, ot),
414
- o("button", {
421
+ onClick: (e) => Tt(t.id)
422
+ }, f(c(A).comments.delete), 9, ot),
423
+ l("button", {
415
424
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
416
- onClick: i[9] ||= (e) => Y()
417
- }, d(m(A).comments.cancel), 1)
418
- ])) : g("", !0)
419
- ], 2))), 128))])) : g("", !0)]),
425
+ onClick: a[9] ||= (e) => Y()
426
+ }, f(c(A).comments.cancel), 1)
427
+ ])) : _("", !0)
428
+ ], 2))), 128))])) : _("", !0)]),
420
429
  _: 2
421
430
  }, 1024),
422
- c(b, { name: "tpl-replies" }, {
423
- default: v(() => [I.value === n.id ? (u(), s("div", st, [o("div", ct, [
424
- e(o("textarea", {
425
- "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,
426
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)]",
427
- placeholder: m(A).comments.replyPlaceholder,
436
+ placeholder: c(A).comments.replyPlaceholder,
428
437
  rows: "2",
429
- onKeydown: (e) => jt(e, n.id)
438
+ onKeydown: (e) => jt(e, r.id)
430
439
  }, null, 40, lt), [[y, L.value]]),
431
- o("button", {
440
+ l("button", {
432
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)]",
433
442
  disabled: !L.value.trim() || N.value.isSubmitting.value,
434
- onClick: (e) => Z(n.id)
435
- }, [c(m(T), {
443
+ onClick: (e) => Z(r.id)
444
+ }, [d(c(T), {
436
445
  size: 14,
437
446
  "stroke-width": 2
438
447
  })], 8, ut),
439
- o("button", {
448
+ l("button", {
440
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)]",
441
- onClick: i[11] ||= (e) => wt()
442
- }, [c(m(D), {
450
+ onClick: a[11] ||= (e) => wt()
451
+ }, [d(c(D), {
443
452
  size: 14,
444
453
  "stroke-width": 2
445
454
  })])
446
- ])])) : g("", !0)]),
455
+ ])])) : _("", !0)]),
447
456
  _: 2
448
457
  }, 1024)
449
458
  ]))), 128))]))]),
450
- 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", {
451
460
  ref_key: "newCommentInput",
452
461
  ref: H,
453
- "onUpdate:modelValue": i[12] ||= (e) => F.value = e,
462
+ "onUpdate:modelValue": a[12] ||= (e) => F.value = e,
454
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)]",
455
464
  "data-testid": "comments-input",
456
- placeholder: m(A).comments.placeholder,
465
+ placeholder: c(A).comments.placeholder,
457
466
  disabled: N.value.isSubmitting.value,
458
467
  rows: "2",
459
468
  onKeydown: At
460
- }, null, 40, mt), [[y, F.value]]), o("button", {
469
+ }, null, 40, mt), [[y, F.value]]), l("button", {
461
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)]",
462
471
  "data-testid": "comments-send",
463
472
  disabled: !F.value.trim() || N.value.isSubmitting.value,
464
473
  onClick: X
465
- }, [N.value.isSubmitting.value ? (u(), f(m(S), {
474
+ }, [N.value.isSubmitting.value ? (e(), m(c(S), {
466
475
  key: 0,
467
476
  class: "tpl-spinner",
468
477
  size: 16,
469
478
  "stroke-width": 2
470
- })) : (u(), f(m(T), {
479
+ })) : (e(), m(c(T), {
471
480
  key: 1,
472
481
  size: 16,
473
482
  "stroke-width": 2
474
- }))], 8, ht)]))])) : g("", !0)
475
- ])) : g("", !0)]),
483
+ }))], 8, ht)]))])) : _("", !0)
484
+ ])) : _("", !0)]),
476
485
  _: 1
477
486
  }));
478
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