@templatical/editor 0.25.1 → 0.26.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 (195) hide show
  1. package/dist/{AiChatSidebar-BYMdVldY.js → AiChatSidebar-c-3yyjN1.js} +14 -14
  2. package/dist/{AiFeatureMenu-BhHhnu9G.js → AiFeatureMenu-B-COyG7k.js} +7 -7
  3. package/dist/{BlockIssueBadge-De36PJC4.js → BlockIssueBadge-Buk3_6QF.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-BxSoA1QV.js → BlockPreviewCanvas-CJPHGI93.js} +3 -3
  5. package/dist/{CloudEditor-BXfuytQj.js → CloudEditor-BdSQ8hfv.js} +26 -26
  6. package/dist/{CollaboratorBar-D9AfWRTH.js → CollaboratorBar-mGoi6yye.js} +4 -4
  7. package/dist/{ColorPicker-VPq4ASC8.js → ColorPicker-ClETsjA3.js} +6 -6
  8. package/dist/{CommentsSidebar-C8BLy3Pr.js → CommentsSidebar-CdRCCSDD.js} +15 -15
  9. package/dist/{CountdownBlock-Bs2Q_bFX.js → CountdownBlock-DuyvGcr8.js} +3 -3
  10. package/dist/{CountdownToolbar-Cic6cdOw.js → CountdownToolbar-CBE9wRaV.js} +4 -4
  11. package/dist/{DesignReferenceSidebar-k-26nkJI.js → DesignReferenceSidebar-CgYkySre.js} +11 -11
  12. package/dist/{IssuesPanel-NPzwTPYW.js → IssuesPanel-Do7RLXsP.js} +8 -8
  13. package/dist/{LoadingTrack-DH3OEM3z.js → LoadingTrack-BexpNuTV.js} +1 -1
  14. package/dist/{MergeTagModeToggle-DEGyx8tw.js → MergeTagModeToggle-hAJgIKhw.js} +6 -6
  15. package/dist/{MergeTagSuggestion-DvisJ9im.js → MergeTagSuggestion-BJ43ihWR.js} +34 -32
  16. package/dist/{NumberWithSuffix-CuHCIwSn.js → NumberWithSuffix-D37ZWiZh.js} +2 -2
  17. package/dist/{ParagraphEditor-DK_IPi9H.js → ParagraphEditor-DBG63S70.js} +74 -80
  18. package/dist/{RichTextEditorContent-DznIQcdY.js → RichTextEditorContent-fbYJXAio.js} +8 -8
  19. package/dist/{SaveBlockDialog-R9PbMsy-.js → SaveBlockDialog-Dq9UVihi.js} +10 -10
  20. package/dist/{SavedBlocksBrowserModal-ttPAklPE.js → SavedBlocksBrowserModal-CtFG4zeV.js} +11 -11
  21. package/dist/{SavedBlocksPanels-BCwQgKLF.js → SavedBlocksPanels-DNVdso_W.js} +2 -2
  22. package/dist/{SavedBlocksPickBar-DD5Ddv9t.js → SavedBlocksPickBar-Cv4dIpP-.js} +4 -4
  23. package/dist/{SnapshotHistory-BXSTGgBh.js → SnapshotHistory-DsOtMHOV.js} +10 -10
  24. package/dist/{TemplateScoringPanel-Ue6Dfnjb.js → TemplateScoringPanel-BZUsb3FD.js} +15 -15
  25. package/dist/{TestEmailModal-KPFc5oSv.js → TestEmailModal-CIwqtGfr.js} +11 -11
  26. package/dist/{TestEmailPanel-b8GHTrnE.js → TestEmailPanel-l6LDmBGM.js} +2 -2
  27. package/dist/{TitleEditor-8ln7UBr_.js → TitleEditor-imoBUynh.js} +12 -12
  28. package/dist/{TplModal-D_FA3Wm3.js → TplModal-DDDHcoir.js} +5 -5
  29. package/dist/{blockTypeIcons-BoZeK6l7.js → blockTypeIcons-CfLN4A6t.js} +2 -2
  30. package/dist/bundle-stats.json +6 -6
  31. package/dist/cdn/chunks/{AiChatSidebar-D6jGwb4y.js → AiChatSidebar-BHqNxNcX.js} +35 -35
  32. package/dist/cdn/chunks/{AiChatSidebar-D6jGwb4y.js.map → AiChatSidebar-BHqNxNcX.js.map} +1 -1
  33. package/dist/cdn/chunks/{AiFeatureMenu-BtEcjxLL.js → AiFeatureMenu-D2AIDwEG.js} +13 -13
  34. package/dist/cdn/chunks/{AiFeatureMenu-BtEcjxLL.js.map → AiFeatureMenu-D2AIDwEG.js.map} +1 -1
  35. package/dist/cdn/chunks/{BlockIssueBadge-dnqZk6pl.js → BlockIssueBadge-BEEY9o2o.js} +5 -5
  36. package/dist/cdn/chunks/{BlockIssueBadge-dnqZk6pl.js.map → BlockIssueBadge-BEEY9o2o.js.map} +1 -1
  37. package/dist/cdn/chunks/{BlockPreviewCanvas-D8pfTFWi.js → BlockPreviewCanvas-DH5ULGkw.js} +22 -22
  38. package/dist/cdn/chunks/{BlockPreviewCanvas-D8pfTFWi.js.map → BlockPreviewCanvas-DH5ULGkw.js.map} +1 -1
  39. package/dist/cdn/chunks/{CloudEditor-BJ4-pPAl.js → CloudEditor-C0nB1JfD.js} +67 -67
  40. package/dist/cdn/chunks/{CloudEditor-BJ4-pPAl.js.map → CloudEditor-C0nB1JfD.js.map} +1 -1
  41. package/dist/cdn/chunks/{CollaboratorBar-SeUOuLeJ.js → CollaboratorBar-f6Ni7KNH.js} +12 -12
  42. package/dist/cdn/chunks/{CollaboratorBar-SeUOuLeJ.js.map → CollaboratorBar-f6Ni7KNH.js.map} +1 -1
  43. package/dist/cdn/chunks/{ColorPicker-yxvrro60.js → ColorPicker-W_UyiVGc.js} +131 -131
  44. package/dist/cdn/chunks/{ColorPicker-yxvrro60.js.map → ColorPicker-W_UyiVGc.js.map} +1 -1
  45. package/dist/cdn/chunks/{CommentsSidebar-FPbg-FuU.js → CommentsSidebar-BLRZRSSC.js} +112 -112
  46. package/dist/cdn/chunks/{CommentsSidebar-FPbg-FuU.js.map → CommentsSidebar-BLRZRSSC.js.map} +1 -1
  47. package/dist/cdn/chunks/{CountdownBlock-D2Oth7YY.js → CountdownBlock-vLTkTI9e.js} +11 -11
  48. package/dist/cdn/chunks/{CountdownBlock-D2Oth7YY.js.map → CountdownBlock-vLTkTI9e.js.map} +1 -1
  49. package/dist/cdn/chunks/{CountdownToolbar-BNgTBQGB.js → CountdownToolbar-DPjcgcVR.js} +41 -41
  50. package/dist/cdn/chunks/{CountdownToolbar-BNgTBQGB.js.map → CountdownToolbar-DPjcgcVR.js.map} +1 -1
  51. package/dist/cdn/chunks/{DesignReferenceSidebar-ChB_HBK1.js → DesignReferenceSidebar-DBoEBKxQ.js} +34 -34
  52. package/dist/cdn/chunks/{DesignReferenceSidebar-ChB_HBK1.js.map → DesignReferenceSidebar-DBoEBKxQ.js.map} +1 -1
  53. package/dist/cdn/chunks/{IssuesPanel-CjiZ8cLW.js → IssuesPanel-DKTS4QVb.js} +32 -32
  54. package/dist/cdn/chunks/{IssuesPanel-CjiZ8cLW.js.map → IssuesPanel-DKTS4QVb.js.map} +1 -1
  55. package/dist/cdn/chunks/{LoadingTrack-CiNg9s16.js → LoadingTrack-C52ZGL5q.js} +2 -2
  56. package/dist/cdn/chunks/{LoadingTrack-CiNg9s16.js.map → LoadingTrack-C52ZGL5q.js.map} +1 -1
  57. package/dist/cdn/chunks/{MergeTagModeToggle-CiYbOKzd.js → MergeTagModeToggle-D8iKvz7v.js} +28 -28
  58. package/dist/cdn/chunks/{MergeTagModeToggle-CiYbOKzd.js.map → MergeTagModeToggle-D8iKvz7v.js.map} +1 -1
  59. package/dist/cdn/chunks/{MergeTagSuggestion-CvZLI6Np.js → MergeTagSuggestion-Dn8dExNa.js} +18 -18
  60. package/dist/cdn/chunks/{MergeTagSuggestion-CvZLI6Np.js.map → MergeTagSuggestion-Dn8dExNa.js.map} +1 -1
  61. package/dist/cdn/chunks/{NumberWithSuffix-vVwCWrd_.js → NumberWithSuffix-BXrRdfq1.js} +22 -22
  62. package/dist/cdn/chunks/{NumberWithSuffix-vVwCWrd_.js.map → NumberWithSuffix-BXrRdfq1.js.map} +1 -1
  63. package/dist/cdn/chunks/{ParagraphEditor-o4hs9mgy.js → ParagraphEditor-Cuc83Blj.js} +58 -58
  64. package/dist/cdn/chunks/{ParagraphEditor-o4hs9mgy.js.map → ParagraphEditor-Cuc83Blj.js.map} +1 -1
  65. package/dist/cdn/chunks/{RichTextEditorContent-BAriGldd.js → RichTextEditorContent-DtL49Jpo.js} +20 -20
  66. package/dist/cdn/chunks/{RichTextEditorContent-BAriGldd.js.map → RichTextEditorContent-DtL49Jpo.js.map} +1 -1
  67. package/dist/cdn/chunks/{SaveBlockDialog-D3-oILb5.js → SaveBlockDialog-B8KHhVkI.js} +50 -50
  68. package/dist/cdn/chunks/{SaveBlockDialog-D3-oILb5.js.map → SaveBlockDialog-B8KHhVkI.js.map} +1 -1
  69. package/dist/cdn/chunks/{SavedBlocksBrowserModal-jMnNd4wn.js → SavedBlocksBrowserModal-B-sjsIJv.js} +62 -62
  70. package/dist/cdn/chunks/{SavedBlocksBrowserModal-jMnNd4wn.js.map → SavedBlocksBrowserModal-B-sjsIJv.js.map} +1 -1
  71. package/dist/cdn/chunks/{SavedBlocksPanels-BDd8FH6l.js → SavedBlocksPanels-Bb-eDMAh.js} +3 -3
  72. package/dist/cdn/chunks/{SavedBlocksPanels-BDd8FH6l.js.map → SavedBlocksPanels-Bb-eDMAh.js.map} +1 -1
  73. package/dist/cdn/chunks/{SavedBlocksPickBar-BNkLe8In.js → SavedBlocksPickBar-GudFfXa4.js} +12 -12
  74. package/dist/cdn/chunks/{SavedBlocksPickBar-BNkLe8In.js.map → SavedBlocksPickBar-GudFfXa4.js.map} +1 -1
  75. package/dist/cdn/chunks/{SnapshotHistory-CYVi7fvQ.js → SnapshotHistory-Srpzt2na.js} +26 -26
  76. package/dist/cdn/chunks/{SnapshotHistory-CYVi7fvQ.js.map → SnapshotHistory-Srpzt2na.js.map} +1 -1
  77. package/dist/cdn/chunks/{TemplateScoringPanel-D0KrxVnr.js → TemplateScoringPanel-NucRtAP0.js} +42 -42
  78. package/dist/cdn/chunks/{TemplateScoringPanel-D0KrxVnr.js.map → TemplateScoringPanel-NucRtAP0.js.map} +1 -1
  79. package/dist/cdn/chunks/{TestEmailModal-_RbTD787.js → TestEmailModal-DLeoJqaJ.js} +31 -31
  80. package/dist/cdn/chunks/{TestEmailModal-_RbTD787.js.map → TestEmailModal-DLeoJqaJ.js.map} +1 -1
  81. package/dist/cdn/chunks/{TestEmailPanel-BAnKtbSu.js → TestEmailPanel-Dr7Dkq2P.js} +3 -3
  82. package/dist/cdn/chunks/{TestEmailPanel-BAnKtbSu.js.map → TestEmailPanel-Dr7Dkq2P.js.map} +1 -1
  83. package/dist/cdn/chunks/{TitleEditor-LiUvXGPw.js → TitleEditor-DzYRr18C.js} +35 -35
  84. package/dist/cdn/chunks/{TitleEditor-LiUvXGPw.js.map → TitleEditor-DzYRr18C.js.map} +1 -1
  85. package/dist/cdn/chunks/{TplModal-C1iguuZz.js → TplModal-byw7-3wg.js} +17 -17
  86. package/dist/cdn/chunks/{TplModal-C1iguuZz.js.map → TplModal-byw7-3wg.js.map} +1 -1
  87. package/dist/cdn/chunks/blockTypeIcons-FXlMM3PL.js +21 -0
  88. package/dist/cdn/chunks/{blockTypeIcons-CrPzyP_k.js.map → blockTypeIcons-FXlMM3PL.js.map} +1 -1
  89. package/dist/cdn/chunks/{cloud-CxNsW3hp.js → cloud-CuItCnN_.js} +4 -4
  90. package/dist/cdn/chunks/{cloud-CxNsW3hp.js.map → cloud-CuItCnN_.js.map} +1 -1
  91. package/dist/cdn/chunks/{dist-BLF-S9_A.js → dist-B2HKGHnc.js} +9 -7
  92. package/dist/cdn/chunks/{dist-BLF-S9_A.js.map → dist-B2HKGHnc.js.map} +1 -1
  93. package/dist/cdn/chunks/{dist-Dp46rwVY.js → dist-C6z8AjBC.js} +2 -2
  94. package/dist/cdn/chunks/{dist-Dp46rwVY.js.map → dist-C6z8AjBC.js.map} +1 -1
  95. package/dist/cdn/chunks/{draggable-BRF_Q_jB.js → draggable-DCs9qL-b.js} +114 -92
  96. package/dist/cdn/chunks/{draggable-BRF_Q_jB.js.map → draggable-DCs9qL-b.js.map} +1 -1
  97. package/dist/cdn/chunks/{extensions-yNQlgLNE.js → extensions-B7laxHjs.js} +22 -22
  98. package/dist/cdn/chunks/{extensions-yNQlgLNE.js.map → extensions-B7laxHjs.js.map} +1 -1
  99. package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js → htmlparser-DTML8Gvz.js} +8 -7
  100. package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js.map → htmlparser-DTML8Gvz.js.map} +1 -1
  101. package/dist/cdn/chunks/{icons-DN008liP.js → icons-CvYN6zrM.js} +74 -80
  102. package/dist/cdn/chunks/icons-CvYN6zrM.js.map +1 -0
  103. package/dist/cdn/chunks/{keys-CZOBuCQd.js → keys-Cmc2Yl3D.js} +2 -2
  104. package/dist/cdn/chunks/{keys-CZOBuCQd.js.map → keys-Cmc2Yl3D.js.map} +1 -1
  105. package/dist/cdn/chunks/{liquid.browser-CZaQe87t.js → liquid.browser-UlAOKBjI.js} +120 -110
  106. package/dist/cdn/chunks/liquid.browser-UlAOKBjI.js.map +1 -0
  107. package/dist/cdn/chunks/{pusher-kUlkqMvR.js → pusher-BbIHJKf3.js} +29 -25
  108. package/dist/cdn/chunks/{pusher-kUlkqMvR.js.map → pusher-BbIHJKf3.js.map} +1 -1
  109. package/dist/cdn/chunks/{src-uc_Mb_yH.js → src-BYKYmEOD.js} +7 -6
  110. package/dist/cdn/chunks/src-BYKYmEOD.js.map +1 -0
  111. package/dist/cdn/chunks/{src-D_3bXt7-.js → src-Bi-Qhtfs.js} +3 -3
  112. package/dist/cdn/chunks/{src-D_3bXt7-.js.map → src-Bi-Qhtfs.js.map} +1 -1
  113. package/dist/cdn/chunks/{src-B2LpXMIw.js → src-C0N74uvF.js} +280 -277
  114. package/dist/cdn/chunks/{src-B2LpXMIw.js.map → src-C0N74uvF.js.map} +1 -1
  115. package/dist/cdn/chunks/{src-CZjSXPYq.js → src-EKTTBQ0y.js} +3 -2
  116. package/dist/cdn/chunks/src-EKTTBQ0y.js.map +1 -0
  117. package/dist/cdn/chunks/{styles-BzP13r-I.js → styles-C7s-VtJi.js} +1112 -1094
  118. package/dist/cdn/chunks/styles-C7s-VtJi.js.map +1 -0
  119. package/dist/cdn/chunks/{tiptap-CgwK_fKJ.js → tiptap-C44S1Cmh.js} +3681 -2965
  120. package/dist/cdn/chunks/tiptap-C44S1Cmh.js.map +1 -0
  121. package/dist/cdn/chunks/{useAliveFlag-Ctyt3GgH.js → useAliveFlag-Dxwgo6P4.js} +2 -2
  122. package/dist/cdn/chunks/{useAliveFlag-Ctyt3GgH.js.map → useAliveFlag-Dxwgo6P4.js.map} +1 -1
  123. package/dist/cdn/chunks/{useCloudI18n-CML0BxqX.js → useCloudI18n-8wkJtuJD.js} +3 -3
  124. package/dist/cdn/chunks/{useCloudI18n-CML0BxqX.js.map → useCloudI18n-8wkJtuJD.js.map} +1 -1
  125. package/dist/cdn/chunks/{useEditorCore-CTYH6u4r.js → useEditorCore-C_nUXiph.js} +275 -275
  126. package/dist/cdn/chunks/useEditorCore-C_nUXiph.js.map +1 -0
  127. package/dist/cdn/chunks/{useI18n-aRMtgYRj.js → useI18n-UMs0F71x.js} +3 -3
  128. package/dist/cdn/chunks/{useI18n-aRMtgYRj.js.map → useI18n-UMs0F71x.js.map} +1 -1
  129. package/dist/cdn/chunks/{useMergeTag-8a8BnIZp.js → useMergeTag-CPa_9VOq.js} +4 -4
  130. package/dist/cdn/chunks/{useMergeTag-8a8BnIZp.js.map → useMergeTag-CPa_9VOq.js.map} +1 -1
  131. package/dist/cdn/chunks/{usePopoverPosition-Dm1jv3y5.js → usePopoverPosition-cf8Y-ynK.js} +3 -3
  132. package/dist/cdn/chunks/{usePopoverPosition-Dm1jv3y5.js.map → usePopoverPosition-cf8Y-ynK.js.map} +1 -1
  133. package/dist/cdn/editor.js +47 -47
  134. package/dist/cdn/editor.js.map +1 -1
  135. package/dist/{check-Bqimqf7l.js → check-On4TSac-.js} +1 -1
  136. package/dist/{chevron-down-CYOoeGBd.js → chevron-down-69EiBGoB.js} +1 -1
  137. package/dist/{chevron-up-DYknsfm0.js → chevron-up-Dh3MG1Dw.js} +1 -1
  138. package/dist/{circle-alert-6q_jgtv_.js → circle-alert-cilwzafX.js} +1 -1
  139. package/dist/{clock-CnadSSTD.js → clock-Dt0APH92.js} +1 -1
  140. package/dist/{cloud-BJLg_SlM.js → cloud-C7-FhzMc.js} +2 -2
  141. package/dist/{createLucideIcon-D7GKhya2.js → createLucideIcon-C8WzBYCv.js} +3 -3
  142. package/dist/dist-6YJAWMuf.js +5 -0
  143. package/dist/dist-8vlm9kfO.js +5 -0
  144. package/dist/{dist-DSIgxp0v.js → dist-BImfm-46.js} +2 -2
  145. package/dist/{dist-DDfXShPv.js → dist-BpKxrUi2.js} +1 -1
  146. package/dist/{dist-B6Px6GPj.js → dist-C08jiemd.js} +7 -7
  147. package/dist/{dist-BxbTVeY0.js → dist-C27SeFL5.js} +15 -15
  148. package/dist/{dist-nR6mxyqI.js → dist-CYx-E82k.js} +2 -2
  149. package/dist/{dist-CcQFPJMF.js → dist-ChYLhoJ4.js} +2300 -1704
  150. package/dist/{dist-C31bMR4x.js → dist-Cl8J0IES.js} +270 -182
  151. package/dist/{dist-CQ0fVBQ3.js → dist-D5zCZFdU.js} +2 -1
  152. package/dist/{dist-Dx71pluS.js → dist-DMJRSouD.js} +470 -440
  153. package/dist/{dist-DyCHUyRR.js → dist-DfpeSdmE.js} +2 -2
  154. package/dist/{dist-DX4x6mQ1.js → dist-M7m1lYRe.js} +47 -47
  155. package/dist/{dist-CRH880TV.js → dist-g6cbzhZW.js} +2 -2
  156. package/dist/{extensions-CbiWtzS6.js → extensions-CxwhoG8v.js} +19 -19
  157. package/dist/{image-up-BfukboIn.js → image-up-Ceggh_R3.js} +1 -1
  158. package/dist/{info-DSYRzSZo.js → info-DO5odBcZ.js} +1 -1
  159. package/dist/{keys-BI6VSUh4.js → keys-fwF3qZax.js} +1 -1
  160. package/dist/{liquid.browser-BECWFL5Z.js → liquid.browser-B-rGrnrQ.js} +119 -109
  161. package/dist/{list-checks-URZOyLhr.js → list-checks-BSkPKbuI.js} +1 -1
  162. package/dist/{loader-circle-GADaYcyQ.js → loader-circle-bO7o7_HD.js} +1 -1
  163. package/dist/{message-circle-B62fdo0b.js → message-circle-BEkAk65X.js} +1 -1
  164. package/dist/{pencil-BGwkOpD_.js → pencil-t6m0EtKL.js} +1 -1
  165. package/dist/{refresh-cw-Z4wXfduO.js → refresh-cw-CkOYVzK5.js} +1 -1
  166. package/dist/{runtime-dom.esm-bundler-BkOsapVg.js → runtime-dom.esm-bundler-CepEmvwF.js} +13 -10
  167. package/dist/{scan-line-D8Oh5xos.js → scan-line-DwSVj25O.js} +1 -1
  168. package/dist/{send-BYp4k38T.js → send-CWsWN8PQ.js} +1 -1
  169. package/dist/{shield-check-Cm0RePnW.js → shield-check-qje8Kufw.js} +1 -1
  170. package/dist/{sparkles-BHEE-vRD.js → sparkles-DumaWRW-.js} +1 -1
  171. package/dist/{styles-B0MEBpOK.js → styles-C_slTGwp.js} +454 -436
  172. package/dist/templatical-editor.js +11 -11
  173. package/dist/{text-align-start-CHrg3vK8.js → text-align-start-Ir8Ah4mT.js} +1 -1
  174. package/dist/{trash-2-BoNT8wbq.js → trash-2-CklAFCmO.js} +1 -1
  175. package/dist/{triangle-alert-CiN0ssB3.js → triangle-alert-BBi4n93g.js} +1 -1
  176. package/dist/{upload-WvZGBySw.js → upload-sVqqppuv.js} +1 -1
  177. package/dist/{useAliveFlag-eT67QCMf.js → useAliveFlag-cvyBxHp7.js} +1 -1
  178. package/dist/{useCloudI18n-KgIWl-IE.js → useCloudI18n-DKVm6PCa.js} +2 -2
  179. package/dist/{useEditorCore-BMbxdUbY.js → useEditorCore-r4gWzCBA.js} +893 -893
  180. package/dist/{useI18n-BkHfCWC6.js → useI18n-DoVKdCTH.js} +2 -2
  181. package/dist/{useMergeTag-CZ4XYAxu.js → useMergeTag-C-_WxrgL.js} +3 -3
  182. package/dist/{usePopoverPosition-D93u-EZm.js → usePopoverPosition-C0dPEF4X.js} +3 -3
  183. package/dist/{vue.runtime.esm-bundler-0R1UhmZB.js → vue.runtime.esm-bundler-D1diBMsm.js} +119 -95
  184. package/dist/{x-B4WnJVRx.js → x-Mby7KlhS.js} +1 -1
  185. package/package.json +23 -23
  186. package/dist/cdn/chunks/blockTypeIcons-CrPzyP_k.js +0 -21
  187. package/dist/cdn/chunks/icons-DN008liP.js.map +0 -1
  188. package/dist/cdn/chunks/liquid.browser-CZaQe87t.js.map +0 -1
  189. package/dist/cdn/chunks/src-CZjSXPYq.js.map +0 -1
  190. package/dist/cdn/chunks/src-uc_Mb_yH.js.map +0 -1
  191. package/dist/cdn/chunks/styles-BzP13r-I.js.map +0 -1
  192. package/dist/cdn/chunks/tiptap-CgwK_fKJ.js.map +0 -1
  193. package/dist/cdn/chunks/useEditorCore-CTYH6u4r.js.map +0 -1
  194. package/dist/dist-CkPvZCld.js +0 -5
  195. package/dist/dist-iCEDH3cC.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-BRF_Q_jB.js";
2
- import { G as b, d as ne, g as re, i as ie } from "./keys-CZOBuCQd.js";
3
- import { t as ae } from "./useI18n-aRMtgYRj.js";
4
- import { It as oe, Lt as se, N as x, Nt as ce, R as le, at as S, d as C, jt as ue, n as w, nt as de, q as T } from "./icons-DN008liP.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-CML0BxqX.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(de), {
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(w), {
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(S), {
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(de), {
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(T), {
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(se), {
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(le), {
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(ce), {
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(T), {
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(x), {
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(w), {
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(S), {
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(x), {
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-FPbg-FuU.js.map
412
+ //# sourceMappingURL=CommentsSidebar-BLRZRSSC.js.map