@templatical/editor 0.41.0 → 0.42.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 (187) hide show
  1. package/dist/{AiChatSidebar-a8TPBAl2.js → AiChatSidebar-DqSoJAXx.js} +1 -1
  2. package/dist/{AiFeatureMenu-CroDMqRG.js → AiFeatureMenu-CoBvE72q.js} +1 -1
  3. package/dist/{BlockPreviewCanvas-Z9SZIgfA.js → BlockPreviewCanvas-W6-MRpWz.js} +33 -33
  4. package/dist/{CloudHeaderExtras-CVqHeqc6.js → CloudHeaderExtras-AbsNuL9T.js} +1 -1
  5. package/dist/{CloudPanels-CmEpQUJB.js → CloudPanels-BNL6rSeB.js} +2 -2
  6. package/dist/{CollaboratorBar-AIQC9fEF.js → CollaboratorBar-DlZ-wOL_.js} +1 -1
  7. package/dist/{CountdownToolbar-DkC-qSgq.js → CountdownToolbar-Bnq25sR-.js} +3 -3
  8. package/dist/{DesignReferenceSidebar-OoiYJAKS.js → DesignReferenceSidebar-Cl5eE8Kn.js} +1 -1
  9. package/dist/{LogicTagInsertButton-BimKobaG.js → LogicTagInsertButton-SI6irEtn.js} +243 -219
  10. package/dist/{MergeTagInput-DqpVzhy7.js → MergeTagInput-BMQGNh1k.js} +1 -1
  11. package/dist/{MergeTagModeToggle-BkIiAgpQ.js → MergeTagModeToggle-Cm9s-w6o.js} +1 -1
  12. package/dist/{ParagraphEditor-DaZ03d1U.js → ParagraphEditor-CnBPQCVo.js} +19 -19
  13. package/dist/{RestoreVersionDialog-DHb1mPoF.js → RestoreVersionDialog-B13whpxH.js} +1 -1
  14. package/dist/{RichTextEditorContent-AEtfKvLz.js → RichTextEditorContent-DOvhgc-7.js} +3 -3
  15. package/dist/{SaveBlockDialog-hGwLDWfE.js → SaveBlockDialog-b5yrQfoN.js} +5 -5
  16. package/dist/{SavedBlocksBrowserModal-C0lYVBFi.js → SavedBlocksBrowserModal-DpqK4Zqp.js} +4 -4
  17. package/dist/{SavedBlocksPanels-CaTbeVDv.js → SavedBlocksPanels-C2wURIlT.js} +1 -1
  18. package/dist/{SavedBlocksPickBar-DR2afid2.js → SavedBlocksPickBar-Bx9_SXVA.js} +1 -1
  19. package/dist/{TemplateSettings-BD1WNP4C.js → TemplateSettings-Gn9ps1R6.js} +3 -3
  20. package/dist/{TestEmailModal-DqoosG1u.js → TestEmailModal-DaIaklcg.js} +5 -5
  21. package/dist/{TestEmailPanel-DpozqyHF.js → TestEmailPanel-CKSvzakC.js} +1 -1
  22. package/dist/{TitleEditor-BCBdZLt_.js → TitleEditor-C66Jk73n.js} +7 -7
  23. package/dist/{ToggleSwitch-CJfQ8u57.js → ToggleSwitch-BqttX9lY.js} +1 -1
  24. package/dist/{Toolbar-C7SjilzH.js → Toolbar-DVsKYQaC.js} +846 -553
  25. package/dist/{TplModal-CVO-2KrU.js → TplModal-DRQln7xH.js} +2 -2
  26. package/dist/{VersionHistoryPanels-BzF7dmwa.js → VersionHistoryPanels-Df5WjNah.js} +1 -1
  27. package/dist/{WrapperBlock-BDjOn3fY.js → WrapperBlock-B0cUORGz.js} +4 -4
  28. package/dist/{blockTypeIcons-B0Bq1WT1.js → blockTypeIcons-DfQNZnl7.js} +1 -1
  29. package/dist/bundle-stats.json +6 -6
  30. package/dist/{ca-Ckgw9yd0.js → ca--zGWn9AU.js} +14 -0
  31. package/dist/cdn/chunks/{AiChatSidebar-mKImUXi6.js → AiChatSidebar-DD17BwXn.js} +10 -10
  32. package/dist/cdn/chunks/{AiChatSidebar-mKImUXi6.js.map → AiChatSidebar-DD17BwXn.js.map} +1 -1
  33. package/dist/cdn/chunks/{AiFeatureMenu-Cx3qdStQ.js → AiFeatureMenu-Di381OsL.js} +5 -5
  34. package/dist/cdn/chunks/{AiFeatureMenu-Cx3qdStQ.js.map → AiFeatureMenu-Di381OsL.js.map} +1 -1
  35. package/dist/cdn/chunks/{BlockIssueBadge-DS1pUf5g.js → BlockIssueBadge-BR_N3nRh.js} +2 -2
  36. package/dist/cdn/chunks/{BlockIssueBadge-DS1pUf5g.js.map → BlockIssueBadge-BR_N3nRh.js.map} +1 -1
  37. package/dist/cdn/chunks/{BlockPreviewCanvas-D31TNib3.js → BlockPreviewCanvas-BXpcAiiY.js} +28 -28
  38. package/dist/cdn/chunks/{BlockPreviewCanvas-D31TNib3.js.map → BlockPreviewCanvas-BXpcAiiY.js.map} +1 -1
  39. package/dist/cdn/chunks/{CloudHeaderExtras-0zdlKiq7.js → CloudHeaderExtras-BEM2eWfF.js} +3 -3
  40. package/dist/cdn/chunks/{CloudHeaderExtras-0zdlKiq7.js.map → CloudHeaderExtras-BEM2eWfF.js.map} +1 -1
  41. package/dist/cdn/chunks/{CloudPanels-DPh71yOO.js → CloudPanels-D7nK1-bm.js} +4 -4
  42. package/dist/cdn/chunks/{CloudPanels-DPh71yOO.js.map → CloudPanels-D7nK1-bm.js.map} +1 -1
  43. package/dist/cdn/chunks/{CollaboratorBar-lCZU8qkg.js → CollaboratorBar-D1SUwahw.js} +3 -3
  44. package/dist/cdn/chunks/{CollaboratorBar-lCZU8qkg.js.map → CollaboratorBar-D1SUwahw.js.map} +1 -1
  45. package/dist/cdn/chunks/{CommentsPanel-BtAGZfF6.js → CommentsPanel-qsLMAlJU.js} +2 -2
  46. package/dist/cdn/chunks/{CommentsPanel-BtAGZfF6.js.map → CommentsPanel-qsLMAlJU.js.map} +1 -1
  47. package/dist/cdn/chunks/{CommentsSidebar-Ws07MXYj.js → CommentsSidebar-CTwEE-s_.js} +16 -16
  48. package/dist/cdn/chunks/{CommentsSidebar-Ws07MXYj.js.map → CommentsSidebar-CTwEE-s_.js.map} +1 -1
  49. package/dist/cdn/chunks/{CountdownToolbar-Bu93WiS8.js → CountdownToolbar-BJTcnIQ-.js} +4 -4
  50. package/dist/cdn/chunks/{CountdownToolbar-Bu93WiS8.js.map → CountdownToolbar-BJTcnIQ-.js.map} +1 -1
  51. package/dist/cdn/chunks/{DesignReferenceSidebar-BlSdh5B7.js → DesignReferenceSidebar-Dl3eEGtS.js} +9 -9
  52. package/dist/cdn/chunks/{DesignReferenceSidebar-BlSdh5B7.js.map → DesignReferenceSidebar-Dl3eEGtS.js.map} +1 -1
  53. package/dist/cdn/chunks/{IssuesPanel-CKkv9z9g.js → IssuesPanel-L9Gq_T8n.js} +8 -8
  54. package/dist/cdn/chunks/{IssuesPanel-CKkv9z9g.js.map → IssuesPanel-L9Gq_T8n.js.map} +1 -1
  55. package/dist/cdn/chunks/{LogicTagInsertButton-CHc1yZ9v.js → LogicTagInsertButton-3pIbVE9p.js} +250 -226
  56. package/dist/cdn/chunks/LogicTagInsertButton-3pIbVE9p.js.map +1 -0
  57. package/dist/cdn/chunks/{MediaEditModal-Cw9MhjVz.js → MediaEditModal-rTjYl-fV.js} +2 -2
  58. package/dist/cdn/chunks/{MediaEditModal-Cw9MhjVz.js.map → MediaEditModal-rTjYl-fV.js.map} +1 -1
  59. package/dist/cdn/chunks/{MediaPanels-FD_aX3H5.js → MediaPanels-DMXRQVqg.js} +2 -2
  60. package/dist/cdn/chunks/{MediaPanels-FD_aX3H5.js.map → MediaPanels-DMXRQVqg.js.map} +1 -1
  61. package/dist/cdn/chunks/{MergeTagInput--qTYfCWk.js → MergeTagInput-JcBzr77a.js} +2 -2
  62. package/dist/cdn/chunks/{MergeTagInput--qTYfCWk.js.map → MergeTagInput-JcBzr77a.js.map} +1 -1
  63. package/dist/cdn/chunks/{MergeTagModeToggle-CdWIGo3Q.js → MergeTagModeToggle-CYmueXS2.js} +10 -10
  64. package/dist/cdn/chunks/{MergeTagModeToggle-CdWIGo3Q.js.map → MergeTagModeToggle-CYmueXS2.js.map} +1 -1
  65. package/dist/cdn/chunks/{ParagraphEditor-w2qEZTkM.js → ParagraphEditor-DbjFDnYm.js} +39 -39
  66. package/dist/cdn/chunks/{ParagraphEditor-w2qEZTkM.js.map → ParagraphEditor-DbjFDnYm.js.map} +1 -1
  67. package/dist/cdn/chunks/{RestoreVersionDialog-cnWVN3nX.js → RestoreVersionDialog-pANCWcce.js} +3 -3
  68. package/dist/cdn/chunks/{RestoreVersionDialog-cnWVN3nX.js.map → RestoreVersionDialog-pANCWcce.js.map} +1 -1
  69. package/dist/cdn/chunks/{RichTextEditorContent-Fzuu9pLP.js → RichTextEditorContent-BtM1or8A.js} +5 -5
  70. package/dist/cdn/chunks/{RichTextEditorContent-Fzuu9pLP.js.map → RichTextEditorContent-BtM1or8A.js.map} +1 -1
  71. package/dist/cdn/chunks/{SaveBlockDialog-jxQtKnVs.js → SaveBlockDialog-CGM3mrGj.js} +38 -38
  72. package/dist/cdn/chunks/{SaveBlockDialog-jxQtKnVs.js.map → SaveBlockDialog-CGM3mrGj.js.map} +1 -1
  73. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DpXWf4Pi.js → SavedBlocksBrowserModal-C6Z8AvtD.js} +10 -10
  74. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DpXWf4Pi.js.map → SavedBlocksBrowserModal-C6Z8AvtD.js.map} +1 -1
  75. package/dist/cdn/chunks/{SavedBlocksPanels-B-ASmf1P.js → SavedBlocksPanels-DNwKmnhp.js} +2 -2
  76. package/dist/cdn/chunks/{SavedBlocksPanels-B-ASmf1P.js.map → SavedBlocksPanels-DNwKmnhp.js.map} +1 -1
  77. package/dist/cdn/chunks/{SavedBlocksPickBar-CEFIQ8Nd.js → SavedBlocksPickBar-D2p1ufB4.js} +3 -3
  78. package/dist/cdn/chunks/{SavedBlocksPickBar-CEFIQ8Nd.js.map → SavedBlocksPickBar-D2p1ufB4.js.map} +1 -1
  79. package/dist/cdn/chunks/{TemplateScoringPanel-d_Ppowsq.js → TemplateScoringPanel-BDB4RErx.js} +19 -19
  80. package/dist/cdn/chunks/{TemplateScoringPanel-d_Ppowsq.js.map → TemplateScoringPanel-BDB4RErx.js.map} +1 -1
  81. package/dist/cdn/chunks/{TemplateSettings-Dr5OJ0Gi.js → TemplateSettings-DVN1t3yF.js} +9 -9
  82. package/dist/cdn/chunks/{TemplateSettings-Dr5OJ0Gi.js.map → TemplateSettings-DVN1t3yF.js.map} +1 -1
  83. package/dist/cdn/chunks/{TestEmailModal-CrjzVw8e.js → TestEmailModal-DZBCmBtT.js} +7 -7
  84. package/dist/cdn/chunks/{TestEmailModal-CrjzVw8e.js.map → TestEmailModal-DZBCmBtT.js.map} +1 -1
  85. package/dist/cdn/chunks/{TestEmailPanel-k9vdulTu.js → TestEmailPanel-1ibwYCUl.js} +2 -2
  86. package/dist/cdn/chunks/{TestEmailPanel-k9vdulTu.js.map → TestEmailPanel-1ibwYCUl.js.map} +1 -1
  87. package/dist/cdn/chunks/{TitleEditor-laILWfKh.js → TitleEditor-BRl2qKbd.js} +13 -13
  88. package/dist/cdn/chunks/{TitleEditor-laILWfKh.js.map → TitleEditor-BRl2qKbd.js.map} +1 -1
  89. package/dist/cdn/chunks/{ToggleSwitch-0dGCYnRY.js → ToggleSwitch-niSL2uog.js} +2 -2
  90. package/dist/cdn/chunks/{ToggleSwitch-0dGCYnRY.js.map → ToggleSwitch-niSL2uog.js.map} +1 -1
  91. package/dist/cdn/chunks/{Toolbar-BsiHW9gY.js → Toolbar-tTl0P-rr.js} +814 -566
  92. package/dist/cdn/chunks/Toolbar-tTl0P-rr.js.map +1 -0
  93. package/dist/cdn/chunks/{TplModal-D8DoPbFa.js → TplModal-C_eIPykE.js} +3 -3
  94. package/dist/cdn/chunks/{TplModal-D8DoPbFa.js.map → TplModal-C_eIPykE.js.map} +1 -1
  95. package/dist/cdn/chunks/{VersionHistoryMenu-B3-hNu9c.js → VersionHistoryMenu-Ww57XAzj.js} +7 -7
  96. package/dist/cdn/chunks/{VersionHistoryMenu-B3-hNu9c.js.map → VersionHistoryMenu-Ww57XAzj.js.map} +1 -1
  97. package/dist/cdn/chunks/{VersionHistoryPanels-zw1AtzGN.js → VersionHistoryPanels-w0EG_qVW.js} +2 -2
  98. package/dist/cdn/chunks/{VersionHistoryPanels-zw1AtzGN.js.map → VersionHistoryPanels-w0EG_qVW.js.map} +1 -1
  99. package/dist/cdn/chunks/{VersionPreviewBanner-PzVQSBJE.js → VersionPreviewBanner-Bbd4C-AN.js} +2 -2
  100. package/dist/cdn/chunks/{VersionPreviewBanner-PzVQSBJE.js.map → VersionPreviewBanner-Bbd4C-AN.js.map} +1 -1
  101. package/dist/cdn/chunks/{WrapperBlock-CpRvfAV0.js → WrapperBlock-Ch4KeMIb.js} +4 -4
  102. package/dist/cdn/chunks/{WrapperBlock-CpRvfAV0.js.map → WrapperBlock-Ch4KeMIb.js.map} +1 -1
  103. package/dist/cdn/chunks/blockTypeIcons-CyPXFh7L.js +21 -0
  104. package/dist/cdn/chunks/{blockTypeIcons-raBjStuv.js.map → blockTypeIcons-CyPXFh7L.js.map} +1 -1
  105. package/dist/cdn/chunks/{ca-Ckgw9yd0.js → ca--zGWn9AU.js} +15 -1
  106. package/dist/cdn/chunks/ca--zGWn9AU.js.map +1 -0
  107. package/dist/cdn/chunks/{cloud-CIT4yPp4.js → cloud-De-eh1u6.js} +2 -2
  108. package/dist/cdn/chunks/{cloud-CIT4yPp4.js.map → cloud-De-eh1u6.js.map} +1 -1
  109. package/dist/cdn/chunks/{createCloudRuntime-COUxbPvd.js → createCloudRuntime-DsaUaWvr.js} +3 -3
  110. package/dist/cdn/chunks/{createCloudRuntime-COUxbPvd.js.map → createCloudRuntime-DsaUaWvr.js.map} +1 -1
  111. package/dist/cdn/chunks/{de-D4dweQw8.js → de-BRNLKcDl.js} +15 -1
  112. package/dist/cdn/chunks/de-BRNLKcDl.js.map +1 -0
  113. package/dist/cdn/chunks/{editor-modal-CKu8HhiB.js → editor-modal-BdI0iA5r.js} +88 -88
  114. package/dist/cdn/chunks/{editor-modal-CKu8HhiB.js.map → editor-modal-BdI0iA5r.js.map} +1 -1
  115. package/dist/cdn/chunks/en-Cs-nw16K.js +2 -0
  116. package/dist/{en-VE7R7NyL.js → cdn/chunks/en-JJjqHMjy.js} +16 -0
  117. package/dist/cdn/chunks/en-JJjqHMjy.js.map +1 -0
  118. package/dist/cdn/chunks/{es-B9OhP8H3.js → es-BIh8BxV9.js} +15 -1
  119. package/dist/cdn/chunks/es-BIh8BxV9.js.map +1 -0
  120. package/dist/cdn/chunks/{extensions-CafoGF65.js → extensions-DK_9-6Bd.js} +4 -4
  121. package/dist/cdn/chunks/{extensions-CafoGF65.js.map → extensions-DK_9-6Bd.js.map} +1 -1
  122. package/dist/{fr-wrXhIi00.js → cdn/chunks/fr-C5VUZogP.js} +16 -0
  123. package/dist/cdn/chunks/fr-C5VUZogP.js.map +1 -0
  124. package/dist/cdn/chunks/{icons-BKkJ-5xF.js → icons-Bad3WZ3G.js} +49 -8
  125. package/dist/cdn/chunks/icons-Bad3WZ3G.js.map +1 -0
  126. package/dist/cdn/chunks/{ja-fKnVWXHC.js → ja-x5JYxaCW.js} +15 -1
  127. package/dist/cdn/chunks/ja-x5JYxaCW.js.map +1 -0
  128. package/dist/cdn/chunks/{nl-DeFatKJe.js → nl-UXxFyXV6.js} +15 -1
  129. package/dist/cdn/chunks/{nl-DeFatKJe.js.map → nl-UXxFyXV6.js.map} +1 -1
  130. package/dist/cdn/chunks/{preRenderCustomBlocks-Dpj-_cOj.js → preRenderCustomBlocks-h4ZFBKbD.js} +2 -2
  131. package/dist/cdn/chunks/{preRenderCustomBlocks-Dpj-_cOj.js.map → preRenderCustomBlocks-h4ZFBKbD.js.map} +1 -1
  132. package/dist/cdn/chunks/{pt-BR-Bh1J8ey6.js → pt-BR-DHm3SP6W.js} +15 -1
  133. package/dist/cdn/chunks/pt-BR-DHm3SP6W.js.map +1 -0
  134. package/dist/cdn/chunks/{socialIcons-BvYNMn1G.js → socialIcons-ZOCwCCyn.js} +3 -3
  135. package/dist/cdn/chunks/{socialIcons-BvYNMn1G.js.map → socialIcons-ZOCwCCyn.js.map} +1 -1
  136. package/dist/cdn/chunks/{src-DveVYoWS.js → src-BR3I3gOW.js} +265 -224
  137. package/dist/cdn/chunks/src-BR3I3gOW.js.map +1 -0
  138. package/dist/cdn/chunks/{src-L6HEdwFn.js → src-BxoLKnkl.js} +178 -165
  139. package/dist/cdn/chunks/src-BxoLKnkl.js.map +1 -0
  140. package/dist/cdn/chunks/{src-Cnc5E71L.js → src-fZSLjhjy.js} +12 -12
  141. package/dist/cdn/chunks/{src-Cnc5E71L.js.map → src-fZSLjhjy.js.map} +1 -1
  142. package/dist/cdn/chunks/{useEditorCore-DZmtKwJh.js → useEditorCore-yd40TFKy.js} +458 -446
  143. package/dist/cdn/chunks/useEditorCore-yd40TFKy.js.map +1 -0
  144. package/dist/cdn/chunks/{useLogicTag-DF7-l66G.js → useLogicTag-J_i_hvZg.js} +2 -2
  145. package/dist/cdn/chunks/{useLogicTag-DF7-l66G.js.map → useLogicTag-J_i_hvZg.js.map} +1 -1
  146. package/dist/cdn/chunks/{useMergeTag-DbIHw4NG.js → useMergeTag-C5MyHYxJ.js} +2 -2
  147. package/dist/cdn/chunks/{useMergeTag-DbIHw4NG.js.map → useMergeTag-C5MyHYxJ.js.map} +1 -1
  148. package/dist/cdn/chunks/{usePopoverPosition-BJRvAb-h.js → usePopoverPosition-DGXjXKjM.js} +25 -12
  149. package/dist/cdn/chunks/usePopoverPosition-DGXjXKjM.js.map +1 -0
  150. package/dist/cdn/editor.css +1 -1
  151. package/dist/cdn/editor.js +64 -64
  152. package/dist/{cloud-DsqqUfzh.js → cloud-AO_X8T9g.js} +1 -1
  153. package/dist/{createCloudRuntime-iLflkYzP.js → createCloudRuntime-D641nhri.js} +2 -2
  154. package/dist/{de-D4dweQw8.js → de-BRNLKcDl.js} +14 -0
  155. package/dist/{dist-DbUZvK04.js → dist-iLUVPysa.js} +263 -222
  156. package/dist/{cdn/chunks/en-VE7R7NyL.js → en-JJjqHMjy.js} +14 -2
  157. package/dist/{es-B9OhP8H3.js → es-BIh8BxV9.js} +14 -0
  158. package/dist/{extensions-DDhjuVKy.js → extensions-DoT2-_pz.js} +11 -11
  159. package/dist/{cdn/chunks/fr-wrXhIi00.js → fr-C5VUZogP.js} +14 -2
  160. package/dist/{ja-fKnVWXHC.js → ja-x5JYxaCW.js} +14 -0
  161. package/dist/{nl-DeFatKJe.js → nl-UXxFyXV6.js} +14 -0
  162. package/dist/{preRenderCustomBlocks-BBSqQgke.js → preRenderCustomBlocks-CTstI3Q-.js} +4 -4
  163. package/dist/{pt-BR-Bh1J8ey6.js → pt-BR-DHm3SP6W.js} +14 -0
  164. package/dist/{socialIcons-O7PZCW2P.js → socialIcons-CACVa6m_.js} +46 -46
  165. package/dist/style.css +1 -1
  166. package/dist/templatical-editor.js +108 -108
  167. package/dist/{useEditorCore-dcdHB_7H.js → useEditorCore-LyNoGs0m.js} +894 -882
  168. package/dist/{useLogicTag-D9pvgxQR.js → useLogicTag-BaH8gey0.js} +1 -1
  169. package/dist/{useMergeTag-BaVFPdlq.js → useMergeTag-Cyad1yBE.js} +1 -1
  170. package/dist/{usePopoverPosition-DH7z3Ghm.js → usePopoverPosition-BYmd-lhR.js} +24 -11
  171. package/package.json +7 -7
  172. package/dist/cdn/chunks/LogicTagInsertButton-CHc1yZ9v.js.map +0 -1
  173. package/dist/cdn/chunks/Toolbar-BsiHW9gY.js.map +0 -1
  174. package/dist/cdn/chunks/blockTypeIcons-raBjStuv.js +0 -21
  175. package/dist/cdn/chunks/ca-Ckgw9yd0.js.map +0 -1
  176. package/dist/cdn/chunks/de-D4dweQw8.js.map +0 -1
  177. package/dist/cdn/chunks/en-DqzAdO8F.js +0 -2
  178. package/dist/cdn/chunks/en-VE7R7NyL.js.map +0 -1
  179. package/dist/cdn/chunks/es-B9OhP8H3.js.map +0 -1
  180. package/dist/cdn/chunks/fr-wrXhIi00.js.map +0 -1
  181. package/dist/cdn/chunks/icons-BKkJ-5xF.js.map +0 -1
  182. package/dist/cdn/chunks/ja-fKnVWXHC.js.map +0 -1
  183. package/dist/cdn/chunks/pt-BR-Bh1J8ey6.js.map +0 -1
  184. package/dist/cdn/chunks/src-DveVYoWS.js.map +0 -1
  185. package/dist/cdn/chunks/src-L6HEdwFn.js.map +0 -1
  186. package/dist/cdn/chunks/useEditorCore-DZmtKwJh.js.map +0 -1
  187. package/dist/cdn/chunks/usePopoverPosition-BJRvAb-h.js.map +0 -1
@@ -359,6 +359,19 @@ var e = {
359
359
  spacing: "Spacing",
360
360
  padding: "Padding",
361
361
  background: "Background",
362
+ borderWidth: "Border Width",
363
+ borderStyle: "Border Style",
364
+ borderColor: "Border Color",
365
+ border: "Border",
366
+ borderSide: "Side",
367
+ linkSides: "Same border on all sides",
368
+ unlinkSides: "Set each side separately",
369
+ linkCorners: "Same radius on all corners",
370
+ unlinkCorners: "Set each corner separately",
371
+ cornerTopLeft: "Top left",
372
+ cornerTopRight: "Top right",
373
+ cornerBottomRight: "Bottom right",
374
+ cornerBottomLeft: "Bottom left",
362
375
  color: "Color",
363
376
  display: "Display",
364
377
  showOnDesktop: "Show on desktop",
@@ -422,6 +435,7 @@ var e = {
422
435
  hexValue: "Hex color value",
423
436
  notSet: "Not set",
424
437
  clear: "Clear color",
438
+ transparent: "Transparent",
425
439
  presetColors: "Preset colors"
426
440
  },
427
441
  mergeTag: {
@@ -621,5 +635,3 @@ var e = {
621
635
  };
622
636
  //#endregion
623
637
  export { e as default };
624
-
625
- //# sourceMappingURL=en-VE7R7NyL.js.map
@@ -359,6 +359,19 @@ var e = {
359
359
  spacing: "Espaciado",
360
360
  padding: "Relleno",
361
361
  background: "Fondo",
362
+ borderWidth: "Ancho del borde",
363
+ borderStyle: "Estilo del borde",
364
+ borderColor: "Color del borde",
365
+ border: "Borde",
366
+ borderSide: "Lado",
367
+ linkSides: "Mismo borde en todos los lados",
368
+ unlinkSides: "Definir cada lado por separado",
369
+ linkCorners: "Mismo radio en todas las esquinas",
370
+ unlinkCorners: "Definir cada esquina por separado",
371
+ cornerTopLeft: "Arriba a la izquierda",
372
+ cornerTopRight: "Arriba a la derecha",
373
+ cornerBottomRight: "Abajo a la derecha",
374
+ cornerBottomLeft: "Abajo a la izquierda",
362
375
  color: "Color",
363
376
  display: "Visualización",
364
377
  showOnDesktop: "Mostrar en escritorio",
@@ -422,6 +435,7 @@ var e = {
422
435
  hexValue: "Valor de color Hex",
423
436
  notSet: "No establecido",
424
437
  clear: "Limpiar color",
438
+ transparent: "Transparente",
425
439
  presetColors: "Colores predefinidos"
426
440
  },
427
441
  mergeTag: {
@@ -1,9 +1,9 @@
1
1
  import { A as e, At as t, B as n, E as r, J as i, V as a, Z as o, at as s, c, d as l, jt as u, kt as d, l as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
2
  import { a as g, c as _, s as v } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
- import { B as y, N as b, P as x, o as S } from "./dist-DbUZvK04.js";
3
+ import { F as y, H as b, I as x, c as S } from "./dist-iLUVPysa.js";
4
4
  import { t as C } from "./useI18n-B_CdcBwG.js";
5
- import { a as w, o as T, s as E } from "./LogicTagInsertButton-BimKobaG.js";
6
- import { t as D } from "./useMergeTag-BaVFPdlq.js";
5
+ import { a as w, o as T, s as E } from "./LogicTagInsertButton-SI6irEtn.js";
6
+ import { t as D } from "./useMergeTag-Cyad1yBE.js";
7
7
  import { Gn as O, H as k, Hn as A, Vn as j, Wn as M, gn as N, m as P, s as F, u as ee, v as te } from "./dist-DerFNpDY.js";
8
8
  import { n as ne, t as re } from "./dist-BmsLcnrO.js";
9
9
  //#region src/extensions/FontSize.ts
@@ -101,7 +101,7 @@ var ie = F.create({
101
101
  updateAttributes: { type: Function }
102
102
  },
103
103
  setup(i) {
104
- let h = i, { syntax: x } = D(), { t: S } = C(), w = p(() => y(h.node.attrs.value, x)), T = p(() => b(h.node.attrs.value, x)), E = o(!1), O = o(""), k = o(null), A = !1;
104
+ let h = i, { syntax: x } = D(), { t: S } = C(), w = p(() => b(h.node.attrs.value, x)), T = p(() => y(h.node.attrs.value, x)), E = o(!1), O = o(""), k = o(null), A = !1;
105
105
  function j() {
106
106
  O.value = h.node.attrs.value, A = !1, E.value = !0, r(() => {
107
107
  k.value?.focus(), k.value?.select();
@@ -117,7 +117,7 @@ var ie = F.create({
117
117
  }
118
118
  e !== h.node.attrs.value && h.updateAttributes({
119
119
  value: e,
120
- keyword: y(e, x) ? b(e, x) : ""
120
+ keyword: b(e, x) ? y(e, x) : ""
121
121
  }), E.value = !1;
122
122
  }
123
123
  function N(e) {
@@ -223,12 +223,12 @@ var me = P.create({
223
223
  return [{ tag: "span[data-logic-merge-tag]" }];
224
224
  },
225
225
  renderHTML({ node: e, HTMLAttributes: t }) {
226
- if (!y(e.attrs.value, this.options.syntax)) return [
226
+ if (!b(e.attrs.value, this.options.syntax)) return [
227
227
  "span",
228
228
  {},
229
229
  e.attrs.value
230
230
  ];
231
- let n = b(e.attrs.value, this.options.syntax);
231
+ let n = y(e.attrs.value, this.options.syntax);
232
232
  return [
233
233
  "span",
234
234
  N(t, {
@@ -253,8 +253,8 @@ var me = P.create({
253
253
  find: e,
254
254
  handler: ({ state: e, range: t, match: n }) => {
255
255
  let r = n[0];
256
- if (!y(r, this.options.syntax)) return;
257
- let i = b(r, this.options.syntax), a = this.type.create({
256
+ if (!b(r, this.options.syntax)) return;
257
+ let i = y(r, this.options.syntax), a = this.type.create({
258
258
  value: r,
259
259
  keyword: i
260
260
  });
@@ -268,8 +268,8 @@ var me = P.create({
268
268
  find: e,
269
269
  handler: ({ state: e, range: t, match: n }) => {
270
270
  let r = n[0];
271
- if (!y(r, this.options.syntax)) return;
272
- let i = b(r, this.options.syntax), a = this.type.create({
271
+ if (!b(r, this.options.syntax)) return;
272
+ let i = y(r, this.options.syntax), a = this.type.create({
273
273
  value: r,
274
274
  keyword: i
275
275
  });
@@ -359,6 +359,19 @@ var e = {
359
359
  spacing: "Espacement",
360
360
  padding: "Marge intérieure",
361
361
  background: "Fond",
362
+ borderWidth: "Largeur de la bordure",
363
+ borderStyle: "Style de la bordure",
364
+ borderColor: "Couleur de la bordure",
365
+ border: "Bordure",
366
+ borderSide: "Côté",
367
+ linkSides: "Même bordure sur tous les côtés",
368
+ unlinkSides: "Définir chaque côté séparément",
369
+ linkCorners: "Même rayon pour tous les coins",
370
+ unlinkCorners: "Définir chaque coin séparément",
371
+ cornerTopLeft: "En haut à gauche",
372
+ cornerTopRight: "En haut à droite",
373
+ cornerBottomRight: "En bas à droite",
374
+ cornerBottomLeft: "En bas à gauche",
362
375
  color: "Couleur",
363
376
  display: "Affichage",
364
377
  showOnDesktop: "Afficher sur ordinateur",
@@ -422,6 +435,7 @@ var e = {
422
435
  hexValue: "Valeur hexadécimale de la couleur",
423
436
  notSet: "Non définie",
424
437
  clear: "Effacer la couleur",
438
+ transparent: "Transparent",
425
439
  presetColors: "Couleurs prédéfinies"
426
440
  },
427
441
  mergeTag: {
@@ -621,5 +635,3 @@ var e = {
621
635
  };
622
636
  //#endregion
623
637
  export { e as default };
624
-
625
- //# sourceMappingURL=fr-wrXhIi00.js.map
@@ -359,6 +359,19 @@ var e = {
359
359
  spacing: "余白",
360
360
  padding: "内側の余白",
361
361
  background: "背景",
362
+ borderWidth: "枠線の太さ",
363
+ borderStyle: "枠線のスタイル",
364
+ borderColor: "枠線の色",
365
+ border: "枠線",
366
+ borderSide: "辺",
367
+ linkSides: "すべての辺に同じ枠線",
368
+ unlinkSides: "辺ごとに設定",
369
+ linkCorners: "すべての角に同じ丸み",
370
+ unlinkCorners: "角ごとに設定",
371
+ cornerTopLeft: "左上",
372
+ cornerTopRight: "右上",
373
+ cornerBottomRight: "右下",
374
+ cornerBottomLeft: "左下",
362
375
  color: "色",
363
376
  display: "表示",
364
377
  showOnDesktop: "デスクトップで表示",
@@ -422,6 +435,7 @@ var e = {
422
435
  hexValue: "16進数の色コード",
423
436
  notSet: "未設定",
424
437
  clear: "色の指定を解除",
438
+ transparent: "透明",
425
439
  presetColors: "プリセットの色"
426
440
  },
427
441
  mergeTag: {
@@ -359,6 +359,19 @@ var e = {
359
359
  spacing: "Afstand",
360
360
  padding: "Binnenmarge",
361
361
  background: "Achtergrond",
362
+ borderWidth: "Randdikte",
363
+ borderStyle: "Randstijl",
364
+ borderColor: "Randkleur",
365
+ border: "Rand",
366
+ borderSide: "Zijde",
367
+ linkSides: "Dezelfde rand aan alle zijden",
368
+ unlinkSides: "Elke zijde apart instellen",
369
+ linkCorners: "Dezelfde straal voor alle hoeken",
370
+ unlinkCorners: "Elke hoek apart instellen",
371
+ cornerTopLeft: "Linksboven",
372
+ cornerTopRight: "Rechtsboven",
373
+ cornerBottomRight: "Rechtsonder",
374
+ cornerBottomLeft: "Linksonder",
362
375
  color: "Kleur",
363
376
  display: "Weergave",
364
377
  showOnDesktop: "Tonen op desktop",
@@ -422,6 +435,7 @@ var e = {
422
435
  hexValue: "Hexadecimale kleurwaarde",
423
436
  notSet: "Niet ingesteld",
424
437
  clear: "Kleur wissen",
438
+ transparent: "Transparant",
425
439
  presetColors: "Vooraf ingestelde kleuren"
426
440
  },
427
441
  mergeTag: {
@@ -1,8 +1,8 @@
1
- import { G as e, U as t, z as n } from "./dist-DbUZvK04.js";
1
+ import { G as e, V as t, q as n } from "./dist-iLUVPysa.js";
2
2
  //#region src/utils/preRenderCustomBlocks.ts
3
3
  async function r(r, i) {
4
4
  let a = async (r) => {
5
- if (n(r)) {
5
+ if (t(r)) {
6
6
  let e = r;
7
7
  try {
8
8
  e.renderedHtml = await i.renderCustomBlock(e);
@@ -10,8 +10,8 @@ async function r(r, i) {
10
10
  e.renderedHtml = `<!-- Custom block render error: ${e.customType} -->`;
11
11
  }
12
12
  }
13
- if (t(r)) for (let e of r.children) for (let t of e) await a(t);
14
- else if (e(r)) for (let e of r.children) await a(e);
13
+ if (e(r)) for (let e of r.children) for (let t of e) await a(t);
14
+ else if (n(r)) for (let e of r.children) await a(e);
15
15
  };
16
16
  for (let e of r.blocks) await a(e);
17
17
  }
@@ -359,6 +359,19 @@ var e = {
359
359
  spacing: "Espaçamento",
360
360
  padding: "Preenchimento",
361
361
  background: "Plano de Fundo",
362
+ borderWidth: "Largura da borda",
363
+ borderStyle: "Estilo da borda",
364
+ borderColor: "Cor da borda",
365
+ border: "Borda",
366
+ borderSide: "Lado",
367
+ linkSides: "Mesma borda em todos os lados",
368
+ unlinkSides: "Definir cada lado separadamente",
369
+ linkCorners: "Mesmo raio em todos os cantos",
370
+ unlinkCorners: "Definir cada canto separadamente",
371
+ cornerTopLeft: "Superior esquerdo",
372
+ cornerTopRight: "Superior direito",
373
+ cornerBottomRight: "Inferior direito",
374
+ cornerBottomLeft: "Inferior esquerdo",
362
375
  color: "Cor",
363
376
  display: "Exibição",
364
377
  showOnDesktop: "Mostrar no desktop",
@@ -422,6 +435,7 @@ var e = {
422
435
  hexValue: "Valor hexadecimal da cor",
423
436
  notSet: "Não definido",
424
437
  clear: "Limpar cor",
438
+ transparent: "Transparente",
425
439
  presetColors: "Cores predefinidas"
426
440
  },
427
441
  mergeTag: {
@@ -1,7 +1,7 @@
1
1
  import { H as e, J as t, R as n, X as r, Y as i, Z as a, ot as o, rt as s, s as c } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { M as l, Z as u, _ as d, a as f, l as p, p as m, s as h, u as g } from "./dist-DbUZvK04.js";
2
+ import { $ as l, P as u, d, f, h as p, l as m, s as h, y as g } from "./dist-iLUVPysa.js";
3
3
  import { r as _ } from "./dist-BDuPwOyn.js";
4
- import { a as v, o as y } from "./usePopoverPosition-DH7z3Ghm.js";
4
+ import { o as v, s as y } from "./usePopoverPosition-BYmd-lhR.js";
5
5
  import { t as b } from "./createLucideIcon-BxY5yz5u.js";
6
6
  //#region ../core/dist/index.js
7
7
  function x(e) {
@@ -18,8 +18,8 @@ function C(e) {
18
18
  return e === "1" ? 1 : e === "3" ? 3 : 2;
19
19
  }
20
20
  function w(t) {
21
- let n = t.content ?? d(t.defaultFontFamily, t.templateDefaults);
22
- p(n), g(n);
21
+ let n = t.content ?? g(t.defaultFontFamily, t.templateDefaults);
22
+ d(n), f(n);
23
23
  let a = i({
24
24
  template: null,
25
25
  content: n,
@@ -51,15 +51,15 @@ function w(t) {
51
51
  }
52
52
  return null;
53
53
  }
54
- function f(e, t) {
55
- if (t.add(e.id), e.type === "section") for (let n of e.children) for (let e of n) f(e, t);
54
+ function p(e, t) {
55
+ if (t.add(e.id), e.type === "section") for (let n of e.children) for (let e of n) p(e, t);
56
56
  }
57
- function m(e, t, n = { blocks: e }) {
57
+ function h(e, t, n = { blocks: e }) {
58
58
  for (let r = 0; r < e.length; r++) {
59
59
  let i = e[r];
60
60
  if (i.id === t) return n;
61
61
  if (i.type === "section") for (let e = 0; e < i.children.length; e++) {
62
- let n = m(i.children[e], t, {
62
+ let n = h(i.children[e], t, {
63
63
  blocks: i.children[e],
64
64
  sectionId: i.id,
65
65
  columnIndex: e
@@ -73,7 +73,7 @@ function w(t) {
73
73
  return t.lockedBlocks?.value.has(e) ?? !1;
74
74
  }
75
75
  function v(e) {
76
- let t = m(a.content.blocks, e);
76
+ let t = h(a.content.blocks, e);
77
77
  if (!t) return null;
78
78
  let n = t.blocks.findIndex((t) => t.id === e);
79
79
  return n === -1 ? null : {
@@ -83,7 +83,7 @@ function w(t) {
83
83
  };
84
84
  }
85
85
  function y(e, t = !0) {
86
- p(e), g(e), a.content = e, t && s();
86
+ d(e), f(e), a.content = e, t && s();
87
87
  }
88
88
  function b(e) {
89
89
  e && _(e) || (a.selectedBlockId = e);
@@ -116,7 +116,7 @@ function w(t) {
116
116
  settings: a.content.settings,
117
117
  blocks: [e]
118
118
  };
119
- if (p(i), g(i), !(t && e.type === "section")) {
119
+ if (d(i), f(i), !(t && e.type === "section")) {
120
120
  if (t) {
121
121
  if (_(t)) return;
122
122
  let i = u(a.content.blocks, t);
@@ -132,14 +132,14 @@ function w(t) {
132
132
  }
133
133
  function A(e) {
134
134
  if (_(e)) return;
135
- let t = m(a.content.blocks, e);
135
+ let t = h(a.content.blocks, e);
136
136
  if (t) {
137
137
  let n = t.blocks.findIndex((t) => t.id === e);
138
138
  if (n !== -1) {
139
139
  let [e] = t.blocks.splice(n, 1);
140
140
  if (a.selectedBlockId) {
141
141
  let t = /* @__PURE__ */ new Set();
142
- f(e, t), t.has(a.selectedBlockId) && (a.selectedBlockId = null);
142
+ p(e, t), t.has(a.selectedBlockId) && (a.selectedBlockId = null);
143
143
  }
144
144
  s();
145
145
  }
@@ -147,7 +147,7 @@ function w(t) {
147
147
  }
148
148
  function j(e, t, n, r = 0) {
149
149
  if (_(e) || n && _(n)) return;
150
- let i = m(a.content.blocks, e);
150
+ let i = h(a.content.blocks, e);
151
151
  if (!i) return;
152
152
  let o = i.blocks.findIndex((t) => t.id === e);
153
153
  if (o === -1 || n && i.blocks[o].type === "section") return;
@@ -164,7 +164,7 @@ function w(t) {
164
164
  s();
165
165
  }
166
166
  function N(e, t) {
167
- throw new h(`[Templatical] Templates: ${e} ${t}`);
167
+ throw new m(`[Templatical] Templates: ${e} ${t}`);
168
168
  }
169
169
  function P(e) {
170
170
  S(t.onError, e);
@@ -202,7 +202,7 @@ function w(t) {
202
202
  let n = F("load()"), r;
203
203
  a.isLoading = !0;
204
204
  try {
205
- r = await n.load(e), p(r.content), g(r.content), a.template = r, a.content = r.content, a.isDirty = !1;
205
+ r = await n.load(e), d(r.content), f(r.content), a.template = r, a.content = r.content, a.isDirty = !1;
206
206
  } catch (e) {
207
207
  throw t.onError?.(e), e;
208
208
  } finally {
@@ -267,9 +267,9 @@ function w(t) {
267
267
  }
268
268
  var T = 50, E = 300, D = 1500;
269
269
  function O(t) {
270
- let { content: n, setContent: r, isRemoteOperation: i, maxSize: o = T } = t, s = a([]), c = a([]), l = a(!1), d = null, f = null, p = e(() => s.value.length > 0), m = e(() => c.value.length > 0);
270
+ let { content: n, setContent: r, isRemoteOperation: i, maxSize: o = T } = t, s = a([]), c = a([]), u = a(!1), d = null, f = null, p = e(() => s.value.length > 0), m = e(() => c.value.length > 0);
271
271
  function h() {
272
- return u(n.value);
272
+ return l(n.value);
273
273
  }
274
274
  function g(e) {
275
275
  s.value.push(e), s.value.length > o && s.value.splice(0, s.value.length - o);
@@ -297,8 +297,8 @@ function O(t) {
297
297
  }
298
298
  }
299
299
  function b() {
300
- l.value = !0, d && clearTimeout(d), d = setTimeout(() => {
301
- l.value = !1, d = null;
300
+ u.value = !0, d && clearTimeout(d), d = setTimeout(() => {
301
+ u.value = !1, d = null;
302
302
  }, D);
303
303
  }
304
304
  function x() {
@@ -322,7 +322,7 @@ function O(t) {
322
322
  return {
323
323
  canUndo: p,
324
324
  canRedo: m,
325
- isNavigating: l,
325
+ isNavigating: u,
326
326
  undo: x,
327
327
  redo: S,
328
328
  record: v,
@@ -334,30 +334,30 @@ function O(t) {
334
334
  function k(e) {
335
335
  e.type === "table" ? e.rows = e.rows.map((e) => ({
336
336
  ...e,
337
- id: l(),
337
+ id: u(),
338
338
  cells: e.cells.map((e) => ({
339
339
  ...e,
340
- id: l()
340
+ id: u()
341
341
  }))
342
342
  })) : e.type === "social" ? e.icons = e.icons.map((e) => ({
343
343
  ...e,
344
- id: l()
344
+ id: u()
345
345
  })) : e.type === "menu" && (e.items = e.items.map((e) => ({
346
346
  ...e,
347
- id: l()
347
+ id: u()
348
348
  })));
349
349
  }
350
350
  function A(e) {
351
351
  let { addBlock: t, removeBlock: n, updateBlock: r, selectBlock: i, findBlockLocation: a } = e;
352
352
  function o(n, r, a) {
353
- let o = typeof e.blockDefaults == "function" ? e.blockDefaults() : e.blockDefaults, s = m(n, o);
353
+ let o = typeof e.blockDefaults == "function" ? e.blockDefaults() : e.blockDefaults, s = p(n, o);
354
354
  return t(s, r, a), i(s.id), s;
355
355
  }
356
356
  function s(e, n, r) {
357
357
  let o = JSON.parse(JSON.stringify(e));
358
- if (o.id = l(), k(o), o.type === "section" && (o.children = o.children.map((e) => e.map((e) => {
358
+ if (o.id = u(), k(o), o.type === "section" && (o.children = o.children.map((e) => e.map((e) => {
359
359
  let t = JSON.parse(JSON.stringify(e));
360
- return t.id = l(), k(t), t;
360
+ return t.id = u(), k(t), t;
361
361
  }))), n !== void 0 || r !== void 0) t(o, n, r);
362
362
  else {
363
363
  let i = a?.(e.id) ?? null;
@@ -368,14 +368,14 @@ function A(e) {
368
368
  function c(e) {
369
369
  n(e);
370
370
  }
371
- function u(e, t, n) {
371
+ function l(e, t, n) {
372
372
  r(e, { [t]: n });
373
373
  }
374
374
  return {
375
375
  createAndAddBlock: o,
376
376
  duplicateBlock: s,
377
377
  deleteBlock: c,
378
- updateBlockProperty: u
378
+ updateBlockProperty: l
379
379
  };
380
380
  }
381
381
  var j = 2e3;
@@ -493,12 +493,12 @@ function I(e) {
493
493
  return l.value && e.canDelete !== !1;
494
494
  }
495
495
  function f(e, t) {
496
- throw new h(`[Templatical] Saved blocks: ${e} is ${t}. Check the capability before calling — the editor's own UI hides the action.`);
496
+ throw new m(`[Templatical] Saved blocks: ${e} is ${t}. Check the capability before calling — the editor's own UI hides the action.`);
497
497
  }
498
498
  function p(t) {
499
499
  S(e.onError, t);
500
500
  }
501
- async function m(i) {
501
+ async function h(i) {
502
502
  r.value = !0;
503
503
  try {
504
504
  n.value = await t.list(i);
@@ -557,7 +557,7 @@ function I(e) {
557
557
  canDelete: l,
558
558
  canUpdateBlock: u,
559
559
  canDeleteBlock: d,
560
- load: m,
560
+ load: h,
561
561
  create: g,
562
562
  update: _,
563
563
  remove: v
@@ -590,7 +590,7 @@ function R(e = {}) {
590
590
  },
591
591
  async create(e) {
592
592
  let t = (/* @__PURE__ */ new Date()).toISOString(), n = {
593
- id: l(),
593
+ id: u(),
594
594
  name: e.name,
595
595
  content: e.content,
596
596
  ...e.category ? { category: e.category } : {},
@@ -660,7 +660,7 @@ function V(e = {}) {
660
660
  },
661
661
  async create(e) {
662
662
  let t = await a(e.file), n = (/* @__PURE__ */ new Date()).toISOString(), o = {
663
- id: l(),
663
+ id: u(),
664
664
  url: t,
665
665
  filename: e.filename || e.file.name,
666
666
  createdAt: n,
@@ -699,13 +699,13 @@ function H(e) {
699
699
  let { provider: t, getTemplateId: n } = e, r = a([]), i = a(!1), o = a(void 0), s = a(!1), l = /* @__PURE__ */ new Map(), u = c(() => typeof t.create == "function"), d = c(() => typeof t.restore == "function");
700
700
  function f(e) {
701
701
  let t = n();
702
- if (!t) throw new h(`[Templatical] Version history: ${e} needs a template. Call create() or load() first.`);
702
+ if (!t) throw new m(`[Templatical] Version history: ${e} needs a template. Call create() or load() first.`);
703
703
  return t;
704
704
  }
705
705
  function p(e) {
706
- throw new h(`[Templatical] Version history: ${e} is disabled by the provider. Check the capability before calling — the editor's own UI hides the action.`);
706
+ throw new m(`[Templatical] Version history: ${e} is disabled by the provider. Check the capability before calling — the editor's own UI hides the action.`);
707
707
  }
708
- function m(t) {
708
+ function h(t) {
709
709
  S(e.onError, t);
710
710
  }
711
711
  async function g(n) {
@@ -740,7 +740,7 @@ function H(e) {
740
740
  let o = f("create");
741
741
  try {
742
742
  let e = await a(o, n, i);
743
- return r.value = [e, ...r.value], m(() => t.onCreated?.(e)), e;
743
+ return r.value = [e, ...r.value], h(() => t.onCreated?.(e)), e;
744
744
  } catch (t) {
745
745
  throw e.onError?.(t), t;
746
746
  }
@@ -757,7 +757,7 @@ function H(e) {
757
757
  } finally {
758
758
  s.value = !1;
759
759
  }
760
- return m(() => t.onRestored?.(a)), a;
760
+ return h(() => t.onRestored?.(a)), a;
761
761
  }
762
762
  return {
763
763
  nextCursor: o,
@@ -774,23 +774,23 @@ function H(e) {
774
774
  };
775
775
  }
776
776
  function U(e) {
777
- let { provider: t, getTemplateId: n, getUser: r } = e, i = a([]), o = a(!1), s = a(!1), l = c(() => typeof t.create == "function"), u = c(() => typeof t.update == "function"), d = c(() => typeof t.delete == "function"), f = c(() => typeof t.setResolved == "function"), p = c(() => i.value.reduce((e, t) => e + 1 + (t.replies?.length ?? 0), 0)), m = c(() => i.value.filter((e) => !e.resolvedAt).length), g = c(() => {
777
+ let { provider: t, getTemplateId: n, getUser: r } = e, i = a([]), o = a(!1), s = a(!1), l = c(() => typeof t.create == "function"), u = c(() => typeof t.update == "function"), d = c(() => typeof t.delete == "function"), f = c(() => typeof t.setResolved == "function"), p = c(() => i.value.reduce((e, t) => e + 1 + (t.replies?.length ?? 0), 0)), h = c(() => i.value.filter((e) => !e.resolvedAt).length), g = c(() => {
778
778
  let e = /* @__PURE__ */ new Map();
779
779
  for (let t of i.value) t.blockId && e.set(t.blockId, (e.get(t.blockId) ?? 0) + 1 + (t.replies?.length ?? 0));
780
780
  return e;
781
781
  });
782
782
  function _(e) {
783
783
  let t = n();
784
- if (!t) throw new h(`[Templatical] Comments: ${e} needs a template. Call create() or load() first.`);
784
+ if (!t) throw new m(`[Templatical] Comments: ${e} needs a template. Call create() or load() first.`);
785
785
  return t;
786
786
  }
787
787
  function v(e) {
788
788
  let t = r();
789
- if (!t) throw new h(`[Templatical] Comments: ${e} needs to know who is commenting. Pass init({ user: { id, name } }) — an unattributed comment is not written.`);
789
+ if (!t) throw new m(`[Templatical] Comments: ${e} needs to know who is commenting. Pass init({ user: { id, name } }) — an unattributed comment is not written.`);
790
790
  return t;
791
791
  }
792
792
  function y(e) {
793
- throw new h(`[Templatical] Comments: ${e} is disabled by the provider. Check the capability before calling — the editor's own UI hides the action.`);
793
+ throw new m(`[Templatical] Comments: ${e} is disabled by the provider. Check the capability before calling — the editor's own UI hides the action.`);
794
794
  }
795
795
  function b(e) {
796
796
  for (let t of i.value) {
@@ -934,7 +934,7 @@ function U(e) {
934
934
  canDelete: d,
935
935
  canResolve: f,
936
936
  totalCount: p,
937
- unresolvedCount: m,
937
+ unresolvedCount: h,
938
938
  commentCountByBlock: g,
939
939
  load: A,
940
940
  create: j,
@@ -1109,7 +1109,7 @@ function ee(e) {
1109
1109
  }
1110
1110
  //#endregion
1111
1111
  //#region src/constants/socialIcons.ts
1112
- var te = f, ne = {
1112
+ var te = h, ne = {
1113
1113
  small: 24,
1114
1114
  medium: 32,
1115
1115
  large: 48