@templatical/editor 0.46.0 → 0.48.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 (317) hide show
  1. package/dist/{AiChatSidebar-DGcH4Lyo.js → AiChatSidebar-DxPHFNoT.js} +14 -14
  2. package/dist/{AiFeatureMenu-B4q-0g1S.js → AiFeatureMenu-C8GVqu1d.js} +7 -7
  3. package/dist/{BlockIssueBadge-CZA1XvAh.js → BlockIssueBadge-BShkuJis.js} +5 -5
  4. package/dist/BlockPreviewCanvas-tzAtDkXH.js +141 -0
  5. package/dist/{CloudHeaderExtras-ehMYJP68.js → CloudHeaderExtras-CUSftQdm.js} +5 -5
  6. package/dist/{CloudPanels-BwOaAlKz.js → CloudPanels-Dgw7tb4R.js} +9 -9
  7. package/dist/{CollaboratorBar-qOZFRNPx.js → CollaboratorBar-5rfopCPx.js} +4 -4
  8. package/dist/{CommentsPanel-Bn6P5crU.js → CommentsPanel-DiWzYtnZ.js} +2 -2
  9. package/dist/{CommentsSidebar-B8wT932T.js → CommentsSidebar-BOqj16Al.js} +14 -14
  10. package/dist/CountdownBlock-zx39Dyby.js +92 -0
  11. package/dist/{CountdownToolbar-BeF21SeB.js → CountdownToolbar-C4y3Ft7H.js} +7 -7
  12. package/dist/{DesignReferenceSidebar-zH93uB15.js → DesignReferenceSidebar-BWAi3eQQ.js} +13 -13
  13. package/dist/{IssuesPanel-Dltw9haP.js → IssuesPanel-C-x3I012.js} +8 -8
  14. package/dist/{LoadingTrack-DROqNuuD.js → LoadingTrack-6XsqodoY.js} +1 -1
  15. package/dist/{LogicTagInsertButton-CHa-UD76.js → LogicTagInsertButton-B1_Wy0AN.js} +13 -13
  16. package/dist/{MediaEditModal-EY1YYcpw.js → MediaEditModal-ByOvznRC.js} +4 -4
  17. package/dist/{MediaPanels-CRVFGFZW.js → MediaPanels-9mDBv4aL.js} +2 -2
  18. package/dist/{MergeTagInput-B3ntd4dN.js → MergeTagInput-fOewuF27.js} +3 -3
  19. package/dist/{MergeTagModeToggle-C_06ZL0Q.js → MergeTagModeToggle-BXamLcv7.js} +7 -7
  20. package/dist/{ParagraphEditor-CxuW3TV0.js → ParagraphEditor-BVjOwwHx.js} +100 -85
  21. package/dist/{RestoreVersionDialog-B1n37M1Z.js → RestoreVersionDialog-BEKXx9xk.js} +6 -6
  22. package/dist/{RichTextEditorContent-CP_uULWB.js → RichTextEditorContent-D7kp7iig.js} +12 -12
  23. package/dist/{SaveBlockDialog-BSKX_7_v.js → SaveBlockDialog-SJu0lecx.js} +34 -35
  24. package/dist/{SavedBlocksBrowserModal-CHKrH1gO.js → SavedBlocksBrowserModal-DbmIS5uK.js} +14 -14
  25. package/dist/{SavedBlocksPanels-B-xDqBcz.js → SavedBlocksPanels-Dr5Fxx9Z.js} +2 -2
  26. package/dist/{SavedBlocksPickBar-D2J-g82g.js → SavedBlocksPickBar-DnEWBZJy.js} +5 -5
  27. package/dist/{TemplateScoringPanel-3lHzuCl0.js → TemplateScoringPanel-ynbGl-sr.js} +16 -16
  28. package/dist/{TemplateSettings-D07K_Y4m.js → TemplateSettings-Bi01S3H3.js} +12 -12
  29. package/dist/{TestEmailModal-BNPw_lID.js → TestEmailModal-CbRY8HQx.js} +14 -14
  30. package/dist/{TestEmailPanel-8klWo8hE.js → TestEmailPanel-NAOmt3xi.js} +2 -2
  31. package/dist/{TitleEditor-CmC9OuhA.js → TitleEditor-Cc3DHbuN.js} +15 -15
  32. package/dist/{ToggleSwitch-COeyWGfT.js → ToggleSwitch-Ozc7YU38.js} +2 -2
  33. package/dist/Toolbar-B-2lO0I8.js +3156 -0
  34. package/dist/{TplModal-BGFawHY9.js → TplModal-Bz4-IZ9R.js} +6 -6
  35. package/dist/{VersionHistoryMenu-D7zaTMrb.js → VersionHistoryMenu-CjV1d1zk.js} +10 -10
  36. package/dist/{VersionHistoryPanels-DdbGjEOR.js → VersionHistoryPanels-BtwxrKJn.js} +2 -2
  37. package/dist/{VersionPreviewBanner-BUKb9gc6.js → VersionPreviewBanner-BLAei1kj.js} +4 -4
  38. package/dist/WrapperBlock-D0qgNqjD.js +45 -0
  39. package/dist/{blockTypeIcons-CVKo6V_v.js → blockTypeIcons-CEDZytqP.js} +50 -20
  40. package/dist/bundle-stats.json +8 -8
  41. package/dist/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +38 -1
  42. package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js → AiChatSidebar-Dk0rJBQN.js} +8 -8
  43. package/dist/cdn/chunks/{AiChatSidebar-kCK4NZM9.js.map → AiChatSidebar-Dk0rJBQN.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js → AiFeatureMenu-B7b0w8ZS.js} +6 -6
  45. package/dist/cdn/chunks/{AiFeatureMenu-K1dLeDft.js.map → AiFeatureMenu-B7b0w8ZS.js.map} +1 -1
  46. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js → BlockIssueBadge-C7sdnkrF.js} +5 -5
  47. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js.map → BlockIssueBadge-C7sdnkrF.js.map} +1 -1
  48. package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js +143 -0
  49. package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js.map +1 -0
  50. package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js → CloudHeaderExtras-B4fhuwc_.js} +5 -5
  51. package/dist/cdn/chunks/{CloudHeaderExtras-5ONQ1RCa.js.map → CloudHeaderExtras-B4fhuwc_.js.map} +1 -1
  52. package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js → CloudPanels-awqHfJqC.js} +8 -8
  53. package/dist/cdn/chunks/{CloudPanels-_irSdWbi.js.map → CloudPanels-awqHfJqC.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js → CollaboratorBar-CS0ivqkr.js} +5 -5
  55. package/dist/cdn/chunks/{CollaboratorBar-CZufI1On.js.map → CollaboratorBar-CS0ivqkr.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js → CommentsPanel-CbzxwsyI.js} +3 -3
  57. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js.map → CommentsPanel-CbzxwsyI.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js → CommentsSidebar-DWPHZuQm.js} +8 -8
  59. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js.map → CommentsSidebar-DWPHZuQm.js.map} +1 -1
  60. package/dist/cdn/chunks/CountdownBlock-Dasj191h.js +94 -0
  61. package/dist/cdn/chunks/CountdownBlock-Dasj191h.js.map +1 -0
  62. package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js → CountdownToolbar-Cqg8FUH-.js} +8 -8
  63. package/dist/cdn/chunks/{CountdownToolbar-BaXCefQM.js.map → CountdownToolbar-Cqg8FUH-.js.map} +1 -1
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js → DesignReferenceSidebar-BW9cHnA9.js} +12 -12
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-GjkpHylX.js.map → DesignReferenceSidebar-BW9cHnA9.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js → IssuesPanel-cXf9ywA4.js} +8 -8
  67. package/dist/cdn/chunks/{IssuesPanel-C1Lv2y_O.js.map → IssuesPanel-cXf9ywA4.js.map} +1 -1
  68. package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js → LoadingTrack-DbH97JR9.js} +2 -2
  69. package/dist/cdn/chunks/{LoadingTrack-Cg1HRIND.js.map → LoadingTrack-DbH97JR9.js.map} +1 -1
  70. package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js → LogicTagInsertButton-BMB9vShs.js} +89 -89
  71. package/dist/cdn/chunks/{LogicTagInsertButton-BYjdrDnQ.js.map → LogicTagInsertButton-BMB9vShs.js.map} +1 -1
  72. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js → MediaEditModal-zXfcArr4.js} +4 -4
  73. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js.map → MediaEditModal-zXfcArr4.js.map} +1 -1
  74. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js → MediaPanels-Cp4XB_dH.js} +3 -3
  75. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js.map → MediaPanels-Cp4XB_dH.js.map} +1 -1
  76. package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js → MergeTagInput-DLqrA9co.js} +4 -4
  77. package/dist/cdn/chunks/{MergeTagInput-Cx67J_vg.js.map → MergeTagInput-DLqrA9co.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js → MergeTagModeToggle-BRiJzzn5.js} +6 -6
  79. package/dist/cdn/chunks/{MergeTagModeToggle-DZ4EuXVp.js.map → MergeTagModeToggle-BRiJzzn5.js.map} +1 -1
  80. package/dist/cdn/chunks/{ParagraphEditor-DndEFXmR.js → ParagraphEditor-D4aq9eeC.js} +116 -101
  81. package/dist/cdn/chunks/ParagraphEditor-D4aq9eeC.js.map +1 -0
  82. package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js → RestoreVersionDialog-BgR6RXSb.js} +6 -6
  83. package/dist/cdn/chunks/{RestoreVersionDialog-CFYs13a4.js.map → RestoreVersionDialog-BgR6RXSb.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js → RichTextEditorContent-C4DMAn0g.js} +11 -11
  85. package/dist/cdn/chunks/{RichTextEditorContent-DKkDQ0dc.js.map → RichTextEditorContent-C4DMAn0g.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js → SaveBlockDialog-BaIsQd09.js} +41 -42
  87. package/dist/cdn/chunks/{SaveBlockDialog-BOA2RaC_.js.map → SaveBlockDialog-BaIsQd09.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js → SavedBlocksBrowserModal-CtnB58p_.js} +10 -10
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DQDVek3K.js.map → SavedBlocksBrowserModal-CtnB58p_.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js → SavedBlocksPanels-BhEOMzEQ.js} +3 -3
  91. package/dist/cdn/chunks/{SavedBlocksPanels-Lu3tJ3QA.js.map → SavedBlocksPanels-BhEOMzEQ.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js → SavedBlocksPickBar-CcdqTEIp.js} +6 -6
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-D7MtqG6r.js.map → SavedBlocksPickBar-CcdqTEIp.js.map} +1 -1
  94. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js → TemplateScoringPanel-BrWqJCSP.js} +9 -9
  95. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js.map → TemplateScoringPanel-BrWqJCSP.js.map} +1 -1
  96. package/dist/cdn/chunks/{TemplateSettings-rZiHmq24.js → TemplateSettings-BkkWTDHD.js} +14 -14
  97. package/dist/cdn/chunks/TemplateSettings-BkkWTDHD.js.map +1 -0
  98. package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js → TestEmailModal-V5mwHsUV.js} +13 -13
  99. package/dist/cdn/chunks/{TestEmailModal-DWEyHXH2.js.map → TestEmailModal-V5mwHsUV.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js → TestEmailPanel-DxrKuctP.js} +3 -3
  101. package/dist/cdn/chunks/{TestEmailPanel-XXMD-Lnr.js.map → TestEmailPanel-DxrKuctP.js.map} +1 -1
  102. package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js → TitleEditor-CsZiG3TT.js} +19 -19
  103. package/dist/cdn/chunks/{TitleEditor-D1F0YoE-.js.map → TitleEditor-CsZiG3TT.js.map} +1 -1
  104. package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js → ToggleSwitch-BB-bQADJ.js} +3 -3
  105. package/dist/cdn/chunks/{ToggleSwitch-B5U9cqhi.js.map → ToggleSwitch-BB-bQADJ.js.map} +1 -1
  106. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js +3073 -0
  107. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js.map +1 -0
  108. package/dist/cdn/chunks/{TplModal-CYBbPCHL.js → TplModal-DC_eodTV.js} +6 -6
  109. package/dist/cdn/chunks/TplModal-DC_eodTV.js.map +1 -0
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js → VersionHistoryMenu-DXnM5Df2.js} +11 -11
  111. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js.map → VersionHistoryMenu-DXnM5Df2.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js → VersionHistoryPanels-DXSqmaLS.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryPanels-Dq12VsTX.js.map → VersionHistoryPanels-DXSqmaLS.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js → VersionPreviewBanner-DKyN6BhO.js} +5 -5
  115. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js.map → VersionPreviewBanner-DKyN6BhO.js.map} +1 -1
  116. package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js +47 -0
  117. package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js.map +1 -0
  118. package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js +22 -0
  119. package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js.map +1 -0
  120. package/dist/cdn/chunks/{ca-C__Dzq--.js → ca-CbNzJM3I.js} +39 -2
  121. package/dist/cdn/chunks/ca-CbNzJM3I.js.map +1 -0
  122. package/dist/cdn/chunks/{cloud-h1vaHp2p.js → cloud-BHClP3e2.js} +3 -3
  123. package/dist/cdn/chunks/{cloud-h1vaHp2p.js.map → cloud-BHClP3e2.js.map} +1 -1
  124. package/dist/cdn/chunks/{createCloudRuntime-bJN9EM1H.js → createCloudRuntime-Vd0N4elZ.js} +18 -9
  125. package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js.map +1 -0
  126. package/dist/cdn/chunks/{de-CGjbQ2mt.js → de-DMquBpZM.js} +39 -2
  127. package/dist/cdn/chunks/de-DMquBpZM.js.map +1 -0
  128. package/dist/cdn/chunks/{dist-B7W-Lb65.js → dist-CjL6JHML.js} +3 -3
  129. package/dist/cdn/chunks/{dist-B7W-Lb65.js.map → dist-CjL6JHML.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-C5nRd_ua.js → dist-MNQYSEWU.js} +4 -4
  131. package/dist/cdn/chunks/{dist-C5nRd_ua.js.map → dist-MNQYSEWU.js.map} +1 -1
  132. package/dist/cdn/chunks/{draggable-BUTN5vZC.js → draggable-DrsNwZuB.js} +1673 -1595
  133. package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +1 -0
  134. package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js → editor-modal-vEEmZ8Tu.js} +93 -93
  135. package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js.map → editor-modal-vEEmZ8Tu.js.map} +1 -1
  136. package/dist/cdn/chunks/{en-BTiiAC-B.js → en-C8Mp71sO.js} +39 -2
  137. package/dist/cdn/chunks/en-C8Mp71sO.js.map +1 -0
  138. package/dist/cdn/chunks/en-eWpiXyZu.js +1 -0
  139. package/dist/cdn/chunks/{es-CdTOcSTf.js → es-Byq4tthI.js} +39 -2
  140. package/dist/cdn/chunks/es-Byq4tthI.js.map +1 -0
  141. package/dist/cdn/chunks/{extensions-CrmXF4MW.js → extensions-hJ9VqzDc.js} +7 -7
  142. package/dist/cdn/chunks/{extensions-CrmXF4MW.js.map → extensions-hJ9VqzDc.js.map} +1 -1
  143. package/dist/cdn/chunks/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +39 -2
  144. package/dist/cdn/chunks/fr-B3j35HEw.js.map +1 -0
  145. package/dist/cdn/chunks/{icons-Dr9erFGs.js → icons-aTYwH5-g.js} +107 -78
  146. package/dist/cdn/chunks/icons-aTYwH5-g.js.map +1 -0
  147. package/dist/{ja-BhdkqENz.js → cdn/chunks/ja-D7txAuGS.js} +40 -1
  148. package/dist/cdn/chunks/ja-D7txAuGS.js.map +1 -0
  149. package/dist/cdn/chunks/{keys-BKu-LOk5.js → keys-HI-INbkz.js} +2 -2
  150. package/dist/cdn/chunks/{keys-BKu-LOk5.js.map → keys-HI-INbkz.js.map} +1 -1
  151. package/dist/{nl-CE3YItYg.js → cdn/chunks/nl-ClJ3BY3F.js} +40 -1
  152. package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +1 -0
  153. package/dist/cdn/chunks/{preRenderCustomBlocks-CyGB3lZr.js → preRenderCustomBlocks-ByfuSjtL.js} +4 -2
  154. package/dist/cdn/chunks/preRenderCustomBlocks-ByfuSjtL.js.map +1 -0
  155. package/dist/{pt-BR-CUIT4rq4.js → cdn/chunks/pt-BR-DibcXcmv.js} +40 -1
  156. package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +1 -0
  157. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js +1279 -0
  158. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +1 -0
  159. package/dist/{dist-BI_LeQGl.js → cdn/chunks/src-DYCDeBDM.js} +437 -256
  160. package/dist/cdn/chunks/src-DYCDeBDM.js.map +1 -0
  161. package/dist/cdn/chunks/{src-B0pZeTYO.js → src-DlFlC9Tt.js} +334 -268
  162. package/dist/cdn/chunks/src-DlFlC9Tt.js.map +1 -0
  163. package/dist/cdn/chunks/src-dZ4D_tuP.js +649 -0
  164. package/dist/cdn/chunks/src-dZ4D_tuP.js.map +1 -0
  165. package/dist/{styleConstants-C_YAPdQS.js → cdn/chunks/styleConstants-D1Jz-TFU.js} +9 -28
  166. package/dist/cdn/chunks/{styleConstants-C_YAPdQS.js.map → styleConstants-D1Jz-TFU.js.map} +1 -1
  167. package/dist/cdn/chunks/timeouts-Cv2jvusx.js +6 -0
  168. package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +1 -0
  169. package/dist/cdn/chunks/{tiptap-CYDXLO17.js → tiptap-BPigZk5G.js} +3258 -3098
  170. package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +1 -0
  171. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js → useAliveFlag-DCB96vzR.js} +2 -2
  172. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js.map → useAliveFlag-DCB96vzR.js.map} +1 -1
  173. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js → useCloudI18n-BBF4waXO.js} +3 -3
  174. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js.map → useCloudI18n-BBF4waXO.js.map} +1 -1
  175. package/dist/cdn/chunks/{useEditorCore-DuC7kVti.js → useEditorCore-Bb2UcB20.js} +780 -764
  176. package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +1 -0
  177. package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +10 -0
  178. package/dist/cdn/chunks/{useEditorRoot-DDPIcEOO.js.map → useEditorRoot-CTc6O8al.js.map} +1 -1
  179. package/dist/cdn/chunks/{useI18n-DO4NTunW.js → useI18n-DUlyyIJJ.js} +3 -3
  180. package/dist/cdn/chunks/{useI18n-DO4NTunW.js.map → useI18n-DUlyyIJJ.js.map} +1 -1
  181. package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js → useLogicTag-HsyUCQtl.js} +4 -4
  182. package/dist/cdn/chunks/{useLogicTag-B3uV3XHG.js.map → useLogicTag-HsyUCQtl.js.map} +1 -1
  183. package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js → useMergeTag-Dg9pE85U.js} +4 -4
  184. package/dist/cdn/chunks/{useMergeTag-DJLM-7WQ.js.map → useMergeTag-Dg9pE85U.js.map} +1 -1
  185. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js → usePopoverPosition-IbaW6-Ao.js} +3 -3
  186. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js.map → usePopoverPosition-IbaW6-Ao.js.map} +1 -1
  187. package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js → useScrollToBlock-uUa601I4.js} +3 -3
  188. package/dist/cdn/chunks/{useScrollToBlock-CpmB5KxW.js.map → useScrollToBlock-uUa601I4.js.map} +1 -1
  189. package/dist/cdn/chunks/withCurrentFont-oLcATrQ8.js +21 -0
  190. package/dist/cdn/chunks/{withCurrentFont-isIyuezD.js.map → withCurrentFont-oLcATrQ8.js.map} +1 -1
  191. package/dist/cdn/editor.css +1 -1
  192. package/dist/cdn/editor.js +641 -631
  193. package/dist/cdn/editor.js.map +1 -1
  194. package/dist/{check-ZKvtMdpe.js → check-ClwqRMgv.js} +1 -1
  195. package/dist/{chevron-down-RrwkYMlp.js → chevron-down-te6qn-zE.js} +1 -1
  196. package/dist/{chevron-right-CklHaa1U.js → chevron-right-W2hbH1FM.js} +1 -1
  197. package/dist/{chevron-up-DjN2NTbo.js → chevron-up-Bf5Zo7o4.js} +1 -1
  198. package/dist/{circle-alert-BR1_Yfb-.js → circle-alert-CIEGV5DN.js} +1 -1
  199. package/dist/{clock-BEagNj21.js → clock-Y4cx0gkJ.js} +1 -1
  200. package/dist/{cloud-DPGjMGfv.js → cloud-B5xwm_4X.js} +2 -2
  201. package/dist/{copy-D6DNoSq1.js → copy-BEcsAlfB.js} +1 -1
  202. package/dist/{createCloudRuntime-D0RRgWab.js → createCloudRuntime-zNPkF6T9.js} +17 -8
  203. package/dist/{createLucideIcon-BAPyioGd.js → createLucideIcon-CYHXK9hn.js} +6 -6
  204. package/dist/{de-CGjbQ2mt.js → de-DMquBpZM.js} +38 -1
  205. package/dist/{dist-Bd7khQsg.js → dist-3HpYixwF.js} +2 -2
  206. package/dist/{dist-lL3nVbxV.js → dist-BC-ZEYLd.js} +2 -2
  207. package/dist/dist-BPFcLKTw.js +5 -0
  208. package/dist/{dist-C-VFTX82.js → dist-CUWI-IvA.js} +2 -2
  209. package/dist/{dist-Bc30883t.js → dist-Cr7RPxI9.js} +5 -5
  210. package/dist/{dist-DapsJxn_.js → dist-CuLwJF7H.js} +2 -2
  211. package/dist/{dist-5KNKxglR.js → dist-CyBwSiAa.js} +2 -2
  212. package/dist/dist-D7Yj7E-F.js +5 -0
  213. package/dist/{dist-B_vYjCsk.js → dist-DAAJogrx.js} +3 -3
  214. package/dist/{dist-CMcFD7gP.js → dist-DBxgrOeo.js} +1906 -1746
  215. package/dist/{dist-DHensKDY.js → dist-DPcf6XZ8.js} +2 -2
  216. package/dist/{dist-5DAb7bYT.js → dist-DVNjPKsH.js} +2 -2
  217. package/dist/{dist-C3eH9-N2.js → dist-DXyGqIDE.js} +2 -2
  218. package/dist/{dist-1H4cnaoD.js → dist-DuufrR8O.js} +4 -4
  219. package/dist/{cdn/chunks/src-Bh0MoJ67.js → dist-tsmnQugO.js} +207 -174
  220. package/dist/{editor-modal-oRmkDlUs.js → editor-modal-AlVLkU91.js} +20 -20
  221. package/dist/en-B0FUfNwz.js +1 -0
  222. package/dist/{en-BTiiAC-B.js → en-C8Mp71sO.js} +38 -1
  223. package/dist/{es-CdTOcSTf.js → es-Byq4tthI.js} +38 -1
  224. package/dist/{extensions-CYigjb1g.js → extensions-pjO8VGkM.js} +9 -9
  225. package/dist/{eye-DvsTBI57.js → eye-Ddnz8nnm.js} +1 -1
  226. package/dist/{fr-B6lcLLzC.js → fr-B3j35HEw.js} +38 -1
  227. package/dist/{image-up-BoFGZm5Q.js → image-up-CM_HC0Dx.js} +1 -1
  228. package/dist/index.d.ts +124 -11
  229. package/dist/{info-0bQQGjTV.js → info-DXLmzoeY.js} +1 -1
  230. package/dist/{cdn/chunks/ja-BhdkqENz.js → ja-D7txAuGS.js} +38 -3
  231. package/dist/{keys-injl74ob.js → keys-BKFq19a2.js} +1 -1
  232. package/dist/{link-Cstrr3Ep.js → link-Cel46wgo.js} +1 -1
  233. package/dist/{list-Dx9Rmy5s.js → list-Cl0GwiV9.js} +1 -1
  234. package/dist/{loader-circle-D8Qqs0MG.js → loader-circle-uAwpvfys.js} +1 -1
  235. package/dist/{message-circle-D78ELX6I.js → message-circle-DWU1pTM_.js} +1 -1
  236. package/dist/{cdn/chunks/nl-CE3YItYg.js → nl-ClJ3BY3F.js} +38 -3
  237. package/dist/{package-DOvM9sHE.js → package-CbyG_yU_.js} +1 -1
  238. package/dist/{pencil-B6m0OG0n.js → pencil-BzoDcwKu.js} +1 -1
  239. package/dist/{plus-D-nEKxTc.js → plus-8cDvoCjZ.js} +1 -1
  240. package/dist/{preRenderCustomBlocks-DokBGA_M.js → preRenderCustomBlocks-DMP5RuHl.js} +6 -4
  241. package/dist/{cdn/chunks/pt-BR-CUIT4rq4.js → pt-BR-DibcXcmv.js} +38 -3
  242. package/dist/{refresh-cw-CXZS-R1U.js → refresh-cw-9WinWixo.js} +1 -1
  243. package/dist/{runtime-dom.esm-bundler-CO67ema2.js → runtime-dom.esm-bundler-lFF-QG3j.js} +3 -3
  244. package/dist/{search-DSvil0jo.js → search-CqgGq1gG.js} +1 -1
  245. package/dist/{send-BBR28V94.js → send-Ceo3c9Db.js} +1 -1
  246. package/dist/{shield-check-ByxUnaU9.js → shield-check-uDAwur5D.js} +1 -1
  247. package/dist/{smartphone-CNOwGf5T.js → smartphone-CcLaCpGK.js} +1 -1
  248. package/dist/socialIcons-PTiwhLoC.js +1359 -0
  249. package/dist/{sparkles-DO1hzwzf.js → sparkles-Do9XjAuT.js} +1 -1
  250. package/dist/style.css +1 -1
  251. package/dist/{cdn/chunks/styleConstants-C_YAPdQS.js → styleConstants-D1Jz-TFU.js} +7 -30
  252. package/dist/templatical-editor.js +519 -509
  253. package/dist/{text-align-start-BKEKMheq.js → text-align-start-DvzC0HQA.js} +1 -1
  254. package/dist/timeouts-Cv2jvusx.js +4 -0
  255. package/dist/{trash-CKEQH4vH.js → trash-vlINTx32.js} +1 -1
  256. package/dist/{triangle-alert-BHnfd3fV.js → triangle-alert-MRYSJ9T2.js} +1 -1
  257. package/dist/{upload-C8uO7KsR.js → upload-CtNOI6J2.js} +1 -1
  258. package/dist/{useAliveFlag-6PtarpNZ.js → useAliveFlag-Dd06mRxe.js} +1 -1
  259. package/dist/{useCloudI18n-GvIOLziA.js → useCloudI18n-Nwqo7pI_.js} +2 -2
  260. package/dist/{useEditorCore-BJAQMvNW.js → useEditorCore-PvErWWsp.js} +1002 -991
  261. package/dist/{useEditorRoot-OWzNpDdT.js → useEditorRoot-BD3piYtD.js} +2 -2
  262. package/dist/{useI18n-uF11q85g.js → useI18n-CxVEpurs.js} +2 -2
  263. package/dist/{useLogicTag-B5gjcMzn.js → useLogicTag-BHn67tDd.js} +3 -3
  264. package/dist/{useMergeTag-BwsBIDzR.js → useMergeTag-CRkm5Ig6.js} +5 -5
  265. package/dist/{usePopoverPosition-DkBrHfCo.js → usePopoverPosition-CwnH1o5g.js} +2 -2
  266. package/dist/{useScrollToBlock-JRxhT1u_.js → useScrollToBlock-CXmcHQQN.js} +3 -3
  267. package/dist/{vue.runtime.esm-bundler-CctRY8kr.js → vue.runtime.esm-bundler-CAzmrXdD.js} +1215 -1155
  268. package/dist/{withCurrentFont-C9vqrduu.js → withCurrentFont-CxRGeHO3.js} +1 -1
  269. package/dist/{x-gEC0yMci.js → x-Cd6SFw8r.js} +1 -1
  270. package/package.json +23 -23
  271. package/dist/BlockPreviewCanvas-DIZ0KgUD.js +0 -133
  272. package/dist/CountdownBlock-RNx3hIu0.js +0 -91
  273. package/dist/Toolbar-CqhRb6EM.js +0 -2732
  274. package/dist/WrapperBlock-CTkmA887.js +0 -34
  275. package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js +0 -135
  276. package/dist/cdn/chunks/BlockPreviewCanvas-Djz9YAFx.js.map +0 -1
  277. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js +0 -93
  278. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js.map +0 -1
  279. package/dist/cdn/chunks/ParagraphEditor-DndEFXmR.js.map +0 -1
  280. package/dist/cdn/chunks/TemplateSettings-rZiHmq24.js.map +0 -1
  281. package/dist/cdn/chunks/Toolbar-C_5HfUQq.js +0 -2646
  282. package/dist/cdn/chunks/Toolbar-C_5HfUQq.js.map +0 -1
  283. package/dist/cdn/chunks/TplModal-CYBbPCHL.js.map +0 -1
  284. package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js +0 -36
  285. package/dist/cdn/chunks/WrapperBlock-CJ0CLqi2.js.map +0 -1
  286. package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js +0 -21
  287. package/dist/cdn/chunks/blockTypeIcons-DdZP-3FM.js.map +0 -1
  288. package/dist/cdn/chunks/ca-C__Dzq--.js.map +0 -1
  289. package/dist/cdn/chunks/createCloudRuntime-bJN9EM1H.js.map +0 -1
  290. package/dist/cdn/chunks/de-CGjbQ2mt.js.map +0 -1
  291. package/dist/cdn/chunks/draggable-BUTN5vZC.js.map +0 -1
  292. package/dist/cdn/chunks/en-BTiiAC-B.js.map +0 -1
  293. package/dist/cdn/chunks/en-CAt6y87e.js +0 -1
  294. package/dist/cdn/chunks/es-CdTOcSTf.js.map +0 -1
  295. package/dist/cdn/chunks/fr-B6lcLLzC.js.map +0 -1
  296. package/dist/cdn/chunks/icons-Dr9erFGs.js.map +0 -1
  297. package/dist/cdn/chunks/ja-BhdkqENz.js.map +0 -1
  298. package/dist/cdn/chunks/nl-CE3YItYg.js.map +0 -1
  299. package/dist/cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js.map +0 -1
  300. package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +0 -1
  301. package/dist/cdn/chunks/socialIcons-ClJVDZwt.js +0 -1031
  302. package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +0 -1
  303. package/dist/cdn/chunks/src-B0pZeTYO.js.map +0 -1
  304. package/dist/cdn/chunks/src-BMw3u-iV.js +0 -614
  305. package/dist/cdn/chunks/src-BMw3u-iV.js.map +0 -1
  306. package/dist/cdn/chunks/src-Bh0MoJ67.js.map +0 -1
  307. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +0 -6
  308. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +0 -1
  309. package/dist/cdn/chunks/tiptap-CYDXLO17.js.map +0 -1
  310. package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +0 -1
  311. package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +0 -10
  312. package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +0 -21
  313. package/dist/dist-CFC4pg2o.js +0 -5
  314. package/dist/dist-j2FavQmU.js +0 -5
  315. package/dist/en-Bk4iCfjp.js +0 -1
  316. package/dist/socialIcons-Ct_IoqPQ.js +0 -1107
  317. package/dist/timeouts-DHPZQ0G3.js +0 -4
@@ -1,21 +1,21 @@
1
- import { A as e, At as t, F as n, K as r, M as i, S as a, Z as o, at as s, c, d as l, g as u, h as d, i as f, jt as p, kt as m, l as h, r as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
- import { c as b, s as x } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
- import { Q as S } from "./dist-BI_LeQGl.js";
4
- import { t as C } from "./dist-B_vYjCsk.js";
5
- import { _ as w, b as T, v as E, x as D } from "./useEditorCore-BJAQMvNW.js";
6
- import { $ as O, A as k, E as A, J as j, Z as M, g as N, v as P } from "./keys-injl74ob.js";
7
- import { t as F } from "./useI18n-uF11q85g.js";
8
- import { n as I } from "./usePopoverPosition-DkBrHfCo.js";
9
- import { t as L } from "./createLucideIcon-BAPyioGd.js";
10
- import { i as ee, n as R, r as te, t as z } from "./RichTextEditorContent-CP_uULWB.js";
11
- import { c as B, l as ne, u as re } from "./LogicTagInsertButton-CHa-UD76.js";
12
- import { t as ie } from "./link-Cstrr3Ep.js";
13
- import { t as ae } from "./list-Dx9Rmy5s.js";
14
- import { t as oe } from "./loader-circle-D8Qqs0MG.js";
15
- import { n as se, r as ce, t as le } from "./text-align-start-BKEKMheq.js";
1
+ import { A as e, At as t, F as n, K as r, M as i, S as a, Z as o, at as s, c, d as l, g as u, h as d, i as f, jt as p, kt as m, l as h, r as g, s as _, u as v, v as y } from "./vue.runtime.esm-bundler-CAzmrXdD.js";
2
+ import { c as b, s as x } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
3
+ import { at as S } from "./dist-tsmnQugO.js";
4
+ import { t as C } from "./dist-DAAJogrx.js";
5
+ import { C as w, S as T, b as E, y as D } from "./useEditorCore-PvErWWsp.js";
6
+ import { $ as O, A as k, E as A, J as j, Z as M, g as N, v as P } from "./keys-BKFq19a2.js";
7
+ import { t as F } from "./useI18n-CxVEpurs.js";
8
+ import { n as I } from "./usePopoverPosition-CwnH1o5g.js";
9
+ import { t as L } from "./createLucideIcon-CYHXK9hn.js";
10
+ import { i as ee, n as R, r as te, t as z } from "./RichTextEditorContent-D7kp7iig.js";
11
+ import { c as B, l as ne, u as re } from "./LogicTagInsertButton-B1_Wy0AN.js";
12
+ import { t as ie } from "./link-Cel46wgo.js";
13
+ import { t as ae } from "./list-Cl0GwiV9.js";
14
+ import { t as oe } from "./loader-circle-uAwpvfys.js";
15
+ import { n as se, r as ce, t as le } from "./text-align-start-DvzC0HQA.js";
16
16
  import { t as V } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
- import { a as ue, n as de, o as fe, s as pe } from "./styleConstants-C_YAPdQS.js";
18
- import { n as me, t as he } from "./withCurrentFont-C9vqrduu.js";
17
+ import { a as ue, n as de, o as fe, s as pe } from "./styleConstants-D1Jz-TFU.js";
18
+ import { n as me, t as he } from "./withCurrentFont-CxRGeHO3.js";
19
19
  var H = L({
20
20
  name: "face-slightly-smiling",
21
21
  size: 24,
@@ -187,8 +187,8 @@ var H = L({
187
187
  __name: "EmojiPickerDropdown",
188
188
  emits: ["insert"],
189
189
  setup(t, { emit: n }) {
190
- let r = n, { categories: a, isOpen: d, toggle: f, close: h } = T(), { t: y, format: S } = F(), w = o(null), E = o(null), O = _(() => d.value);
191
- D(w, O), C(E, () => {
190
+ let r = n, { categories: a, isOpen: d, toggle: f, close: h } = T(), { t: y, format: S } = F(), E = o(null), D = o(null), O = _(() => d.value);
191
+ w(E, O), C(D, () => {
192
192
  d.value && h();
193
193
  });
194
194
  function k(e) {
@@ -196,7 +196,7 @@ var H = L({
196
196
  }
197
197
  return (t, n) => (e(), l("div", {
198
198
  ref_key: "rootRef",
199
- ref: E,
199
+ ref: D,
200
200
  class: "tpl:relative"
201
201
  }, [c("button", {
202
202
  type: "button",
@@ -214,7 +214,7 @@ var H = L({
214
214
  key: 0,
215
215
  id: "tpl-emoji-picker",
216
216
  ref_key: "pickerRef",
217
- ref: w,
217
+ ref: E,
218
218
  role: "dialog",
219
219
  "aria-modal": "false",
220
220
  "aria-label": s(y).paragraphEditor.insertEmoji,
@@ -279,26 +279,36 @@ var Q = /*#__PURE__*/ V(X, [["render", we]]), Te = [
279
279
  },
280
280
  emits: ["update:modelValue"],
281
281
  setup(t, { emit: n }) {
282
- let r = n;
283
- function a(e) {
284
- r("update:modelValue", e.target.value);
285
- }
282
+ let r = t, a = n;
286
283
  function o(e) {
287
- return typeof e == "string" ? e : e.value;
284
+ a("update:modelValue", e.target.value);
288
285
  }
289
286
  function s(e) {
287
+ return typeof e == "string" ? e : e.value;
288
+ }
289
+ function u(e) {
290
290
  return typeof e == "string" ? e : e.label;
291
291
  }
292
+ let d = /* @__PURE__ */ new Set([
293
+ "inherit",
294
+ "initial",
295
+ "unset",
296
+ "revert",
297
+ "revert-layer"
298
+ ]), f = _(() => d.has(r.modelValue) ? "" : r.modelValue), h = _(() => {
299
+ let e = f.value;
300
+ return e === "" || r.options.some((t) => s(t) === e) ? r.options : [e, ...r.options];
301
+ });
292
302
  return (n, r) => (e(), l("select", {
293
303
  class: m(["tpl:h-8 tpl:cursor-pointer tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", t.widthClass ?? "tpl:w-20"]),
294
- value: t.modelValue,
304
+ value: f.value,
295
305
  "aria-label": t.label,
296
306
  title: t.label,
297
- onChange: a
298
- }, [c("option", Ee, p(t.placeholder ?? ""), 1), (e(!0), l(g, null, i(t.options, (t) => (e(), l("option", {
299
- key: o(t),
300
- value: o(t)
301
- }, p(s(t)), 9, De))), 128))], 42, Te));
307
+ onChange: o
308
+ }, [c("option", Ee, p(t.placeholder ?? ""), 1), (e(!0), l(g, null, i(h.value, (t) => (e(), l("option", {
309
+ key: s(t),
310
+ value: s(t)
311
+ }, p(u(t)), 9, De))), 128))], 42, Te));
302
312
  }
303
313
  });
304
314
  //#endregion
@@ -326,53 +336,56 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
326
336
  "add-logic-tag"
327
337
  ],
328
338
  setup(n, { emit: r }) {
329
- let i = n, o = r, m = a(j, null), y = a(M, null), b = O(P, "ParagraphToolbar"), x = I(), S = a(k, null), C = a(A, null), w = a(N, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = F(), D = b.fonts;
330
- function L(e) {
339
+ let i = n, o = r, m = a(j, null), y = a(M, null), b = O(P, "ParagraphToolbar"), x = I(), S = a(k, null), C = a(A, null), w = a(N, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: E } = F(), D = b.fonts, L = fe.map((e) => ({
340
+ value: e,
341
+ label: e === "normal" ? E.paragraphEditor.letterSpacingNormal : e
342
+ }));
343
+ function R(e) {
331
344
  i.editor?.chain().focus().insertContent(e).run();
332
345
  }
333
- function R(e) {
346
+ function z(e) {
334
347
  return i.editor?.getAttributes("textStyle")[e] || "";
335
348
  }
336
- function z(e) {
349
+ function V(e) {
337
350
  let t = i.editor?.chain().focus();
338
351
  e ? t?.setFontFamily(e).run() : t?.unsetFontFamily().run();
339
352
  }
340
- function V(e) {
353
+ function H(e) {
341
354
  let t = i.editor?.chain().focus();
342
355
  e ? t?.setFontSize(e).run() : t?.unsetFontSize().run();
343
356
  }
344
- function H() {
357
+ function U() {
345
358
  return i.editor?.isActive("link") ?? !1;
346
359
  }
347
- function U() {
360
+ function W() {
348
361
  return i.editor?.getAttributes("link").color || "";
349
362
  }
350
- function W(e) {
363
+ function G(e) {
351
364
  let t = i.editor?.chain().focus();
352
- t && (H() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
353
- }
354
- function G() {
355
- let e = w?.content.value.settings;
356
- return H() ? Oe(U(), e?.linkColor || e?.textColor) : Oe(R("color"), e?.textColor);
365
+ t && (U() ? (t.extendMarkRange("link").updateAttributes("link", { color: e || null }), e && t.unsetColor(), t.run()) : e ? t.setColor(e).updateAttributes("link", { color: e }).run() : t.unsetColor().run());
357
366
  }
358
367
  function K() {
359
- return H() ? U() : R("color");
368
+ let e = w?.content.value.settings;
369
+ return U() ? Oe(W(), e?.linkColor || e?.textColor) : Oe(z("color"), e?.textColor);
360
370
  }
361
371
  function q() {
372
+ return U() ? W() : z("color");
373
+ }
374
+ function J() {
362
375
  return i.editor?.getAttributes("paragraph").lineHeight || "";
363
376
  }
364
- function J(e) {
377
+ function X(e) {
365
378
  let t = i.editor?.chain().focus();
366
379
  e ? t?.setLineHeight(e).run() : t?.unsetLineHeight().run();
367
380
  }
368
- function X(e) {
381
+ function Z(e) {
369
382
  let t = i.editor?.chain().focus();
370
383
  e && e !== "normal" ? t?.setLetterSpacing(e).run() : t?.unsetLetterSpacing().run();
371
384
  }
372
- function Z() {
385
+ function we() {
373
386
  return i.editor?.getAttributes("highlight").color || "";
374
387
  }
375
- function we(e) {
388
+ function Te(e) {
376
389
  let t = i.editor?.chain().focus();
377
390
  e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
378
391
  }
@@ -393,12 +406,12 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
393
406
  })
394
407
  }, [!n.isLoading && n.editor ? (e(), l(g, { key: 0 }, [c("div", Ae, [
395
408
  u($, {
396
- "model-value": s(he)(R("fontFamily")),
397
- options: s(me)(s(D), R("fontFamily")),
409
+ "model-value": s(he)(z("fontFamily")),
410
+ options: s(me)(s(D), z("fontFamily")),
398
411
  label: s(E).paragraphEditor.fontFamily,
399
412
  placeholder: s(E).paragraphEditor.defaultFont,
400
413
  "width-class": "tpl:w-32",
401
- "onUpdate:modelValue": z
414
+ "onUpdate:modelValue": V
402
415
  }, null, 8, [
403
416
  "model-value",
404
417
  "options",
@@ -406,12 +419,12 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
406
419
  "placeholder"
407
420
  ]),
408
421
  u($, {
409
- "model-value": R("fontSize"),
422
+ "model-value": z("fontSize"),
410
423
  options: s(ue),
411
424
  label: s(E).paragraphEditor.fontSize,
412
425
  placeholder: s(E).paragraphEditor.defaultSize,
413
426
  "width-class": "tpl:w-20",
414
- "onUpdate:modelValue": V
427
+ "onUpdate:modelValue": H
415
428
  }, null, 8, [
416
429
  "model-value",
417
430
  "options",
@@ -423,10 +436,10 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
423
436
  "swatch-only": "",
424
437
  size: "sm",
425
438
  "data-testid": "text-color-picker",
426
- "model-value": K(),
427
- "seed-color": G(),
439
+ "model-value": q(),
440
+ "seed-color": K(),
428
441
  "aria-label": s(E).paragraphEditor.textColor,
429
- "onUpdate:modelValue": W
442
+ "onUpdate:modelValue": G
430
443
  }, null, 8, [
431
444
  "model-value",
432
445
  "seed-color",
@@ -436,10 +449,10 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
436
449
  "swatch-only": "",
437
450
  size: "sm",
438
451
  "data-testid": "highlight-color-picker",
439
- "model-value": Z(),
452
+ "model-value": we(),
440
453
  "seed-color": s(de),
441
454
  "aria-label": s(E).paragraphEditor.highlightColor,
442
- "onUpdate:modelValue": we
455
+ "onUpdate:modelValue": Te
443
456
  }, null, 8, [
444
457
  "model-value",
445
458
  "seed-color",
@@ -583,28 +596,30 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
583
596
  ]),
584
597
  u(Q),
585
598
  u($, {
586
- "model-value": q(),
599
+ "model-value": J(),
587
600
  options: s(pe),
588
601
  label: s(E).paragraphEditor.lineHeight,
589
- placeholder: "LH",
602
+ placeholder: s(E).paragraphEditor.lineHeightShort,
590
603
  "width-class": "tpl:w-16",
591
- "onUpdate:modelValue": J
604
+ "onUpdate:modelValue": X
592
605
  }, null, 8, [
593
606
  "model-value",
594
607
  "options",
595
- "label"
608
+ "label",
609
+ "placeholder"
596
610
  ]),
597
611
  u($, {
598
- "model-value": R("letterSpacing"),
599
- options: s(fe),
612
+ "model-value": z("letterSpacing"),
613
+ options: s(L),
600
614
  label: s(E).paragraphEditor.letterSpacing,
601
- placeholder: "LS",
615
+ placeholder: s(E).paragraphEditor.letterSpacingShort,
602
616
  "width-class": "tpl:w-20",
603
- "onUpdate:modelValue": X
617
+ "onUpdate:modelValue": Z
604
618
  }, null, 8, [
605
619
  "model-value",
606
620
  "options",
607
- "label"
621
+ "label",
622
+ "placeholder"
608
623
  ]),
609
624
  u(Q),
610
625
  u(Y, {
@@ -613,7 +628,7 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
613
628
  onClick: i[13] ||= (e) => n.editor.chain().focus().clearNodes().unsetAllMarks().run()
614
629
  }, null, 8, ["icon", "label"]),
615
630
  u(Q),
616
- u(Ce, { onInsert: L }),
631
+ u(Ce, { onInsert: R }),
617
632
  n.canRequestMergeTag ? (e(), l(g, { key: 0 }, [u(Q), c("button", {
618
633
  type: "button",
619
634
  class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)]",
@@ -649,25 +664,25 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
649
664
  },
650
665
  emits: ["done"],
651
666
  setup(t, { emit: n }) {
652
- let i = t, o = n, c = I(), d = a(N, null), f = S(d?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: p, EditorContent: m, isLoading: h, initError: g, retry: _, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: C, canInsertLogicTag: T, openLinkDialog: D, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: P } = w({
667
+ let i = t, o = n, c = I(), d = a(N, null), f = S(d?.content?.value?.settings ?? { locale: "en" }) === "rtl" ? "right" : "left", { editor: p, EditorContent: m, isLoading: h, initError: g, retry: _, showLinkDialog: v, linkUrl: y, linkColor: b, linkDialogRef: x, canRequestMergeTag: C, canInsertLogicTag: w, openLinkDialog: T, insertLink: O, removeLink: k, closeLinkDialog: A, handleLinkKeydown: j, handleAddMergeTag: M, handleAddLogicTag: P } = D({
653
668
  blockId: () => i.block.id,
654
669
  blockContent: () => i.block.content,
655
670
  onDone: () => o("done"),
656
671
  editorName: "ParagraphEditor",
657
672
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
658
673
  let [{ Editor: a, EditorContent: o }, { default: s }, { default: l }, { default: u }, { default: d }, { default: p }, { default: m }, { TextStyle: h }, { default: g }, { default: _ }, { default: v }, { MergeTagNode: y, MergeTagSuggestion: b, LogicMergeTagNode: x, FontSize: S, LineHeight: C, LetterSpacing: w, LineBoundaryKeys: T }] = await Promise.all([
659
- import("./dist-1H4cnaoD.js").then((e) => e.r),
660
- import("./dist-Bc30883t.js"),
661
- import("./dist-Bd7khQsg.js"),
662
- import("./dist-DapsJxn_.js"),
663
- import("./dist-lL3nVbxV.js"),
664
- import("./dist-C3eH9-N2.js"),
665
- import("./dist-5KNKxglR.js"),
666
- import("./dist-DHensKDY.js"),
667
- import("./dist-j2FavQmU.js"),
668
- import("./dist-CFC4pg2o.js"),
669
- import("./dist-5DAb7bYT.js"),
670
- import("./extensions-CYigjb1g.js")
674
+ import("./dist-DuufrR8O.js").then((e) => e.r),
675
+ import("./dist-Cr7RPxI9.js"),
676
+ import("./dist-3HpYixwF.js"),
677
+ import("./dist-CuLwJF7H.js"),
678
+ import("./dist-BC-ZEYLd.js"),
679
+ import("./dist-DXyGqIDE.js"),
680
+ import("./dist-CyBwSiAa.js"),
681
+ import("./dist-DPcf6XZ8.js"),
682
+ import("./dist-BPFcLKTw.js"),
683
+ import("./dist-D7Yj7E-F.js"),
684
+ import("./dist-DVNjPKsH.js"),
685
+ import("./extensions-pjO8VGkM.js")
671
686
  ]);
672
687
  return {
673
688
  TiptapEditor: a,
@@ -724,8 +739,8 @@ var ke = ["data-tpl-theme", "aria-label"], Ae = { class: "tpl:flex tpl:items-cen
724
739
  "toolbar-position": t.toolbarPosition,
725
740
  "is-loading": s(h),
726
741
  "can-request-merge-tag": s(C),
727
- "can-insert-logic-tag": s(T),
728
- onOpenLinkDialog: s(D),
742
+ "can-insert-logic-tag": s(w),
743
+ onOpenLinkDialog: s(T),
729
744
  onAddMergeTag: s(M),
730
745
  onAddLogicTag: s(P)
731
746
  }, null, 8, [
@@ -1,9 +1,9 @@
1
- import { A as e, B as t, at as n, c as r, d as i, g as a, h as o, jt as s, kt as c, l, u, v as d } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
- import { t as f } from "./useI18n-uF11q85g.js";
3
- import { t as p } from "./loader-circle-D8Qqs0MG.js";
4
- import { t as m } from "./triangle-alert-BHnfd3fV.js";
5
- import { d as h, v as g, x as _ } from "./styleConstants-C_YAPdQS.js";
6
- import { t as v } from "./TplModal-BGFawHY9.js";
1
+ import { A as e, B as t, at as n, c as r, d as i, g as a, h as o, jt as s, kt as c, l, u, v as d } from "./vue.runtime.esm-bundler-CAzmrXdD.js";
2
+ import { t as f } from "./useI18n-CxVEpurs.js";
3
+ import { t as p } from "./loader-circle-uAwpvfys.js";
4
+ import { t as m } from "./triangle-alert-MRYSJ9T2.js";
5
+ import { d as h, v as g, x as _ } from "./styleConstants-D1Jz-TFU.js";
6
+ import { t as v } from "./TplModal-Bz4-IZ9R.js";
7
7
  //#region src/components/RestoreVersionDialog.vue?vue&type=script&setup=true&lang.ts
8
8
  var y = ["aria-busy"], b = { class: "tpl:flex tpl:items-center tpl:gap-2" }, x = {
9
9
  id: "tpl-restore-version-title",
@@ -1,12 +1,12 @@
1
- import { A as e, At as t, F as n, I as r, S as i, at as a, c as o, d as s, g as c, h as l, i as u, jt as d, l as f, s as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
- import { c as _ } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
- import { J as v, Z as y, g as b } from "./keys-injl74ob.js";
4
- import { t as x } from "./useI18n-uF11q85g.js";
5
- import { n as S } from "./usePopoverPosition-DkBrHfCo.js";
6
- import { t as C } from "./createLucideIcon-BAPyioGd.js";
7
- import { c as w } from "./LogicTagInsertButton-CHa-UD76.js";
8
- import { t as T } from "./x-gEC0yMci.js";
9
- import { t as E } from "./MergeTagInput-B3ntd4dN.js";
1
+ import { A as e, At as t, F as n, I as r, S as i, at as a, c as o, d as s, g as c, h as l, i as u, jt as d, l as f, s as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-CAzmrXdD.js";
2
+ import { c as _ } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
3
+ import { J as v, Z as y, g as b } from "./keys-BKFq19a2.js";
4
+ import { t as x } from "./useI18n-CxVEpurs.js";
5
+ import { n as S } from "./usePopoverPosition-CwnH1o5g.js";
6
+ import { t as C } from "./createLucideIcon-CYHXK9hn.js";
7
+ import { c as w } from "./LogicTagInsertButton-B1_Wy0AN.js";
8
+ import { t as T } from "./x-Cd6SFw8r.js";
9
+ import { t as E } from "./MergeTagInput-fOewuF27.js";
10
10
  var D = C({
11
11
  name: "bold",
12
12
  size: 24,
@@ -125,10 +125,10 @@ var D = C({
125
125
  }
126
126
  }), V = {
127
127
  key: 0,
128
- class: "tpl-text-editable tpl:min-h-[1.5em] tpl:rounded tpl:border tpl:border-dashed tpl:border-[var(--tpl-primary)] tpl:p-2"
128
+ class: "tpl-text-editable"
129
129
  }, H = { class: "tpl:animate-pulse tpl:text-[var(--tpl-text-dim)]" }, U = {
130
130
  key: 1,
131
- class: "tpl-text-editable tpl:min-h-[1.5em] tpl:rounded tpl:border tpl:border-dashed tpl:p-2 tpl:text-center tpl:text-xs tpl:border-[var(--tpl-danger)] tpl:text-[var(--tpl-text-muted)]"
131
+ class: "tpl-text-editable tpl-text-editable--error tpl:p-2 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
132
132
  }, W = /* @__PURE__ */ h({
133
133
  __name: "RichTextEditorContent",
134
134
  props: {
@@ -146,7 +146,7 @@ var D = C({
146
146
  }, d(a(c).errors.retry), 1)])) : t.editorContent && t.editor ? (e(), f(n(t.editorContent), {
147
147
  key: 2,
148
148
  editor: t.editor,
149
- class: "tpl-text-editable tpl:min-h-[1.5em] tpl:rounded tpl:border tpl:border-dashed tpl:border-[var(--tpl-primary)] tpl:p-2"
149
+ class: "tpl-text-editable"
150
150
  }, null, 8, ["editor"])) : m("", !0);
151
151
  }
152
152
  });
@@ -1,16 +1,15 @@
1
- import { A as e, At as t, B as n, D as r, F as i, M as a, O as o, R as s, S as c, V as l, Z as u, at as d, c as f, d as p, g as m, h, jt as g, kt as _, l as v, r as y, s as b, u as x, v as S } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
- import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
- import { d as ee } from "./socialIcons-Ct_IoqPQ.js";
4
- import { C as E, s as D } from "./useEditorCore-BJAQMvNW.js";
5
- import { $ as O, U as k, g as A, p as te } from "./keys-injl74ob.js";
6
- import { t as j } from "./useI18n-uF11q85g.js";
7
- import { t as M } from "./chevron-down-RrwkYMlp.js";
8
- import { t as N } from "./chevron-up-DjN2NTbo.js";
9
- import { t as P } from "./loader-circle-D8Qqs0MG.js";
10
- import { v as F } from "./styleConstants-C_YAPdQS.js";
11
- import { r as I } from "./WrapperBlock-CTkmA887.js";
12
- import { t as L } from "./TplModal-BGFawHY9.js";
13
- import { t as R } from "./BlockPreviewCanvas-DIZ0KgUD.js";
1
+ import { A as e, At as t, B as n, D as r, F as i, M as a, O as o, R as s, S as c, V as l, Z as u, at as d, c as f, d as p, g as m, h, jt as g, kt as _, l as v, r as y, s as b, u as x, v as S } from "./vue.runtime.esm-bundler-CAzmrXdD.js";
2
+ import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
3
+ import { S as E, c as D } from "./socialIcons-PTiwhLoC.js";
4
+ import { T as ee, s as O } from "./useEditorCore-PvErWWsp.js";
5
+ import { $ as k, U as A, g as te, p as j } from "./keys-BKFq19a2.js";
6
+ import { t as M } from "./useI18n-CxVEpurs.js";
7
+ import { t as N } from "./chevron-down-te6qn-zE.js";
8
+ import { t as P } from "./chevron-up-Bf5Zo7o4.js";
9
+ import { t as F } from "./loader-circle-uAwpvfys.js";
10
+ import { v as I } from "./styleConstants-D1Jz-TFU.js";
11
+ import { t as L } from "./TplModal-Bz4-IZ9R.js";
12
+ import { t as R } from "./BlockPreviewCanvas-tzAtDkXH.js";
14
13
  //#region src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
15
14
  var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, H = {
16
15
  key: 0,
@@ -27,21 +26,21 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
27
26
  },
28
27
  emits: ["move"],
29
28
  setup(n, { emit: a }) {
30
- let s = n, l = a, { t: _, format: y } = j(), S = c(te, []), C = c(A, null), D = b(() => I(C?.content.value.settings)), O = u(null), k = u(null), P = u(1), F = u(null), L = u(!1), G = null, K = b(() => F.value !== null && F.value > W), q = b(() => F.value === null ? null : L.value || !K.value ? F.value : W);
29
+ let s = n, l = a, { t: _, format: y } = M(), S = c(j, []), C = c(te, null), O = b(() => D(C?.content.value.settings)), k = u(null), A = u(null), F = u(1), I = u(null), L = u(!1), G = null, K = b(() => I.value !== null && I.value > W), q = b(() => I.value === null ? null : L.value || !K.value ? I.value : W);
31
30
  function J() {
32
- let e = O.value, t = k.value;
31
+ let e = k.value, t = A.value;
33
32
  if (!e || !t) return;
34
33
  let n = e.clientWidth;
35
34
  if (n <= 0) return;
36
- let r = Math.min(1, n / D.value);
37
- P.value = r, F.value = t.offsetHeight * r;
35
+ let r = Math.min(1, n / O.value);
36
+ F.value = r, I.value = t.offsetHeight * r;
38
37
  }
39
38
  o(() => {
40
- J(), typeof ResizeObserver < "u" && (G = new ResizeObserver(() => J()), O.value && G.observe(O.value), k.value && G.observe(k.value));
39
+ J(), typeof ResizeObserver < "u" && (G = new ResizeObserver(() => J()), k.value && G.observe(k.value), A.value && G.observe(A.value));
41
40
  }), r(() => {
42
41
  G?.disconnect(), G = null;
43
42
  });
44
- let Y = b(() => ee(s.block, _, S)), X = b(() => y(_.savedBlocks.reorderHandle, {
43
+ let Y = b(() => E(s.block, _, S)), X = b(() => y(_.savedBlocks.reorderHandle, {
45
44
  block: Y.value,
46
45
  position: s.position,
47
46
  total: s.total
@@ -58,21 +57,21 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
58
57
  "aria-label": X.value,
59
58
  title: d(_).savedBlocks.reorderHint,
60
59
  onKeydown: [a[0] ||= T(w((e) => l("move", -1), ["prevent"]), ["up"]), a[1] ||= T(w((e) => l("move", 1), ["prevent"]), ["down"])]
61
- }, [m(d(E), {
60
+ }, [m(d(ee), {
62
61
  size: 14,
63
62
  "stroke-width": 1.5
64
63
  })], 40, B), f("div", V, [
65
64
  f("div", {
66
65
  ref_key: "frameEl",
67
- ref: O,
66
+ ref: k,
68
67
  class: "tpl:overflow-hidden",
69
68
  style: t({ height: q.value === null ? void 0 : `${q.value}px` })
70
69
  }, [f("div", {
71
70
  ref_key: "contentEl",
72
- ref: k,
71
+ ref: A,
73
72
  style: t({
74
- width: `${D.value}px`,
75
- transform: `scale(${P.value})`,
73
+ width: `${O.value}px`,
74
+ transform: `scale(${F.value})`,
76
75
  transformOrigin: "top left"
77
76
  })
78
77
  }, [m(R, { blocks: [n.block] }, null, 8, ["blocks"])], 4)], 4),
@@ -85,7 +84,7 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
85
84
  "aria-label": Z.value,
86
85
  "aria-expanded": L.value,
87
86
  onClick: a[2] ||= (e) => L.value = !L.value
88
- }, [(e(), v(i(L.value ? d(N) : d(M)), {
87
+ }, [(e(), v(i(L.value ? d(P) : d(N)), {
89
88
  size: 11,
90
89
  "stroke-width": 2
91
90
  })), h(" " + g(L.value ? d(_).savedBlocks.collapse : d(_).savedBlocks.expand), 1)], 8, U)) : x("", !0)
@@ -123,7 +122,7 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
123
122
  },
124
123
  emits: ["close", "saved"],
125
124
  setup(t, { emit: r }) {
126
- let i = t, o = r, { t: S, format: w } = j(), T = O(A, "SaveBlockDialog"), E = O(k, "SaveBlockDialog"), M = c(te, []), N = u(""), I = u(""), R = u(!1), z = u(null), B = u(""), V = u([]), H = b(() => {
125
+ let i = t, o = r, { t: S, format: w } = M(), T = k(te, "SaveBlockDialog"), D = k(A, "SaveBlockDialog"), ee = c(j, []), N = u(""), P = u(""), R = u(!1), z = u(null), B = u(""), V = u([]), H = b(() => {
127
126
  let e = new Map(T.content.value.blocks.map((e) => [e.id, e]));
128
127
  return V.value.map((t) => e.get(t)).filter((e) => e !== void 0);
129
128
  }), U = b({
@@ -144,11 +143,11 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
144
143
  }) : "";
145
144
  }
146
145
  function Q(e) {
147
- return ee(e, S, M);
146
+ return E(e, S, ee);
148
147
  }
149
148
  let ge = b(() => H.value.map(Q).join(", "));
150
149
  s(() => i.visible, (e) => {
151
- e && (N.value = "", I.value = "", z.value = null, B.value = "", V.value = [...i.pickedIds]);
150
+ e && (N.value = "", P.value = "", z.value = null, B.value = "", V.value = [...i.pickedIds]);
152
151
  }, { immediate: !0 });
153
152
  let _e = b(() => N.value.trim().length > 0 && H.value.length > 0 && !R.value);
154
153
  async function ve() {
@@ -157,7 +156,7 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
157
156
  if (e.length !== 0) {
158
157
  R.value = !0, z.value = null;
159
158
  try {
160
- await E.create(N.value.trim(), e, I.value.trim() || void 0), o("saved"), o("close");
159
+ await D.create(N.value.trim(), e, P.value.trim() || void 0), o("saved"), o("close");
161
160
  } catch (e) {
162
161
  z.value = e.message;
163
162
  } finally {
@@ -200,22 +199,22 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
200
199
  f("label", ne, g(d(S).savedBlocks.category), 1),
201
200
  l(f("input", {
202
201
  id: "tpl-save-block-category",
203
- "onUpdate:modelValue": i[1] ||= (e) => I.value = e,
202
+ "onUpdate:modelValue": i[1] ||= (e) => P.value = e,
204
203
  type: "text",
205
204
  "data-testid": "saved-blocks-category-input",
206
205
  list: "tpl-saved-block-categories",
207
206
  placeholder: d(S).savedBlocks.categoryPlaceholder,
208
207
  class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
209
208
  disabled: R.value
210
- }, null, 8, re), [[C, I.value]]),
211
- f("datalist", ie, [(e(!0), p(y, null, a(d(E).categories.value, (t) => (e(), p("option", {
209
+ }, null, 8, re), [[C, P.value]]),
210
+ f("datalist", ie, [(e(!0), p(y, null, a(d(D).categories.value, (t) => (e(), p("option", {
212
211
  key: t,
213
212
  value: t
214
213
  }, null, 8, ae))), 128))])
215
214
  ]),
216
215
  f("p", oe, [h(g(d(w)(d(S).savedBlocks.savingCount, { count: H.value.length })) + " ", 1), f("span", se, g(ge.value), 1)]),
217
216
  H.value.length > 1 ? (e(), p("p", ce, g(d(S).savedBlocks.reorderHint), 1)) : x("", !0),
218
- m(d(D), {
217
+ m(d(O), {
219
218
  modelValue: U.value,
220
219
  "onUpdate:modelValue": i[2] ||= (e) => U.value = e,
221
220
  "data-testid": "saved-blocks-reorder-list",
@@ -249,10 +248,10 @@ var z = ["data-block-id"], B = ["aria-label", "title"], V = { class: "tpl:relati
249
248
  onClick: $
250
249
  }, g(d(S).savedBlocks.cancel), 11, fe), f("button", {
251
250
  type: "button",
252
- class: _(d(F)),
251
+ class: _(d(I)),
253
252
  disabled: !_e.value,
254
253
  onClick: ve
255
- }, [R.value ? (e(), p("span", me, [m(d(P), {
254
+ }, [R.value ? (e(), p("span", me, [m(d(F), {
256
255
  class: "tpl:animate-spin",
257
256
  size: 12,
258
257
  "stroke-width": 2
@@ -1,18 +1,18 @@
1
- import { A as e, At as t, B as n, E as r, F as i, M as a, R as o, S as ee, V as s, Z as c, _ as te, at as l, c as u, d, g as f, jt as p, kt as ne, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
- import { a as y, c as b, i as x, s as S } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
- import "./useEditorCore-BJAQMvNW.js";
4
- import { $ as C, U as re, X as ie, g as ae } from "./keys-injl74ob.js";
5
- import { t as oe } from "./useI18n-uF11q85g.js";
6
- import { t as w } from "./blockTypeIcons-CVKo6V_v.js";
7
- import { t as T } from "./package-DOvM9sHE.js";
8
- import { t as se } from "./pencil-B6m0OG0n.js";
9
- import { t as ce } from "./search-DSvil0jo.js";
10
- import { t as le } from "./trash-CKEQH4vH.js";
11
- import { t as ue } from "./x-gEC0yMci.js";
12
- import { v as de } from "./styleConstants-C_YAPdQS.js";
1
+ import { A as e, At as t, B as n, E as r, F as i, M as a, R as o, S as ee, V as s, Z as c, _ as te, at as l, c as u, d, g as f, jt as p, kt as ne, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-CAzmrXdD.js";
2
+ import { a as y, c as b, i as x, s as S } from "./runtime-dom.esm-bundler-lFF-QG3j.js";
3
+ import "./useEditorCore-PvErWWsp.js";
4
+ import { $ as C, U as re, X as ie, g as ae } from "./keys-BKFq19a2.js";
5
+ import { t as oe } from "./useI18n-CxVEpurs.js";
6
+ import { t as w } from "./blockTypeIcons-CEDZytqP.js";
7
+ import { t as T } from "./package-CbyG_yU_.js";
8
+ import { t as se } from "./pencil-BzoDcwKu.js";
9
+ import { t as ce } from "./search-CqgGq1gG.js";
10
+ import { t as le } from "./trash-vlINTx32.js";
11
+ import { t as ue } from "./x-Cd6SFw8r.js";
12
+ import { v as de } from "./styleConstants-D1Jz-TFU.js";
13
13
  import { t as fe } from "./formatAbsoluteDateTime-DMmop3C-.js";
14
14
  import { t as pe } from "./formatRelativeTime-CtUU-QZ8.js";
15
- import { t as me } from "./TplModal-BGFawHY9.js";
15
+ import { t as me } from "./TplModal-Bz4-IZ9R.js";
16
16
  //#region src/components/SavedBlocksBrowserModal.vue?vue&type=script&setup=true&lang.ts
17
17
  var he = {
18
18
  role: "dialog",
@@ -75,7 +75,7 @@ var he = {
75
75
  props: { visible: { type: Boolean } },
76
76
  emits: ["close", "insert"],
77
77
  setup(v, { emit: D }) {
78
- let dt = v, O = D, ft = te(() => import("./BlockPreviewCanvas-DIZ0KgUD.js").then((e) => e.n)), { t: k, format: A } = oe(), j = C(re, "SavedBlocksBrowserModal"), M = C(ae, "SavedBlocksBrowserModal"), pt = ee(ie, void 0), N = c(""), P = c(""), F = c(null), I = c(null), L = c(null), R = c(""), z = c(""), B = c(null), V = c(null), H = c(null), U = c("end"), W = /* @__PURE__ */ new Map();
78
+ let dt = v, O = D, ft = te(() => import("./BlockPreviewCanvas-tzAtDkXH.js").then((e) => e.n)), { t: k, format: A } = oe(), j = C(re, "SavedBlocksBrowserModal"), M = C(ae, "SavedBlocksBrowserModal"), pt = ee(ie, void 0), N = c(""), P = c(""), F = c(null), I = c(null), L = c(null), R = c(""), z = c(""), B = c(null), V = c(null), H = c(null), U = c("end"), W = /* @__PURE__ */ new Map();
79
79
  function mt(e, t) {
80
80
  t ? W.set(e, t) : W.delete(e);
81
81
  }
@@ -1,11 +1,11 @@
1
- import { A as e, _ as t, at as n, d as r, l as i, r as a, u as o, v as s } from "./vue.runtime.esm-bundler-CctRY8kr.js";
1
+ import { A as e, _ as t, at as n, d as r, l as i, r as a, u as o, v as s } from "./vue.runtime.esm-bundler-CAzmrXdD.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-D2J-g82g.js")), u = t(() => import("./SaveBlockDialog-BSKX_7_v.js")), d = t(() => import("./SavedBlocksBrowserModal-CHKrH1gO.js"));
8
+ let c = s, l = t(() => import("./SavedBlocksPickBar-DnEWBZJy.js")), u = t(() => import("./SaveBlockDialog-SJu0lecx.js")), d = t(() => import("./SavedBlocksBrowserModal-DbmIS5uK.js"));
9
9
  function f(e, t) {
10
10
  c.feature.insert(e, t);
11
11
  }