@templatical/editor 0.26.2 → 0.27.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 (285) hide show
  1. package/README.md +3 -1
  2. package/dist/{AiChatSidebar-CMBz6Wix.js → AiChatSidebar-iVJDzqjr.js} +60 -60
  3. package/dist/AiFeatureMenu-DvrK-dzj.js +57 -0
  4. package/dist/{BlockIssueBadge-Buk3_6QF.js → BlockIssueBadge-BHysq7XQ.js} +11 -11
  5. package/dist/BlockPreviewCanvas-GZbr0ph5.js +121 -0
  6. package/dist/CloudHeaderExtras-Cx8gFWu2.js +59 -0
  7. package/dist/CloudPanels-D0X449DD.js +227 -0
  8. package/dist/{CollaboratorBar-zvfvE7f-.js → CollaboratorBar-DMSWCrX3.js} +21 -21
  9. package/dist/ColorPicker-DCjFQCAg.js +501 -0
  10. package/dist/CommentsPanel-D5wQB1Kf.js +18 -0
  11. package/dist/CommentsSidebar-BoTIxpLE.js +481 -0
  12. package/dist/{cdn/chunks/CountdownBlock-vLTkTI9e.js → CountdownBlock-BFX8iU90.js} +19 -21
  13. package/dist/{cdn/chunks/CountdownToolbar-DPjcgcVR.js → CountdownToolbar-CSftc9Ma.js} +52 -53
  14. package/dist/{DesignReferenceSidebar-Bx96XFmK.js → DesignReferenceSidebar-DKsx2TiL.js} +72 -71
  15. package/dist/{IssuesPanel-Do7RLXsP.js → IssuesPanel-flKKwKpM.js} +38 -38
  16. package/dist/{LoadingTrack-BexpNuTV.js → LoadingTrack-C2T8ixEL.js} +3 -3
  17. package/dist/{MergeTagModeToggle-P-UguQHc.js → MergeTagModeToggle-PKCoKAoF.js} +43 -43
  18. package/dist/{MergeTagSuggestion-BJ43ihWR.js → MergeTagSuggestion-DGha0WRp.js} +46 -46
  19. package/dist/{cdn/chunks/NumberWithSuffix-BXrRdfq1.js → NumberWithSuffix-DdPCXfKf.js} +42 -44
  20. package/dist/{ParagraphEditor-CLvv5Ija.js → ParagraphEditor-vDU-5y6r.js} +202 -199
  21. package/dist/RestoreVersionDialog-DIn1muFD.js +86 -0
  22. package/dist/{RichTextEditorContent-fbYJXAio.js → RichTextEditorContent-I83k5DtQ.js} +44 -44
  23. package/dist/SaveBlockDialog-C_QvYAeL.js +266 -0
  24. package/dist/{SavedBlocksBrowserModal-KWlaiLlr.js → SavedBlocksBrowserModal-CefWWcdT.js} +116 -115
  25. package/dist/{cdn/chunks/SavedBlocksPanels-e4HyTZ8v.js → SavedBlocksPanels-DnQwO-7O.js} +9 -11
  26. package/dist/{SavedBlocksPickBar-C3h8oL3r.js → SavedBlocksPickBar-BsFubArH.js} +17 -17
  27. package/dist/{TemplateScoringPanel-BZUsb3FD.js → TemplateScoringPanel-Bv_bBsJi.js} +87 -87
  28. package/dist/TestEmailModal-STPWDP79.js +206 -0
  29. package/dist/{cdn/chunks/TestEmailPanel-CZAG1gQE.js → TestEmailPanel-HYVjApKZ.js} +4 -6
  30. package/dist/TitleEditor-DnB0EJ_g.js +198 -0
  31. package/dist/TplModal-chvLhXmC.js +49 -0
  32. package/dist/VersionHistoryMenu-Cq4rH56t.js +155 -0
  33. package/dist/VersionHistoryPanels-D7k_F7-9.js +46 -0
  34. package/dist/VersionPreviewBanner-DthyHe6C.js +38 -0
  35. package/dist/{blockTypeIcons-2_85L_CL.js → blockTypeIcons-B8r4jMBn.js} +6 -6
  36. package/dist/bundle-stats.json +8 -8
  37. package/dist/{ca-D1zgI9fQ.js → ca-Cqg9O8mx.js} +69 -6
  38. package/dist/cdn/chunks/{AiChatSidebar-CQ8KUmNB.js → AiChatSidebar-DTUoBH5a.js} +54 -54
  39. package/dist/cdn/chunks/AiChatSidebar-DTUoBH5a.js.map +1 -0
  40. package/dist/cdn/chunks/AiFeatureMenu-Dyh7mUMB.js +57 -0
  41. package/dist/cdn/chunks/AiFeatureMenu-Dyh7mUMB.js.map +1 -0
  42. package/dist/cdn/chunks/{BlockIssueBadge-BEEY9o2o.js → BlockIssueBadge-UzSSOM_2.js} +13 -13
  43. package/dist/cdn/chunks/{BlockIssueBadge-BEEY9o2o.js.map → BlockIssueBadge-UzSSOM_2.js.map} +1 -1
  44. package/dist/cdn/chunks/{BlockPreviewCanvas-DPtiMsVz.js → BlockPreviewCanvas-DStQFo9P.js} +42 -42
  45. package/dist/cdn/chunks/{BlockPreviewCanvas-DPtiMsVz.js.map → BlockPreviewCanvas-DStQFo9P.js.map} +1 -1
  46. package/dist/cdn/chunks/CloudHeaderExtras-BZVu7dnO.js +60 -0
  47. package/dist/cdn/chunks/CloudHeaderExtras-BZVu7dnO.js.map +1 -0
  48. package/dist/cdn/chunks/CloudPanels-CXbaBKHQ.js +227 -0
  49. package/dist/cdn/chunks/CloudPanels-CXbaBKHQ.js.map +1 -0
  50. package/dist/cdn/chunks/{CollaboratorBar-BF469_AN.js → CollaboratorBar-BH_lZlat.js} +22 -22
  51. package/dist/cdn/chunks/CollaboratorBar-BH_lZlat.js.map +1 -0
  52. package/dist/cdn/chunks/ColorPicker-CStXen0Y.js +502 -0
  53. package/dist/cdn/chunks/ColorPicker-CStXen0Y.js.map +1 -0
  54. package/dist/cdn/chunks/CommentsPanel-jzZ2X0P4.js +20 -0
  55. package/dist/cdn/chunks/CommentsPanel-jzZ2X0P4.js.map +1 -0
  56. package/dist/cdn/chunks/CommentsSidebar-Dxke-vUP.js +460 -0
  57. package/dist/cdn/chunks/CommentsSidebar-Dxke-vUP.js.map +1 -0
  58. package/dist/{CountdownBlock-DuyvGcr8.js → cdn/chunks/CountdownBlock-BYSrJWxg.js} +25 -23
  59. package/dist/cdn/chunks/{CountdownBlock-vLTkTI9e.js.map → CountdownBlock-BYSrJWxg.js.map} +1 -1
  60. package/dist/{CountdownToolbar-CBE9wRaV.js → cdn/chunks/CountdownToolbar-CZPtQIb8.js} +66 -63
  61. package/dist/cdn/chunks/{CountdownToolbar-DPjcgcVR.js.map → CountdownToolbar-CZPtQIb8.js.map} +1 -1
  62. package/dist/cdn/chunks/{DesignReferenceSidebar-B-HFXV0W.js → DesignReferenceSidebar-sZWciECR.js} +64 -64
  63. package/dist/cdn/chunks/DesignReferenceSidebar-sZWciECR.js.map +1 -0
  64. package/dist/cdn/chunks/{IssuesPanel-DKTS4QVb.js → IssuesPanel-CHtetM9i.js} +36 -36
  65. package/dist/cdn/chunks/IssuesPanel-CHtetM9i.js.map +1 -0
  66. package/dist/cdn/chunks/{LoadingTrack-C52ZGL5q.js → LoadingTrack-Dp_QZvAK.js} +3 -3
  67. package/dist/cdn/chunks/{LoadingTrack-C52ZGL5q.js.map → LoadingTrack-Dp_QZvAK.js.map} +1 -1
  68. package/dist/cdn/chunks/{MergeTagModeToggle-DQ79SqQc.js → MergeTagModeToggle-ZwW-5EeN.js} +39 -39
  69. package/dist/cdn/chunks/{MergeTagModeToggle-DQ79SqQc.js.map → MergeTagModeToggle-ZwW-5EeN.js.map} +1 -1
  70. package/dist/cdn/chunks/{MergeTagSuggestion-Dn8dExNa.js → MergeTagSuggestion-DhllqTA3.js} +47 -47
  71. package/dist/cdn/chunks/MergeTagSuggestion-DhllqTA3.js.map +1 -0
  72. package/dist/{NumberWithSuffix-D37ZWiZh.js → cdn/chunks/NumberWithSuffix-yeQLcCyH.js} +37 -35
  73. package/dist/cdn/chunks/NumberWithSuffix-yeQLcCyH.js.map +1 -0
  74. package/dist/cdn/chunks/{ParagraphEditor-Bzcma_Lm.js → ParagraphEditor-BJJ925sx.js} +235 -233
  75. package/dist/cdn/chunks/ParagraphEditor-BJJ925sx.js.map +1 -0
  76. package/dist/cdn/chunks/RestoreVersionDialog-B0Jadu6F.js +87 -0
  77. package/dist/cdn/chunks/RestoreVersionDialog-B0Jadu6F.js.map +1 -0
  78. package/dist/cdn/chunks/{RichTextEditorContent-DtL49Jpo.js → RichTextEditorContent-CfSq2wPR.js} +44 -44
  79. package/dist/cdn/chunks/RichTextEditorContent-CfSq2wPR.js.map +1 -0
  80. package/dist/cdn/chunks/SaveBlockDialog-C1DXh6P9.js +265 -0
  81. package/dist/cdn/chunks/SaveBlockDialog-C1DXh6P9.js.map +1 -0
  82. package/dist/cdn/chunks/{SavedBlocksBrowserModal-C59D4G5C.js → SavedBlocksBrowserModal-BerMxAUt.js} +114 -113
  83. package/dist/cdn/chunks/SavedBlocksBrowserModal-BerMxAUt.js.map +1 -0
  84. package/dist/{SavedBlocksPanels-CQsZvWO_.js → cdn/chunks/SavedBlocksPanels-BUE4lzVP.js} +11 -9
  85. package/dist/cdn/chunks/{SavedBlocksPanels-e4HyTZ8v.js.map → SavedBlocksPanels-BUE4lzVP.js.map} +1 -1
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-DMHxPCM4.js → SavedBlocksPickBar-4HrqQfvl.js} +17 -17
  87. package/dist/cdn/chunks/SavedBlocksPickBar-4HrqQfvl.js.map +1 -0
  88. package/dist/cdn/chunks/{TemplateScoringPanel-NucRtAP0.js → TemplateScoringPanel-Xdkp2EMY.js} +81 -81
  89. package/dist/cdn/chunks/TemplateScoringPanel-Xdkp2EMY.js.map +1 -0
  90. package/dist/cdn/chunks/TestEmailModal-yfmFiavR.js +206 -0
  91. package/dist/cdn/chunks/TestEmailModal-yfmFiavR.js.map +1 -0
  92. package/dist/{TestEmailPanel-B6goIAxT.js → cdn/chunks/TestEmailPanel-DqTDh5ri.js} +6 -4
  93. package/dist/cdn/chunks/{TestEmailPanel-CZAG1gQE.js.map → TestEmailPanel-DqTDh5ri.js.map} +1 -1
  94. package/dist/cdn/chunks/{TitleEditor-D0_LY2Ex.js → TitleEditor-nUAF7fKr.js} +85 -84
  95. package/dist/cdn/chunks/TitleEditor-nUAF7fKr.js.map +1 -0
  96. package/dist/cdn/chunks/TplModal-C0IqikoV.js +50 -0
  97. package/dist/cdn/chunks/TplModal-C0IqikoV.js.map +1 -0
  98. package/dist/cdn/chunks/VersionHistoryMenu-_MAj3qZj.js +148 -0
  99. package/dist/cdn/chunks/VersionHistoryMenu-_MAj3qZj.js.map +1 -0
  100. package/dist/cdn/chunks/VersionHistoryPanels-6Hz9w20W.js +48 -0
  101. package/dist/cdn/chunks/VersionHistoryPanels-6Hz9w20W.js.map +1 -0
  102. package/dist/cdn/chunks/VersionPreviewBanner-D098_6_I.js +40 -0
  103. package/dist/cdn/chunks/VersionPreviewBanner-D098_6_I.js.map +1 -0
  104. package/dist/cdn/chunks/{blockTypeIcons-FXlMM3PL.js → blockTypeIcons-hX_W4dqo.js} +2 -2
  105. package/dist/cdn/chunks/{blockTypeIcons-FXlMM3PL.js.map → blockTypeIcons-hX_W4dqo.js.map} +1 -1
  106. package/dist/cdn/chunks/{ca-D1zgI9fQ.js → ca-Cqg9O8mx.js} +70 -7
  107. package/dist/cdn/chunks/ca-Cqg9O8mx.js.map +1 -0
  108. package/dist/{cloud-qINCmQbn.js → cdn/chunks/cloud-BA0OpRh-.js} +400 -609
  109. package/dist/cdn/chunks/cloud-BA0OpRh-.js.map +1 -0
  110. package/dist/cdn/chunks/createCloudRuntime-DmzV7OnU.js +344 -0
  111. package/dist/cdn/chunks/createCloudRuntime-DmzV7OnU.js.map +1 -0
  112. package/dist/{de-DHra3lvx.js → cdn/chunks/de-BXmeeFbX.js} +71 -6
  113. package/dist/cdn/chunks/de-BXmeeFbX.js.map +1 -0
  114. package/dist/{de-uVoSP1xF.js → cdn/chunks/de-Dbwm2cON.js} +3 -54
  115. package/dist/cdn/chunks/de-Dbwm2cON.js.map +1 -0
  116. package/dist/cdn/chunks/{dist-B2HKGHnc.js → dist-CM8TB0VD.js} +136 -136
  117. package/dist/cdn/chunks/{dist-B2HKGHnc.js.map → dist-CM8TB0VD.js.map} +1 -1
  118. package/dist/cdn/chunks/{dist-C6z8AjBC.js → dist-CYLJiSiH.js} +63 -63
  119. package/dist/cdn/chunks/{dist-C6z8AjBC.js.map → dist-CYLJiSiH.js.map} +1 -1
  120. package/dist/cdn/chunks/{draggable-DCs9qL-b.js → draggable-BfpsXFg7.js} +916 -905
  121. package/dist/cdn/chunks/{draggable-DCs9qL-b.js.map → draggable-BfpsXFg7.js.map} +1 -1
  122. package/dist/cdn/chunks/{en-DlqX2YWZ.js → en-DbBNy67B.js} +70 -7
  123. package/dist/cdn/chunks/en-DbBNy67B.js.map +1 -0
  124. package/dist/{en-CjhsJxb-.js → cdn/chunks/en-Dzw4EqNI.js} +3 -54
  125. package/dist/cdn/chunks/en-Dzw4EqNI.js.map +1 -0
  126. package/dist/cdn/chunks/{es-Cuss2snv.js → es-JUsAjxWu.js} +70 -7
  127. package/dist/cdn/chunks/es-JUsAjxWu.js.map +1 -0
  128. package/dist/cdn/chunks/{extensions-C7h52yuk.js → extensions-CMcVw2uu.js} +81 -67
  129. package/dist/cdn/chunks/extensions-CMcVw2uu.js.map +1 -0
  130. package/dist/{fr-Cm85vB2g.js → cdn/chunks/fr-J3qgXH4h.js} +71 -6
  131. package/dist/cdn/chunks/fr-J3qgXH4h.js.map +1 -0
  132. package/dist/cdn/chunks/{icons-CvYN6zrM.js → icons-C36Ha5VU.js} +11 -11
  133. package/dist/cdn/chunks/{icons-CvYN6zrM.js.map → icons-C36Ha5VU.js.map} +1 -1
  134. package/dist/{keys-fwF3qZax.js → cdn/chunks/keys-CbQuRX85.js} +6 -4
  135. package/dist/cdn/chunks/keys-CbQuRX85.js.map +1 -0
  136. package/dist/cdn/chunks/logger-ByvdoAwq.js +23 -0
  137. package/dist/cdn/chunks/logger-ByvdoAwq.js.map +1 -0
  138. package/dist/cdn/chunks/{nl-dmiIX7oT.js → nl-D_4DkqOi.js} +70 -7
  139. package/dist/cdn/chunks/nl-D_4DkqOi.js.map +1 -0
  140. package/dist/cdn/chunks/preRenderCustomBlocks-CbA3RcAy.js +23 -0
  141. package/dist/cdn/chunks/preRenderCustomBlocks-CbA3RcAy.js.map +1 -0
  142. package/dist/{pt-BR-CTzHTqJD.js → cdn/chunks/pt-BR-BxzQzWGJ.js} +3 -54
  143. package/dist/cdn/chunks/pt-BR-BxzQzWGJ.js.map +1 -0
  144. package/dist/cdn/chunks/{pt-BR-CaIG-7EM.js → pt-BR-KGURyEEQ.js} +70 -7
  145. package/dist/cdn/chunks/pt-BR-KGURyEEQ.js.map +1 -0
  146. package/dist/cdn/chunks/{src-CUKUsRzX.js → src-BOjFLNf7.js} +148 -134
  147. package/dist/cdn/chunks/src-BOjFLNf7.js.map +1 -0
  148. package/dist/cdn/chunks/{src-xkGep9eN.js → src-Dq3fgSIx.js} +1448 -1458
  149. package/dist/cdn/chunks/src-Dq3fgSIx.js.map +1 -0
  150. package/dist/cdn/chunks/styleConstants-ByDqaYj_.js +61 -0
  151. package/dist/cdn/chunks/styleConstants-ByDqaYj_.js.map +1 -0
  152. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +6 -0
  153. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +1 -0
  154. package/dist/cdn/chunks/{tiptap-C44S1Cmh.js → tiptap-DmpGap5g.js} +40 -40
  155. package/dist/cdn/chunks/{tiptap-C44S1Cmh.js.map → tiptap-DmpGap5g.js.map} +1 -1
  156. package/dist/cdn/chunks/{useAliveFlag-Dxwgo6P4.js → useAliveFlag-Dtm174fG.js} +2 -2
  157. package/dist/cdn/chunks/{useAliveFlag-Dxwgo6P4.js.map → useAliveFlag-Dtm174fG.js.map} +1 -1
  158. package/dist/cdn/chunks/{useCloudI18n-8wkJtuJD.js → useCloudI18n-NVa1aeY8.js} +5 -5
  159. package/dist/cdn/chunks/{useCloudI18n-8wkJtuJD.js.map → useCloudI18n-NVa1aeY8.js.map} +1 -1
  160. package/dist/cdn/chunks/{useEditorCore-CKQ9gmoo.js → useEditorCore-CTu_qZ3W.js} +1434 -1147
  161. package/dist/cdn/chunks/useEditorCore-CTu_qZ3W.js.map +1 -0
  162. package/dist/cdn/chunks/{useI18n-UMs0F71x.js → useI18n-DVWCJJFH.js} +5 -5
  163. package/dist/cdn/chunks/{useI18n-UMs0F71x.js.map → useI18n-DVWCJJFH.js.map} +1 -1
  164. package/dist/cdn/chunks/{useMergeTag-JmXOtpln.js → useMergeTag-BfZBRPQp.js} +4 -4
  165. package/dist/cdn/chunks/{useMergeTag-JmXOtpln.js.map → useMergeTag-BfZBRPQp.js.map} +1 -1
  166. package/dist/cdn/chunks/{usePopoverPosition-cf8Y-ynK.js → usePopoverPosition-BC-HA7TK.js} +3 -3
  167. package/dist/cdn/chunks/{usePopoverPosition-cf8Y-ynK.js.map → usePopoverPosition-BC-HA7TK.js.map} +1 -1
  168. package/dist/cdn/editor.css +1 -1
  169. package/dist/cdn/editor.js +5103 -284
  170. package/dist/cdn/editor.js.map +1 -1
  171. package/dist/{check-On4TSac-.js → check-DZbmkMQe.js} +1 -1
  172. package/dist/{chevron-down-69EiBGoB.js → chevron-down-nYScOLeZ.js} +1 -1
  173. package/dist/{chevron-up-Dh3MG1Dw.js → chevron-up-CpYpDLnc.js} +1 -1
  174. package/dist/{circle-alert-cilwzafX.js → circle-alert-CuuK6thq.js} +1 -1
  175. package/dist/{clock-Dt0APH92.js → clock-DxkrtqOr.js} +1 -1
  176. package/dist/cloud-BAefVBb_.js +1444 -0
  177. package/dist/createCloudRuntime-Bt8W-ajI.js +342 -0
  178. package/dist/{createLucideIcon-C8WzBYCv.js → createLucideIcon-L-wQXW_R.js} +9 -9
  179. package/dist/{cdn/chunks/de-DHra3lvx.js → de-BXmeeFbX.js} +69 -8
  180. package/dist/{cdn/chunks/de-uVoSP1xF.js → de-Dbwm2cON.js} +1 -56
  181. package/dist/dist-B5iReTtK.js +251 -0
  182. package/dist/{dist-Cl8J0IES.js → dist-Ck9roB6K.js} +42 -42
  183. package/dist/{dist-BpKxrUi2.js → dist-CqcGTIiX.js} +46 -46
  184. package/dist/{en-DlqX2YWZ.js → en-DbBNy67B.js} +69 -6
  185. package/dist/{cdn/chunks/en-CjhsJxb-.js → en-Dzw4EqNI.js} +1 -56
  186. package/dist/{es-Cuss2snv.js → es-JUsAjxWu.js} +69 -6
  187. package/dist/{extensions-DzKNPITR.js → extensions-CX87G4aL.js} +71 -57
  188. package/dist/{cdn/chunks/fr-Cm85vB2g.js → fr-J3qgXH4h.js} +69 -8
  189. package/dist/{image-up-Ceggh_R3.js → image-up-DouZRGVt.js} +1 -1
  190. package/dist/index.d.ts +499 -23
  191. package/dist/{info-DO5odBcZ.js → info-puX5V6Iq.js} +1 -1
  192. package/dist/{cdn/chunks/keys-Cmc2Yl3D.js → keys-BxixS0TN.js} +4 -6
  193. package/dist/{list-checks-BSkPKbuI.js → list-checks-jw-ZlvWY.js} +1 -1
  194. package/dist/{loader-circle-bO7o7_HD.js → loader-circle-DqTxB7Kr.js} +1 -1
  195. package/dist/logger-BBlvSn6q.js +21 -0
  196. package/dist/{message-circle-BEkAk65X.js → message-circle-BZ7YpB22.js} +1 -1
  197. package/dist/{nl-dmiIX7oT.js → nl-D_4DkqOi.js} +69 -6
  198. package/dist/{pencil-t6m0EtKL.js → pencil-DmbRhTJu.js} +1 -1
  199. package/dist/preRenderCustomBlocks-BebjKtmw.js +21 -0
  200. package/dist/{cdn/chunks/pt-BR-CTzHTqJD.js → pt-BR-BxzQzWGJ.js} +1 -56
  201. package/dist/{pt-BR-CaIG-7EM.js → pt-BR-KGURyEEQ.js} +69 -6
  202. package/dist/{refresh-cw-CkOYVzK5.js → refresh-cw-OK_O-cL0.js} +1 -1
  203. package/dist/{runtime-dom.esm-bundler-CepEmvwF.js → runtime-dom.esm-bundler-BgKXIPLV.js} +144 -144
  204. package/dist/{scan-line-DwSVj25O.js → scan-line-DyaSTsJ5.js} +1 -1
  205. package/dist/{send-CWsWN8PQ.js → send-B-wasJJC.js} +1 -1
  206. package/dist/{shield-check-qje8Kufw.js → shield-check-DUIyRrTo.js} +1 -1
  207. package/dist/{sparkles-DumaWRW-.js → sparkles-DYEMATWC.js} +1 -1
  208. package/dist/style.css +1 -1
  209. package/dist/styleConstants-ByDqaYj_.js +59 -0
  210. package/dist/templatical-editor.js +5303 -289
  211. package/dist/{text-align-start-Ir8Ah4mT.js → text-align-start-CzjLeBLe.js} +1 -1
  212. package/dist/timeouts-DHPZQ0G3.js +4 -0
  213. package/dist/{trash-2-CklAFCmO.js → trash-2-C0shEPry.js} +1 -1
  214. package/dist/{triangle-alert-BBi4n93g.js → triangle-alert-Fw0ce8oQ.js} +1 -1
  215. package/dist/{upload-sVqqppuv.js → upload-D69C2CBx.js} +3 -4
  216. package/dist/{useAliveFlag-cvyBxHp7.js → useAliveFlag-BGIAZii_.js} +1 -1
  217. package/dist/{useCloudI18n-DKVm6PCa.js → useCloudI18n-CAZTZ9_a.js} +2 -2
  218. package/dist/{useEditorCore-idmPLUeb.js → useEditorCore-B-kONNRw.js} +1604 -1320
  219. package/dist/{useI18n-DoVKdCTH.js → useI18n-BfXff_Sy.js} +2 -2
  220. package/dist/{useMergeTag-CYZk7dZD.js → useMergeTag-Dd4I7kge.js} +3 -3
  221. package/dist/usePopoverPosition-CxhCX3SQ.js +59 -0
  222. package/dist/{vue.runtime.esm-bundler-D1diBMsm.js → vue.runtime.esm-bundler-DzEsDRtY.js} +447 -436
  223. package/dist/{x-Mby7KlhS.js → x-BjTlFqRv.js} +1 -1
  224. package/package.json +7 -7
  225. package/dist/AiFeatureMenu-BY6mubnR.js +0 -63
  226. package/dist/BlockPreviewCanvas-DbNOqSI1.js +0 -121
  227. package/dist/CloudEditor-DEnMNMbm.js +0 -1188
  228. package/dist/ColorPicker-ClETsjA3.js +0 -550
  229. package/dist/CommentsSidebar-CdRCCSDD.js +0 -435
  230. package/dist/SaveBlockDialog-fVp_PwZi.js +0 -265
  231. package/dist/SnapshotHistory-DjA3Ej_i.js +0 -128
  232. package/dist/TestEmailModal-EM0RP_9L.js +0 -205
  233. package/dist/TitleEditor-JEaP9jVF.js +0 -197
  234. package/dist/TplModal-DoneXIj_.js +0 -49
  235. package/dist/cdn/chunks/AiChatSidebar-CQ8KUmNB.js.map +0 -1
  236. package/dist/cdn/chunks/AiFeatureMenu-Cwj8afsi.js +0 -63
  237. package/dist/cdn/chunks/AiFeatureMenu-Cwj8afsi.js.map +0 -1
  238. package/dist/cdn/chunks/CloudEditor-CQ830jJt.js +0 -1166
  239. package/dist/cdn/chunks/CloudEditor-CQ830jJt.js.map +0 -1
  240. package/dist/cdn/chunks/CollaboratorBar-BF469_AN.js.map +0 -1
  241. package/dist/cdn/chunks/ColorPicker-W_UyiVGc.js +0 -552
  242. package/dist/cdn/chunks/ColorPicker-W_UyiVGc.js.map +0 -1
  243. package/dist/cdn/chunks/CommentsSidebar-BLRZRSSC.js +0 -412
  244. package/dist/cdn/chunks/CommentsSidebar-BLRZRSSC.js.map +0 -1
  245. package/dist/cdn/chunks/DesignReferenceSidebar-B-HFXV0W.js.map +0 -1
  246. package/dist/cdn/chunks/IssuesPanel-DKTS4QVb.js.map +0 -1
  247. package/dist/cdn/chunks/MergeTagSuggestion-Dn8dExNa.js.map +0 -1
  248. package/dist/cdn/chunks/NumberWithSuffix-BXrRdfq1.js.map +0 -1
  249. package/dist/cdn/chunks/ParagraphEditor-Bzcma_Lm.js.map +0 -1
  250. package/dist/cdn/chunks/RichTextEditorContent-DtL49Jpo.js.map +0 -1
  251. package/dist/cdn/chunks/SaveBlockDialog-BfNVeXXV.js +0 -264
  252. package/dist/cdn/chunks/SaveBlockDialog-BfNVeXXV.js.map +0 -1
  253. package/dist/cdn/chunks/SavedBlocksBrowserModal-C59D4G5C.js.map +0 -1
  254. package/dist/cdn/chunks/SavedBlocksPickBar-DMHxPCM4.js.map +0 -1
  255. package/dist/cdn/chunks/SnapshotHistory-80tAU_VX.js +0 -121
  256. package/dist/cdn/chunks/SnapshotHistory-80tAU_VX.js.map +0 -1
  257. package/dist/cdn/chunks/TemplateScoringPanel-NucRtAP0.js.map +0 -1
  258. package/dist/cdn/chunks/TestEmailModal-DdWfAGNe.js +0 -205
  259. package/dist/cdn/chunks/TestEmailModal-DdWfAGNe.js.map +0 -1
  260. package/dist/cdn/chunks/TitleEditor-D0_LY2Ex.js.map +0 -1
  261. package/dist/cdn/chunks/TplModal-iCmoKB2k.js +0 -50
  262. package/dist/cdn/chunks/TplModal-iCmoKB2k.js.map +0 -1
  263. package/dist/cdn/chunks/ca-D1zgI9fQ.js.map +0 -1
  264. package/dist/cdn/chunks/cloud-DcC8bPwn.js +0 -1787
  265. package/dist/cdn/chunks/cloud-DcC8bPwn.js.map +0 -1
  266. package/dist/cdn/chunks/de-DHra3lvx.js.map +0 -1
  267. package/dist/cdn/chunks/de-uVoSP1xF.js.map +0 -1
  268. package/dist/cdn/chunks/en-CjhsJxb-.js.map +0 -1
  269. package/dist/cdn/chunks/en-DlqX2YWZ.js.map +0 -1
  270. package/dist/cdn/chunks/es-Cuss2snv.js.map +0 -1
  271. package/dist/cdn/chunks/extensions-C7h52yuk.js.map +0 -1
  272. package/dist/cdn/chunks/fr-Cm85vB2g.js.map +0 -1
  273. package/dist/cdn/chunks/keys-Cmc2Yl3D.js.map +0 -1
  274. package/dist/cdn/chunks/nl-dmiIX7oT.js.map +0 -1
  275. package/dist/cdn/chunks/pt-BR-CTzHTqJD.js.map +0 -1
  276. package/dist/cdn/chunks/pt-BR-CaIG-7EM.js.map +0 -1
  277. package/dist/cdn/chunks/src-CUKUsRzX.js.map +0 -1
  278. package/dist/cdn/chunks/src-xkGep9eN.js.map +0 -1
  279. package/dist/cdn/chunks/styles-CND3ey2g.js +0 -4140
  280. package/dist/cdn/chunks/styles-CND3ey2g.js.map +0 -1
  281. package/dist/cdn/chunks/timeouts-SsLMC4a3.js +0 -6
  282. package/dist/cdn/chunks/timeouts-SsLMC4a3.js.map +0 -1
  283. package/dist/cdn/chunks/useEditorCore-CKQ9gmoo.js.map +0 -1
  284. package/dist/styles-BK36D1sy.js +0 -4318
  285. package/dist/usePopoverPosition-C0dPEF4X.js +0 -308
@@ -1,14 +1,15 @@
1
- import { A as e, Dt as t, Et as n, I as r, N as i, O as a, Ot as o, R as ee, Y as s, _ as c, c as l, d as u, g as te, h as d, l as f, nt as p, r as m, s as h, u as g, w as ne, z as _ } from "./vue.runtime.esm-bundler-D1diBMsm.js";
2
- import { a as v, c as y, i as b, s as x } from "./runtime-dom.esm-bundler-CepEmvwF.js";
3
- import "./useEditorCore-idmPLUeb.js";
4
- import { G as S, R as re, g as ie } from "./keys-fwF3qZax.js";
5
- import { t as ae } from "./useI18n-DoVKdCTH.js";
6
- import { n as oe, r as C, t as w } from "./blockTypeIcons-2_85L_CL.js";
7
- import { t as se } from "./pencil-t6m0EtKL.js";
8
- import { t as ce } from "./trash-2-CklAFCmO.js";
9
- import { t as le } from "./x-Mby7KlhS.js";
10
- import { t as ue } from "./TplModal-DoneXIj_.js";
11
- import { t as de } from "./formatRelativeTime-CtUU-QZ8.js";
1
+ import { B as e, Dt as t, L as n, Ot as r, P as i, T as a, X as o, _ as ee, c as s, d as c, g as l, j as u, k as d, kt as f, l as p, r as m, rt as h, s as g, u as _, v, z as te } from "./vue.runtime.esm-bundler-DzEsDRtY.js";
2
+ import { a as y, c as b, i as x, s as S } from "./runtime-dom.esm-bundler-BgKXIPLV.js";
3
+ import "./useEditorCore-B-kONNRw.js";
4
+ import { L as ne, W as C, h as re } from "./keys-BxixS0TN.js";
5
+ import { t as ie } from "./useI18n-BfXff_Sy.js";
6
+ import { n as ae, r as w, t as T } from "./blockTypeIcons-B8r4jMBn.js";
7
+ import { t as oe } from "./pencil-DmbRhTJu.js";
8
+ import { t as se } from "./trash-2-C0shEPry.js";
9
+ import { t as ce } from "./x-BjTlFqRv.js";
10
+ import { v as le } from "./styleConstants-ByDqaYj_.js";
11
+ import { t as ue } from "./formatRelativeTime-CtUU-QZ8.js";
12
+ import { t as de } from "./TplModal-chvLhXmC.js";
12
13
  //#region src/components/SavedBlocksBrowserModal.vue?vue&type=script&setup=true&lang.ts
13
14
  var fe = {
14
15
  role: "dialog",
@@ -24,51 +25,51 @@ var fe = {
24
25
  }, pe = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:px-5 tpl:py-4 tpl:border-[var(--tpl-border)]" }, me = {
25
26
  id: "tpl-saved-blocks-browser-title",
26
27
  class: "tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
27
- }, he = ["aria-label"], ge = { class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:overflow-hidden" }, _e = { class: "tpl:flex tpl:w-[300px] tpl:shrink-0 tpl:flex-col tpl:overflow-hidden" }, ve = { class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:px-4 tpl:pt-4 tpl:pb-3" }, ye = { class: "tpl:relative" }, be = ["placeholder", "disabled"], xe = ["aria-label"], Se = { value: "" }, Ce = ["value"], we = { id: "tpl-saved-block-browser-categories" }, Te = ["value"], T = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:px-4 tpl:pb-4" }, E = ["aria-label"], D = {
28
+ }, he = ["aria-label"], ge = { class: "tpl:flex tpl:min-h-0 tpl:flex-1 tpl:overflow-hidden" }, _e = { class: "tpl:flex tpl:w-[300px] tpl:shrink-0 tpl:flex-col tpl:overflow-hidden" }, ve = { class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:px-4 tpl:pt-4 tpl:pb-3" }, ye = { class: "tpl:relative" }, be = ["placeholder", "disabled"], xe = ["aria-label"], Se = { value: "" }, Ce = ["value"], we = { id: "tpl-saved-block-browser-categories" }, Te = ["value"], E = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:px-4 tpl:pb-4" }, D = ["aria-label"], O = {
28
29
  key: 1,
29
30
  class: "tpl:flex tpl:flex-col tpl:gap-1"
30
- }, O = ["onFocusout"], Ee = ["aria-label", "onKeydown"], De = [
31
+ }, Ee = ["onFocusout"], De = ["aria-label", "onKeydown"], Oe = [
31
32
  "aria-label",
32
33
  "placeholder",
33
34
  "onKeydown"
34
- ], Oe = ["aria-pressed", "onClick"], ke = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ae = { class: "tpl:flex-1 tpl:truncate tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, je = { class: "tpl:shrink-0 tpl:rounded-full tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]" }, Me = {
35
+ ], ke = ["aria-pressed", "onClick"], Ae = { class: "tpl:flex tpl:items-center tpl:gap-2" }, je = { class: "tpl:flex-1 tpl:truncate tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Me = { class: "tpl:shrink-0 tpl:rounded-full tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]" }, Ne = {
35
36
  key: 0,
36
37
  class: "tpl:mt-1 tpl:flex tpl:items-center"
37
- }, Ne = {
38
+ }, Pe = {
38
39
  "data-testid": "saved-block-category",
39
40
  class: "tpl:max-w-full tpl:truncate tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]"
40
- }, Pe = { class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-1" }, Fe = {
41
+ }, Fe = { class: "tpl:mt-1 tpl:flex tpl:items-center tpl:gap-1" }, Ie = {
41
42
  key: 0,
42
43
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]"
43
- }, Ie = ["title"], Le = ["aria-label", "onClick"], Re = [
44
+ }, Le = ["title"], Re = ["aria-label", "onClick"], ze = [
44
45
  "aria-label",
45
46
  "title",
46
47
  "onClick"
47
- ], ze = [
48
+ ], Be = [
48
49
  "aria-label",
49
50
  "title",
50
51
  "onClick"
51
- ], Be = {
52
+ ], Ve = {
52
53
  key: 2,
53
54
  class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:py-12"
54
- }, Ve = {
55
+ }, He = {
55
56
  key: 0,
56
57
  class: "tpl:mt-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
57
- }, He = { class: "tpl:mt-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, Ue = { class: "tpl:mt-1 tpl:max-w-[220px] tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, We = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-hidden tpl:border-l tpl:border-[var(--tpl-border)]" }, Ge = {
58
+ }, Ue = { class: "tpl:mt-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, We = { class: "tpl:mt-1 tpl:max-w-[220px] tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, Ge = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-hidden tpl:border-l tpl:border-[var(--tpl-border)]" }, Ke = {
58
59
  key: 0,
59
60
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-hidden"
60
- }, Ke = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, qe = {
61
+ }, qe = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Je = {
61
62
  key: 1,
62
63
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:items-center tpl:justify-center tpl:px-4"
63
- }, Je = { class: "tpl:mt-2 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, Ye = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-t tpl:px-5 tpl:py-3 tpl:border-[var(--tpl-border)]" }, Xe = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ze = { class: "tpl:shrink-0 tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, Qe = ["value"], k = { class: "tpl:flex tpl:gap-2" }, $e = ["disabled"], A = /* @__PURE__ */ c({
64
+ }, Ye = { class: "tpl:mt-2 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, Xe = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-t tpl:px-5 tpl:py-3 tpl:border-[var(--tpl-border)]" }, Ze = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Qe = { class: "tpl:shrink-0 tpl:text-xs tpl:text-[var(--tpl-text-dim)]" }, $e = ["value"], k = { class: "tpl:flex tpl:gap-2" }, et = ["disabled"], A = /* @__PURE__ */ v({
64
65
  __name: "SavedBlocksBrowserModal",
65
66
  props: { visible: { type: Boolean } },
66
67
  emits: ["close", "insert"],
67
- setup(c, { emit: A }) {
68
- let et = c, j = A, tt = te(() => import("./BlockPreviewCanvas-DbNOqSI1.js").then((e) => e.n)), { t: M, format: N } = ae(), P = S(re, "SavedBlocksBrowserModal"), F = S(ie, "SavedBlocksBrowserModal"), I = s(""), L = s(""), R = s(null), z = s(null), B = s(null), V = s(""), H = s(""), U = s(null), W = s("end"), G = h(() => {
68
+ setup(v, { emit: A }) {
69
+ let tt = v, j = A, nt = ee(() => import("./BlockPreviewCanvas-GZbr0ph5.js").then((e) => e.n)), { t: M, format: N } = ie(), P = C(ne, "SavedBlocksBrowserModal"), F = C(re, "SavedBlocksBrowserModal"), I = o(""), L = o(""), R = o(null), z = o(null), B = o(null), V = o(""), H = o(""), U = o(null), W = o("end"), G = g(() => {
69
70
  let e = I.value.trim().toLowerCase(), t = L.value;
70
71
  return P.savedBlocks.value.filter((n) => !(e && !n.name.toLowerCase().includes(e) || t && n.category !== t));
71
- }), K = h(() => P.isLoading.value && P.savedBlocks.value.length === 0), nt = h(() => I.value.trim().length > 0 || L.value !== ""), q = h(() => R.value ? P.savedBlocks.value.find((e) => e.id === R.value) ?? null : null), rt = h(() => {
72
+ }), K = g(() => P.isLoading.value && P.savedBlocks.value.length === 0), rt = g(() => I.value.trim().length > 0 || L.value !== ""), q = g(() => R.value ? P.savedBlocks.value.find((e) => e.id === R.value) ?? null : null), it = g(() => {
72
73
  let e = [{
73
74
  value: "beginning",
74
75
  label: M.savedBlocks.insertAtBeginning
@@ -84,13 +85,13 @@ var fe = {
84
85
  value: "end",
85
86
  label: M.savedBlocks.insertAtEnd
86
87
  }), e;
87
- }), it = h(() => {
88
+ }), at = g(() => {
88
89
  if (W.value === "end") return;
89
90
  if (W.value === "beginning") return 0;
90
91
  let e = F.content.value.blocks.findIndex((e) => e.id === W.value);
91
92
  if (e !== -1) return e + 1;
92
93
  });
93
- r(() => et.visible, (e) => {
94
+ n(() => tt.visible, (e) => {
94
95
  if (e) {
95
96
  I.value = "", L.value = "", R.value = null, z.value = null, B.value = null;
96
97
  let e = F.state.selectedBlockId;
@@ -100,11 +101,11 @@ var fe = {
100
101
  } else W.value = "end";
101
102
  }
102
103
  }, { immediate: !0 });
103
- function at(e) {
104
+ function ot(e) {
104
105
  let t = [], n = /* @__PURE__ */ new Set();
105
- for (let r of e.content) if (!n.has(r.type) && w[r.type] && (n.add(r.type), t.push({
106
+ for (let r of e.content) if (!n.has(r.type) && T[r.type] && (n.add(r.type), t.push({
106
107
  type: r.type,
107
- icon: w[r.type]
108
+ icon: T[r.type]
108
109
  })), t.length >= 5) break;
109
110
  return t;
110
111
  }
@@ -114,23 +115,23 @@ var fe = {
114
115
  }
115
116
  function Y(e) {
116
117
  let t = e.updatedAt ?? e.createdAt;
117
- return t ? de(t, M.savedBlocks.time, N) ?? "" : "";
118
+ return t ? ue(t, M.time, N) ?? "" : "";
118
119
  }
119
- function ot(e) {
120
+ function st(e) {
120
121
  let t = e.updatedAt ?? e.createdAt;
121
122
  if (!t) return "";
122
123
  let n = new Date(t);
123
124
  return Number.isNaN(n.getTime()) ? "" : n.toLocaleString();
124
125
  }
125
- async function st(e) {
126
+ async function ct(e) {
126
127
  try {
127
128
  await P.remove(e), R.value === e && (R.value = null);
128
129
  } finally {
129
130
  z.value = null;
130
131
  }
131
132
  }
132
- async function ct(e) {
133
- P.canUpdateBlock(e) && (B.value = e.id, V.value = e.name, H.value = e.category ?? "", z.value = null, await ne(), U.value?.focus(), U.value?.select());
133
+ async function lt(e) {
134
+ P.canUpdateBlock(e) && (B.value = e.id, V.value = e.name, H.value = e.category ?? "", z.value = null, await a(), U.value?.focus(), U.value?.select());
134
135
  }
135
136
  function X() {
136
137
  B.value = null, V.value = "", H.value = "";
@@ -148,172 +149,172 @@ var fe = {
148
149
  X();
149
150
  }
150
151
  }
151
- function lt(e, t) {
152
+ function ut(e, t) {
152
153
  let n = e.currentTarget, r = e.relatedTarget;
153
154
  r && n.contains(r) || Z(t);
154
155
  }
155
156
  function Q() {
156
- q.value && j("insert", q.value, it.value);
157
+ q.value && j("insert", q.value, at.value);
157
158
  }
158
159
  function $() {
159
160
  j("close");
160
161
  }
161
- function ut(e) {
162
+ function dt(e) {
162
163
  B.value || (e.key === "Escape" && $(), e.key === "Enter" && q.value && (e.preventDefault(), Q()));
163
164
  }
164
- return (r, s) => (a(), f(ue, {
165
- visible: c.visible,
165
+ return (n, a) => (d(), p(de, {
166
+ visible: v.visible,
166
167
  onClose: $,
167
- onKeydown: ut
168
+ onKeydown: dt
168
169
  }, {
169
- default: ee(() => [l("div", fe, [
170
- l("div", pe, [l("h3", me, o(p(M).savedBlocks.browse), 1), l("button", {
171
- "aria-label": p(M).savedBlocks.close,
172
- class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:p-1 tpl:transition-colors tpl:duration-100 tpl:text-[var(--tpl-text-dim)]",
170
+ default: te(() => [s("div", fe, [
171
+ s("div", pe, [s("h3", me, f(h(M).savedBlocks.browse), 1), s("button", {
172
+ "aria-label": h(M).savedBlocks.close,
173
+ class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:p-1 tpl:transition-colors tpl:text-[var(--tpl-text-dim)]",
173
174
  onClick: $
174
- }, [d(p(le), {
175
+ }, [l(h(ce), {
175
176
  size: 16,
176
177
  "stroke-width": 2
177
178
  })], 8, he)]),
178
- l("div", ge, [l("div", _e, [
179
- l("div", ve, [l("div", ye, [d(p(oe), {
179
+ s("div", ge, [s("div", _e, [
180
+ s("div", ve, [s("div", ye, [l(h(ae), {
180
181
  size: 14,
181
182
  "stroke-width": 2,
182
183
  class: "tpl:pointer-events-none tpl:absolute tpl:left-3 tpl:top-1/2 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]"
183
- }), _(l("input", {
184
- "onUpdate:modelValue": s[0] ||= (e) => I.value = e,
184
+ }), e(s("input", {
185
+ "onUpdate:modelValue": a[0] ||= (e) => I.value = e,
185
186
  type: "text",
186
- placeholder: p(M).savedBlocks.search,
187
+ placeholder: h(M).savedBlocks.search,
187
188
  disabled: K.value,
188
189
  class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:pl-9 tpl:pr-3 tpl:text-sm tpl:outline-none tpl:disabled:opacity-50 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
189
- }, null, 8, be), [[v, I.value]])]), p(P).categories.value.length > 0 ? _((a(), u("select", {
190
+ }, null, 8, be), [[y, I.value]])]), h(P).categories.value.length > 0 ? e((d(), c("select", {
190
191
  key: 0,
191
- "onUpdate:modelValue": s[1] ||= (e) => L.value = e,
192
+ "onUpdate:modelValue": a[1] ||= (e) => L.value = e,
192
193
  "data-testid": "saved-blocks-category-filter",
193
- "aria-label": p(M).savedBlocks.filterByCategory,
194
+ "aria-label": h(M).savedBlocks.filterByCategory,
194
195
  class: "tpl:h-8 tpl:w-full tpl:rounded-md tpl:border tpl:px-2 tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
195
- }, [l("option", Se, o(p(M).savedBlocks.allCategories), 1), (a(!0), u(m, null, e(p(P).categories.value, (e) => (a(), u("option", {
196
+ }, [s("option", Se, f(h(M).savedBlocks.allCategories), 1), (d(!0), c(m, null, u(h(P).categories.value, (e) => (d(), c("option", {
196
197
  key: e,
197
198
  value: e
198
- }, o(e), 9, Ce))), 128))], 8, xe)), [[b, L.value]]) : g("", !0)]),
199
- l("datalist", we, [(a(!0), u(m, null, e(p(P).categories.value, (e) => (a(), u("option", {
199
+ }, f(e), 9, Ce))), 128))], 8, xe)), [[x, L.value]]) : _("", !0)]),
200
+ s("datalist", we, [(d(!0), c(m, null, u(h(P).categories.value, (e) => (d(), c("option", {
200
201
  key: e,
201
202
  value: e
202
203
  }, null, 8, Te))), 128))]),
203
- l("div", T, [K.value ? (a(), u("div", {
204
+ s("div", E, [K.value ? (d(), c("div", {
204
205
  key: 0,
205
206
  "data-testid": "saved-blocks-loading",
206
207
  class: "tpl:flex tpl:flex-col tpl:gap-1",
207
208
  role: "status",
208
209
  "aria-busy": "true",
209
- "aria-label": p(M).savedBlocks.loading
210
- }, [(a(), u(m, null, e(3, (e) => l("div", {
210
+ "aria-label": h(M).savedBlocks.loading
211
+ }, [(d(), c(m, null, u(3, (e) => s("div", {
211
212
  key: e,
212
213
  "aria-hidden": "true",
213
214
  class: "tpl-saved-block-skeleton tpl:rounded-[var(--tpl-radius-md)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)]"
214
- }, [...s[7] ||= [l("div", { class: "tpl:h-3 tpl:w-1/2 tpl:rounded tpl:bg-[var(--tpl-bg-hover)]" }, null, -1), l("div", { class: "tpl:mt-2 tpl:h-2.5 tpl:w-1/4 tpl:rounded tpl:bg-[var(--tpl-bg-hover)]" }, null, -1)]])), 64))], 8, E)) : G.value.length > 0 ? (a(), u("div", D, [(a(!0), u(m, null, e(G.value, (r) => (a(), u(m, { key: r.id }, [B.value === r.id ? (a(), u("div", {
215
+ }, [...a[7] ||= [s("div", { class: "tpl:h-3 tpl:w-1/2 tpl:rounded tpl:bg-[var(--tpl-bg-hover)]" }, null, -1), s("div", { class: "tpl:mt-2 tpl:h-2.5 tpl:w-1/4 tpl:rounded tpl:bg-[var(--tpl-bg-hover)]" }, null, -1)]])), 64))], 8, D)) : G.value.length > 0 ? (d(), c("div", O, [(d(!0), c(m, null, u(G.value, (n) => (d(), c(m, { key: n.id }, [B.value === n.id ? (d(), c("div", {
215
216
  key: 0,
216
217
  class: "tpl:flex tpl:w-full tpl:flex-col tpl:gap-1 tpl:rounded-[var(--tpl-radius-md)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-primary)]",
217
218
  style: { "background-color": "var(--tpl-primary-light)" },
218
- onFocusout: (e) => lt(e, r.id)
219
- }, [_(l("input", {
219
+ onFocusout: (e) => ut(e, n.id)
220
+ }, [e(s("input", {
220
221
  ref_for: !0,
221
222
  ref: (e) => U.value = e,
222
- "onUpdate:modelValue": s[2] ||= (e) => V.value = e,
223
+ "onUpdate:modelValue": a[2] ||= (e) => V.value = e,
223
224
  type: "text",
224
- "aria-label": p(M).savedBlocks.rename,
225
+ "aria-label": h(M).savedBlocks.rename,
225
226
  class: "tpl:h-7 tpl:w-full tpl:rounded-md tpl:border tpl:px-2 tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
226
- onKeydown: [x(y((e) => Z(r.id), ["prevent", "stop"]), ["enter"]), s[3] ||= x(y((e) => X(), ["prevent", "stop"]), ["esc"])]
227
- }, null, 40, Ee), [[v, V.value]]), _(l("input", {
228
- "onUpdate:modelValue": s[4] ||= (e) => H.value = e,
227
+ onKeydown: [S(b((e) => Z(n.id), ["prevent", "stop"]), ["enter"]), a[3] ||= S(b((e) => X(), ["prevent", "stop"]), ["esc"])]
228
+ }, null, 40, De), [[y, V.value]]), e(s("input", {
229
+ "onUpdate:modelValue": a[4] ||= (e) => H.value = e,
229
230
  type: "text",
230
231
  "data-testid": "saved-blocks-edit-category",
231
- "aria-label": p(M).savedBlocks.category,
232
- placeholder: p(M).savedBlocks.categoryPlaceholder,
232
+ "aria-label": h(M).savedBlocks.category,
233
+ placeholder: h(M).savedBlocks.categoryPlaceholder,
233
234
  list: "tpl-saved-block-browser-categories",
234
235
  class: "tpl:h-7 tpl:w-full tpl:rounded-md tpl:border tpl:px-2 tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
235
- onKeydown: [x(y((e) => Z(r.id), ["prevent", "stop"]), ["enter"]), s[5] ||= x(y((e) => X(), ["prevent", "stop"]), ["esc"])]
236
- }, null, 40, De), [[v, H.value]])], 40, O)) : (a(), u("button", {
236
+ onKeydown: [S(b((e) => Z(n.id), ["prevent", "stop"]), ["enter"]), a[5] ||= S(b((e) => X(), ["prevent", "stop"]), ["esc"])]
237
+ }, null, 40, Oe), [[y, H.value]])], 40, Ee)) : (d(), c("button", {
237
238
  key: 1,
238
239
  type: "button",
239
240
  "data-testid": "saved-block-card",
240
- "aria-pressed": R.value === r.id,
241
+ "aria-pressed": R.value === n.id,
241
242
  class: "tpl:group/card tpl:w-full tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-md)] tpl:border tpl:bg-transparent tpl:px-3 tpl:py-2 tpl:text-left tpl:transition-all tpl:duration-[120ms]",
242
- style: t({
243
- borderColor: R.value === r.id ? "var(--tpl-primary)" : "var(--tpl-border)",
244
- backgroundColor: R.value === r.id ? "var(--tpl-primary-light)" : "transparent"
243
+ style: r({
244
+ borderColor: R.value === n.id ? "var(--tpl-primary)" : "var(--tpl-border)",
245
+ backgroundColor: R.value === n.id ? "var(--tpl-primary-light)" : "transparent"
245
246
  }),
246
- onClick: (e) => R.value = r.id
247
+ onClick: (e) => R.value = n.id
247
248
  }, [
248
- l("div", ke, [l("span", Ae, o(r.name), 1), l("span", je, o(p(N)(p(M).savedBlocks.blockCount, { count: r.content.length })), 1)]),
249
- r.category ? (a(), u("div", Me, [l("span", Ne, o(r.category), 1)])) : g("", !0),
250
- l("div", Pe, [
251
- (a(!0), u(m, null, e(at(r), (e) => (a(), f(i(e.icon), {
249
+ s("div", Ae, [s("span", je, f(n.name), 1), s("span", Me, f(h(N)(h(M).savedBlocks.blockCount, { count: n.content.length })), 1)]),
250
+ n.category ? (d(), c("div", Ne, [s("span", Pe, f(n.category), 1)])) : _("", !0),
251
+ s("div", Fe, [
252
+ (d(!0), c(m, null, u(ot(n), (e) => (d(), p(i(e.icon), {
252
253
  key: e.type,
253
254
  size: 14,
254
255
  "stroke-width": 1.5,
255
256
  class: "tpl:text-[var(--tpl-text-dim)]"
256
257
  }))), 128)),
257
- J(r) > 0 ? (a(), u("span", Fe, " +" + o(J(r)), 1)) : g("", !0),
258
- Y(r) ? (a(), u("span", {
258
+ J(n) > 0 ? (d(), c("span", Ie, " +" + f(J(n)), 1)) : _("", !0),
259
+ Y(n) ? (d(), c("span", {
259
260
  key: 1,
260
261
  "data-testid": "saved-block-updated",
261
262
  class: "tpl:ml-1 tpl:truncate tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]",
262
- title: ot(r)
263
- }, o(Y(r)), 9, Ie)) : g("", !0),
264
- z.value === r.id ? (a(), u("button", {
263
+ title: st(n)
264
+ }, f(Y(n)), 9, Le)) : _("", !0),
265
+ z.value === n.id ? (d(), c("button", {
265
266
  key: 2,
266
- "aria-label": p(M).savedBlocks.deleteConfirm,
267
- class: "tpl:ml-auto tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:transition-colors tpl:duration-100 tpl:border-[var(--tpl-danger)] tpl:text-[var(--tpl-danger)]",
267
+ "aria-label": h(M).savedBlocks.deleteConfirm,
268
+ class: "tpl:ml-auto tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-medium tpl:transition-colors tpl:border-[var(--tpl-danger)] tpl:text-[var(--tpl-danger)]",
268
269
  style: { "background-color": "transparent" },
269
- onClick: y((e) => st(r.id), ["stop"])
270
- }, o(p(M).savedBlocks.deleteConfirm), 9, Le)) : (a(), u(m, { key: 3 }, [p(P).canUpdateBlock(r) ? (a(), u("button", {
270
+ onClick: b((e) => ct(n.id), ["stop"])
271
+ }, f(h(M).savedBlocks.deleteConfirm), 9, Re)) : (d(), c(m, { key: 3 }, [h(P).canUpdateBlock(n) ? (d(), c("button", {
271
272
  key: 0,
272
- class: "tpl-saved-block-rename-btn tpl:ml-auto tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:p-0.5 tpl:transition-colors tpl:duration-100 tpl:text-[var(--tpl-text-dim)]",
273
- "aria-label": p(M).savedBlocks.rename,
274
- title: p(M).savedBlocks.rename,
275
- onClick: y((e) => ct(r), ["stop"])
276
- }, [d(p(se), {
273
+ class: "tpl-saved-block-rename-btn tpl:ml-auto tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-dim)]",
274
+ "aria-label": h(M).savedBlocks.rename,
275
+ title: h(M).savedBlocks.rename,
276
+ onClick: b((e) => lt(n), ["stop"])
277
+ }, [l(h(oe), {
277
278
  size: 12,
278
279
  "stroke-width": 1.5
279
- })], 8, Re)) : g("", !0), p(P).canDeleteBlock(r) ? (a(), u("button", {
280
+ })], 8, ze)) : _("", !0), h(P).canDeleteBlock(n) ? (d(), c("button", {
280
281
  key: 1,
281
- class: n(["tpl-saved-block-delete-btn tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:p-0.5 tpl:transition-colors tpl:duration-100 tpl:text-[var(--tpl-text-dim)]", { "tpl:ml-auto": !p(P).canUpdateBlock(r) }]),
282
- "aria-label": p(M).savedBlocks.delete,
283
- title: p(M).savedBlocks.delete,
284
- onClick: y((e) => z.value = r.id, ["stop"])
285
- }, [d(p(ce), {
282
+ class: t(["tpl-saved-block-delete-btn tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-transparent tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-dim)]", { "tpl:ml-auto": !h(P).canUpdateBlock(n) }]),
283
+ "aria-label": h(M).savedBlocks.delete,
284
+ title: h(M).savedBlocks.delete,
285
+ onClick: b((e) => z.value = n.id, ["stop"])
286
+ }, [l(h(se), {
286
287
  size: 12,
287
288
  "stroke-width": 1.5
288
- })], 10, ze)) : g("", !0)], 64))
289
+ })], 10, Be)) : _("", !0)], 64))
289
290
  ])
290
- ], 12, Oe))], 64))), 128))])) : (a(), u("div", Be, [d(p(C), {
291
+ ], 12, ke))], 64))), 128))])) : (d(), c("div", Ve, [l(h(w), {
291
292
  size: 32,
292
293
  "stroke-width": 1,
293
294
  class: "tpl:text-[var(--tpl-text-dim)]"
294
- }), nt.value ? (a(), u("p", Ve, o(p(M).savedBlocks.noResults), 1)) : (a(), u(m, { key: 1 }, [l("p", He, o(p(M).savedBlocks.empty), 1), l("p", Ue, o(p(M).savedBlocks.emptyHint), 1)], 64))]))])
295
- ]), l("div", We, [q.value ? (a(), u("div", Ge, [l("div", Ke, [d(p(tt), { blocks: q.value.content }, null, 8, ["blocks"])])])) : (a(), u("div", qe, [d(p(C), {
295
+ }), rt.value ? (d(), c("p", He, f(h(M).savedBlocks.noResults), 1)) : (d(), c(m, { key: 1 }, [s("p", Ue, f(h(M).savedBlocks.empty), 1), s("p", We, f(h(M).savedBlocks.emptyHint), 1)], 64))]))])
296
+ ]), s("div", Ge, [q.value ? (d(), c("div", Ke, [s("div", qe, [l(h(nt), { blocks: q.value.content }, null, 8, ["blocks"])])])) : (d(), c("div", Je, [l(h(w), {
296
297
  size: 32,
297
298
  "stroke-width": 1,
298
299
  class: "tpl:text-[var(--tpl-text-dim)]"
299
- }), l("p", Je, o(p(M).savedBlocks.selectToPreview), 1)]))])]),
300
- l("div", Ye, [l("div", Xe, [l("label", Ze, o(p(M).savedBlocks.insertPosition), 1), _(l("select", {
301
- "onUpdate:modelValue": s[6] ||= (e) => W.value = e,
300
+ }), s("p", Ye, f(h(M).savedBlocks.selectToPreview), 1)]))])]),
301
+ s("div", Xe, [s("div", Ze, [s("label", Qe, f(h(M).savedBlocks.insertPosition), 1), e(s("select", {
302
+ "onUpdate:modelValue": a[6] ||= (e) => W.value = e,
302
303
  class: "tpl:h-7 tpl:max-w-[220px] tpl:rounded-md tpl:border tpl:px-2 tpl:text-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
303
- }, [(a(!0), u(m, null, e(rt.value, (e) => (a(), u("option", {
304
+ }, [(d(!0), c(m, null, u(it.value, (e) => (d(), c("option", {
304
305
  key: e.value,
305
306
  value: e.value
306
- }, o(e.label), 9, Qe))), 128))], 512), [[b, W.value]])]), l("div", k, [l("button", {
307
+ }, f(e.label), 9, $e))), 128))], 512), [[x, W.value]])]), s("div", k, [s("button", {
307
308
  type: "button",
308
309
  "data-testid": "saved-blocks-browser-close",
309
- class: "tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-xs tpl:transition-all tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]",
310
+ class: "tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-[var(--tpl-shadow-sm)] tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]",
310
311
  onClick: $
311
- }, o(p(M).savedBlocks.close), 1), l("button", {
312
+ }, f(h(M).savedBlocks.close), 1), s("button", {
312
313
  type: "button",
313
- class: "tpl:cursor-pointer tpl:rounded-md tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-xs tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
314
+ class: t(h(le)),
314
315
  disabled: !q.value,
315
316
  onClick: Q
316
- }, o(p(M).savedBlocks.insert), 9, $e)])])
317
+ }, f(h(M).savedBlocks.insert), 11, et)])])
317
318
  ])]),
318
319
  _: 1
319
320
  }, 8, ["visible"]));
@@ -1,38 +1,36 @@
1
- import { M as e, b as t, g as n, h as r, it as i, m as a, u as o, x as s } from "./draggable-DCs9qL-b.js";
1
+ import { _ as e, d as t, k as n, l as r, r as i, rt as a, u as o, v as s } from "./vue.runtime.esm-bundler-DzEsDRtY.js";
2
2
  //#endregion
3
3
  //#region src/components/SavedBlocksPanels.vue
4
4
  var c = /* @__PURE__ */ s({
5
5
  __name: "SavedBlocksPanels",
6
6
  props: { feature: {} },
7
7
  setup(s) {
8
- let c = s, l = t(() => import("./SavedBlocksPickBar-DMHxPCM4.js")), u = t(() => import("./SaveBlockDialog-BfNVeXXV.js")), d = t(() => import("./SavedBlocksBrowserModal-C59D4G5C.js"));
8
+ let c = s, l = e(() => import("./SavedBlocksPickBar-BsFubArH.js")), u = e(() => import("./SaveBlockDialog-C_QvYAeL.js")), d = e(() => import("./SavedBlocksBrowserModal-CefWWcdT.js"));
9
9
  function f(e, t) {
10
10
  c.feature.insert(e, t);
11
11
  }
12
- return (t, c) => (e(), n(o, null, [
13
- s.feature.isPicking.value ? (e(), a(i(l), {
12
+ return (e, c) => (n(), t(i, null, [
13
+ s.feature.isPicking.value ? (n(), r(a(l), {
14
14
  key: 0,
15
15
  count: s.feature.pickedCount.value,
16
16
  onConfirm: c[0] ||= (e) => s.feature.confirmPicking(),
17
17
  onCancel: c[1] ||= (e) => s.feature.cancelPicking()
18
- }, null, 8, ["count"])) : r("", !0),
19
- s.feature.isSaveDialogOpen.value ? (e(), a(i(u), {
18
+ }, null, 8, ["count"])) : o("", !0),
19
+ s.feature.isSaveDialogOpen.value ? (n(), r(a(u), {
20
20
  key: 1,
21
21
  visible: s.feature.isSaveDialogOpen.value,
22
22
  "picked-ids": [...s.feature.pickedIds.value],
23
23
  onClose: c[2] ||= (e) => s.feature.closeSaveDialog(),
24
24
  onSaved: c[3] ||= (e) => s.feature.refresh()
25
- }, null, 8, ["visible", "picked-ids"])) : r("", !0),
26
- s.feature.isBrowserOpen.value ? (e(), a(i(d), {
25
+ }, null, 8, ["visible", "picked-ids"])) : o("", !0),
26
+ s.feature.isBrowserOpen.value ? (n(), r(a(d), {
27
27
  key: 2,
28
28
  visible: s.feature.isBrowserOpen.value,
29
29
  onClose: c[4] ||= (e) => s.feature.closeBrowser(),
30
30
  onInsert: f
31
- }, null, 8, ["visible"])) : r("", !0)
31
+ }, null, 8, ["visible"])) : o("", !0)
32
32
  ], 64));
33
33
  }
34
34
  });
35
35
  //#endregion
36
36
  export { c as default };
37
-
38
- //# sourceMappingURL=SavedBlocksPanels-e4HyTZ8v.js.map
@@ -1,7 +1,7 @@
1
- import { O as e, Ot as t, _ as n, c as r, d as i, h as a, m as o, nt as s } from "./vue.runtime.esm-bundler-D1diBMsm.js";
2
- import { R as c } from "./useEditorCore-idmPLUeb.js";
3
- import { t as l } from "./useI18n-DoVKdCTH.js";
4
- import { t as u } from "./x-Mby7KlhS.js";
1
+ import { c as e, d as t, g as n, h as r, k as i, kt as a, rt as o, v as s } from "./vue.runtime.esm-bundler-DzEsDRtY.js";
2
+ import { L as c } from "./useEditorCore-B-kONNRw.js";
3
+ import { t as l } from "./useI18n-BfXff_Sy.js";
4
+ import { t as u } from "./x-BjTlFqRv.js";
5
5
  //#region src/components/SavedBlocksPickBar.vue?vue&type=script&setup=true&lang.ts
6
6
  var d = {
7
7
  "data-testid": "saved-blocks-pick-bar",
@@ -10,42 +10,42 @@ var d = {
10
10
  }, f = ["aria-label"], p = { class: "tpl:flex tpl:flex-col" }, m = {
11
11
  "data-testid": "saved-blocks-pick-count",
12
12
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]"
13
- }, h = { class: "tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, g = { class: "tpl:flex tpl:items-center tpl:gap-1.5" }, _ = ["disabled"], v = /* @__PURE__ */ n({
13
+ }, h = { class: "tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, g = { class: "tpl:flex tpl:items-center tpl:gap-1.5" }, _ = ["disabled"], v = /* @__PURE__ */ s({
14
14
  __name: "SavedBlocksPickBar",
15
15
  props: { count: {} },
16
16
  emits: ["confirm", "cancel"],
17
- setup(n, { emit: v }) {
18
- let y = n, b = v, { t: x, format: S } = l();
17
+ setup(s, { emit: v }) {
18
+ let y = s, b = v, { t: x, format: S } = l();
19
19
  function C() {
20
20
  y.count > 0 && b("confirm");
21
21
  }
22
- return (l, v) => (e(), i("div", d, [r("div", {
22
+ return (l, v) => (i(), t("div", d, [e("div", {
23
23
  role: "toolbar",
24
- "aria-label": s(x).savedBlocks.pickToolbar,
24
+ "aria-label": o(x).savedBlocks.pickToolbar,
25
25
  class: "tpl-scale-in tpl:flex tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-lg)] tpl:border tpl:py-2 tpl:pl-4 tpl:pr-2 tpl:border-[var(--tpl-border)]",
26
26
  style: {
27
27
  "pointer-events": "auto",
28
28
  "background-color": "var(--tpl-bg-elevated)",
29
29
  "box-shadow": "var(--tpl-shadow-xl)"
30
30
  }
31
- }, [r("div", p, [r("span", m, t(s(S)(s(x).savedBlocks.pickCount, { count: n.count })), 1), r("span", h, t(s(x).savedBlocks.pickHint), 1)]), r("div", g, [r("button", {
31
+ }, [e("div", p, [e("span", m, a(o(S)(o(x).savedBlocks.pickCount, { count: s.count })), 1), e("span", h, a(o(x).savedBlocks.pickHint), 1)]), e("div", g, [e("button", {
32
32
  type: "button",
33
33
  "data-testid": "saved-blocks-pick-cancel",
34
- class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]",
34
+ class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]",
35
35
  onClick: v[0] ||= (e) => b("cancel")
36
- }, [a(s(u), {
36
+ }, [n(o(u), {
37
37
  size: 13,
38
38
  "stroke-width": 2
39
- }), o(" " + t(s(x).savedBlocks.cancel), 1)]), r("button", {
39
+ }), r(" " + a(o(x).savedBlocks.cancel), 1)]), e("button", {
40
40
  type: "button",
41
41
  "data-testid": "saved-blocks-pick-confirm",
42
- class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:rounded-md tpl:px-2.5 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
43
- disabled: n.count === 0,
42
+ class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:rounded-md tpl:px-2.5 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:hover:opacity-90 tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
43
+ disabled: s.count === 0,
44
44
  onClick: C
45
- }, [a(s(c), {
45
+ }, [n(o(c), {
46
46
  size: 13,
47
47
  "stroke-width": 2
48
- }), o(" " + t(s(x).savedBlocks.save), 1)], 8, _)])], 8, f)]));
48
+ }), r(" " + a(o(x).savedBlocks.save), 1)], 8, _)])], 8, f)]));
49
49
  }
50
50
  });
51
51
  //#endregion