@templatical/editor 0.24.0 → 0.25.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 (231) hide show
  1. package/dist/{AiChatSidebar-Nq-jrGaf.js → AiChatSidebar-CIkS8DsO.js} +15 -15
  2. package/dist/{AiFeatureMenu-tg_zMKMK.js → AiFeatureMenu-Cji1LBJJ.js} +7 -7
  3. package/dist/{BlockIssueBadge-Bd94kIiw.js → BlockIssueBadge-BQiT0FML.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-B34aMhHe.js → BlockPreviewCanvas-DAnwZofk.js} +11 -7
  5. package/dist/{CloudEditor-DjN_9Yso.js → CloudEditor-CXaft6Ej.js} +73 -71
  6. package/dist/{CollaboratorBar-Bhazzcg-.js → CollaboratorBar-BR-rL2wG.js} +4 -4
  7. package/dist/{ColorPicker-DXGrcJxJ.js → ColorPicker-B4ArSUhy.js} +7 -9
  8. package/dist/{CommentsSidebar-ku1kt10u.js → CommentsSidebar-Bm5GLDts.js} +16 -16
  9. package/dist/{CountdownBlock-CN9Lc23W.js → CountdownBlock-CIVAQDVu.js} +3 -3
  10. package/dist/{CountdownToolbar-VEsIyKV6.js → CountdownToolbar-DBmb3tlb.js} +4 -4
  11. package/dist/DesignReferenceSidebar-CnyJ8L-j.js +264 -0
  12. package/dist/{IssuesPanel-CEfzOpS_.js → IssuesPanel-D3XgmYCt.js} +8 -8
  13. package/dist/{LoadingTrack-KIcREPlS.js → LoadingTrack-XK_eeUdq.js} +1 -1
  14. package/dist/{MergeTagModeToggle-C3V2xGAg.js → MergeTagModeToggle-BK0fI3P2.js} +6 -6
  15. package/dist/{MergeTagSuggestion-Dn8ww9nV.js → MergeTagSuggestion-D0OHRv7L.js} +8 -12
  16. package/dist/{NumberWithSuffix-BGocZkj9.js → NumberWithSuffix-Cjj9UNIp.js} +2 -2
  17. package/dist/{ParagraphEditor-D-fz0kUb.js → ParagraphEditor-jGnbJEA2.js} +45 -45
  18. package/dist/{RichTextEditorContent-DydrqFts.js → RichTextEditorContent-DaaKdzjb.js} +8 -8
  19. package/dist/{SaveBlockDialog-BDDFbAWF.js → SaveBlockDialog-B3ngEldp.js} +12 -12
  20. package/dist/{SavedBlocksBrowserModal-Djik_fJh.js → SavedBlocksBrowserModal-DawN3XaB.js} +11 -11
  21. package/dist/{SavedBlocksPanels-CxemyPxL.js → SavedBlocksPanels-eDC9Y46N.js} +2 -2
  22. package/dist/{SavedBlocksPickBar-Dlhipmob.js → SavedBlocksPickBar-CQbbXmzj.js} +4 -4
  23. package/dist/{SnapshotHistory-DPbM4ons.js → SnapshotHistory-COxKtHM-.js} +10 -10
  24. package/dist/{TemplateScoringPanel-BFYgweDX.js → TemplateScoringPanel-bUuqOO1z.js} +16 -16
  25. package/dist/{TestEmailModal-IZfwgya-.js → TestEmailModal-CytkbZVQ.js} +89 -58
  26. package/dist/{TestEmailPanel-QEEx_PkN.js → TestEmailPanel-CHUY7VZn.js} +2 -2
  27. package/dist/{TitleEditor-BB4YlIBF.js → TitleEditor-aMR1bOyY.js} +13 -13
  28. package/dist/TplModal-fmYNYdyp.js +49 -0
  29. package/dist/{blockTypeIcons-Wzd7W_2x.js → blockTypeIcons-C6b9rg88.js} +26 -26
  30. package/dist/bundle-stats.json +6 -6
  31. package/dist/{ca-CO4nq6TX.js → ca-8Dvbwo50.js} +5 -0
  32. package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js → AiChatSidebar-bkBKpNgE.js} +9 -9
  33. package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js.map → AiChatSidebar-bkBKpNgE.js.map} +1 -1
  34. package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js → AiFeatureMenu-CI4SYTq2.js} +6 -6
  35. package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js.map → AiFeatureMenu-CI4SYTq2.js.map} +1 -1
  36. package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js → BlockIssueBadge-CRnx8Dv9.js} +5 -5
  37. package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js.map → BlockIssueBadge-CRnx8Dv9.js.map} +1 -1
  38. package/dist/cdn/chunks/{BlockPreviewCanvas-Dc4F4HzY.js → BlockPreviewCanvas-CXCWhqbp.js} +13 -9
  39. package/dist/cdn/chunks/BlockPreviewCanvas-CXCWhqbp.js.map +1 -0
  40. package/dist/cdn/chunks/{CloudEditor-CeKaWWO5.js → CloudEditor-D-t7RyDh.js} +67 -65
  41. package/dist/cdn/chunks/CloudEditor-D-t7RyDh.js.map +1 -0
  42. package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js → CollaboratorBar-DcXYo47v.js} +5 -5
  43. package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js.map → CollaboratorBar-DcXYo47v.js.map} +1 -1
  44. package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js → ColorPicker-_1O7YU2z.js} +8 -10
  45. package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js.map → ColorPicker-_1O7YU2z.js.map} +1 -1
  46. package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js → CommentsSidebar-BEgLBYX-.js} +7 -7
  47. package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js.map → CommentsSidebar-BEgLBYX-.js.map} +1 -1
  48. package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js → CountdownBlock-CPnQA44g.js} +4 -4
  49. package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js.map → CountdownBlock-CPnQA44g.js.map} +1 -1
  50. package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js → CountdownToolbar-Cdo-30U4.js} +5 -5
  51. package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js.map → CountdownToolbar-Cdo-30U4.js.map} +1 -1
  52. package/dist/cdn/chunks/DesignReferenceSidebar-DPqBr-ut.js +223 -0
  53. package/dist/cdn/chunks/{DesignReferenceSidebar-BjlaP69l.js.map → DesignReferenceSidebar-DPqBr-ut.js.map} +1 -1
  54. package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js → IssuesPanel-DoQWb23r.js} +5 -5
  55. package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js.map → IssuesPanel-DoQWb23r.js.map} +1 -1
  56. package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js → LoadingTrack-G2tuXqCJ.js} +2 -2
  57. package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js.map → LoadingTrack-G2tuXqCJ.js.map} +1 -1
  58. package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js → MergeTagModeToggle-CWuVC3MU.js} +6 -6
  59. package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js.map → MergeTagModeToggle-CWuVC3MU.js.map} +1 -1
  60. package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js → MergeTagSuggestion-Ces5Ua78.js} +3 -3
  61. package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js.map → MergeTagSuggestion-Ces5Ua78.js.map} +1 -1
  62. package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js → NumberWithSuffix-DQ4sgvt5.js} +3 -3
  63. package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js.map → NumberWithSuffix-DQ4sgvt5.js.map} +1 -1
  64. package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js → ParagraphEditor-Uv5LPF3W.js} +131 -131
  65. package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js.map → ParagraphEditor-Uv5LPF3W.js.map} +1 -1
  66. package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js → RichTextEditorContent-Bt3s09qY.js} +7 -7
  67. package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js.map → RichTextEditorContent-Bt3s09qY.js.map} +1 -1
  68. package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js → SaveBlockDialog-BAew6EFd.js} +10 -10
  69. package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js.map → SaveBlockDialog-BAew6EFd.js.map} +1 -1
  70. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js → SavedBlocksBrowserModal-Dn4IJDJW.js} +9 -9
  71. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js.map → SavedBlocksBrowserModal-Dn4IJDJW.js.map} +1 -1
  72. package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js → SavedBlocksPanels-B62U5DYW.js} +3 -3
  73. package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js.map → SavedBlocksPanels-B62U5DYW.js.map} +1 -1
  74. package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js → SavedBlocksPickBar-CyRKZg2T.js} +5 -5
  75. package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js.map → SavedBlocksPickBar-CyRKZg2T.js.map} +1 -1
  76. package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js → SnapshotHistory-QQt0DKey.js} +7 -7
  77. package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js.map → SnapshotHistory-QQt0DKey.js.map} +1 -1
  78. package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js → TemplateScoringPanel-BwyCMcit.js} +67 -67
  79. package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js.map → TemplateScoringPanel-BwyCMcit.js.map} +1 -1
  80. package/dist/cdn/chunks/{TestEmailModal-CiPfOn2v.js → TestEmailModal-B5UQkDJp.js} +89 -58
  81. package/dist/cdn/chunks/TestEmailModal-B5UQkDJp.js.map +1 -0
  82. package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js → TestEmailPanel-CvuBq4RA.js} +3 -3
  83. package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js.map → TestEmailPanel-CvuBq4RA.js.map} +1 -1
  84. package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js → TitleEditor-B9W954u9.js} +13 -13
  85. package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js.map → TitleEditor-B9W954u9.js.map} +1 -1
  86. package/dist/cdn/chunks/TplModal-B8UsvWc8.js +50 -0
  87. package/dist/cdn/chunks/TplModal-B8UsvWc8.js.map +1 -0
  88. package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js → blockTypeIcons-B8s3_ahs.js} +2 -2
  89. package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js.map → blockTypeIcons-B8s3_ahs.js.map} +1 -1
  90. package/dist/cdn/chunks/{ca-CO4nq6TX.js → ca-8Dvbwo50.js} +6 -1
  91. package/dist/cdn/chunks/{ca-CO4nq6TX.js.map → ca-8Dvbwo50.js.map} +1 -1
  92. package/dist/cdn/chunks/{cloud-C2I0P9qj.js → cloud-DOaGUdR0.js} +13 -17
  93. package/dist/cdn/chunks/{cloud-C2I0P9qj.js.map → cloud-DOaGUdR0.js.map} +1 -1
  94. package/dist/{de-CUeaFJph.js → cdn/chunks/de-CieSMCUp.js} +7 -0
  95. package/dist/cdn/chunks/{de-CUeaFJph.js.map → de-CieSMCUp.js.map} +1 -1
  96. package/dist/cdn/chunks/{dist-CxTt8FRE.js → dist-B8AX9np4.js} +16 -12
  97. package/dist/cdn/chunks/dist-B8AX9np4.js.map +1 -0
  98. package/dist/cdn/chunks/{dist-CiBEt0VR.js → dist-lZgXNk4G.js} +36 -20
  99. package/dist/cdn/chunks/dist-lZgXNk4G.js.map +1 -0
  100. package/dist/cdn/chunks/{draggable-D840DIZB.js → draggable-JcMTNF3U.js} +14 -15
  101. package/dist/cdn/chunks/{draggable-D840DIZB.js.map → draggable-JcMTNF3U.js.map} +1 -1
  102. package/dist/{en-zCYIPAL5.js → cdn/chunks/en-D0t_2Fq_.js} +7 -0
  103. package/dist/cdn/chunks/{en-zCYIPAL5.js.map → en-D0t_2Fq_.js.map} +1 -1
  104. package/dist/cdn/chunks/{es-BSiH7YkP.js → es-DwDoNuLM.js} +6 -1
  105. package/dist/cdn/chunks/{es-BSiH7YkP.js.map → es-DwDoNuLM.js.map} +1 -1
  106. package/dist/cdn/chunks/{extensions-DBWF_lxx.js → extensions-5jgtarD-.js} +30 -26
  107. package/dist/cdn/chunks/{extensions-DBWF_lxx.js.map → extensions-5jgtarD-.js.map} +1 -1
  108. package/dist/{fr-DTVJ3det.js → cdn/chunks/fr-CSEEzv1_.js} +7 -0
  109. package/dist/cdn/chunks/{fr-DTVJ3det.js.map → fr-CSEEzv1_.js.map} +1 -1
  110. package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js → htmlparser-CPhs2cYE.js} +3 -5
  111. package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js.map → htmlparser-CPhs2cYE.js.map} +1 -1
  112. package/dist/cdn/chunks/{icons-Cqxvwgz7.js → icons-Cp4ZIJw-.js} +31 -31
  113. package/dist/cdn/chunks/{icons-Cqxvwgz7.js.map → icons-Cp4ZIJw-.js.map} +1 -1
  114. package/dist/cdn/chunks/keys-BxPCfHBH.js +12 -0
  115. package/dist/cdn/chunks/keys-BxPCfHBH.js.map +1 -0
  116. package/dist/cdn/chunks/{liquid.browser-BJOEu6Cg.js → liquid.browser-CZaQe87t.js} +756 -718
  117. package/dist/cdn/chunks/liquid.browser-CZaQe87t.js.map +1 -0
  118. package/dist/cdn/chunks/{nl-BqSquFS3.js → nl-xyk1T2mA.js} +6 -1
  119. package/dist/cdn/chunks/{nl-BqSquFS3.js.map → nl-xyk1T2mA.js.map} +1 -1
  120. package/dist/{pt-BR-CMljK37h.js → cdn/chunks/pt-BR-yr6uOJgn.js} +7 -0
  121. package/dist/cdn/chunks/{pt-BR-CMljK37h.js.map → pt-BR-yr6uOJgn.js.map} +1 -1
  122. package/dist/cdn/chunks/{pusher-R0v5p99W.js → pusher-kUlkqMvR.js} +21 -28
  123. package/dist/cdn/chunks/{pusher-R0v5p99W.js.map → pusher-kUlkqMvR.js.map} +1 -1
  124. package/dist/cdn/chunks/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  125. package/dist/cdn/chunks/{src-YVsPFLNJ.js → src-B8W42vT-.js} +153 -153
  126. package/dist/cdn/chunks/{src-YVsPFLNJ.js.map → src-B8W42vT-.js.map} +1 -1
  127. package/dist/cdn/chunks/{src-C45kfA2t.js → src-C417zeUg.js} +22 -26
  128. package/dist/cdn/chunks/{src-C45kfA2t.js.map → src-C417zeUg.js.map} +1 -1
  129. package/dist/cdn/chunks/{src-BCJna-6p.js → src-CZjSXPYq.js} +9 -4
  130. package/dist/cdn/chunks/src-CZjSXPYq.js.map +1 -0
  131. package/dist/cdn/chunks/{src-XQmI_Xs1.js → src-Dpj0x27M.js} +523 -787
  132. package/dist/cdn/chunks/{src-XQmI_Xs1.js.map → src-Dpj0x27M.js.map} +1 -1
  133. package/dist/cdn/chunks/{styles-BohMfIBd.js → styles-DANwMzW2.js} +770 -751
  134. package/dist/cdn/chunks/styles-DANwMzW2.js.map +1 -0
  135. package/dist/cdn/chunks/timeouts-SsLMC4a3.js +6 -0
  136. package/dist/cdn/chunks/{timeouts-Bmi_yePw.js.map → timeouts-SsLMC4a3.js.map} +1 -1
  137. package/dist/cdn/chunks/{tiptap-DRKu__AX.js → tiptap-rsib432n.js} +132 -119
  138. package/dist/cdn/chunks/tiptap-rsib432n.js.map +1 -0
  139. package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js → useAliveFlag-CseYNikC.js} +2 -2
  140. package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js.map → useAliveFlag-CseYNikC.js.map} +1 -1
  141. package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js → useCloudI18n-CjVzv11v.js} +3 -3
  142. package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js.map → useCloudI18n-CjVzv11v.js.map} +1 -1
  143. package/dist/cdn/chunks/{useEditorCore-B_vwuKdI.js → useEditorCore-DfW-thCr.js} +484 -411
  144. package/dist/cdn/chunks/useEditorCore-DfW-thCr.js.map +1 -0
  145. package/dist/cdn/chunks/{useI18n-graz19nI.js → useI18n-DniEFeIl.js} +3 -3
  146. package/dist/cdn/chunks/{useI18n-graz19nI.js.map → useI18n-DniEFeIl.js.map} +1 -1
  147. package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js → useMergeTag-Bk9_f5cc.js} +7 -7
  148. package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js.map → useMergeTag-Bk9_f5cc.js.map} +1 -1
  149. package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js → usePopoverPosition-C4xFJCJ2.js} +3 -3
  150. package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js.map → usePopoverPosition-C4xFJCJ2.js.map} +1 -1
  151. package/dist/cdn/editor.css +1 -1
  152. package/dist/cdn/editor.js +24 -22
  153. package/dist/cdn/editor.js.map +1 -1
  154. package/dist/{check-BpQDKiPz.js → check-CIhIDh4h.js} +1 -1
  155. package/dist/{chevron-down-j8GrdTyz.js → chevron-down-CZ0m6G3s.js} +1 -1
  156. package/dist/{chevron-up-BACyVhyC.js → chevron-up-BH_tJLeb.js} +1 -1
  157. package/dist/{circle-alert-CgtE46ND.js → circle-alert-DkEXnGPV.js} +1 -1
  158. package/dist/{clock-BzKLLW5L.js → clock-BDIJZUET.js} +1 -1
  159. package/dist/{cloud-DsUct4Zq.js → cloud-BZn3jqoL.js} +10 -14
  160. package/dist/{createLucideIcon-JWHwTI6N.js → createLucideIcon-AEltGIse.js} +3 -3
  161. package/dist/{cdn/chunks/de-CUeaFJph.js → de-CieSMCUp.js} +5 -2
  162. package/dist/{dist-BAkGuPYm.js → dist-B6Px6GPj.js} +1 -1
  163. package/dist/{dist-9uhI32Q4.js → dist-BxbTVeY0.js} +1 -1
  164. package/dist/{dist-DWu9QWFl.js → dist-CIqhVQ1O.js} +5 -5
  165. package/dist/{dist-DPHqs0Yh.js → dist-CQ0fVBQ3.js} +8 -3
  166. package/dist/{dist-CkCVlKj_.js → dist-CRH880TV.js} +1 -1
  167. package/dist/{dist-ByJVlKWy.js → dist-CcQFPJMF.js} +116 -100
  168. package/dist/{dist-JXOq1hib.js → dist-CkPvZCld.js} +1 -1
  169. package/dist/{dist-IGetXrbO.js → dist-DSIgxp0v.js} +1 -1
  170. package/dist/{dist-DYv_Pttj.js → dist-DT1XnEnj.js} +33 -17
  171. package/dist/{dist-C_kAE1sC.js → dist-DX4x6mQ1.js} +3 -3
  172. package/dist/{dist-DFO896yT.js → dist-Dx71pluS.js} +16 -11
  173. package/dist/{dist-CQiAZlTt.js → dist-DyCHUyRR.js} +1 -1
  174. package/dist/{dist-BIYm-U9x.js → dist-iCEDH3cC.js} +1 -1
  175. package/dist/{dist-C5tigvDF.js → dist-nR6mxyqI.js} +1 -1
  176. package/dist/{cdn/chunks/en-zCYIPAL5.js → en-D0t_2Fq_.js} +5 -2
  177. package/dist/{es-BSiH7YkP.js → es-DwDoNuLM.js} +5 -0
  178. package/dist/{extensions-C0DXnYdA.js → extensions-BjvyU9Ea.js} +16 -12
  179. package/dist/{cdn/chunks/fr-DTVJ3det.js → fr-CSEEzv1_.js} +5 -2
  180. package/dist/{image-up-CQdtq8ge.js → image-up-8ktdYdaZ.js} +1 -1
  181. package/dist/index.d.ts +26 -0
  182. package/dist/{info-BUJBXoE6.js → info-CvrCgTLH.js} +1 -1
  183. package/dist/keys-BFPiNAIn.js +10 -0
  184. package/dist/{liquid.browser-DZLtv26k.js → liquid.browser-BECWFL5Z.js} +755 -717
  185. package/dist/{list-checks-BGHaCSD5.js → list-checks-yzGT93ZL.js} +1 -1
  186. package/dist/{loader-circle-C-Z6kgI6.js → loader-circle-B6euendB.js} +1 -1
  187. package/dist/{message-circle-CEm5qckV.js → message-circle-BMldLVcA.js} +1 -1
  188. package/dist/{nl-BqSquFS3.js → nl-xyk1T2mA.js} +5 -0
  189. package/dist/{pencil-DdwmkKLb.js → pencil-CkKkSd6N.js} +1 -1
  190. package/dist/{cdn/chunks/pt-BR-CMljK37h.js → pt-BR-yr6uOJgn.js} +5 -2
  191. package/dist/{refresh-cw-maKlg0dl.js → refresh-cw-fBPgB97G.js} +1 -1
  192. package/dist/{runtime-dom.esm-bundler-GdMI8WqG.js → runtime-dom.esm-bundler-CBbDt7sw.js} +2 -2
  193. package/dist/{scan-line-BFgesTOY.js → scan-line-CRoEOUiK.js} +1 -1
  194. package/dist/{send-B70aQDrA.js → send-B9Tt2qBi.js} +1 -1
  195. package/dist/{shield-check-B7x5OKt5.js → shield-check-QfZkYeIo.js} +1 -1
  196. package/dist/{sparkles-DVlm1Ipp.js → sparkles-8UeMmZb8.js} +1 -1
  197. package/dist/style.css +1 -1
  198. package/dist/{styles-BTTD0Je4.js → styles-C9GM-bBC.js} +913 -894
  199. package/dist/templatical-editor.js +96 -94
  200. package/dist/{text-align-start-Vay3Kvo2.js → text-align-start-Dn8uIheW.js} +1 -1
  201. package/dist/{trash-2-DE8CmxAG.js → trash-2-DDyvqj0E.js} +1 -1
  202. package/dist/{triangle-alert-Djg6IG8N.js → triangle-alert-B3PydLzl.js} +1 -1
  203. package/dist/{upload-BwwE0U6G.js → upload-hE8ItfyG.js} +2 -2
  204. package/dist/{useAliveFlag-C43EhZFY.js → useAliveFlag-AfoTE_AY.js} +1 -1
  205. package/dist/{useCloudI18n-DGr3b2SX.js → useCloudI18n-B2lItQ6O.js} +2 -2
  206. package/dist/{useEditorCore-DOrGex_t.js → useEditorCore-Ck_hBiGA.js} +986 -915
  207. package/dist/{useI18n-BhAejA-x.js → useI18n-C1KcdX_K.js} +2 -2
  208. package/dist/{useMergeTag-Ce95YIOO.js → useMergeTag-DHCwRMfH.js} +4 -4
  209. package/dist/{usePopoverPosition-vjKJaqJf.js → usePopoverPosition-ClnEh_Cp.js} +13 -13
  210. package/dist/{vue.runtime.esm-bundler-B0xoGkDv.js → vue.runtime.esm-bundler-Xpz-L9Fn.js} +27 -22
  211. package/dist/{x-CkD6A1iB.js → x-C4lETLDx.js} +1 -1
  212. package/package.json +12 -12
  213. package/dist/DesignReferenceSidebar-C4pTMzQE.js +0 -264
  214. package/dist/TplModal-DPH4vV8M.js +0 -49
  215. package/dist/cdn/chunks/BlockPreviewCanvas-Dc4F4HzY.js.map +0 -1
  216. package/dist/cdn/chunks/CloudEditor-CeKaWWO5.js.map +0 -1
  217. package/dist/cdn/chunks/DesignReferenceSidebar-BjlaP69l.js +0 -223
  218. package/dist/cdn/chunks/TestEmailModal-CiPfOn2v.js.map +0 -1
  219. package/dist/cdn/chunks/TplModal-Cu4tBBnF.js +0 -50
  220. package/dist/cdn/chunks/TplModal-Cu4tBBnF.js.map +0 -1
  221. package/dist/cdn/chunks/dist-CiBEt0VR.js.map +0 -1
  222. package/dist/cdn/chunks/dist-CxTt8FRE.js.map +0 -1
  223. package/dist/cdn/chunks/keys-B5uoP9P7.js +0 -12
  224. package/dist/cdn/chunks/keys-B5uoP9P7.js.map +0 -1
  225. package/dist/cdn/chunks/liquid.browser-BJOEu6Cg.js.map +0 -1
  226. package/dist/cdn/chunks/src-BCJna-6p.js.map +0 -1
  227. package/dist/cdn/chunks/styles-BohMfIBd.js.map +0 -1
  228. package/dist/cdn/chunks/timeouts-Bmi_yePw.js +0 -6
  229. package/dist/cdn/chunks/tiptap-DRKu__AX.js.map +0 -1
  230. package/dist/cdn/chunks/useEditorCore-B_vwuKdI.js.map +0 -1
  231. package/dist/keys-BVlG5Ozc.js +0 -10
@@ -0,0 +1,264 @@
1
+ import { Dt as e, Et as t, I as n, O as r, Ot as i, R as ee, T as a, Y as o, _ as s, c, d as l, h as u, l as te, m as d, nt as f, s as ne, u as p, z as re } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { a as ie, t as ae } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
3
+ import { t as oe } from "./upload-hE8ItfyG.js";
4
+ import { G as m, g as se, i as ce } from "./keys-BFPiNAIn.js";
5
+ import { t as h } from "./createLucideIcon-AEltGIse.js";
6
+ import { t as le } from "./circle-alert-DkEXnGPV.js";
7
+ import { t as g } from "./image-up-8ktdYdaZ.js";
8
+ import { t as _ } from "./x-C4lETLDx.js";
9
+ import { t as ue } from "./LoadingTrack-XK_eeUdq.js";
10
+ import { t as v } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
+ import { n as de } from "./useCloudI18n-B2lItQ6O.js";
12
+ import { f as fe } from "./cloud-BZn3jqoL.js";
13
+ var pe = h("file-image", [
14
+ ["path", {
15
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
16
+ key: "1oefj6"
17
+ }],
18
+ ["path", {
19
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
20
+ key: "wfsgrz"
21
+ }],
22
+ ["circle", {
23
+ cx: "10",
24
+ cy: "12",
25
+ r: "2",
26
+ key: "737tya"
27
+ }],
28
+ ["path", {
29
+ d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",
30
+ key: "wt3hpn"
31
+ }]
32
+ ]), y = h("file-text", [
33
+ ["path", {
34
+ d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
35
+ key: "1oefj6"
36
+ }],
37
+ ["path", {
38
+ d: "M14 2v5a1 1 0 0 0 1 1h5",
39
+ key: "wfsgrz"
40
+ }],
41
+ ["path", {
42
+ d: "M10 9H8",
43
+ key: "b1mrlr"
44
+ }],
45
+ ["path", {
46
+ d: "M16 13H8",
47
+ key: "t4e002"
48
+ }],
49
+ ["path", {
50
+ d: "M16 17H8",
51
+ key: "z1uh3a"
52
+ }]
53
+ ]), me = {
54
+ key: 0,
55
+ class: "tpl-design-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:z-panel tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
56
+ }, he = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, ge = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, b = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, x = {
57
+ key: 0,
58
+ class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
59
+ }, S = { class: "tpl:flex tpl:w-full tpl:flex-col tpl:items-center tpl:gap-3" }, C = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, w = {
60
+ key: 1,
61
+ class: "tpl:flex tpl:flex-col tpl:gap-4"
62
+ }, T = { class: "tpl:flex tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, E = {
63
+ key: 0,
64
+ class: "tpl:flex tpl:flex-col tpl:gap-2"
65
+ }, D = { class: "tpl:relative tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, O = ["src", "alt"], k = {
66
+ key: 1,
67
+ class: "tpl:flex tpl:h-32 tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2"
68
+ }, A = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, j = { class: "tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, M = { class: "tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, N = ["accept"], P = { class: "tpl:flex tpl:flex-col tpl:gap-1.5" }, F = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, I = ["placeholder"], L = {
69
+ key: 0,
70
+ class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:px-3 tpl:py-3 tpl:bg-[var(--tpl-warning-light)] tpl:border tpl:border-[var(--tpl-warning)]"
71
+ }, _e = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text)]" }, ve = { class: "tpl:flex tpl:gap-2" }, ye = {
72
+ key: 1,
73
+ class: "tpl:flex tpl:items-start tpl:gap-2 tpl:rounded-lg tpl:px-3 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
74
+ }, be = ["disabled"], xe = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, R = /*#__PURE__*/ v(/* @__PURE__ */ s({
75
+ __name: "DesignReferenceSidebar",
76
+ props: {
77
+ visible: { type: Boolean },
78
+ hasExistingBlocks: { type: Boolean }
79
+ },
80
+ emits: ["close", "apply"],
81
+ setup(s, { emit: h }) {
82
+ let v = s, R = h, { t: z } = de(), Se = m(se, "DesignReferenceSidebar"), Ce = m(ce, "DesignReferenceSidebar"), B = fe({
83
+ authManager: Ce,
84
+ getTemplateId: () => Se.state.template?.id ?? null,
85
+ onApply: (e) => R("apply", e)
86
+ }), V = o(null), H = o("image"), U = o(null), W = o(""), G = o(null), K = o(!1), q = o(!1), J = ne(() => !B.isGenerating.value && U.value !== null);
87
+ function Y(e) {
88
+ H.value = e, Z();
89
+ }
90
+ function we(e) {
91
+ let t = e.target, n = t.files?.[0];
92
+ n && X(n), t.value = "";
93
+ }
94
+ function X(e) {
95
+ if (e.size > 10485760) {
96
+ B.error.value = z.designReference.fileTooLarge;
97
+ return;
98
+ }
99
+ if (H.value === "image") {
100
+ if (![
101
+ "image/png",
102
+ "image/jpeg",
103
+ "image/jpg",
104
+ "image/webp"
105
+ ].includes(e.type)) {
106
+ B.error.value = z.designReference.invalidFileType;
107
+ return;
108
+ }
109
+ } else if (H.value === "pdf" && e.type !== "application/pdf") {
110
+ B.error.value = z.designReference.invalidFileType;
111
+ return;
112
+ }
113
+ U.value = e, B.error.value = null, G.value && URL.revokeObjectURL(G.value), e.type.startsWith("image/") ? G.value = URL.createObjectURL(e) : G.value = null;
114
+ }
115
+ function Z() {
116
+ G.value &&= (URL.revokeObjectURL(G.value), null), U.value = null;
117
+ }
118
+ function Q(e) {
119
+ e.preventDefault(), q.value = !0;
120
+ }
121
+ function Te() {
122
+ q.value = !1;
123
+ }
124
+ function Ee(e) {
125
+ e.preventDefault(), q.value = !1;
126
+ let t = e.dataTransfer?.files?.[0];
127
+ t && X(t);
128
+ }
129
+ function $() {
130
+ if (!J.value) return;
131
+ if (v.hasExistingBlocks && !K.value) {
132
+ K.value = !0;
133
+ return;
134
+ }
135
+ K.value = !1;
136
+ let e = {};
137
+ W.value.trim() && (e.prompt = W.value.trim()), H.value === "image" && U.value ? e.imageUpload = U.value : H.value === "pdf" && U.value && (e.pdfUpload = U.value), B.generate(e);
138
+ }
139
+ function De() {
140
+ K.value = !1;
141
+ }
142
+ return n(() => v.visible, (e) => {
143
+ e || (K.value = !1);
144
+ }), a(() => {
145
+ G.value &&= (URL.revokeObjectURL(G.value), null);
146
+ }), (n, a) => (r(), te(ae, {
147
+ "enter-active-class": "tpl-design-slide-enter-active",
148
+ "enter-from-class": "tpl:translate-x-full",
149
+ "enter-to-class": "tpl:translate-x-0",
150
+ "leave-active-class": "tpl-design-slide-leave-active",
151
+ "leave-from-class": "tpl:translate-x-0",
152
+ "leave-to-class": "tpl:translate-x-full"
153
+ }, {
154
+ default: ee(() => [s.visible ? (r(), l("div", me, [c("div", he, [c("div", ge, [u(f(g), {
155
+ size: 13,
156
+ "stroke-width": 2
157
+ }), c("span", null, i(f(z).designReference.title), 1)]), c("button", {
158
+ class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
159
+ onClick: a[0] ||= (e) => R("close")
160
+ }, [u(f(_), {
161
+ size: 14,
162
+ "stroke-width": 2
163
+ })])]), c("div", b, [f(B).isGenerating.value ? (r(), l("div", x, [c("div", S, [u(ue), c("p", C, i(f(z).designReference.generating), 1)])])) : (r(), l("div", w, [
164
+ c("div", T, [c("button", {
165
+ class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150",
166
+ style: e({
167
+ backgroundColor: H.value === "image" ? "var(--tpl-bg)" : "transparent",
168
+ color: H.value === "image" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
169
+ boxShadow: H.value === "image" ? "var(--tpl-shadow)" : "none"
170
+ }),
171
+ onClick: a[1] ||= (e) => Y("image")
172
+ }, [u(f(pe), {
173
+ size: 12,
174
+ "stroke-width": 2
175
+ }), d(" " + i(f(z).designReference.uploadImage), 1)], 4), c("button", {
176
+ class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150",
177
+ style: e({
178
+ backgroundColor: H.value === "pdf" ? "var(--tpl-bg)" : "transparent",
179
+ color: H.value === "pdf" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
180
+ boxShadow: H.value === "pdf" ? "var(--tpl-shadow)" : "none"
181
+ }),
182
+ onClick: a[2] ||= (e) => Y("pdf")
183
+ }, [u(f(y), {
184
+ size: 12,
185
+ "stroke-width": 2
186
+ }), d(" " + i(f(z).designReference.uploadPdf), 1)], 4)]),
187
+ c("div", null, [U.value ? (r(), l("div", E, [c("div", D, [G.value ? (r(), l("img", {
188
+ key: 0,
189
+ src: G.value,
190
+ alt: U.value.name,
191
+ class: "tpl:h-auto tpl:max-h-48 tpl:w-full tpl:object-contain"
192
+ }, null, 8, O)) : (r(), l("div", k, [u(f(y), {
193
+ size: 32,
194
+ "stroke-width": 1.5,
195
+ class: "tpl:text-[var(--tpl-text-dim)]"
196
+ }), c("span", A, i(U.value.name), 1)])), c("button", {
197
+ class: "tpl:absolute tpl:top-2 tpl:right-2 tpl:rounded-full tpl:p-1 tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:shadow-[var(--tpl-shadow)]",
198
+ onClick: Z
199
+ }, [u(f(_), {
200
+ size: 12,
201
+ "stroke-width": 2
202
+ })])])])) : (r(), l("div", {
203
+ key: 1,
204
+ class: "tpl-design-dropzone tpl:flex tpl:cursor-pointer tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border-2 tpl:border-dashed tpl:px-4 tpl:py-8 tpl:transition-colors tpl:duration-150",
205
+ style: e({
206
+ borderColor: q.value ? "var(--tpl-primary)" : "var(--tpl-border-light)",
207
+ backgroundColor: q.value ? "var(--tpl-primary-light)" : "var(--tpl-bg)"
208
+ }),
209
+ onClick: a[3] ||= (e) => V.value?.click(),
210
+ onDragover: Q,
211
+ onDragleave: Te,
212
+ onDrop: Ee
213
+ }, [
214
+ u(f(oe), {
215
+ size: 24,
216
+ "stroke-width": 1.5,
217
+ class: "tpl:text-[var(--tpl-text-dim)]"
218
+ }),
219
+ c("span", j, i(f(z).designReference.dropHint), 1),
220
+ c("span", M, i(H.value === "image" ? f(z).designReference.acceptedImages : f(z).designReference.acceptedPdf), 1)
221
+ ], 36)), c("input", {
222
+ ref_key: "fileInput",
223
+ ref: V,
224
+ type: "file",
225
+ class: "tpl:hidden",
226
+ accept: H.value === "image" ? "image/png,image/jpeg,image/webp" : "application/pdf",
227
+ onChange: we
228
+ }, null, 40, N)]),
229
+ c("div", P, [c("label", F, i(f(z).designReference.promptLabel), 1), re(c("textarea", {
230
+ "onUpdate:modelValue": a[4] ||= (e) => W.value = e,
231
+ class: t(["tpl:min-h-[72px] tpl:w-full tpl:resize-none tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:font-sans tpl:text-sm tpl:outline-none tpl:transition-colors tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", ["tpl-design-prompt-input"]]),
232
+ placeholder: f(z).designReference.promptPlaceholder,
233
+ rows: "3"
234
+ }, null, 8, I), [[ie, W.value]])]),
235
+ K.value ? (r(), l("div", L, [c("p", _e, i(f(z).designReference.replaceWarning), 1), c("div", ve, [c("button", {
236
+ class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:text-[var(--tpl-text-muted)] tpl:border tpl:border-[var(--tpl-border)]",
237
+ style: { "background-color": "transparent" },
238
+ onClick: De
239
+ }, i(f(z).designReference.replaceCancel), 1), c("button", {
240
+ class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
241
+ onClick: $
242
+ }, i(f(z).designReference.replaceConfirm), 1)])])) : p("", !0),
243
+ f(B).error.value ? (r(), l("div", ye, [u(f(le), {
244
+ size: 14,
245
+ "stroke-width": 2,
246
+ class: "tpl:mt-0.5 tpl:shrink-0"
247
+ }), c("span", null, i(f(z).designReference.error), 1)])) : p("", !0),
248
+ K.value ? p("", !0) : (r(), l("button", {
249
+ key: 2,
250
+ class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-4 tpl:py-2.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)]",
251
+ disabled: !J.value,
252
+ onClick: $
253
+ }, [u(f(g), {
254
+ size: 16,
255
+ "stroke-width": 2
256
+ }), d(" " + i(f(z).designReference.generate), 1)], 8, be)),
257
+ c("p", xe, i(f(z).aiMenu.disclaimer), 1)
258
+ ]))])])) : p("", !0)]),
259
+ _: 1
260
+ }));
261
+ }
262
+ }), [["__scopeId", "data-v-bdbf8d0d"]]);
263
+ //#endregion
264
+ export { R as default };
@@ -1,11 +1,11 @@
1
- import { A as e, Et as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, h as c, l, m as u, nt as d, r as f, s as p, u as m, x as h } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { L as g, h as _ } from "./keys-BVlG5Ozc.js";
3
- import { t as v } from "./useI18n-BhAejA-x.js";
4
- import { t as y } from "./createLucideIcon-JWHwTI6N.js";
5
- import { t as b } from "./circle-alert-CgtE46ND.js";
6
- import { t as x } from "./info-BUJBXoE6.js";
7
- import { t as S } from "./list-checks-BGHaCSD5.js";
8
- import { t as C } from "./triangle-alert-Djg6IG8N.js";
1
+ import { A as e, Et as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, h as c, l, m as u, nt as d, r as f, s as p, u as m, x as h } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { B as g, g as _ } from "./keys-BFPiNAIn.js";
3
+ import { t as v } from "./useI18n-C1KcdX_K.js";
4
+ import { t as y } from "./createLucideIcon-AEltGIse.js";
5
+ import { t as b } from "./circle-alert-DkEXnGPV.js";
6
+ import { t as x } from "./info-CvrCgTLH.js";
7
+ import { t as S } from "./list-checks-yzGT93ZL.js";
8
+ import { t as C } from "./triangle-alert-B3PydLzl.js";
9
9
  var w = y("arrow-right", [["path", {
10
10
  d: "M5 12h14",
11
11
  key: "1ays0h"
@@ -1,4 +1,4 @@
1
- import { O as e, d as t } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
1
+ import { O as e, d as t } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  //#region src/components/LoadingTrack.vue
4
4
  var r = {}, i = { class: "tpl-loading-track" };
@@ -1,9 +1,9 @@
1
- import { A as e, Dt as t, O as n, Ot as r, _ as i, c as a, d as o, l as s, nt as c, r as l, s as u, u as d, x as f } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { j as p } from "./dist-DPHqs0Yh.js";
3
- import { T as m } from "./keys-BVlG5Ozc.js";
4
- import { t as h } from "./useI18n-BhAejA-x.js";
5
- import { t as g } from "./createLucideIcon-JWHwTI6N.js";
6
- import { t as _ } from "./sparkles-DVlm1Ipp.js";
1
+ import { A as e, Dt as t, O as n, Ot as r, _ as i, c as a, d as o, l as s, nt as c, r as l, s as u, u as d, x as f } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { j as p } from "./dist-CQ0fVBQ3.js";
3
+ import { E as m } from "./keys-BFPiNAIn.js";
4
+ import { t as h } from "./useI18n-C1KcdX_K.js";
5
+ import { t as g } from "./createLucideIcon-AEltGIse.js";
6
+ import { t as _ } from "./sparkles-8UeMmZb8.js";
7
7
  var v = g("monitor", [
8
8
  ["rect", {
9
9
  width: "20",
@@ -1,6 +1,6 @@
1
- import { A as e, Et as t, O as n, Ot as r, Y as i, _ as a, c as o, d as s, r as c, u as l, y as u } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { c as d, n as f } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { F as p, Sn as m, i as h, vn as g, xn as _, yn as v } from "./dist-ByJVlKWy.js";
1
+ import { A as e, Et as t, O as n, Ot as r, Y as i, _ as a, c as o, d as s, r as c, u as l, y as u } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { c as d, n as f } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
3
+ import { F as p, Sn as m, i as h, vn as g, xn as _, yn as v } from "./dist-CcQFPJMF.js";
4
4
  //#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
5
5
  var y = Math.min, b = Math.max, x = Math.round, S = Math.floor, C = (e) => ({
6
6
  x: e,
@@ -223,7 +223,7 @@ var fe = 50, pe = async (e, t, n) => {
223
223
  overflows: w
224
224
  }], !w.every((e) => e <= 0)) {
225
225
  let e = (i.flip?.index || 0) + 1, t = S[e];
226
- if (t && (!(u === "alignment" && _ !== A(t)) || D.every((e) => A(e.placement) !== _ || e.overflows[0] > 0))) return {
226
+ if (t && (u !== "alignment" || _ === A(t) || D.every((e) => A(e.placement) !== _ || e.overflows[0] > 0))) return {
227
227
  data: {
228
228
  index: e,
229
229
  overflows: D
@@ -243,9 +243,7 @@ var fe = 50, pe = async (e, t, n) => {
243
243
  e && (n = e);
244
244
  break;
245
245
  }
246
- case "initialPlacement":
247
- n = o;
248
- break;
246
+ case "initialPlacement": n = o;
249
247
  }
250
248
  if (r !== n) return { reset: { placement: n } };
251
249
  }
@@ -380,7 +378,8 @@ function Y(e, t, n) {
380
378
  if (i) {
381
379
  let e = De(a);
382
380
  return t.concat(a, a.visualViewport || [], V(r) ? r : [], e && n ? Y(e) : []);
383
- } else return t.concat(r, Y(r, [], n));
381
+ }
382
+ return t.concat(r, Y(r, [], n));
384
383
  }
385
384
  function De(e) {
386
385
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
@@ -958,10 +957,7 @@ function mt({ editor: e, pluginKey: t, items: n, renderer: r, minQueryLength: i,
958
957
  case "updated":
959
958
  (i = r?.onUpdate) == null || i.call(r, t);
960
959
  break;
961
- case "stopped":
962
- (a = r?.onExit) == null || a.call(r, t);
963
- break;
964
- default: break;
960
+ case "stopped": (a = r?.onExit) == null || a.call(r, t);
965
961
  }
966
962
  }
967
963
  return {
@@ -1,5 +1,5 @@
1
- import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, _ as o, c as s, d as c, j as l, l as u, m as d, nt as f, r as p, s as m, u as h } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { h as g, m as _, p as v } from "./ColorPicker-DXGrcJxJ.js";
1
+ import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, _ as o, c as s, d as c, j as l, l as u, m as d, nt as f, r as p, s as m, u as h } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { h as g, m as _, p as v } from "./ColorPicker-B4ArSUhy.js";
3
3
  //#region src/components/ToggleSwitch.vue?vue&type=script&setup=true&lang.ts
4
4
  var y = { key: 0 }, b = {
5
5
  key: 0,
@@ -1,16 +1,16 @@
1
- import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, W as o, Y as s, _ as c, c as l, d as u, h as d, i as f, l as p, m, nt as h, r as g, s as _, u as v, x as y } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { c as b, s as x } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { C as S, D as C, O as w, S as T } from "./useEditorCore-DOrGex_t.js";
4
- import { n as E, s as D } from "./usePopoverPosition-vjKJaqJf.js";
5
- import { B as O, D as k, H as A, R as ee, _ as te, h as ne, w as re } from "./keys-BVlG5Ozc.js";
6
- import { t as j } from "./useI18n-BhAejA-x.js";
7
- import { t as M } from "./createLucideIcon-JWHwTI6N.js";
8
- import { a as ie, i as ae, n as N, r as oe, t as P } from "./RichTextEditorContent-DydrqFts.js";
9
- import { n as se, t as ce } from "./scan-line-BFgesTOY.js";
10
- import { t as le } from "./loader-circle-C-Z6kgI6.js";
11
- import { n as ue, r as de, t as fe } from "./text-align-start-Vay3Kvo2.js";
1
+ import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, W as o, Y as s, _ as c, c as l, d as u, h as d, i as f, l as p, m, nt as h, r as g, s as _, u as v, x as y } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { c as b, s as x } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
3
+ import { C as S, D as C, O as w, S as T } from "./useEditorCore-Ck_hBiGA.js";
4
+ import { n as E, s as D } from "./usePopoverPosition-ClnEh_Cp.js";
5
+ import { G as O, O as k, T as A, U as ee, V as te, g as ne, v as re } from "./keys-BFPiNAIn.js";
6
+ import { t as j } from "./useI18n-C1KcdX_K.js";
7
+ import { t as M } from "./createLucideIcon-AEltGIse.js";
8
+ import { a as ie, i as ae, n as N, r as oe, t as P } from "./RichTextEditorContent-DaaKdzjb.js";
9
+ import { n as se, t as ce } from "./scan-line-CRoEOUiK.js";
10
+ import { t as le } from "./loader-circle-B6euendB.js";
11
+ import { n as ue, r as de, t as fe } from "./text-align-start-Dn8uIheW.js";
12
12
  import { t as F } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { c as pe, o as me, r as he, s as ge, t as I } from "./ColorPicker-DXGrcJxJ.js";
13
+ import { c as pe, o as me, r as he, s as ge, t as I } from "./ColorPicker-B4ArSUhy.js";
14
14
  var L = M("list-ordered", [
15
15
  ["path", {
16
16
  d: "M11 5h10",
@@ -107,20 +107,7 @@ var L = M("list-ordered", [
107
107
  y2: "9",
108
108
  key: "1p4y9e"
109
109
  }]
110
- ]), ye = M("subscript", [
111
- ["path", {
112
- d: "m4 5 8 8",
113
- key: "1eunvl"
114
- }],
115
- ["path", {
116
- d: "m12 5-8 8",
117
- key: "1ah0jp"
118
- }],
119
- ["path", {
120
- d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
121
- key: "e8ta8j"
122
- }]
123
- ]), be = M("strikethrough", [
110
+ ]), ye = M("strikethrough", [
124
111
  ["path", {
125
112
  d: "M16 4H9a3 3 0 0 0-2.83 4",
126
113
  key: "43sutm"
@@ -136,6 +123,19 @@ var L = M("list-ordered", [
136
123
  y2: "12",
137
124
  key: "1e0a9i"
138
125
  }]
126
+ ]), be = M("subscript", [
127
+ ["path", {
128
+ d: "m4 5 8 8",
129
+ key: "1eunvl"
130
+ }],
131
+ ["path", {
132
+ d: "m12 5-8 8",
133
+ key: "1ah0jp"
134
+ }],
135
+ ["path", {
136
+ d: "M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",
137
+ key: "e8ta8j"
138
+ }]
139
139
  ]), xe = M("superscript", [
140
140
  ["path", {
141
141
  d: "m4 19 8-8",
@@ -166,11 +166,11 @@ var L = M("list-ordered", [
166
166
  __name: "EmojiPickerDropdown",
167
167
  emits: ["insert"],
168
168
  setup(t, { emit: r }) {
169
- let o = r, { categories: c, isOpen: f, toggle: p, close: m } = C(), { t: y, format: S } = j(), T = s(null), E = s(null);
170
- w(T, _(() => f.value)), D(E, () => {
169
+ let o = r, { categories: c, isOpen: f, toggle: p, close: m } = C(), { t: y, format: S } = j(), T = s(null), E = s(null), O = _(() => f.value);
170
+ w(T, O), D(E, () => {
171
171
  f.value && m();
172
172
  });
173
- function O(e) {
173
+ function k(e) {
174
174
  o("insert", e), m();
175
175
  }
176
176
  return (t, r) => (i(), u("div", {
@@ -208,7 +208,7 @@ var L = M("list-ordered", [
208
208
  type: "button",
209
209
  "aria-label": h(S)(h(y).paragraphEditor.emojiItemLabel, { emoji: e }),
210
210
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:duration-100 tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
211
- onClick: (t) => O(e)
211
+ onClick: (t) => k(e)
212
212
  }, a(e), 9, U))), 128))])]))), 128))], 40, B)) : v("", !0)], 512));
213
213
  }
214
214
  }), W = [
@@ -305,7 +305,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
305
305
  "add-logic-tag"
306
306
  ],
307
307
  setup(e, { emit: n }) {
308
- let r = e, o = n, s = y(ee, null), c = y(O, null), b = A(te, "ParagraphToolbar"), x = E(), S = y(k, null), C = y(re, null), w = y(ne, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: D } = j(), M = b.fonts;
308
+ let r = e, o = n, s = y(te, null), c = y(ee, null), b = O(re, "ParagraphToolbar"), x = E(), S = y(k, null), C = y(A, null), w = y(ne, null), T = _(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: D } = j(), M = b.fonts;
309
309
  function N(e) {
310
310
  r.editor?.chain().focus().insertContent(e).run();
311
311
  }
@@ -457,7 +457,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
457
457
  "active"
458
458
  ]),
459
459
  d(G, {
460
- icon: h(be),
460
+ icon: h(ye),
461
461
  label: h(D).paragraphEditor.strikethrough,
462
462
  active: e.editor.isActive("strike"),
463
463
  onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
@@ -468,7 +468,7 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
468
468
  ]),
469
469
  d(Y),
470
470
  d(G, {
471
- icon: h(ye),
471
+ icon: h(be),
472
472
  label: h(D).paragraphEditor.subscript,
473
473
  active: e.editor.isActive("subscript"),
474
474
  onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
@@ -625,18 +625,18 @@ var Ee = ["data-tpl-theme", "aria-label"], De = { class: "tpl:flex tpl:items-cen
625
625
  editorName: "ParagraphEditor",
626
626
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
627
627
  let [{ Editor: o, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: C, LetterSpacing: w }] = await Promise.all([
628
- import("./dist-DWu9QWFl.js").then((e) => e.r),
629
- import("./dist-DFO896yT.js"),
630
- import("./dist-C_kAE1sC.js"),
631
- import("./dist-CQiAZlTt.js"),
632
- import("./dist-IGetXrbO.js"),
633
- import("./dist-C5tigvDF.js"),
634
- import("./dist-CkCVlKj_.js"),
635
- import("./dist-9uhI32Q4.js"),
636
- import("./dist-BIYm-U9x.js"),
637
- import("./dist-JXOq1hib.js"),
638
- import("./dist-BAkGuPYm.js"),
639
- import("./extensions-C0DXnYdA.js")
628
+ import("./dist-CIqhVQ1O.js").then((e) => e.r),
629
+ import("./dist-Dx71pluS.js"),
630
+ import("./dist-DX4x6mQ1.js"),
631
+ import("./dist-DyCHUyRR.js"),
632
+ import("./dist-DSIgxp0v.js"),
633
+ import("./dist-nR6mxyqI.js"),
634
+ import("./dist-CRH880TV.js"),
635
+ import("./dist-BxbTVeY0.js"),
636
+ import("./dist-iCEDH3cC.js"),
637
+ import("./dist-CkPvZCld.js"),
638
+ import("./dist-B6Px6GPj.js"),
639
+ import("./extensions-BjvyU9Ea.js")
640
640
  ]);
641
641
  return {
642
642
  TiptapEditor: o,
@@ -1,11 +1,11 @@
1
- import { C as e, Dt as t, N as n, O as r, Ot as i, P as a, _ as o, c as s, d as c, h as l, i as u, l as d, m as f, nt as p, s as m, u as h, x as g, z as _ } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { a as v, c as y } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { n as b } from "./usePopoverPosition-vjKJaqJf.js";
4
- import { B as x, R as S, h as C } from "./keys-BVlG5Ozc.js";
5
- import { t as w } from "./useI18n-BhAejA-x.js";
6
- import { t as T } from "./createLucideIcon-JWHwTI6N.js";
7
- import { t as E } from "./x-CkD6A1iB.js";
8
- import { t as D } from "./ColorPicker-DXGrcJxJ.js";
1
+ import { C as e, Dt as t, N as n, O as r, Ot as i, P as a, _ as o, c as s, d as c, h as l, i as u, l as d, m as f, nt as p, s as m, u as h, x as g, z as _ } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { a as v, c as y } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
3
+ import { n as b } from "./usePopoverPosition-ClnEh_Cp.js";
4
+ import { U as x, V as S, g as C } from "./keys-BFPiNAIn.js";
5
+ import { t as w } from "./useI18n-C1KcdX_K.js";
6
+ import { t as T } from "./createLucideIcon-AEltGIse.js";
7
+ import { t as E } from "./x-C4lETLDx.js";
8
+ import { t as D } from "./ColorPicker-B4ArSUhy.js";
9
9
  var O = T("bold", [["path", {
10
10
  d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
11
11
  key: "mg9rjx"
@@ -1,14 +1,14 @@
1
- import { A as e, Dt as t, E as n, Et as r, I as i, N as a, O as o, Ot as s, R as c, T as l, Y as u, _ as d, c as f, d as p, h as m, l as h, m as g, nt as _, r as v, s as y, u as b, x, z as S } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { H as E, P as D, c as O } from "./useEditorCore-DOrGex_t.js";
4
- import { F as k, H as A, f as j, h as M } from "./keys-BVlG5Ozc.js";
5
- import { t as ee } from "./useI18n-BhAejA-x.js";
6
- import { t as te } from "./chevron-down-j8GrdTyz.js";
7
- import { t as N } from "./chevron-up-BACyVhyC.js";
8
- import { t as P } from "./loader-circle-C-Z6kgI6.js";
1
+ import { A as e, Dt as t, E as n, Et as r, I as i, N as a, O as o, Ot as s, R as c, T as l, Y as u, _ as d, c as f, d as p, h as m, l as h, m as g, nt as _, r as v, s as y, u as b, x, z as S } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { a as C, c as w, s as T } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
3
+ import { H as E, P as D, c as O } from "./useEditorCore-Ck_hBiGA.js";
4
+ import { G as k, R as A, g as j, p as M } from "./keys-BFPiNAIn.js";
5
+ import { t as ee } from "./useI18n-C1KcdX_K.js";
6
+ import { t as te } from "./chevron-down-CZ0m6G3s.js";
7
+ import { t as N } from "./chevron-up-BH_tJLeb.js";
8
+ import { t as P } from "./loader-circle-B6euendB.js";
9
9
  import { n as F } from "./emailFrameWidth-BmFCN2dp.js";
10
- import { t as I } from "./TplModal-DPH4vV8M.js";
11
- import { t as L } from "./BlockPreviewCanvas-B34aMhHe.js";
10
+ import { t as I } from "./TplModal-fmYNYdyp.js";
11
+ import { t as L } from "./BlockPreviewCanvas-DAnwZofk.js";
12
12
  //#region src/components/SavedBlockPreviewRow.vue?vue&type=script&setup=true&lang.ts
13
13
  var R = ["data-block-id"], z = ["aria-label", "title"], B = { class: "tpl:relative tpl:min-w-0 tpl:flex-1" }, V = {
14
14
  key: 0,
@@ -25,7 +25,7 @@ var R = ["data-block-id"], z = ["aria-label", "title"], B = { class: "tpl:relati
25
25
  },
26
26
  emits: ["move"],
27
27
  setup(e, { emit: r }) {
28
- let i = e, c = r, { t: d, format: v } = ee(), S = x(j, []), C = x(M, null), O = y(() => F(C?.content.value.settings)), k = u(null), A = u(null), P = u(1), I = u(null), W = u(!1), G = null, K = y(() => I.value !== null && I.value > U), q = y(() => I.value === null ? null : W.value || !K.value ? I.value : U);
28
+ let i = e, c = r, { t: d, format: v } = ee(), S = x(M, []), C = x(j, null), O = y(() => F(C?.content.value.settings)), k = u(null), A = u(null), P = u(1), I = u(null), W = u(!1), G = null, K = y(() => I.value !== null && I.value > U), q = y(() => I.value === null ? null : W.value || !K.value ? I.value : U);
29
29
  function J() {
30
30
  let e = k.value, t = A.value;
31
31
  if (!e || !t) return;
@@ -121,7 +121,7 @@ var R = ["data-block-id"], z = ["aria-label", "title"], B = { class: "tpl:relati
121
121
  },
122
122
  emits: ["close", "saved"],
123
123
  setup(t, { emit: n }) {
124
- let a = t, l = n, { t: d, format: w } = ee(), T = A(M, "SaveBlockDialog"), D = A(k, "SaveBlockDialog"), te = x(j, []), N = u(""), F = u(""), L = u(!1), R = u(null), z = u(""), B = u([]), V = y(() => {
124
+ let a = t, l = n, { t: d, format: w } = ee(), T = k(j, "SaveBlockDialog"), D = k(A, "SaveBlockDialog"), te = x(M, []), N = u(""), F = u(""), L = u(!1), R = u(null), z = u(""), B = u([]), V = y(() => {
125
125
  let e = new Map(T.content.value.blocks.map((e) => [e.id, e]));
126
126
  return B.value.map((t) => e.get(t)).filter((e) => e !== void 0);
127
127
  }), H = y({
@@ -1,13 +1,13 @@
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-B0xoGkDv.js";
2
- import { a as v, c as y, i as b, s as x } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import "./useEditorCore-DOrGex_t.js";
4
- import { F as re, H as S, h as ie } from "./keys-BVlG5Ozc.js";
5
- import { t as ae } from "./useI18n-BhAejA-x.js";
6
- import { n as oe, r as C, t as w } from "./blockTypeIcons-Wzd7W_2x.js";
7
- import { t as se } from "./pencil-DdwmkKLb.js";
8
- import { t as ce } from "./trash-2-DE8CmxAG.js";
9
- import { t as le } from "./x-CkD6A1iB.js";
10
- import { t as ue } from "./TplModal-DPH4vV8M.js";
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-Xpz-L9Fn.js";
2
+ import { a as v, c as y, i as b, s as x } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
3
+ import "./useEditorCore-Ck_hBiGA.js";
4
+ import { G as S, R as re, g as ie } from "./keys-BFPiNAIn.js";
5
+ import { t as ae } from "./useI18n-C1KcdX_K.js";
6
+ import { n as oe, r as C, t as w } from "./blockTypeIcons-C6b9rg88.js";
7
+ import { t as se } from "./pencil-CkKkSd6N.js";
8
+ import { t as ce } from "./trash-2-DDyvqj0E.js";
9
+ import { t as le } from "./x-C4lETLDx.js";
10
+ import { t as ue } from "./TplModal-fmYNYdyp.js";
11
11
  import { t as de } from "./formatRelativeTime-CtUU-QZ8.js";
12
12
  //#region src/components/SavedBlocksBrowserModal.vue?vue&type=script&setup=true&lang.ts
13
13
  var fe = {
@@ -65,7 +65,7 @@ var fe = {
65
65
  props: { visible: { type: Boolean } },
66
66
  emits: ["close", "insert"],
67
67
  setup(c, { emit: A }) {
68
- let et = c, j = A, tt = te(() => import("./BlockPreviewCanvas-B34aMhHe.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
+ let et = c, j = A, tt = te(() => import("./BlockPreviewCanvas-DAnwZofk.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(() => {
69
69
  let e = I.value.trim().toLowerCase(), t = L.value;
70
70
  return P.savedBlocks.value.filter((n) => !(e && !n.name.toLowerCase().includes(e) || t && n.category !== t));
71
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(() => {
@@ -1,11 +1,11 @@
1
- import { O as e, _ as t, d as n, g as r, l as i, nt as a, r as o, u as s } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
1
+ import { O as e, _ as t, d as n, g as r, l as i, nt as a, r as o, u as s } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
2
  //#endregion
3
3
  //#region src/components/SavedBlocksPanels.vue
4
4
  var c = /* @__PURE__ */ t({
5
5
  __name: "SavedBlocksPanels",
6
6
  props: { feature: {} },
7
7
  setup(t) {
8
- let c = t, l = r(() => import("./SavedBlocksPickBar-Dlhipmob.js")), u = r(() => import("./SaveBlockDialog-BDDFbAWF.js")), d = r(() => import("./SavedBlocksBrowserModal-Djik_fJh.js"));
8
+ let c = t, l = r(() => import("./SavedBlocksPickBar-CQbbXmzj.js")), u = r(() => import("./SaveBlockDialog-B3ngEldp.js")), d = r(() => import("./SavedBlocksBrowserModal-DawN3XaB.js"));
9
9
  function f(e, t) {
10
10
  c.feature.insert(e, t);
11
11
  }