@templatical/editor 0.25.2 → 0.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/dist/{AiChatSidebar-JLsbPnsH.js → AiChatSidebar-B_fwa6zc.js} +8 -8
  2. package/dist/{AiFeatureMenu-BvA-lViN.js → AiFeatureMenu-BBBKsYD4.js} +4 -4
  3. package/dist/{BlockIssueBadge-Cf0-GC3o.js → BlockIssueBadge-Buk3_6QF.js} +2 -2
  4. package/dist/{BlockPreviewCanvas-CnJIM5TO.js → BlockPreviewCanvas-zyyq2de0.js} +1 -1
  5. package/dist/{CloudEditor-Caq7z4-7.js → CloudEditor-DM3RRCVn.js} +19 -19
  6. package/dist/{CollaboratorBar-BFz4LgA0.js → CollaboratorBar-Coj8Ebwf.js} +2 -2
  7. package/dist/{ColorPicker-B5xXWWX5.js → ColorPicker-ClETsjA3.js} +1 -1
  8. package/dist/{CommentsSidebar-CGihWwn9.js → CommentsSidebar-CdRCCSDD.js} +10 -10
  9. package/dist/{CountdownToolbar-DpNCZAUI.js → CountdownToolbar-CBE9wRaV.js} +2 -2
  10. package/dist/{DesignReferenceSidebar-CiIHHiil.js → DesignReferenceSidebar-hDXOvGoV.js} +6 -6
  11. package/dist/{IssuesPanel-CUkmAC_S.js → IssuesPanel-Do7RLXsP.js} +5 -5
  12. package/dist/{MergeTagModeToggle-C6nS3qri.js → MergeTagModeToggle-D0t5NHBZ.js} +3 -3
  13. package/dist/{MergeTagSuggestion-98fAcuM-.js → MergeTagSuggestion-BJ43ihWR.js} +9 -9
  14. package/dist/{NumberWithSuffix-DB-1GNvx.js → NumberWithSuffix-D37ZWiZh.js} +1 -1
  15. package/dist/{ParagraphEditor-NgW-T9YV.js → ParagraphEditor-B-CYrQMY.js} +19 -19
  16. package/dist/{RichTextEditorContent-CN7OVR6u.js → RichTextEditorContent-fbYJXAio.js} +3 -3
  17. package/dist/{SaveBlockDialog-lgcmhAsO.js → SaveBlockDialog-CoVPZfUv.js} +6 -6
  18. package/dist/{SavedBlocksBrowserModal-3u247V2z.js → SavedBlocksBrowserModal-DX13xw0O.js} +7 -7
  19. package/dist/{SavedBlocksPanels-Dh6dABJt.js → SavedBlocksPanels-B7pBiZcc.js} +1 -1
  20. package/dist/{SavedBlocksPickBar-Bo82D3Qy.js → SavedBlocksPickBar-ZfqXByph.js} +2 -2
  21. package/dist/{SnapshotHistory-Dsb1i40w.js → SnapshotHistory-BxABntv5.js} +11 -11
  22. package/dist/{TemplateScoringPanel-Bzd_YSag.js → TemplateScoringPanel-BZUsb3FD.js} +10 -10
  23. package/dist/{TestEmailModal-DvqDTOcO.js → TestEmailModal-Db4qheuy.js} +7 -7
  24. package/dist/{TestEmailPanel-BXoVnAqu.js → TestEmailPanel-B-SXSnRg.js} +1 -1
  25. package/dist/{TitleEditor-DWSi998C.js → TitleEditor-DmoaKooA.js} +8 -8
  26. package/dist/{TplModal-DKn0h2qe.js → TplModal-Bym-Kf_i.js} +1 -1
  27. package/dist/{blockTypeIcons-DKlza6aR.js → blockTypeIcons-BnCXsB2I.js} +2 -2
  28. package/dist/bundle-stats.json +6 -6
  29. package/dist/cdn/chunks/{AiChatSidebar-BY1Iy-e8.js → AiChatSidebar-CFvS4-EZ.js} +35 -35
  30. package/dist/cdn/chunks/{AiChatSidebar-BY1Iy-e8.js.map → AiChatSidebar-CFvS4-EZ.js.map} +1 -1
  31. package/dist/cdn/chunks/{AiFeatureMenu-BS4Rek6j.js → AiFeatureMenu-a0gBZiJ9.js} +11 -11
  32. package/dist/cdn/chunks/{AiFeatureMenu-BS4Rek6j.js.map → AiFeatureMenu-a0gBZiJ9.js.map} +1 -1
  33. package/dist/cdn/chunks/{BlockIssueBadge-BcIQUe_Q.js → BlockIssueBadge-BEEY9o2o.js} +5 -5
  34. package/dist/cdn/chunks/{BlockIssueBadge-BcIQUe_Q.js.map → BlockIssueBadge-BEEY9o2o.js.map} +1 -1
  35. package/dist/cdn/chunks/{BlockPreviewCanvas-oND1iXLL.js → BlockPreviewCanvas-C27XK2q0.js} +22 -22
  36. package/dist/cdn/chunks/{BlockPreviewCanvas-oND1iXLL.js.map → BlockPreviewCanvas-C27XK2q0.js.map} +1 -1
  37. package/dist/cdn/chunks/{CloudEditor-BaqiFbf0.js → CloudEditor-Ddnatfuw.js} +65 -65
  38. package/dist/cdn/chunks/{CloudEditor-BaqiFbf0.js.map → CloudEditor-Ddnatfuw.js.map} +1 -1
  39. package/dist/cdn/chunks/{CollaboratorBar-DF02nTwF.js → CollaboratorBar-C5Xf6Mz9.js} +12 -12
  40. package/dist/cdn/chunks/{CollaboratorBar-DF02nTwF.js.map → CollaboratorBar-C5Xf6Mz9.js.map} +1 -1
  41. package/dist/cdn/chunks/{ColorPicker-BXH44v2H.js → ColorPicker-W_UyiVGc.js} +131 -131
  42. package/dist/cdn/chunks/{ColorPicker-BXH44v2H.js.map → ColorPicker-W_UyiVGc.js.map} +1 -1
  43. package/dist/cdn/chunks/{CommentsSidebar-B9bWvvbl.js → CommentsSidebar-BLRZRSSC.js} +112 -112
  44. package/dist/cdn/chunks/{CommentsSidebar-B9bWvvbl.js.map → CommentsSidebar-BLRZRSSC.js.map} +1 -1
  45. package/dist/cdn/chunks/{CountdownBlock-BTpRd0Hn.js → CountdownBlock-vLTkTI9e.js} +11 -11
  46. package/dist/cdn/chunks/{CountdownBlock-BTpRd0Hn.js.map → CountdownBlock-vLTkTI9e.js.map} +1 -1
  47. package/dist/cdn/chunks/{CountdownToolbar-CW10rbWt.js → CountdownToolbar-DPjcgcVR.js} +41 -41
  48. package/dist/cdn/chunks/{CountdownToolbar-CW10rbWt.js.map → CountdownToolbar-DPjcgcVR.js.map} +1 -1
  49. package/dist/cdn/chunks/{DesignReferenceSidebar-BXjH47QC.js → DesignReferenceSidebar-CZiP00JN.js} +28 -28
  50. package/dist/cdn/chunks/{DesignReferenceSidebar-BXjH47QC.js.map → DesignReferenceSidebar-CZiP00JN.js.map} +1 -1
  51. package/dist/cdn/chunks/{IssuesPanel-DStHCHfr.js → IssuesPanel-DKTS4QVb.js} +32 -32
  52. package/dist/cdn/chunks/{IssuesPanel-DStHCHfr.js.map → IssuesPanel-DKTS4QVb.js.map} +1 -1
  53. package/dist/cdn/chunks/{LoadingTrack-DQowK3MV.js → LoadingTrack-C52ZGL5q.js} +2 -2
  54. package/dist/cdn/chunks/{LoadingTrack-DQowK3MV.js.map → LoadingTrack-C52ZGL5q.js.map} +1 -1
  55. package/dist/cdn/chunks/{MergeTagModeToggle-BCmQg4Qe.js → MergeTagModeToggle-ClGdRNpZ.js} +20 -20
  56. package/dist/cdn/chunks/{MergeTagModeToggle-BCmQg4Qe.js.map → MergeTagModeToggle-ClGdRNpZ.js.map} +1 -1
  57. package/dist/cdn/chunks/{MergeTagSuggestion-BgExdloL.js → MergeTagSuggestion-Dn8dExNa.js} +18 -18
  58. package/dist/cdn/chunks/{MergeTagSuggestion-BgExdloL.js.map → MergeTagSuggestion-Dn8dExNa.js.map} +1 -1
  59. package/dist/cdn/chunks/{NumberWithSuffix-BANVbpT0.js → NumberWithSuffix-BXrRdfq1.js} +22 -22
  60. package/dist/cdn/chunks/{NumberWithSuffix-BANVbpT0.js.map → NumberWithSuffix-BXrRdfq1.js.map} +1 -1
  61. package/dist/cdn/chunks/{ParagraphEditor-DqilB4_f.js → ParagraphEditor-BNc146Pp.js} +43 -43
  62. package/dist/cdn/chunks/{ParagraphEditor-DqilB4_f.js.map → ParagraphEditor-BNc146Pp.js.map} +1 -1
  63. package/dist/cdn/chunks/{RichTextEditorContent-BeJx4LVH.js → RichTextEditorContent-DtL49Jpo.js} +20 -20
  64. package/dist/cdn/chunks/{RichTextEditorContent-BeJx4LVH.js.map → RichTextEditorContent-DtL49Jpo.js.map} +1 -1
  65. package/dist/cdn/chunks/{SaveBlockDialog-Dm31xRZy.js → SaveBlockDialog-ogieDQp7.js} +43 -43
  66. package/dist/cdn/chunks/{SaveBlockDialog-Dm31xRZy.js.map → SaveBlockDialog-ogieDQp7.js.map} +1 -1
  67. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Tp37b4y7.js → SavedBlocksBrowserModal-DSpZcT_T.js} +62 -62
  68. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Tp37b4y7.js.map → SavedBlocksBrowserModal-DSpZcT_T.js.map} +1 -1
  69. package/dist/cdn/chunks/{SavedBlocksPanels-ElerTTa_.js → SavedBlocksPanels-WYrSyf-l.js} +3 -3
  70. package/dist/cdn/chunks/{SavedBlocksPanels-ElerTTa_.js.map → SavedBlocksPanels-WYrSyf-l.js.map} +1 -1
  71. package/dist/cdn/chunks/{SavedBlocksPickBar-QHJ-Mjx0.js → SavedBlocksPickBar-DGbLBG5P.js} +12 -12
  72. package/dist/cdn/chunks/{SavedBlocksPickBar-QHJ-Mjx0.js.map → SavedBlocksPickBar-DGbLBG5P.js.map} +1 -1
  73. package/dist/cdn/chunks/{SnapshotHistory-jogWGLB-.js → SnapshotHistory-VyL4tJwn.js} +26 -26
  74. package/dist/cdn/chunks/{SnapshotHistory-jogWGLB-.js.map → SnapshotHistory-VyL4tJwn.js.map} +1 -1
  75. package/dist/cdn/chunks/{TemplateScoringPanel-B2XIOTl-.js → TemplateScoringPanel-NucRtAP0.js} +34 -34
  76. package/dist/cdn/chunks/{TemplateScoringPanel-B2XIOTl-.js.map → TemplateScoringPanel-NucRtAP0.js.map} +1 -1
  77. package/dist/cdn/chunks/{TestEmailModal-BcPjQygV.js → TestEmailModal-DRte11oT.js} +31 -31
  78. package/dist/cdn/chunks/{TestEmailModal-BcPjQygV.js.map → TestEmailModal-DRte11oT.js.map} +1 -1
  79. package/dist/cdn/chunks/{TestEmailPanel-1zxRa00s.js → TestEmailPanel-CpK5t4E3.js} +3 -3
  80. package/dist/cdn/chunks/{TestEmailPanel-1zxRa00s.js.map → TestEmailPanel-CpK5t4E3.js.map} +1 -1
  81. package/dist/cdn/chunks/{TitleEditor-DTrmublj.js → TitleEditor-EkDchueW.js} +35 -35
  82. package/dist/cdn/chunks/{TitleEditor-DTrmublj.js.map → TitleEditor-EkDchueW.js.map} +1 -1
  83. package/dist/cdn/chunks/{TplModal-By50gtwa.js → TplModal-BGLstO3F.js} +17 -17
  84. package/dist/cdn/chunks/{TplModal-By50gtwa.js.map → TplModal-BGLstO3F.js.map} +1 -1
  85. package/dist/cdn/chunks/{blockTypeIcons-BhFhHuFt.js → blockTypeIcons-FXlMM3PL.js} +2 -2
  86. package/dist/cdn/chunks/{blockTypeIcons-BhFhHuFt.js.map → blockTypeIcons-FXlMM3PL.js.map} +1 -1
  87. package/dist/cdn/chunks/{cloud-B0f7Ub8f.js → cloud-CNpvDuv7.js} +3 -3
  88. package/dist/cdn/chunks/{cloud-B0f7Ub8f.js.map → cloud-CNpvDuv7.js.map} +1 -1
  89. package/dist/cdn/chunks/{dist-H51neg3K.js → dist-B2HKGHnc.js} +3 -3
  90. package/dist/cdn/chunks/{dist-H51neg3K.js.map → dist-B2HKGHnc.js.map} +1 -1
  91. package/dist/cdn/chunks/{dist-B4VIlp1g.js → dist-C6z8AjBC.js} +2 -2
  92. package/dist/cdn/chunks/{dist-B4VIlp1g.js.map → dist-C6z8AjBC.js.map} +1 -1
  93. package/dist/cdn/chunks/{draggable-Z4XXmbPC.js → draggable-DCs9qL-b.js} +2 -2
  94. package/dist/cdn/chunks/{draggable-Z4XXmbPC.js.map → draggable-DCs9qL-b.js.map} +1 -1
  95. package/dist/cdn/chunks/{extensions-Dq0D79tq.js → extensions-CZAB08kD.js} +22 -22
  96. package/dist/cdn/chunks/{extensions-Dq0D79tq.js.map → extensions-CZAB08kD.js.map} +1 -1
  97. package/dist/cdn/chunks/{icons-C_kRN0_C.js → icons-CvYN6zrM.js} +8 -8
  98. package/dist/cdn/chunks/{icons-C_kRN0_C.js.map → icons-CvYN6zrM.js.map} +1 -1
  99. package/dist/cdn/chunks/{keys-DsoX52o_.js → keys-Cmc2Yl3D.js} +2 -2
  100. package/dist/cdn/chunks/{keys-DsoX52o_.js.map → keys-Cmc2Yl3D.js.map} +1 -1
  101. package/dist/cdn/chunks/{liquid.browser-DrGys_ek.js → liquid.browser-UlAOKBjI.js} +99 -91
  102. package/dist/cdn/chunks/liquid.browser-UlAOKBjI.js.map +1 -0
  103. package/dist/cdn/chunks/{src-CRvTVX4F.js → src-BRRRFqXr.js} +201 -201
  104. package/dist/cdn/chunks/{src-CRvTVX4F.js.map → src-BRRRFqXr.js.map} +1 -1
  105. package/dist/cdn/chunks/{src-Aea1Vl1H.js → src-COnW7gMq.js} +123 -123
  106. package/dist/cdn/chunks/src-COnW7gMq.js.map +1 -0
  107. package/dist/cdn/chunks/{src-CZjSXPYq.js → src-DsvVSm7Z.js} +221 -166
  108. package/dist/cdn/chunks/src-DsvVSm7Z.js.map +1 -0
  109. package/dist/cdn/chunks/{src-_GNJgPcS.js → src-DzH5U9Vm.js} +79 -79
  110. package/dist/cdn/chunks/{src-_GNJgPcS.js.map → src-DzH5U9Vm.js.map} +1 -1
  111. package/dist/cdn/chunks/{styles-znpPfrFd.js → styles-DEU_sn3k.js} +935 -917
  112. package/dist/cdn/chunks/styles-DEU_sn3k.js.map +1 -0
  113. package/dist/cdn/chunks/{tiptap-C5vzWlHv.js → tiptap-C44S1Cmh.js} +3480 -2806
  114. package/dist/cdn/chunks/tiptap-C44S1Cmh.js.map +1 -0
  115. package/dist/cdn/chunks/{useAliveFlag-4IDYQRNu.js → useAliveFlag-Dxwgo6P4.js} +2 -2
  116. package/dist/cdn/chunks/{useAliveFlag-4IDYQRNu.js.map → useAliveFlag-Dxwgo6P4.js.map} +1 -1
  117. package/dist/cdn/chunks/{useCloudI18n-D4JpHTPk.js → useCloudI18n-8wkJtuJD.js} +3 -3
  118. package/dist/cdn/chunks/{useCloudI18n-D4JpHTPk.js.map → useCloudI18n-8wkJtuJD.js.map} +1 -1
  119. package/dist/cdn/chunks/{useEditorCore-BMXBmdd8.js → useEditorCore-fyFmWS3D.js} +297 -297
  120. package/dist/cdn/chunks/useEditorCore-fyFmWS3D.js.map +1 -0
  121. package/dist/cdn/chunks/{useI18n-BvcEYzrI.js → useI18n-UMs0F71x.js} +3 -3
  122. package/dist/cdn/chunks/{useI18n-BvcEYzrI.js.map → useI18n-UMs0F71x.js.map} +1 -1
  123. package/dist/cdn/chunks/{useMergeTag-BSdxMUzg.js → useMergeTag-DjQoCGEz.js} +4 -4
  124. package/dist/cdn/chunks/{useMergeTag-BSdxMUzg.js.map → useMergeTag-DjQoCGEz.js.map} +1 -1
  125. package/dist/cdn/chunks/{usePopoverPosition-ig-71caO.js → usePopoverPosition-cf8Y-ynK.js} +3 -3
  126. package/dist/cdn/chunks/{usePopoverPosition-ig-71caO.js.map → usePopoverPosition-cf8Y-ynK.js.map} +1 -1
  127. package/dist/cdn/editor.js +47 -47
  128. package/dist/cdn/editor.js.map +1 -1
  129. package/dist/{check-COV27dGb.js → check-On4TSac-.js} +1 -1
  130. package/dist/{chevron-down-vsU88vcr.js → chevron-down-69EiBGoB.js} +1 -1
  131. package/dist/{chevron-up-RrZ0Rjn9.js → chevron-up-Dh3MG1Dw.js} +1 -1
  132. package/dist/{circle-alert-B6GlHmmi.js → circle-alert-cilwzafX.js} +1 -1
  133. package/dist/{clock-egOt8zjQ.js → clock-Dt0APH92.js} +1 -1
  134. package/dist/{cloud-D-2StbvU.js → cloud-4SuOLNTK.js} +1 -1
  135. package/dist/{createLucideIcon-D6cqT5Pm.js → createLucideIcon-C8WzBYCv.js} +2 -2
  136. package/dist/dist-6YJAWMuf.js +5 -0
  137. package/dist/dist-8vlm9kfO.js +5 -0
  138. package/dist/{dist-DHwnYYx0.js → dist-BImfm-46.js} +2 -2
  139. package/dist/{dist-CQ0fVBQ3.js → dist-BvYvG5SQ.js} +110 -57
  140. package/dist/{dist-DzzTB4eE.js → dist-C08jiemd.js} +7 -7
  141. package/dist/{dist-CqV4XslQ.js → dist-C27SeFL5.js} +15 -15
  142. package/dist/{dist-MwT7T6Xp.js → dist-CYx-E82k.js} +2 -2
  143. package/dist/{dist-CHxPjcxA.js → dist-ChYLhoJ4.js} +2143 -1583
  144. package/dist/{dist-UkG5ZJ1P.js → dist-Cl8J0IES.js} +258 -172
  145. package/dist/{dist-D4GoAr2g.js → dist-DMJRSouD.js} +464 -436
  146. package/dist/{dist-GUZZpDK3.js → dist-DfpeSdmE.js} +2 -2
  147. package/dist/{dist-Du95Y9M3.js → dist-M7m1lYRe.js} +47 -47
  148. package/dist/{dist-vpuiQ7_Q.js → dist-g6cbzhZW.js} +2 -2
  149. package/dist/{extensions-y6KjLr9t.js → extensions-Dz5jj0wf.js} +16 -16
  150. package/dist/{image-up-CycES-MQ.js → image-up-Ceggh_R3.js} +1 -1
  151. package/dist/{info-BUdvm046.js → info-DO5odBcZ.js} +1 -1
  152. package/dist/{liquid.browser-Di5zMIEx.js → liquid.browser-B-rGrnrQ.js} +98 -90
  153. package/dist/{list-checks-BAeuuATD.js → list-checks-BSkPKbuI.js} +1 -1
  154. package/dist/{loader-circle-L5yuAx_j.js → loader-circle-bO7o7_HD.js} +1 -1
  155. package/dist/{message-circle-DRdaapVc.js → message-circle-BEkAk65X.js} +1 -1
  156. package/dist/{pencil-BfErVPf_.js → pencil-t6m0EtKL.js} +1 -1
  157. package/dist/{refresh-cw-D0PYatER.js → refresh-cw-CkOYVzK5.js} +1 -1
  158. package/dist/{scan-line-Byi3fJcr.js → scan-line-DwSVj25O.js} +1 -1
  159. package/dist/{send-DuyNexMY.js → send-CWsWN8PQ.js} +1 -1
  160. package/dist/{shield-check-BkkN_1qw.js → shield-check-qje8Kufw.js} +1 -1
  161. package/dist/{sparkles-DAw2sBXk.js → sparkles-DumaWRW-.js} +1 -1
  162. package/dist/{styles-BzwheHH_.js → styles-DbP2S8Z1.js} +446 -428
  163. package/dist/templatical-editor.js +9 -9
  164. package/dist/{text-align-start-Ba3xJKn6.js → text-align-start-Ir8Ah4mT.js} +1 -1
  165. package/dist/{trash-2-CapEBXBI.js → trash-2-CklAFCmO.js} +1 -1
  166. package/dist/{triangle-alert-52pdw8jI.js → triangle-alert-BBi4n93g.js} +1 -1
  167. package/dist/{upload-oAgigC31.js → upload-sVqqppuv.js} +1 -1
  168. package/dist/{useEditorCore-BhjEMSeE.js → useEditorCore-CbcmGpwp.js} +889 -889
  169. package/dist/{useMergeTag-DTSOQnyr.js → useMergeTag-B9xG9EJ7.js} +1 -1
  170. package/dist/{x-DvBgbDuf.js → x-Mby7KlhS.js} +1 -1
  171. package/package.json +23 -23
  172. package/dist/cdn/chunks/liquid.browser-DrGys_ek.js.map +0 -1
  173. package/dist/cdn/chunks/src-Aea1Vl1H.js.map +0 -1
  174. package/dist/cdn/chunks/src-CZjSXPYq.js.map +0 -1
  175. package/dist/cdn/chunks/styles-znpPfrFd.js.map +0 -1
  176. package/dist/cdn/chunks/tiptap-C5vzWlHv.js.map +0 -1
  177. package/dist/cdn/chunks/useEditorCore-BMXBmdd8.js.map +0 -1
  178. package/dist/dist-B56SufAv.js +0 -5
  179. package/dist/dist-BQZkRg05.js +0 -5
@@ -1,9 +1,9 @@
1
- import { H as e, M as t, O as n, P as r, V as i, Z as a, ct as o, f as s, g as c, h as l, it as u, m as d, n as f, o as p, ot as m, p as h, st as ee, u as g, v as te, x as _, y as v, z as y } from "./draggable-Z4XXmbPC.js";
2
- import { G as b, d as ne, g as re, i as ie } from "./keys-DsoX52o_.js";
3
- import { t as ae } from "./useI18n-BvcEYzrI.js";
4
- import { It as oe, K as x, L as se, Lt as ce, M as S, Nt as le, d as C, it as w, jt as ue, n as de, tt as T } from "./icons-C_kRN0_C.js";
1
+ import { H as e, M as t, O as n, P as r, V as i, Z as a, ct as ee, f as o, g as s, h as c, it as l, lt as u, m as d, n as f, o as p, p as m, st as h, u as g, v as te, x as _, y as v, z as y } from "./draggable-DCs9qL-b.js";
2
+ import { G as b, d as ne, g as re, i as ie } from "./keys-Cmc2Yl3D.js";
3
+ import { t as ae } from "./useI18n-UMs0F71x.js";
4
+ import { It as oe, K as x, L as se, Lt as ce, M as S, Nt as le, d as C, it as w, jt as ue, n as de, tt as T } from "./icons-CvYN6zrM.js";
5
5
  import { t as E } from "./_plugin-vue_export-helper-B3ysoDQm.js";
6
- import { n as fe } from "./useCloudI18n-D4JpHTPk.js";
6
+ import { n as fe } from "./useCloudI18n-8wkJtuJD.js";
7
7
  import { t as pe } from "./formatRelativeTime-CtUU-QZ8.js";
8
8
  //#region src/cloud/components/CommentsSidebar.vue?vue&type=script&setup=true&lang.ts
9
9
  var me = {
@@ -71,7 +71,7 @@ var me = {
71
71
  props: { visible: { type: Boolean } },
72
72
  emits: ["close", "filterBlock"],
73
73
  setup(_, { expose: E, emit: D }) {
74
- let xt = _, O = D, { format: k } = ae(), { t: A } = fe(), j = b(re, "CommentsSidebar"), St = b(ie, "CommentsSidebar"), M = b(ne, "CommentsSidebar"), N = a("unresolved"), P = a(null), F = a(""), I = a(null), L = a(""), R = a(null), z = a(""), B = a(/* @__PURE__ */ new Set()), V = a(null), H = a(null), Ct = s(() => St.userConfig?.id ?? null), wt = s(() => {
74
+ let xt = _, O = D, { format: k } = ae(), { t: A } = fe(), j = b(re, "CommentsSidebar"), St = b(ie, "CommentsSidebar"), M = b(ne, "CommentsSidebar"), N = a("unresolved"), P = a(null), F = a(""), I = a(null), L = a(""), R = a(null), z = a(""), B = a(/* @__PURE__ */ new Set()), V = a(null), H = a(null), Ct = o(() => St.userConfig?.id ?? null), wt = o(() => {
75
75
  let e = /* @__PURE__ */ new Set();
76
76
  for (let t of j.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);
77
77
  return e;
@@ -79,7 +79,7 @@ var me = {
79
79
  function Tt(e) {
80
80
  return e ? !wt.value.has(e) : !1;
81
81
  }
82
- let Et = s(() => N.value !== "block" || !P.value ? !1 : !(j.savedBlockIds?.value.has(P.value) ?? !0)), U = s(() => {
82
+ let Et = o(() => N.value !== "block" || !P.value ? !1 : !(j.savedBlockIds?.value.has(P.value) ?? !0)), U = o(() => {
83
83
  let e = M.comments.value;
84
84
  return N.value === "unresolved" ? e = e.filter((e) => !e.resolved_at) : N.value === "block" && P.value && (e = e.filter((e) => e.block_id === P.value)), e;
85
85
  });
@@ -166,242 +166,242 @@ var me = {
166
166
  "leave-from-class": "tpl:translate-x-0",
167
167
  "leave-to-class": "tpl:translate-x-full"
168
168
  }, {
169
- default: i(() => [_.visible ? (t(), c("div", me, [
170
- h("div", he, [h("div", ge, [
171
- v(u(T), {
169
+ default: i(() => [_.visible ? (t(), s("div", me, [
170
+ m("div", he, [m("div", ge, [
171
+ v(l(T), {
172
172
  size: 13,
173
173
  "stroke-width": 2
174
174
  }),
175
- h("span", null, o(u(A).comments.title), 1),
176
- u(M).unresolvedCount.value > 0 ? (t(), c("span", _e, o(u(M).unresolvedCount.value), 1)) : l("", !0)
177
- ]), h("button", {
175
+ m("span", null, u(l(A).comments.title), 1),
176
+ l(M).unresolvedCount.value > 0 ? (t(), s("span", _e, u(l(M).unresolvedCount.value), 1)) : c("", !0)
177
+ ]), m("button", {
178
178
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
179
179
  onClick: a[0] ||= (e) => O("close")
180
- }, [v(u(de), {
180
+ }, [v(l(de), {
181
181
  size: 14,
182
182
  "stroke-width": 2
183
183
  })])]),
184
- h("div", ve, [
185
- h("button", {
186
- class: m(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:duration-150", N.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
184
+ m("div", ve, [
185
+ m("button", {
186
+ class: h(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:duration-150", N.value === "unresolved" ? "tpl-comment-filter--active" : ""]),
187
187
  onClick: a[1] ||= (e) => W("unresolved")
188
- }, o(u(A).comments.filterUnresolved), 3),
189
- h("button", {
190
- class: m(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:duration-150", N.value === "all" ? "tpl-comment-filter--active" : ""]),
188
+ }, u(l(A).comments.filterUnresolved), 3),
189
+ m("button", {
190
+ class: h(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:duration-150", N.value === "all" ? "tpl-comment-filter--active" : ""]),
191
191
  onClick: a[2] ||= (e) => W("all")
192
- }, o(u(A).comments.filterAll), 3),
193
- u(j).state.selectedBlockId ? (t(), c("button", {
192
+ }, u(l(A).comments.filterAll), 3),
193
+ l(j).state.selectedBlockId ? (t(), s("button", {
194
194
  key: 0,
195
- class: m(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:duration-150", N.value === "block" ? "tpl-comment-filter--active" : ""]),
196
- onClick: a[3] ||= (e) => W("block", u(j).state.selectedBlockId ?? void 0)
197
- }, o(u(A).comments.filterBlock), 3)) : l("", !0)
195
+ class: h(["tpl-comment-filter tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:duration-150", N.value === "block" ? "tpl-comment-filter--active" : ""]),
196
+ onClick: a[3] ||= (e) => W("block", l(j).state.selectedBlockId ?? void 0)
197
+ }, u(l(A).comments.filterBlock), 3)) : c("", !0)
198
198
  ]),
199
- h("div", ye, [u(M).isLoading.value ? (t(), c("div", be, [v(u(w), {
199
+ m("div", ye, [l(M).isLoading.value ? (t(), s("div", be, [v(l(w), {
200
200
  class: "tpl-spinner tpl:text-[var(--tpl-text-muted)]",
201
201
  size: 24,
202
202
  "stroke-width": 2
203
- })])) : U.value.length === 0 ? (t(), c("div", xe, [v(u(T), {
203
+ })])) : U.value.length === 0 ? (t(), s("div", xe, [v(l(T), {
204
204
  size: 32,
205
205
  "stroke-width": 1.5,
206
206
  class: "tpl:text-[var(--tpl-text-dim)]"
207
- }), h("p", Se, o(N.value === "all" ? u(A).comments.noCommentsHint : u(A).comments.noComments), 1)])) : (t(), c("div", Ce, [(t(!0), c(g, null, r(U.value, (n) => (t(), c("div", {
207
+ }), m("p", Se, u(N.value === "all" ? l(A).comments.noCommentsHint : l(A).comments.noComments), 1)])) : (t(), s("div", Ce, [(t(!0), s(g, null, r(U.value, (n) => (t(), s("div", {
208
208
  key: n.id,
209
209
  class: "tpl-comment-thread"
210
210
  }, [
211
- h("div", we, [
212
- h("div", Te, [h("div", Ee, [
213
- h("span", De, o($(n) ? u(A).comments.ownedByYou : n.author_name), 1),
214
- h("span", Oe, o(Mt(n.created_at)), 1),
215
- n.updated_at === n.created_at ? l("", !0) : (t(), c("span", ke, " (" + o(u(A).comments.edited) + ") ", 1))
216
- ]), h("div", Ae, [
217
- h("button", {
211
+ m("div", we, [
212
+ m("div", Te, [m("div", Ee, [
213
+ m("span", De, u($(n) ? l(A).comments.ownedByYou : n.author_name), 1),
214
+ m("span", Oe, u(Mt(n.created_at)), 1),
215
+ n.updated_at === n.created_at ? c("", !0) : (t(), s("span", ke, " (" + u(l(A).comments.edited) + ") ", 1))
216
+ ]), m("div", Ae, [
217
+ m("button", {
218
218
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors tpl:duration-150",
219
- title: n.resolved_at ? u(A).comments.unresolve : u(A).comments.resolve,
219
+ title: n.resolved_at ? l(A).comments.unresolve : l(A).comments.resolve,
220
220
  onClick: (e) => jt(n.id)
221
- }, [v(u(ue), {
221
+ }, [v(l(ue), {
222
222
  size: 13,
223
223
  "stroke-width": 2,
224
224
  class: "tpl-resolve-icon",
225
225
  style: ee({ color: n.resolved_at ? "var(--tpl-primary)" : void 0 })
226
226
  }, null, 8, ["style"])], 8, je),
227
- $(n) ? (t(), c("button", {
227
+ $(n) ? (t(), s("button", {
228
228
  key: 0,
229
229
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors tpl:duration-150",
230
- title: u(A).comments.edit,
230
+ title: l(A).comments.edit,
231
231
  onClick: (e) => G(n)
232
- }, [v(u(x), {
232
+ }, [v(l(x), {
233
233
  size: 12,
234
234
  "stroke-width": 2
235
- })], 8, Me)) : l("", !0),
236
- $(n) ? (t(), c("button", {
235
+ })], 8, Me)) : c("", !0),
236
+ $(n) ? (t(), s("button", {
237
237
  key: 1,
238
238
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors tpl:duration-150",
239
- title: u(A).comments.delete,
239
+ title: l(A).comments.delete,
240
240
  onClick: (e) => q(n.id)
241
- }, [v(u(C), {
241
+ }, [v(l(C), {
242
242
  size: 12,
243
243
  "stroke-width": 2
244
- })], 8, Ne)) : l("", !0)
244
+ })], 8, Ne)) : c("", !0)
245
245
  ])]),
246
246
  v(f, { name: "tpl-resolve" }, {
247
- default: i(() => [n.resolved_at ? (t(), c("div", Pe, [v(u(ce), {
247
+ default: i(() => [n.resolved_at ? (t(), s("div", Pe, [v(l(ce), {
248
248
  size: 10,
249
249
  "stroke-width": 2.5
250
- }), h("span", null, o(u(k)(u(A).comments.resolvedBy, { name: n.resolved_by_name ?? "" })), 1)])) : l("", !0)]),
250
+ }), m("span", null, u(l(k)(l(A).comments.resolvedBy, { name: n.resolved_by_name ?? "" })), 1)])) : c("", !0)]),
251
251
  _: 2
252
252
  }, 1024),
253
- n.block_id && Tt(n.block_id) ? (t(), c("span", Fe, o(u(A).comments.missingBlock), 1)) : n.block_id ? (t(), c("button", {
253
+ n.block_id && Tt(n.block_id) ? (t(), s("span", Fe, u(l(A).comments.missingBlock), 1)) : n.block_id ? (t(), s("button", {
254
254
  key: 1,
255
255
  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:duration-150 tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]",
256
- onClick: (e) => u(j).selectBlock(n.block_id ?? "")
257
- }, " Block ", 8, Ie)) : l("", !0),
258
- R.value === n.id ? (t(), c("div", Le, [e(h("textarea", {
256
+ onClick: (e) => l(j).selectBlock(n.block_id ?? "")
257
+ }, " Block ", 8, Ie)) : c("", !0),
258
+ R.value === n.id ? (t(), s("div", Le, [e(m("textarea", {
259
259
  "onUpdate:modelValue": a[4] ||= (e) => z.value = e,
260
260
  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)]",
261
261
  rows: "3",
262
262
  onKeydown: (e) => Ft(e, n.id)
263
- }, null, 40, Re), [[p, z.value]]), h("div", ze, [h("button", {
263
+ }, null, 40, Re), [[p, z.value]]), m("div", ze, [m("button", {
264
264
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
265
- disabled: !z.value.trim() || u(M).isSubmitting.value,
265
+ disabled: !z.value.trim() || l(M).isSubmitting.value,
266
266
  onClick: (e) => Z(n.id)
267
- }, o(u(A).comments.save), 9, Be), h("button", {
267
+ }, u(l(A).comments.save), 9, Be), m("button", {
268
268
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
269
269
  onClick: a[5] ||= (e) => K()
270
- }, o(u(A).comments.cancel), 1)])])) : (t(), c("p", Ve, o(n.body), 1)),
271
- V.value === n.id ? (t(), c("div", He, [
272
- h("span", Ue, o(u(A).comments.deleteConfirm), 1),
273
- h("button", {
270
+ }, u(l(A).comments.cancel), 1)])])) : (t(), s("p", Ve, u(n.body), 1)),
271
+ V.value === n.id ? (t(), s("div", He, [
272
+ m("span", Ue, u(l(A).comments.deleteConfirm), 1),
273
+ m("button", {
274
274
  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)]",
275
275
  onClick: (e) => Q(n.id)
276
- }, o(u(A).comments.delete), 9, We),
277
- h("button", {
276
+ }, u(l(A).comments.delete), 9, We),
277
+ m("button", {
278
278
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
279
279
  onClick: a[6] ||= (e) => J()
280
- }, o(u(A).comments.cancel), 1)
281
- ])) : l("", !0),
282
- R.value !== n.id && V.value !== n.id ? (t(), c("div", Ge, [h("button", {
280
+ }, u(l(A).comments.cancel), 1)
281
+ ])) : c("", !0),
282
+ R.value !== n.id && V.value !== n.id ? (t(), s("div", Ge, [m("button", {
283
283
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors tpl:duration-150",
284
- title: u(A).comments.reply,
284
+ title: l(A).comments.reply,
285
285
  onClick: (e) => kt(n.id)
286
- }, [v(u(se), {
286
+ }, [v(l(se), {
287
287
  size: 13,
288
288
  "stroke-width": 2,
289
289
  class: "tpl:text-[var(--tpl-primary)]"
290
- })], 8, Ke), (n.replies?.length ?? 0) > 0 ? (t(), c("button", {
290
+ })], 8, Ke), (n.replies?.length ?? 0) > 0 ? (t(), s("button", {
291
291
  key: 0,
292
292
  class: "tpl:flex tpl:items-center tpl:gap-0.5 tpl:text-[11px] tpl:font-medium tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
293
293
  onClick: (e) => Ot(n.id)
294
- }, [B.value.has(n.id) ? (t(), d(u(le), {
294
+ }, [B.value.has(n.id) ? (t(), d(l(le), {
295
295
  key: 0,
296
296
  size: 11,
297
297
  "stroke-width": 2
298
- })) : (t(), d(u(oe), {
298
+ })) : (t(), d(l(oe), {
299
299
  key: 1,
300
300
  size: 11,
301
301
  "stroke-width": 2
302
- })), te(" " + o((n.replies?.length ?? 0) === 1 ? u(k)(u(A).comments.replyOne, { count: String(n.replies?.length ?? 0) }) : u(k)(u(A).comments.replyMany, { count: String(n.replies?.length ?? 0) })), 1)], 8, qe)) : l("", !0)])) : l("", !0)
302
+ })), te(" " + u((n.replies?.length ?? 0) === 1 ? l(k)(l(A).comments.replyOne, { count: String(n.replies?.length ?? 0) }) : l(k)(l(A).comments.replyMany, { count: String(n.replies?.length ?? 0) })), 1)], 8, qe)) : c("", !0)])) : c("", !0)
303
303
  ]),
304
304
  v(f, { name: "tpl-replies" }, {
305
- default: i(() => [B.value.has(n.id) && (n.replies?.length ?? 0) > 0 ? (t(), c("div", Je, [(t(!0), c(g, null, r(n.replies, (r, i) => (t(), c("div", {
305
+ default: i(() => [B.value.has(n.id) && (n.replies?.length ?? 0) > 0 ? (t(), s("div", Je, [(t(!0), s(g, null, r(n.replies, (r, i) => (t(), s("div", {
306
306
  key: r.id,
307
- class: m(["tpl-comment-reply-card tpl:relative tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-2.5", i < (n.replies?.length ?? 0) - 1 ? "tpl:mb-2" : ""])
307
+ class: h(["tpl-comment-reply-card tpl:relative tpl:rounded-lg tpl:border tpl:px-3.5 tpl:py-2.5", i < (n.replies?.length ?? 0) - 1 ? "tpl:mb-2" : ""])
308
308
  }, [
309
- h("div", Ye, [h("div", Xe, [
310
- h("span", Ze, o($(r) ? u(A).comments.ownedByYou : r.author_name), 1),
311
- h("span", Qe, o(Mt(r.created_at)), 1),
312
- r.updated_at === r.created_at ? l("", !0) : (t(), c("span", $e, " (" + o(u(A).comments.edited) + ") ", 1))
313
- ]), h("div", et, [$(r) ? (t(), c("button", {
309
+ m("div", Ye, [m("div", Xe, [
310
+ m("span", Ze, u($(r) ? l(A).comments.ownedByYou : r.author_name), 1),
311
+ m("span", Qe, u(Mt(r.created_at)), 1),
312
+ r.updated_at === r.created_at ? c("", !0) : (t(), s("span", $e, " (" + u(l(A).comments.edited) + ") ", 1))
313
+ ]), m("div", et, [$(r) ? (t(), s("button", {
314
314
  key: 0,
315
315
  class: "tpl-comment-action tpl:rounded tpl:p-1 tpl:transition-colors tpl:duration-150",
316
- title: u(A).comments.edit,
316
+ title: l(A).comments.edit,
317
317
  onClick: (e) => G(r)
318
- }, [v(u(x), {
318
+ }, [v(l(x), {
319
319
  size: 11,
320
320
  "stroke-width": 2
321
- })], 8, tt)) : l("", !0), $(r) ? (t(), c("button", {
321
+ })], 8, tt)) : c("", !0), $(r) ? (t(), s("button", {
322
322
  key: 1,
323
323
  class: "tpl-comment-action tpl-comment-delete tpl:rounded tpl:p-1 tpl:transition-colors tpl:duration-150",
324
- title: u(A).comments.delete,
324
+ title: l(A).comments.delete,
325
325
  onClick: (e) => q(r.id)
326
- }, [v(u(C), {
326
+ }, [v(l(C), {
327
327
  size: 11,
328
328
  "stroke-width": 2
329
- })], 8, nt)) : l("", !0)])]),
330
- R.value === r.id ? (t(), c("div", rt, [e(h("textarea", {
329
+ })], 8, nt)) : c("", !0)])]),
330
+ R.value === r.id ? (t(), s("div", rt, [e(m("textarea", {
331
331
  "onUpdate:modelValue": a[7] ||= (e) => z.value = e,
332
332
  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)]",
333
333
  rows: "2",
334
334
  onKeydown: (e) => Ft(e, r.id)
335
- }, null, 40, it), [[p, z.value]]), h("div", at, [h("button", {
335
+ }, null, 40, it), [[p, z.value]]), m("div", at, [m("button", {
336
336
  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-bg)]",
337
- disabled: !z.value.trim() || u(M).isSubmitting.value,
337
+ disabled: !z.value.trim() || l(M).isSubmitting.value,
338
338
  onClick: (e) => Z(r.id)
339
- }, o(u(A).comments.save), 9, ot), h("button", {
339
+ }, u(l(A).comments.save), 9, ot), m("button", {
340
340
  class: "tpl:rounded-md tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
341
341
  onClick: a[8] ||= (e) => K()
342
- }, o(u(A).comments.cancel), 1)])])) : (t(), c("p", st, o(r.body), 1)),
343
- V.value === r.id ? (t(), c("div", ct, [
344
- h("span", lt, o(u(A).comments.deleteConfirm), 1),
345
- h("button", {
342
+ }, u(l(A).comments.cancel), 1)])])) : (t(), s("p", st, u(r.body), 1)),
343
+ V.value === r.id ? (t(), s("div", ct, [
344
+ m("span", lt, u(l(A).comments.deleteConfirm), 1),
345
+ m("button", {
346
346
  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)]",
347
347
  onClick: (e) => Q(r.id)
348
- }, o(u(A).comments.delete), 9, ut),
349
- h("button", {
348
+ }, u(l(A).comments.delete), 9, ut),
349
+ m("button", {
350
350
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
351
351
  onClick: a[9] ||= (e) => J()
352
- }, o(u(A).comments.cancel), 1)
353
- ])) : l("", !0)
354
- ], 2))), 128))])) : l("", !0)]),
352
+ }, u(l(A).comments.cancel), 1)
353
+ ])) : c("", !0)
354
+ ], 2))), 128))])) : c("", !0)]),
355
355
  _: 2
356
356
  }, 1024),
357
357
  v(f, { name: "tpl-replies" }, {
358
- default: i(() => [I.value === n.id ? (t(), c("div", dt, [h("div", ft, [e(h("textarea", {
358
+ default: i(() => [I.value === n.id ? (t(), s("div", dt, [m("div", ft, [e(m("textarea", {
359
359
  "onUpdate:modelValue": a[10] ||= (e) => L.value = e,
360
360
  class: "tpl:flex-1 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)]",
361
- placeholder: u(A).comments.replyPlaceholder,
361
+ placeholder: l(A).comments.replyPlaceholder,
362
362
  rows: "2",
363
363
  onKeydown: (e) => Pt(e, n.id)
364
- }, null, 40, pt), [[p, L.value]]), h("div", mt, [h("button", {
364
+ }, null, 40, pt), [[p, L.value]]), m("div", mt, [m("button", {
365
365
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-colors tpl:duration-150 tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
366
- disabled: !L.value.trim() || u(M).isSubmitting.value,
366
+ disabled: !L.value.trim() || l(M).isSubmitting.value,
367
367
  onClick: (e) => X(n.id)
368
- }, [v(u(S), {
368
+ }, [v(l(S), {
369
369
  size: 14,
370
370
  "stroke-width": 2
371
- })], 8, ht), h("button", {
371
+ })], 8, ht), m("button", {
372
372
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1.5 tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
373
373
  onClick: a[11] ||= (e) => At()
374
- }, [v(u(de), {
374
+ }, [v(l(de), {
375
375
  size: 14,
376
376
  "stroke-width": 2
377
- })])])])])) : l("", !0)]),
377
+ })])])])])) : c("", !0)]),
378
378
  _: 2
379
379
  }, 1024)
380
380
  ]))), 128))]))]),
381
- h("div", gt, [Et.value ? (t(), c("div", _t, o(u(A).comments.saveTemplateFirst), 1)) : (t(), c("div", vt, [e(h("textarea", {
381
+ m("div", gt, [Et.value ? (t(), s("div", _t, u(l(A).comments.saveTemplateFirst), 1)) : (t(), s("div", vt, [e(m("textarea", {
382
382
  ref_key: "newCommentInput",
383
383
  ref: H,
384
384
  "onUpdate:modelValue": a[12] ||= (e) => F.value = e,
385
385
  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)]",
386
- placeholder: u(A).comments.placeholder,
387
- disabled: u(M).isSubmitting.value,
386
+ placeholder: l(A).comments.placeholder,
387
+ disabled: l(M).isSubmitting.value,
388
388
  rows: "2",
389
389
  onKeydown: Nt
390
- }, null, 40, yt), [[p, F.value]]), h("button", {
390
+ }, null, 40, yt), [[p, F.value]]), m("button", {
391
391
  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:duration-150 tpl:disabled:opacity-40 tpl:text-[var(--tpl-primary)]",
392
- disabled: !F.value.trim() || u(M).isSubmitting.value,
392
+ disabled: !F.value.trim() || l(M).isSubmitting.value,
393
393
  onClick: Y
394
- }, [u(M).isSubmitting.value ? (t(), d(u(w), {
394
+ }, [l(M).isSubmitting.value ? (t(), d(l(w), {
395
395
  key: 0,
396
396
  class: "tpl-spinner",
397
397
  size: 16,
398
398
  "stroke-width": 2
399
- })) : (t(), d(u(S), {
399
+ })) : (t(), d(l(S), {
400
400
  key: 1,
401
401
  size: 16,
402
402
  "stroke-width": 2
403
403
  }))], 8, bt)]))])
404
- ])) : l("", !0)]),
404
+ ])) : c("", !0)]),
405
405
  _: 1
406
406
  }));
407
407
  }
@@ -409,4 +409,4 @@ var me = {
409
409
  //#endregion
410
410
  export { D as default };
411
411
 
412
- //# sourceMappingURL=CommentsSidebar-B9bWvvbl.js.map
412
+ //# sourceMappingURL=CommentsSidebar-BLRZRSSC.js.map