@templatical/editor 0.45.0 → 0.47.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 (309) hide show
  1. package/dist/{AiChatSidebar-BlFWWhBv.js → AiChatSidebar-BPOv5Ra8.js} +14 -14
  2. package/dist/{AiFeatureMenu-CvWygUmC.js → AiFeatureMenu-H_WT4YR8.js} +7 -7
  3. package/dist/{BlockIssueBadge-CZA1XvAh.js → BlockIssueBadge-AgO5abEB.js} +5 -5
  4. package/dist/BlockPreviewCanvas-CZDBSPoG.js +136 -0
  5. package/dist/{CloudHeaderExtras-BzM1QU1r.js → CloudHeaderExtras-gXsTYoGG.js} +5 -5
  6. package/dist/{CloudPanels-d36YXXyn.js → CloudPanels-H_GdbOfZ.js} +9 -9
  7. package/dist/{CollaboratorBar-rwXe_Qd2.js → CollaboratorBar-BazGNMqN.js} +4 -4
  8. package/dist/{CommentsPanel-Bn6P5crU.js → CommentsPanel-CMgsG_yh.js} +2 -2
  9. package/dist/{CommentsSidebar-B8wT932T.js → CommentsSidebar-DCh8DTP8.js} +14 -14
  10. package/dist/CountdownBlock-zx39Dyby.js +92 -0
  11. package/dist/{CountdownToolbar-lbjCc8ik.js → CountdownToolbar-DVuucA3v.js} +7 -7
  12. package/dist/{DesignReferenceSidebar-zlJQsP0X.js → DesignReferenceSidebar-DxNV4lQp.js} +12 -12
  13. package/dist/{IssuesPanel-CHx3m8SP.js → IssuesPanel-CUpW54P4.js} +8 -8
  14. package/dist/{LoadingTrack-DROqNuuD.js → LoadingTrack-6XsqodoY.js} +1 -1
  15. package/dist/{LogicTagInsertButton-BvftbkL4.js → LogicTagInsertButton-DDYKnqmj.js} +22 -22
  16. package/dist/{MediaEditModal-EY1YYcpw.js → MediaEditModal-D_we0Scr.js} +4 -4
  17. package/dist/{MediaPanels-CRVFGFZW.js → MediaPanels-L95BwWV1.js} +2 -2
  18. package/dist/{MergeTagInput-CR1kcj8X.js → MergeTagInput-DAL998tx.js} +3 -3
  19. package/dist/{MergeTagModeToggle-DssKrVYb.js → MergeTagModeToggle-CjHO26rb.js} +7 -7
  20. package/dist/{ParagraphEditor-DFizsZRc.js → ParagraphEditor-CcEN1N6n.js} +165 -150
  21. package/dist/{RestoreVersionDialog-Cp3q2mU4.js → RestoreVersionDialog-B2OH5rgs.js} +6 -6
  22. package/dist/{RichTextEditorContent-Cj3oaPMk.js → RichTextEditorContent-BGeTg-QL.js} +12 -12
  23. package/dist/{SaveBlockDialog-BR8vW_XF.js → SaveBlockDialog-CCVyU-7y.js} +13 -13
  24. package/dist/{SavedBlocksBrowserModal-DmwbmKxI.js → SavedBlocksBrowserModal-_WmSeqIh.js} +14 -14
  25. package/dist/{SavedBlocksPanels-D4XKrs-a.js → SavedBlocksPanels-DVX_ruQ7.js} +2 -2
  26. package/dist/{SavedBlocksPickBar-gfc-o5sR.js → SavedBlocksPickBar-DVJC28hP.js} +5 -5
  27. package/dist/{TemplateScoringPanel-3lHzuCl0.js → TemplateScoringPanel-U0QFiwdI.js} +16 -16
  28. package/dist/{TemplateSettings-D7aNrd0d.js → TemplateSettings-CdhTm9JQ.js} +12 -12
  29. package/dist/{TestEmailModal-DUmtcSm-.js → TestEmailModal-BqToA_ls.js} +14 -14
  30. package/dist/{TestEmailPanel-s9gISTI8.js → TestEmailPanel-Cn4Ptq0j.js} +2 -2
  31. package/dist/{TitleEditor-C-uHqtml.js → TitleEditor-CZdqeltH.js} +13 -13
  32. package/dist/{ToggleSwitch-CTwwCIVA.js → ToggleSwitch-BR8Sgzib.js} +2 -2
  33. package/dist/{Toolbar-CLpA36RO.js → Toolbar-OGakTBEg.js} +748 -629
  34. package/dist/{TplModal-D6XtxusQ.js → TplModal-CoczSDma.js} +6 -6
  35. package/dist/{VersionHistoryMenu-D7zaTMrb.js → VersionHistoryMenu-DY5z5FZr.js} +10 -10
  36. package/dist/{VersionHistoryPanels-Dvowtt7V.js → VersionHistoryPanels-DowHeDAQ.js} +2 -2
  37. package/dist/{VersionPreviewBanner-BUKb9gc6.js → VersionPreviewBanner-Bo8NxBbh.js} +4 -4
  38. package/dist/WrapperBlock-BOABSX9W.js +46 -0
  39. package/dist/{blockTypeIcons-D3aj5u_5.js → blockTypeIcons-4E1U8f99.js} +5 -5
  40. package/dist/bundle-stats.json +6 -6
  41. package/dist/{ca-C__Dzq--.js → ca-DMoGGP9L.js} +21 -0
  42. package/dist/cdn/chunks/{AiChatSidebar-SRGBP-SL.js → AiChatSidebar-B72rI0be.js} +12 -12
  43. package/dist/cdn/chunks/{AiChatSidebar-SRGBP-SL.js.map → AiChatSidebar-B72rI0be.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiFeatureMenu-oZhlgsGh.js → AiFeatureMenu-BqSG9iEd.js} +6 -6
  45. package/dist/cdn/chunks/{AiFeatureMenu-oZhlgsGh.js.map → AiFeatureMenu-BqSG9iEd.js.map} +1 -1
  46. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js → BlockIssueBadge-CS7ytN-z.js} +5 -5
  47. package/dist/cdn/chunks/{BlockIssueBadge-05Q3L4RV.js.map → BlockIssueBadge-CS7ytN-z.js.map} +1 -1
  48. package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js +138 -0
  49. package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js.map +1 -0
  50. package/dist/cdn/chunks/{CloudHeaderExtras-t-_ZlHwn.js → CloudHeaderExtras-DJXLTUHc.js} +5 -5
  51. package/dist/cdn/chunks/{CloudHeaderExtras-t-_ZlHwn.js.map → CloudHeaderExtras-DJXLTUHc.js.map} +1 -1
  52. package/dist/cdn/chunks/{CloudPanels-DR2eEcpX.js → CloudPanels-D1fPLjG8.js} +8 -8
  53. package/dist/cdn/chunks/{CloudPanels-DR2eEcpX.js.map → CloudPanels-D1fPLjG8.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-w8_2WPE0.js → CollaboratorBar-MeRQB1eN.js} +5 -5
  55. package/dist/cdn/chunks/{CollaboratorBar-w8_2WPE0.js.map → CollaboratorBar-MeRQB1eN.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js → CommentsPanel-CmxPylNf.js} +3 -3
  57. package/dist/cdn/chunks/{CommentsPanel-VH_NJ5HZ.js.map → CommentsPanel-CmxPylNf.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js → CommentsSidebar-CrleQTbo.js} +13 -13
  59. package/dist/cdn/chunks/{CommentsSidebar-CYPH5rVi.js.map → CommentsSidebar-CrleQTbo.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-CvNuDR5Z.js → CountdownToolbar-DPIOtlN0.js} +8 -8
  63. package/dist/cdn/chunks/{CountdownToolbar-CvNuDR5Z.js.map → CountdownToolbar-DPIOtlN0.js.map} +1 -1
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-CJg_5GXU.js → DesignReferenceSidebar-BgTNqgCy.js} +8 -8
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-CJg_5GXU.js.map → DesignReferenceSidebar-BgTNqgCy.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel-DXqlRk19.js → IssuesPanel-BGjLcNpQ.js} +6 -6
  67. package/dist/cdn/chunks/{IssuesPanel-DXqlRk19.js.map → IssuesPanel-BGjLcNpQ.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-DnHghQHb.js → LogicTagInsertButton-BEsqPhMr.js} +11 -11
  71. package/dist/cdn/chunks/{LogicTagInsertButton-DnHghQHb.js.map → LogicTagInsertButton-BEsqPhMr.js.map} +1 -1
  72. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js → MediaEditModal-C1Ao0i2c.js} +4 -4
  73. package/dist/cdn/chunks/{MediaEditModal-CD3fVbWI.js.map → MediaEditModal-C1Ao0i2c.js.map} +1 -1
  74. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js → MediaPanels-1GPYiZZ0.js} +3 -3
  75. package/dist/cdn/chunks/{MediaPanels-B2AyUUcf.js.map → MediaPanels-1GPYiZZ0.js.map} +1 -1
  76. package/dist/cdn/chunks/{MergeTagInput-heTX9P_k.js → MergeTagInput-Dy13_OLc.js} +4 -4
  77. package/dist/cdn/chunks/{MergeTagInput-heTX9P_k.js.map → MergeTagInput-Dy13_OLc.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagModeToggle-C9EfuZIP.js → MergeTagModeToggle-B2CPZOeF.js} +6 -6
  79. package/dist/cdn/chunks/{MergeTagModeToggle-C9EfuZIP.js.map → MergeTagModeToggle-B2CPZOeF.js.map} +1 -1
  80. package/dist/cdn/chunks/{ParagraphEditor-B5DN4Sy4.js → ParagraphEditor-BGLIw7kg.js} +91 -76
  81. package/dist/cdn/chunks/ParagraphEditor-BGLIw7kg.js.map +1 -0
  82. package/dist/cdn/chunks/{RestoreVersionDialog-DBgJ-Nui.js → RestoreVersionDialog-BhykE8En.js} +8 -8
  83. package/dist/cdn/chunks/{RestoreVersionDialog-DBgJ-Nui.js.map → RestoreVersionDialog-BhykE8En.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-LOas4rfU.js → RichTextEditorContent-B-txUvPL.js} +11 -11
  85. package/dist/cdn/chunks/{RichTextEditorContent-LOas4rfU.js.map → RichTextEditorContent-B-txUvPL.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-Dx-QVQCX.js → SaveBlockDialog-BHqEp7jw.js} +40 -40
  87. package/dist/cdn/chunks/{SaveBlockDialog-Dx-QVQCX.js.map → SaveBlockDialog-BHqEp7jw.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-C2RQ-JCc.js → SavedBlocksBrowserModal-BhR6AI0f.js} +10 -10
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-C2RQ-JCc.js.map → SavedBlocksBrowserModal-BhR6AI0f.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-BmRbvqqL.js → SavedBlocksPanels-YwffJtfY.js} +3 -3
  91. package/dist/cdn/chunks/{SavedBlocksPanels-BmRbvqqL.js.map → SavedBlocksPanels-YwffJtfY.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-BzwKojoJ.js → SavedBlocksPickBar-BtpFU7es.js} +6 -6
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-BzwKojoJ.js.map → SavedBlocksPickBar-BtpFU7es.js.map} +1 -1
  94. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js → TemplateScoringPanel-N4ySFh5w.js} +12 -12
  95. package/dist/cdn/chunks/{TemplateScoringPanel-C_57Bfkf.js.map → TemplateScoringPanel-N4ySFh5w.js.map} +1 -1
  96. package/dist/cdn/chunks/{TemplateSettings-G-yV7C1C.js → TemplateSettings-C7b5X34U.js} +13 -13
  97. package/dist/cdn/chunks/TemplateSettings-C7b5X34U.js.map +1 -0
  98. package/dist/cdn/chunks/{TestEmailModal-lOeztfTN.js → TestEmailModal-DHJKI5y5.js} +11 -11
  99. package/dist/cdn/chunks/{TestEmailModal-lOeztfTN.js.map → TestEmailModal-DHJKI5y5.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailPanel-CZswVkk_.js → TestEmailPanel-lYtzTXpR.js} +3 -3
  101. package/dist/cdn/chunks/{TestEmailPanel-CZswVkk_.js.map → TestEmailPanel-lYtzTXpR.js.map} +1 -1
  102. package/dist/cdn/chunks/{TitleEditor-CnTT2Y3H.js → TitleEditor-5eY01ypW.js} +15 -15
  103. package/dist/cdn/chunks/{TitleEditor-CnTT2Y3H.js.map → TitleEditor-5eY01ypW.js.map} +1 -1
  104. package/dist/cdn/chunks/{ToggleSwitch-CLHteVMO.js → ToggleSwitch-BN8rMC2m.js} +3 -3
  105. package/dist/cdn/chunks/{ToggleSwitch-CLHteVMO.js.map → ToggleSwitch-BN8rMC2m.js.map} +1 -1
  106. package/dist/cdn/chunks/{Toolbar-K4tIkpG1.js → Toolbar-Ik54UO_-.js} +696 -575
  107. package/dist/cdn/chunks/Toolbar-Ik54UO_-.js.map +1 -0
  108. package/dist/cdn/chunks/{TplModal-OOT36AjS.js → TplModal-WIBiBrGy.js} +6 -6
  109. package/dist/cdn/chunks/TplModal-WIBiBrGy.js.map +1 -0
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js → VersionHistoryMenu-CZnlS9K5.js} +6 -6
  111. package/dist/cdn/chunks/{VersionHistoryMenu-DbxuJgDO.js.map → VersionHistoryMenu-CZnlS9K5.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryPanels-BrpYRSfW.js → VersionHistoryPanels-xjLSpR1e.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryPanels-BrpYRSfW.js.map → VersionHistoryPanels-xjLSpR1e.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js → VersionPreviewBanner-sARpn4hh.js} +5 -5
  115. package/dist/cdn/chunks/{VersionPreviewBanner-HRERIH-v.js.map → VersionPreviewBanner-sARpn4hh.js.map} +1 -1
  116. package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js +48 -0
  117. package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js.map +1 -0
  118. package/dist/cdn/chunks/{blockTypeIcons-DdZP-3FM.js → blockTypeIcons-D3g5QzdT.js} +2 -2
  119. package/dist/cdn/chunks/{blockTypeIcons-DdZP-3FM.js.map → blockTypeIcons-D3g5QzdT.js.map} +1 -1
  120. package/dist/cdn/chunks/{ca-C__Dzq--.js → ca-DMoGGP9L.js} +22 -1
  121. package/dist/cdn/chunks/ca-DMoGGP9L.js.map +1 -0
  122. package/dist/cdn/chunks/{cloud-bhW8qTnh.js → cloud-Cd7ptfhL.js} +3 -3
  123. package/dist/cdn/chunks/{cloud-bhW8qTnh.js.map → cloud-Cd7ptfhL.js.map} +1 -1
  124. package/dist/cdn/chunks/{createCloudRuntime-CeRJkLR2.js → createCloudRuntime-DtIZ2Lee.js} +17 -8
  125. package/dist/cdn/chunks/createCloudRuntime-DtIZ2Lee.js.map +1 -0
  126. package/dist/cdn/chunks/{de-CGjbQ2mt.js → de-DgAelLbM.js} +22 -1
  127. package/dist/cdn/chunks/de-DgAelLbM.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-Bcwo0orC.js} +34 -34
  135. package/dist/cdn/chunks/{editor-modal-BpsbYA4_.js.map → editor-modal-Bcwo0orC.js.map} +1 -1
  136. package/dist/cdn/chunks/en-BANFWZdr.js +1 -0
  137. package/dist/cdn/chunks/{en-BTiiAC-B.js → en-Dekrl7HA.js} +22 -1
  138. package/dist/cdn/chunks/en-Dekrl7HA.js.map +1 -0
  139. package/dist/cdn/chunks/{es-CdTOcSTf.js → es-BaZzyidV.js} +22 -1
  140. package/dist/cdn/chunks/es-BaZzyidV.js.map +1 -0
  141. package/dist/cdn/chunks/{extensions-xjRsIjMP.js → extensions-T-t8MKDb.js} +9 -9
  142. package/dist/cdn/chunks/extensions-T-t8MKDb.js.map +1 -0
  143. package/dist/cdn/chunks/{fr-B6lcLLzC.js → fr-C5ucb1HK.js} +22 -1
  144. package/dist/cdn/chunks/fr-C5ucb1HK.js.map +1 -0
  145. package/dist/cdn/chunks/{icons-Dr9erFGs.js → icons-C4fX9Bwy.js} +27 -27
  146. package/dist/cdn/chunks/{icons-Dr9erFGs.js.map → icons-C4fX9Bwy.js.map} +1 -1
  147. package/dist/cdn/chunks/{ja-BhdkqENz.js → ja-CUgR3mV0.js} +22 -1
  148. package/dist/cdn/chunks/ja-CUgR3mV0.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-qrLY7hMS.js} +23 -0
  152. package/dist/cdn/chunks/nl-qrLY7hMS.js.map +1 -0
  153. package/dist/{preRenderCustomBlocks-DAS48ZCp.js → cdn/chunks/preRenderCustomBlocks-Co0oi0Jf.js} +7 -3
  154. package/dist/cdn/chunks/preRenderCustomBlocks-Co0oi0Jf.js.map +1 -0
  155. package/dist/cdn/chunks/{pt-BR-CUIT4rq4.js → pt-BR-C6hMTQYi.js} +22 -1
  156. package/dist/cdn/chunks/pt-BR-C6hMTQYi.js.map +1 -0
  157. package/dist/cdn/chunks/socialIcons-DACw1wA8.js +1103 -0
  158. package/dist/cdn/chunks/socialIcons-DACw1wA8.js.map +1 -0
  159. package/dist/cdn/chunks/{src-BcqNlDMe.js → src-BnJlDuyB.js} +361 -206
  160. package/dist/cdn/chunks/src-BnJlDuyB.js.map +1 -0
  161. package/dist/cdn/chunks/{src-CkXmV2I2.js → src-Bu0qBpbf.js} +202 -202
  162. package/dist/cdn/chunks/src-Bu0qBpbf.js.map +1 -0
  163. package/dist/cdn/chunks/{src-HA9F2kvk.js → src-CHlVFp7r.js} +368 -311
  164. package/dist/cdn/chunks/src-CHlVFp7r.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/{tiptap-CYDXLO17.js → tiptap-BPigZk5G.js} +3258 -3098
  168. package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +1 -0
  169. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js → useAliveFlag-DCB96vzR.js} +2 -2
  170. package/dist/cdn/chunks/{useAliveFlag-DzyXG-8A.js.map → useAliveFlag-DCB96vzR.js.map} +1 -1
  171. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js → useCloudI18n-BBF4waXO.js} +3 -3
  172. package/dist/cdn/chunks/{useCloudI18n-Cgk0ts_F.js.map → useCloudI18n-BBF4waXO.js.map} +1 -1
  173. package/dist/cdn/chunks/{useEditorCore-BF1ZhcGu.js → useEditorCore-Bf2d1DKI.js} +622 -607
  174. package/dist/cdn/chunks/useEditorCore-Bf2d1DKI.js.map +1 -0
  175. package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +10 -0
  176. package/dist/cdn/chunks/{useEditorRoot-DDPIcEOO.js.map → useEditorRoot-CTc6O8al.js.map} +1 -1
  177. package/dist/cdn/chunks/{useI18n-DO4NTunW.js → useI18n-DUlyyIJJ.js} +3 -3
  178. package/dist/cdn/chunks/{useI18n-DO4NTunW.js.map → useI18n-DUlyyIJJ.js.map} +1 -1
  179. package/dist/cdn/chunks/{useLogicTag-91bO_SOi.js → useLogicTag-3S63go4E.js} +4 -4
  180. package/dist/cdn/chunks/{useLogicTag-91bO_SOi.js.map → useLogicTag-3S63go4E.js.map} +1 -1
  181. package/dist/cdn/chunks/{useMergeTag-hwifK582.js → useMergeTag-BQtxUHq1.js} +4 -4
  182. package/dist/cdn/chunks/{useMergeTag-hwifK582.js.map → useMergeTag-BQtxUHq1.js.map} +1 -1
  183. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js → usePopoverPosition-IbaW6-Ao.js} +3 -3
  184. package/dist/cdn/chunks/{usePopoverPosition-CtVNwoHj.js.map → usePopoverPosition-IbaW6-Ao.js.map} +1 -1
  185. package/dist/cdn/chunks/{useScrollToBlock-BDNJ25X1.js → useScrollToBlock-uUa601I4.js} +4 -5
  186. package/dist/cdn/chunks/useScrollToBlock-uUa601I4.js.map +1 -0
  187. package/dist/cdn/chunks/withCurrentFont-DwJd-lKc.js +21 -0
  188. package/dist/cdn/chunks/withCurrentFont-DwJd-lKc.js.map +1 -0
  189. package/dist/cdn/editor.css +1 -1
  190. package/dist/cdn/editor.js +602 -580
  191. package/dist/cdn/editor.js.map +1 -1
  192. package/dist/{check-ZKvtMdpe.js → check-B5R4zXr7.js} +1 -1
  193. package/dist/{chevron-down-RrwkYMlp.js → chevron-down-BKyl85NV.js} +1 -1
  194. package/dist/{chevron-right-CklHaa1U.js → chevron-right-BmToZ8qX.js} +1 -1
  195. package/dist/{chevron-up-DjN2NTbo.js → chevron-up-DNYdOxPC.js} +1 -1
  196. package/dist/{circle-alert-BR1_Yfb-.js → circle-alert-Dx9ju3YZ.js} +1 -1
  197. package/dist/{clock-BEagNj21.js → clock-Dv9bxsSH.js} +1 -1
  198. package/dist/{cloud-CVfwPu19.js → cloud-DwjaAdwK.js} +2 -2
  199. package/dist/{copy-D6DNoSq1.js → copy-BsKl4dcy.js} +1 -1
  200. package/dist/{createCloudRuntime-GRv_TDb2.js → createCloudRuntime-C8gpPsSi.js} +16 -7
  201. package/dist/{createLucideIcon-BAPyioGd.js → createLucideIcon-DziKp5iU.js} +6 -6
  202. package/dist/{de-CGjbQ2mt.js → de-DgAelLbM.js} +21 -0
  203. package/dist/{dist-Bd7khQsg.js → dist-3HpYixwF.js} +2 -2
  204. package/dist/{dist-lL3nVbxV.js → dist-BC-ZEYLd.js} +2 -2
  205. package/dist/dist-BPFcLKTw.js +5 -0
  206. package/dist/{dist-CSaWqmWM.js → dist-C8koXLhl.js} +390 -241
  207. package/dist/{dist-C-VFTX82.js → dist-CUWI-IvA.js} +2 -2
  208. package/dist/{dist-Bc30883t.js → dist-Cr7RPxI9.js} +5 -5
  209. package/dist/{dist-DapsJxn_.js → dist-CuLwJF7H.js} +2 -2
  210. package/dist/{dist-5KNKxglR.js → dist-CyBwSiAa.js} +2 -2
  211. package/dist/dist-D7Yj7E-F.js +5 -0
  212. package/dist/{dist-B_vYjCsk.js → dist-DAAJogrx.js} +3 -3
  213. package/dist/{dist-CMcFD7gP.js → dist-DBxgrOeo.js} +1906 -1746
  214. package/dist/{dist-DHensKDY.js → dist-DPcf6XZ8.js} +2 -2
  215. package/dist/{dist-5DAb7bYT.js → dist-DVNjPKsH.js} +2 -2
  216. package/dist/{dist-C3eH9-N2.js → dist-DXyGqIDE.js} +2 -2
  217. package/dist/{dist-1H4cnaoD.js → dist-DuufrR8O.js} +4 -4
  218. package/dist/{editor-modal-oRmkDlUs.js → editor-modal-BwyIUnV_.js} +27 -27
  219. package/dist/en-CC-57eC_.js +1 -0
  220. package/dist/{en-BTiiAC-B.js → en-Dekrl7HA.js} +21 -0
  221. package/dist/{es-CdTOcSTf.js → es-BaZzyidV.js} +21 -0
  222. package/dist/{extensions-B65sfZRk.js → extensions-DHyKjsNZ.js} +19 -19
  223. package/dist/{eye-DvsTBI57.js → eye-DQuinb9k.js} +1 -1
  224. package/dist/{fr-B6lcLLzC.js → fr-C5ucb1HK.js} +21 -0
  225. package/dist/{image-up-BoFGZm5Q.js → image-up-yTfLjOrj.js} +1 -1
  226. package/dist/index.d.ts +92 -20
  227. package/dist/{info-0bQQGjTV.js → info-C7OjlS11.js} +1 -1
  228. package/dist/{ja-BhdkqENz.js → ja-CUgR3mV0.js} +21 -0
  229. package/dist/{keys-injl74ob.js → keys-BKFq19a2.js} +1 -1
  230. package/dist/{link-Cstrr3Ep.js → link-CrUFaZ0t.js} +1 -1
  231. package/dist/{list-Dx9Rmy5s.js → list-CLgv6M-k.js} +1 -1
  232. package/dist/{loader-circle-D8Qqs0MG.js → loader-circle-BXM5VO0K.js} +1 -1
  233. package/dist/{message-circle-D78ELX6I.js → message-circle-BisdQ8H9.js} +1 -1
  234. package/dist/{cdn/chunks/nl-CE3YItYg.js → nl-qrLY7hMS.js} +21 -2
  235. package/dist/{package-DOvM9sHE.js → package-C1T4AxV1.js} +1 -1
  236. package/dist/{pencil-B6m0OG0n.js → pencil-oo2mwf4C.js} +1 -1
  237. package/dist/{plus-D-nEKxTc.js → plus-BIilXopD.js} +1 -1
  238. package/dist/{cdn/chunks/preRenderCustomBlocks-CFwa7nP9.js → preRenderCustomBlocks-lFX0HHiV.js} +3 -3
  239. package/dist/{pt-BR-CUIT4rq4.js → pt-BR-C6hMTQYi.js} +21 -0
  240. package/dist/{refresh-cw-CXZS-R1U.js → refresh-cw-DrLlkEVC.js} +1 -1
  241. package/dist/{runtime-dom.esm-bundler-CO67ema2.js → runtime-dom.esm-bundler-lFF-QG3j.js} +3 -3
  242. package/dist/{search-DSvil0jo.js → search-DNu9lImk.js} +1 -1
  243. package/dist/{send-BBR28V94.js → send-DDNh3LoJ.js} +1 -1
  244. package/dist/{shield-check-ByxUnaU9.js → shield-check-aXM3o14f.js} +1 -1
  245. package/dist/{smartphone-CNOwGf5T.js → smartphone-isccgDee.js} +1 -1
  246. package/dist/socialIcons-BctavKBN.js +1180 -0
  247. package/dist/{sparkles-DO1hzwzf.js → sparkles-CIMfFxKv.js} +1 -1
  248. package/dist/style.css +1 -1
  249. package/dist/{cdn/chunks/styleConstants-C_YAPdQS.js → styleConstants-D1Jz-TFU.js} +7 -30
  250. package/dist/templatical-editor.js +509 -487
  251. package/dist/{text-align-start-BKEKMheq.js → text-align-start-C4JFeqsq.js} +1 -1
  252. package/dist/{trash-CKEQH4vH.js → trash-8ZD9pK_c.js} +1 -1
  253. package/dist/{triangle-alert-BHnfd3fV.js → triangle-alert-pq45xEHl.js} +1 -1
  254. package/dist/{upload-C8uO7KsR.js → upload-DrNFmVes.js} +1 -1
  255. package/dist/{useAliveFlag-6PtarpNZ.js → useAliveFlag-Dd06mRxe.js} +1 -1
  256. package/dist/{useCloudI18n-GvIOLziA.js → useCloudI18n-Nwqo7pI_.js} +2 -2
  257. package/dist/{useEditorCore-DQSeKPE9.js → useEditorCore-BcT7UI4e.js} +1027 -1018
  258. package/dist/{useEditorRoot-OWzNpDdT.js → useEditorRoot-BD3piYtD.js} +2 -2
  259. package/dist/{useI18n-uF11q85g.js → useI18n-CxVEpurs.js} +2 -2
  260. package/dist/{useLogicTag-BH87j1vZ.js → useLogicTag-D-dI8H6p.js} +3 -3
  261. package/dist/{useMergeTag-DfPKX2Tk.js → useMergeTag-5wMeDBi-.js} +3 -3
  262. package/dist/{usePopoverPosition-DkBrHfCo.js → usePopoverPosition-CwnH1o5g.js} +2 -2
  263. package/dist/{useScrollToBlock-Dr7Sb6Tr.js → useScrollToBlock-Do3suaqp.js} +4 -5
  264. package/dist/{vue.runtime.esm-bundler-CctRY8kr.js → vue.runtime.esm-bundler-CAzmrXdD.js} +1215 -1155
  265. package/dist/withCurrentFont-B4YnsG_2.js +19 -0
  266. package/dist/{x-gEC0yMci.js → x-CBFKGLB1.js} +1 -1
  267. package/package.json +24 -24
  268. package/dist/BlockPreviewCanvas-DwxJOTzH.js +0 -133
  269. package/dist/CountdownBlock-RNx3hIu0.js +0 -91
  270. package/dist/WrapperBlock-CzJa2Mxw.js +0 -34
  271. package/dist/cdn/chunks/BlockPreviewCanvas-hKxE6f-k.js +0 -135
  272. package/dist/cdn/chunks/BlockPreviewCanvas-hKxE6f-k.js.map +0 -1
  273. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js +0 -93
  274. package/dist/cdn/chunks/CountdownBlock-lHU3Lu7Q.js.map +0 -1
  275. package/dist/cdn/chunks/ParagraphEditor-B5DN4Sy4.js.map +0 -1
  276. package/dist/cdn/chunks/TemplateSettings-G-yV7C1C.js.map +0 -1
  277. package/dist/cdn/chunks/Toolbar-K4tIkpG1.js.map +0 -1
  278. package/dist/cdn/chunks/TplModal-OOT36AjS.js.map +0 -1
  279. package/dist/cdn/chunks/WrapperBlock-DdrnwH80.js +0 -36
  280. package/dist/cdn/chunks/WrapperBlock-DdrnwH80.js.map +0 -1
  281. package/dist/cdn/chunks/ca-C__Dzq--.js.map +0 -1
  282. package/dist/cdn/chunks/createCloudRuntime-CeRJkLR2.js.map +0 -1
  283. package/dist/cdn/chunks/de-CGjbQ2mt.js.map +0 -1
  284. package/dist/cdn/chunks/draggable-BUTN5vZC.js.map +0 -1
  285. package/dist/cdn/chunks/en-BTiiAC-B.js.map +0 -1
  286. package/dist/cdn/chunks/en-CAt6y87e.js +0 -1
  287. package/dist/cdn/chunks/es-CdTOcSTf.js.map +0 -1
  288. package/dist/cdn/chunks/extensions-xjRsIjMP.js.map +0 -1
  289. package/dist/cdn/chunks/fr-B6lcLLzC.js.map +0 -1
  290. package/dist/cdn/chunks/ja-BhdkqENz.js.map +0 -1
  291. package/dist/cdn/chunks/nl-CE3YItYg.js.map +0 -1
  292. package/dist/cdn/chunks/preRenderCustomBlocks-CFwa7nP9.js.map +0 -1
  293. package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +0 -1
  294. package/dist/cdn/chunks/socialIcons-CsYnPPll.js +0 -1050
  295. package/dist/cdn/chunks/socialIcons-CsYnPPll.js.map +0 -1
  296. package/dist/cdn/chunks/src-BcqNlDMe.js.map +0 -1
  297. package/dist/cdn/chunks/src-CkXmV2I2.js.map +0 -1
  298. package/dist/cdn/chunks/src-HA9F2kvk.js.map +0 -1
  299. package/dist/cdn/chunks/tiptap-CYDXLO17.js.map +0 -1
  300. package/dist/cdn/chunks/useEditorCore-BF1ZhcGu.js.map +0 -1
  301. package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +0 -10
  302. package/dist/cdn/chunks/useScrollToBlock-BDNJ25X1.js.map +0 -1
  303. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js +0 -32
  304. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js.map +0 -1
  305. package/dist/dist-CFC4pg2o.js +0 -5
  306. package/dist/dist-j2FavQmU.js +0 -5
  307. package/dist/en-Bk4iCfjp.js +0 -1
  308. package/dist/socialIcons-CvAixjj8.js +0 -1126
  309. package/dist/withCurrentFont-DeCbPVaE.js +0 -30
@@ -1,27 +1,27 @@
1
1
  import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { B as t, E as n, F as r, H as i, I as a, N as o, Q as s, R as c, S as l, U as u, X as d, at as f, b as p, ct as m, f as h, g, h as _, lt as v, m as y, o as b, p as x, s as S, u as C, ut as w, x as T, y as E } from "./draggable-BUTN5vZC.js";
3
- import { C as D, Ct as O, St as k, W as A, Z as j, _t as M, gt as N, i as ee, r as P, yt as te } from "./src-BcqNlDMe.js";
4
- import { a as ne, h as re, i as ie, r as F, s as ae } from "./socialIcons-CsYnPPll.js";
5
- import { _ as oe } from "./dist-B7W-Lb65.js";
6
- import { $ as se, C as I, G as ce, L as le, P as ue, c as de, d as fe, h as pe, n as me, p as he, v as ge } from "./keys-BKu-LOk5.js";
7
- import { t as L } from "./useI18n-DO4NTunW.js";
8
- import { o as _e } from "./usePopoverPosition-CtVNwoHj.js";
9
- import { B as ve, Dt as ye, Lt as be, Nt as xe, O as Se, W as R, _ as z, at as Ce, c as we, et as Te, f as Ee, ft as De, h as Oe, it as ke, kt as Ae, lt as je, n as Me, pt as Ne, rt as Pe, s as Fe, tt as B, v as Ie } from "./icons-Dr9erFGs.js";
10
- import { t as Le } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
- import { t as Re } from "./useAliveFlag-DzyXG-8A.js";
12
- import { _ as ze, b as Be, c as Ve, g as V, h as H, m as U, p as W, r as He, v as Ue } from "./styleConstants-C_YAPdQS.js";
13
- import { t as We } from "./blockTypeIcons-DdZP-3FM.js";
14
- import { c as G } from "./LogicTagInsertButton-DnHghQHb.js";
15
- import { n as Ge, t as K } from "./ToggleSwitch-CLHteVMO.js";
16
- import { n as Ke, t as qe } from "./withCurrentFont-DeCbPVaE.js";
17
- import { t as q } from "./MergeTagInput-heTX9P_k.js";
2
+ import { B as t, E as n, F as r, H as i, I as a, N as o, Q as s, R as c, S as l, U as u, X as d, at as f, b as p, ct as m, f as h, g, h as _, lt as v, m as y, o as b, p as x, s as S, u as C, ut as w, x as T, y as E } from "./draggable-DrsNwZuB.js";
3
+ import { Ct as D, Dt as O, Et as k, J as A, Nt as j, O as M, Pt as N, St as ee, i as P, kt as F, nt as te, r as ne, xt as re } from "./src-BnJlDuyB.js";
4
+ import { a as I, c as ie, g as ae, i as oe, o as se, r as ce } from "./socialIcons-DACw1wA8.js";
5
+ import { _ as le } from "./dist-CjL6JHML.js";
6
+ import { $ as ue, C as de, G as fe, L as pe, P as me, d as he, h as ge, n as _e, p as ve, v as ye } from "./keys-HI-INbkz.js";
7
+ import { t as L } from "./useI18n-DUlyyIJJ.js";
8
+ import { o as be } from "./usePopoverPosition-IbaW6-Ao.js";
9
+ import { B as xe, Dt as Se, Lt as Ce, Nt as we, O as Te, W as R, _ as Ee, c as De, et as Oe, f as ke, ft as Ae, h as z, it as je, kt as Me, lt as Ne, n as Pe, pt as Fe, rt as Ie, tt as B, v as Le } from "./icons-C4fX9Bwy.js";
10
+ import { t as Re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
+ import { t as ze } from "./useAliveFlag-DCB96vzR.js";
12
+ import { _ as Be, b as Ve, c as He, g as V, h as H, m as U, p as W, r as Ue, v as We } from "./styleConstants-D1Jz-TFU.js";
13
+ import { t as Ge } from "./blockTypeIcons-D3g5QzdT.js";
14
+ import { c as G } from "./LogicTagInsertButton-BEsqPhMr.js";
15
+ import { n as Ke, t as K } from "./ToggleSwitch-BN8rMC2m.js";
16
+ import { n as qe, t as Je } from "./withCurrentFont-DwJd-lKc.js";
17
+ import { t as q } from "./MergeTagInput-Dy13_OLc.js";
18
18
  //#region src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
19
- var Je = [
19
+ var Ye = [
20
20
  "aria-checked",
21
21
  "aria-label",
22
22
  "title",
23
23
  "onClick"
24
- ], Ye = { key: 1 }, J = /* @__PURE__ */ l({
24
+ ], Xe = { key: 1 }, J = /* @__PURE__ */ l({
25
25
  __name: "SlidingPillSelect",
26
26
  props: {
27
27
  options: {},
@@ -64,9 +64,9 @@ var Je = [
64
64
  key: 0,
65
65
  size: 14,
66
66
  "stroke-width": 2
67
- })) : (o(), g("span", Ye, w(t.label), 1))], 12, Je))), 128))], 4));
67
+ })) : (o(), g("span", Xe, w(t.label), 1))], 12, Ye))), 128))], 4));
68
68
  }
69
- }), Xe = { class: "tpl:flex tpl:items-stretch" }, Ze = [
69
+ }), Ze = { class: "tpl:flex tpl:items-stretch" }, Qe = [
70
70
  "data-testid",
71
71
  "value",
72
72
  "min",
@@ -87,7 +87,7 @@ var Je = [
87
87
  let t = e.target;
88
88
  t.validity?.badInput || n("update:modelValue", Number(t.value));
89
89
  }
90
- return (t, n) => (o(), g("div", Xe, [x("input", {
90
+ return (t, n) => (o(), g("div", Ze, [x("input", {
91
91
  type: "number",
92
92
  "data-testid": e.testid,
93
93
  class: m(f(U)),
@@ -95,14 +95,14 @@ var Je = [
95
95
  min: e.min,
96
96
  max: e.max,
97
97
  onInput: r
98
- }, null, 42, Ze), x("span", { class: m(f(H)) }, w(e.suffix), 3)]));
98
+ }, null, 42, Qe), x("span", { class: m(f(H)) }, w(e.suffix), 3)]));
99
99
  }
100
- }), Qe = [
100
+ }), $e = [
101
101
  "aria-pressed",
102
102
  "aria-label",
103
103
  "title",
104
104
  "data-testid"
105
- ], $e = /* @__PURE__ */ l({
105
+ ], et = /* @__PURE__ */ l({
106
106
  __name: "LinkToggle",
107
107
  props: {
108
108
  linked: { type: Boolean },
@@ -121,20 +121,20 @@ var Je = [
121
121
  title: e.linked ? e.unlinkLabel : e.linkLabel,
122
122
  "data-testid": e.testid,
123
123
  onClick: r[0] ||= (e) => n("toggle")
124
- }, [e.linked ? (o(), y(f(je), {
124
+ }, [e.linked ? (o(), y(f(Ne), {
125
125
  key: 0,
126
126
  size: 14,
127
127
  "stroke-width": 2
128
- })) : (o(), y(f(we), {
128
+ })) : (o(), y(f(De), {
129
129
  key: 1,
130
130
  size: 14,
131
131
  "stroke-width": 2
132
- }))], 10, Qe));
132
+ }))], 10, $e));
133
133
  }
134
- }), et = { class: "tpl:mb-3.5" }, tt = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, nt = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, rt = {
134
+ }), tt = { class: "tpl:mb-3.5" }, nt = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, rt = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, it = {
135
135
  key: 0,
136
136
  class: "tpl:mb-3.5"
137
- }, it = { class: "tpl:mb-3.5" }, at = { class: "tpl:mb-3.5" }, ot = /* @__PURE__ */ l({
137
+ }, at = { class: "tpl:mb-3.5" }, ot = { class: "tpl:mb-3.5" }, st = /* @__PURE__ */ l({
138
138
  __name: "BorderControl",
139
139
  props: {
140
140
  modelValue: {},
@@ -152,7 +152,7 @@ var Je = [
152
152
  }
153
153
  let u = h(() => {
154
154
  let e = r.modelValue;
155
- return !e || M.every((t) => l(e[t], e.top));
155
+ return !e || O.every((t) => l(e[t], e.top));
156
156
  }), d = s(u.value);
157
157
  t(u, (e) => {
158
158
  !e && d.value && (d.value = !1);
@@ -160,13 +160,13 @@ var Je = [
160
160
  let v = s("top"), y = h(() => r.modelValue?.[d.value ? "top" : v.value] ?? c), b = (e) => !!e && e.width > 0;
161
161
  function S(e) {
162
162
  if (d.value) {
163
- i("update:modelValue", b(e) ? O(e) : void 0);
163
+ i("update:modelValue", b(e) ? N(e) : void 0);
164
164
  return;
165
165
  }
166
166
  let t = {
167
- ...r.modelValue ?? O(c),
167
+ ...r.modelValue ?? N(c),
168
168
  [v.value]: e
169
- }, n = M.some((e) => b(t[e]));
169
+ }, n = O.some((e) => b(t[e]));
170
170
  i("update:modelValue", n ? t : void 0);
171
171
  }
172
172
  function T(e) {
@@ -189,15 +189,15 @@ var Je = [
189
189
  d.value = !0;
190
190
  let e = r.modelValue;
191
191
  if (!e) return;
192
- let t = b(e[v.value]) ? e[v.value] : M.map((t) => e[t]).find(b);
193
- i("update:modelValue", t ? O(t) : void 0);
192
+ let t = b(e[v.value]) ? e[v.value] : O.map((t) => e[t]).find(b);
193
+ i("update:modelValue", t ? N(t) : void 0);
194
194
  }
195
- let k = h(() => M.map((e) => ({
195
+ let k = h(() => O.map((e) => ({
196
196
  value: e,
197
197
  label: a.spacingControl[e]
198
198
  })));
199
- return (t, n) => (o(), g("div", et, [
200
- x("div", tt, [x("span", nt, w(f(a).blockSettings.border), 1), p($e, {
199
+ return (t, n) => (o(), g("div", tt, [
200
+ x("div", nt, [x("span", rt, w(f(a).blockSettings.border), 1), p(et, {
201
201
  linked: d.value,
202
202
  "link-label": f(a).blockSettings.linkSides,
203
203
  "unlink-label": f(a).blockSettings.unlinkSides,
@@ -209,19 +209,19 @@ var Je = [
209
209
  "unlink-label",
210
210
  "testid"
211
211
  ])]),
212
- d.value ? _("", !0) : (o(), g("div", rt, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderSide), 3), p(J, {
212
+ d.value ? _("", !0) : (o(), g("div", it, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderSide), 3), p(J, {
213
213
  options: k.value,
214
214
  "model-value": v.value,
215
215
  "onUpdate:modelValue": n[0] ||= (e) => v.value = e
216
216
  }, null, 8, ["options", "model-value"])])),
217
- x("div", it, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderWidth), 3), p(Y, {
217
+ x("div", at, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderWidth), 3), p(Y, {
218
218
  "model-value": y.value.width,
219
219
  min: 0,
220
220
  suffix: "px",
221
221
  testid: `${e.testidPrefix}-border-width-input`,
222
222
  "onUpdate:modelValue": T
223
223
  }, null, 8, ["model-value", "testid"])]),
224
- y.value.width > 0 ? (o(), g(C, { key: 1 }, [x("div", at, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderStyle), 3), p(J, {
224
+ y.value.width > 0 ? (o(), g(C, { key: 1 }, [x("div", ot, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderStyle), 3), p(J, {
225
225
  options: [
226
226
  {
227
227
  value: "solid",
@@ -244,10 +244,10 @@ var Je = [
244
244
  }, null, 8, ["model-value"])])], 64)) : _("", !0)
245
245
  ]));
246
246
  }
247
- }), st = { class: "tpl:mb-3.5" }, ct = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, lt = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ut = {
247
+ }), ct = { class: "tpl:mb-3.5" }, lt = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, ut = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, dt = {
248
248
  key: 1,
249
249
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
250
- }, dt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ft = /* @__PURE__ */ l({
250
+ }, ft = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, pt = /* @__PURE__ */ l({
251
251
  __name: "RadiusControl",
252
252
  props: {
253
253
  modelValue: {},
@@ -275,7 +275,7 @@ var Je = [
275
275
  bottomRight: e,
276
276
  bottomLeft: e
277
277
  } : e;
278
- }), m = h(() => N.every((e) => d.value[e] === d.value.topLeft)), _ = s(m.value);
278
+ }), m = h(() => k.every((e) => d.value[e] === d.value.topLeft)), _ = s(m.value);
279
279
  t(m, (e) => {
280
280
  !e && _.value && (_.value = !1);
281
281
  });
@@ -294,7 +294,7 @@ var Je = [
294
294
  function T() {
295
295
  _.value = !_.value, _.value && a("update:modelValue", d.value.topLeft);
296
296
  }
297
- return (t, n) => (o(), g("div", st, [x("div", ct, [x("span", lt, w(e.label), 1), p($e, {
297
+ return (t, n) => (o(), g("div", ct, [x("div", lt, [x("span", ut, w(e.label), 1), p(et, {
298
298
  linked: _.value,
299
299
  "link-label": f(c).blockSettings.linkCorners,
300
300
  "unlink-label": f(c).blockSettings.unlinkCorners,
@@ -317,7 +317,7 @@ var Je = [
317
317
  "model-value",
318
318
  "max",
319
319
  "testid"
320
- ])) : (o(), g("div", ut, [(o(), g(C, null, r(u, (t) => x("div", { key: t }, [x("label", dt, w(f(c).blockSettings[l[t]]), 1), p(Y, {
320
+ ])) : (o(), g("div", dt, [(o(), g(C, null, r(u, (t) => x("div", { key: t }, [x("label", ft, w(f(c).blockSettings[l[t]]), 1), p(Y, {
321
321
  "model-value": d.value[t],
322
322
  min: 0,
323
323
  max: e.max,
@@ -331,10 +331,10 @@ var Je = [
331
331
  "onUpdate:modelValue"
332
332
  ])])), 64))]))]));
333
333
  }
334
- }), pt = { class: "tpl:mb-3.5" }, mt = ["value"], ht = { value: "" }, gt = ["value"], _t = { class: "tpl:mb-3.5" }, vt = { class: "tpl:mb-3.5" }, yt = { class: "tpl:mb-3.5" }, bt = { class: "tpl:mb-3.5" }, xt = { class: "tpl:mb-3.5" }, St = { class: "tpl:flex tpl:items-stretch" }, Ct = ["value"], wt = { class: "tpl:mb-3.5" }, Tt = ["value"], Et = { value: "auto" }, Dt = { value: "full" }, Ot = { value: "custom" }, kt = {
334
+ }), mt = { class: "tpl:mb-3.5" }, ht = ["value"], gt = { value: "" }, _t = ["value"], vt = { class: "tpl:mb-3.5" }, yt = { class: "tpl:mb-3.5" }, bt = { class: "tpl:mb-3.5" }, xt = { class: "tpl:mb-3.5" }, St = { class: "tpl:mb-3.5" }, Ct = { class: "tpl:flex tpl:items-stretch" }, wt = ["value"], Tt = { class: "tpl:mb-3.5" }, Et = ["value"], Dt = { value: "auto" }, Ot = { value: "full" }, kt = { value: "custom" }, At = {
335
335
  key: 0,
336
336
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
337
- }, At = ["value"], jt = { class: "tpl:mb-3.5" }, Mt = 200, Nt = /* @__PURE__ */ l({
337
+ }, jt = ["value"], Mt = { class: "tpl:mb-3.5" }, Nt = 200, Pt = /* @__PURE__ */ l({
338
338
  __name: "ButtonToolbar",
339
339
  props: {
340
340
  block: {},
@@ -347,27 +347,27 @@ var Je = [
347
347
  i("update", { [e]: t });
348
348
  }
349
349
  function l(e) {
350
- e === "full" ? c("width", "full") : e === "custom" ? c("width", typeof n.block.width == "number" ? n.block.width : Mt) : c("width", void 0);
350
+ e === "full" ? c("width", "full") : e === "custom" ? c("width", typeof n.block.width == "number" ? n.block.width : Nt) : c("width", void 0);
351
351
  }
352
352
  function u(e) {
353
353
  let t = Number(e);
354
354
  !Number.isFinite(t) || t <= 0 || c("width", t);
355
355
  }
356
356
  return (t, n) => (o(), g(C, null, [
357
- x("div", pt, [x("label", { class: m(f(V)) }, w(f(a).button.fontFamily), 3), x("select", {
357
+ x("div", mt, [x("label", { class: m(f(V)) }, w(f(a).button.fontFamily), 3), x("select", {
358
358
  class: m(f(W)),
359
- value: f(qe)(e.block.fontFamily),
359
+ value: f(Je)(e.block.fontFamily),
360
360
  onChange: n[0] ||= (e) => c("fontFamily", e.target.value || void 0)
361
- }, [x("option", ht, w(f(a).button.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
361
+ }, [x("option", gt, w(f(a).button.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
362
362
  key: e.value,
363
363
  value: e.value
364
- }, w(e.label), 9, gt))), 128))], 42, mt)]),
365
- x("div", _t, [x("label", { class: m(f(V)) }, w(f(a).button.text), 3), p(q, {
364
+ }, w(e.label), 9, _t))), 128))], 42, ht)]),
365
+ x("div", vt, [x("label", { class: m(f(V)) }, w(f(a).button.text), 3), p(q, {
366
366
  "model-value": e.block.text,
367
367
  type: "text",
368
368
  "onUpdate:modelValue": n[1] ||= (e) => c("text", e)
369
369
  }, null, 8, ["model-value"])]),
370
- x("div", vt, [
370
+ x("div", yt, [
371
371
  x("label", { class: m(f(V)) }, w(f(a).button.url), 3),
372
372
  p(q, {
373
373
  "model-value": e.block.url,
@@ -383,55 +383,55 @@ var Je = [
383
383
  "onUpdate:modelValue": n[3] ||= (e) => c("openInNewTab", e)
384
384
  }, null, 8, ["model-value", "label"])) : _("", !0)
385
385
  ]),
386
- x("div", yt, [x("label", { class: m(f(V)) }, w(f(a).button.background), 3), p(G, {
386
+ x("div", bt, [x("label", { class: m(f(V)) }, w(f(a).button.background), 3), p(G, {
387
387
  "model-value": e.block.backgroundColor,
388
388
  "allow-transparent": "",
389
389
  "onUpdate:modelValue": n[4] ||= (e) => c("backgroundColor", e)
390
390
  }, null, 8, ["model-value"])]),
391
- x("div", bt, [x("label", { class: m(f(V)) }, w(f(a).button.textColor), 3), p(G, {
391
+ x("div", xt, [x("label", { class: m(f(V)) }, w(f(a).button.textColor), 3), p(G, {
392
392
  "model-value": e.block.textColor,
393
393
  "onUpdate:modelValue": n[5] ||= (e) => c("textColor", e)
394
394
  }, null, 8, ["model-value"])]),
395
- p(ot, {
395
+ p(st, {
396
396
  "model-value": e.block.border,
397
397
  "testid-prefix": "button",
398
398
  "onUpdate:modelValue": n[6] ||= (e) => c("border", e)
399
399
  }, null, 8, ["model-value"]),
400
- p(ft, {
400
+ p(pt, {
401
401
  "model-value": e.block.borderRadius,
402
402
  label: f(a).button.borderRadius,
403
403
  max: 50,
404
404
  "testid-prefix": "button",
405
405
  "onUpdate:modelValue": n[7] ||= (e) => c("borderRadius", e)
406
406
  }, null, 8, ["model-value", "label"]),
407
- x("div", xt, [x("label", { class: m(f(V)) }, w(f(a).button.fontSize), 3), x("div", St, [x("input", {
407
+ x("div", St, [x("label", { class: m(f(V)) }, w(f(a).button.fontSize), 3), x("div", Ct, [x("input", {
408
408
  type: "number",
409
409
  class: m(f(U)),
410
410
  value: e.block.fontSize,
411
411
  min: "10",
412
412
  max: "36",
413
413
  onInput: n[8] ||= (e) => c("fontSize", Number(e.target.value))
414
- }, null, 42, Ct), x("span", { class: m(f(H)) }, "px", 2)])]),
415
- x("div", wt, [
414
+ }, null, 42, wt), x("span", { class: m(f(H)) }, "px", 2)])]),
415
+ x("div", Tt, [
416
416
  x("label", { class: m(f(V)) }, w(f(a).button.width), 3),
417
417
  x("select", {
418
418
  class: m(f(W)),
419
419
  value: s.value,
420
420
  onChange: n[9] ||= (e) => l(e.target.value)
421
421
  }, [
422
- x("option", Et, w(f(a).button.widthAuto), 1),
423
- x("option", Dt, w(f(a).button.fullWidth), 1),
424
- x("option", Ot, w(f(a).button.widthCustom), 1)
425
- ], 42, Tt),
426
- s.value === "custom" ? (o(), g("div", kt, [x("input", {
422
+ x("option", Dt, w(f(a).button.widthAuto), 1),
423
+ x("option", Ot, w(f(a).button.fullWidth), 1),
424
+ x("option", kt, w(f(a).button.widthCustom), 1)
425
+ ], 42, Et),
426
+ s.value === "custom" ? (o(), g("div", At, [x("input", {
427
427
  type: "number",
428
428
  class: m(f(U)),
429
- value: typeof e.block.width == "number" ? e.block.width : Mt,
429
+ value: typeof e.block.width == "number" ? e.block.width : Nt,
430
430
  min: "20",
431
431
  onInput: n[10] ||= (e) => u(e.target.value)
432
- }, null, 42, At), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
432
+ }, null, 42, jt), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
433
433
  ]),
434
- x("div", jt, [x("label", { class: m(f(V)) }, w(f(a).title.align), 3), p(J, {
434
+ x("div", Mt, [x("label", { class: m(f(V)) }, w(f(a).title.align), 3), p(J, {
435
435
  options: [
436
436
  {
437
437
  value: "left",
@@ -451,7 +451,7 @@ var Je = [
451
451
  }, null, 8, ["options", "model-value"])])
452
452
  ], 64));
453
453
  }
454
- }), Pt = { class: "spacing-control" }, Ft = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, It = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Lt = { class: "tpl:flex tpl:items-center" }, Rt = ["aria-label"], zt = ["value", "aria-label"], Bt = ["aria-label"], Vt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ht = { class: "tpl:flex tpl:items-center" }, Ut = ["aria-label"], Wt = ["value", "aria-label"], Gt = ["aria-label"], Kt = ["aria-label", "title"], qt = { class: "tpl:flex tpl:items-center" }, Jt = ["aria-label"], Yt = ["value", "aria-label"], Xt = ["aria-label"], Zt = { class: "tpl:flex tpl:items-center" }, Qt = ["aria-label"], $t = ["value", "aria-label"], en = ["aria-label"], X = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", tn = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", nn = /*#__PURE__*/ Le(/* @__PURE__ */ l({
454
+ }), Ft = { class: "spacing-control" }, It = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Lt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Rt = { class: "tpl:flex tpl:items-center" }, zt = ["aria-label"], Bt = ["value", "aria-label"], Vt = ["aria-label"], Ht = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ut = { class: "tpl:flex tpl:items-center" }, Wt = ["aria-label"], Gt = ["value", "aria-label"], Kt = ["aria-label"], qt = ["aria-label", "title"], Jt = { class: "tpl:flex tpl:items-center" }, Yt = ["aria-label"], Xt = ["value", "aria-label"], Zt = ["aria-label"], Qt = { class: "tpl:flex tpl:items-center" }, $t = ["aria-label"], en = ["value", "aria-label"], tn = ["aria-label"], X = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", Z = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", nn = /*#__PURE__*/ Re(/* @__PURE__ */ l({
455
455
  __name: "SpacingControl",
456
456
  props: {
457
457
  modelValue: {},
@@ -498,8 +498,8 @@ var Je = [
498
498
  });
499
499
  }
500
500
  }
501
- return (t, n) => (o(), g("div", Pt, [x("label", Ft, w(e.label), 1), x("div", It, [
502
- x("div", Lt, [
501
+ return (t, n) => (o(), g("div", Ft, [x("label", It, w(e.label), 1), x("div", Lt, [
502
+ x("div", Rt, [
503
503
  x("button", {
504
504
  "aria-label": f(a).spacingControl.decreaseTop,
505
505
  class: m([X, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -507,15 +507,15 @@ var Je = [
507
507
  }, [p(f(B), {
508
508
  size: 12,
509
509
  "stroke-width": 2
510
- })], 10, Rt),
510
+ })], 10, zt),
511
511
  x("input", {
512
512
  type: "number",
513
- class: m(tn),
513
+ class: m(Z),
514
514
  value: e.modelValue.top,
515
515
  "aria-label": f(a).spacingControl.top,
516
516
  min: "0",
517
517
  onInput: n[1] ||= (e) => d("top", Number(e.target.value))
518
- }, null, 40, zt),
518
+ }, null, 40, Bt),
519
519
  x("button", {
520
520
  "aria-label": f(a).spacingControl.increaseTop,
521
521
  class: m([X, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -523,10 +523,10 @@ var Je = [
523
523
  }, [p(f(R), {
524
524
  size: 12,
525
525
  "stroke-width": 2
526
- })], 10, Bt)
526
+ })], 10, Vt)
527
527
  ]),
528
- x("div", Vt, [
529
- x("div", Ht, [
528
+ x("div", Ht, [
529
+ x("div", Ut, [
530
530
  x("button", {
531
531
  "aria-label": f(a).spacingControl.decreaseLeft,
532
532
  class: m([X, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -534,15 +534,15 @@ var Je = [
534
534
  }, [p(f(B), {
535
535
  size: 12,
536
536
  "stroke-width": 2
537
- })], 10, Ut),
537
+ })], 10, Wt),
538
538
  x("input", {
539
539
  type: "number",
540
- class: m(tn),
540
+ class: m(Z),
541
541
  value: e.modelValue.left,
542
542
  "aria-label": f(a).spacingControl.left,
543
543
  min: "0",
544
544
  onInput: n[4] ||= (e) => d("left", Number(e.target.value))
545
- }, null, 40, Wt),
545
+ }, null, 40, Gt),
546
546
  x("button", {
547
547
  "aria-label": f(a).spacingControl.increaseLeft,
548
548
  class: m([X, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -550,23 +550,23 @@ var Je = [
550
550
  }, [p(f(R), {
551
551
  size: 12,
552
552
  "stroke-width": 2
553
- })], 10, Gt)
553
+ })], 10, Kt)
554
554
  ]),
555
555
  x("button", {
556
556
  class: m(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", l.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
557
557
  "aria-label": l.value ? f(a).spacingControl.unlock : f(a).spacingControl.lockAll,
558
558
  title: l.value ? f(a).spacingControl.unlock : f(a).spacingControl.lockAll,
559
559
  onClick: _
560
- }, [l.value ? (o(), y(f(Pe), {
560
+ }, [l.value ? (o(), y(f(Ie), {
561
561
  key: 0,
562
562
  size: 14,
563
563
  "stroke-width": 2
564
- })) : (o(), y(f(ke), {
564
+ })) : (o(), y(f(je), {
565
565
  key: 1,
566
566
  size: 14,
567
567
  "stroke-width": 2
568
- }))], 10, Kt),
569
- x("div", qt, [
568
+ }))], 10, qt),
569
+ x("div", Jt, [
570
570
  x("button", {
571
571
  "aria-label": f(a).spacingControl.decreaseRight,
572
572
  class: m([X, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -574,15 +574,15 @@ var Je = [
574
574
  }, [p(f(B), {
575
575
  size: 12,
576
576
  "stroke-width": 2
577
- })], 10, Jt),
577
+ })], 10, Yt),
578
578
  x("input", {
579
579
  type: "number",
580
- class: m(tn),
580
+ class: m(Z),
581
581
  value: e.modelValue.right,
582
582
  "aria-label": f(a).spacingControl.right,
583
583
  min: "0",
584
584
  onInput: n[7] ||= (e) => d("right", Number(e.target.value))
585
- }, null, 40, Yt),
585
+ }, null, 40, Xt),
586
586
  x("button", {
587
587
  "aria-label": f(a).spacingControl.increaseRight,
588
588
  class: m([X, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -590,10 +590,10 @@ var Je = [
590
590
  }, [p(f(R), {
591
591
  size: 12,
592
592
  "stroke-width": 2
593
- })], 10, Xt)
593
+ })], 10, Zt)
594
594
  ])
595
595
  ]),
596
- x("div", Zt, [
596
+ x("div", Qt, [
597
597
  x("button", {
598
598
  "aria-label": f(a).spacingControl.decreaseBottom,
599
599
  class: m([X, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -601,15 +601,15 @@ var Je = [
601
601
  }, [p(f(B), {
602
602
  size: 12,
603
603
  "stroke-width": 2
604
- })], 10, Qt),
604
+ })], 10, $t),
605
605
  x("input", {
606
606
  type: "number",
607
- class: m(tn),
607
+ class: m(Z),
608
608
  value: e.modelValue.bottom,
609
609
  "aria-label": f(a).spacingControl.bottom,
610
610
  min: "0",
611
611
  onInput: n[10] ||= (e) => d("bottom", Number(e.target.value))
612
- }, null, 40, $t),
612
+ }, null, 40, en),
613
613
  x("button", {
614
614
  "aria-label": f(a).spacingControl.increaseBottom,
615
615
  class: m([X, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -617,11 +617,137 @@ var Je = [
617
617
  }, [p(f(R), {
618
618
  size: 12,
619
619
  "stroke-width": 2
620
- })], 10, en)
620
+ })], 10, tn)
621
621
  ])
622
622
  ])]));
623
623
  }
624
- }), [["__scopeId", "data-v-69591c1e"]]), rn = ["data-testid"], an = { class: "tpl:mt-3" }, Z = /* @__PURE__ */ l({
624
+ }), [["__scopeId", "data-v-69591c1e"]]), rn = { class: "tpl:space-y-3.5" }, an = ["data-testid"], on = ["data-testid"], sn = ["data-testid"], cn = ["aria-label", "data-testid"], ln = [
625
+ "aria-label",
626
+ "title",
627
+ "aria-pressed",
628
+ "data-testid",
629
+ "onClick"
630
+ ], un = ["data-testid"], dn = /* @__PURE__ */ l({
631
+ __name: "BackgroundImageControl",
632
+ props: {
633
+ modelValue: {},
634
+ testidPrefix: {}
635
+ },
636
+ emits: ["update:modelValue"],
637
+ setup(e, { emit: t }) {
638
+ let i = e, a = t, { t: c } = L(), l = n(me, ne.liquid), u = h(() => typeof i.modelValue?.url == "string" ? i.modelValue.url : ""), d = h(() => u.value.trim() !== "");
639
+ function v(e) {
640
+ e.trim() === "" ? a("update:modelValue", void 0) : a("update:modelValue", i.modelValue ? {
641
+ ...i.modelValue,
642
+ url: e
643
+ } : D(e));
644
+ }
645
+ function b(e) {
646
+ i.modelValue && a("update:modelValue", {
647
+ ...i.modelValue,
648
+ ...e
649
+ });
650
+ }
651
+ let S = h(() => [
652
+ {
653
+ value: "cover",
654
+ label: c.blockSettings.backgroundSizeCover
655
+ },
656
+ {
657
+ value: "contain",
658
+ label: c.blockSettings.backgroundSizeContain
659
+ },
660
+ {
661
+ value: "auto",
662
+ label: c.blockSettings.backgroundSizeAuto
663
+ }
664
+ ]), T = h(() => ({
665
+ "top-left": c.blockSettings.backgroundPositionTopLeft,
666
+ "top-center": c.blockSettings.backgroundPositionTopCenter,
667
+ "top-right": c.blockSettings.backgroundPositionTopRight,
668
+ "center-left": c.blockSettings.backgroundPositionCenterLeft,
669
+ "center-center": c.blockSettings.backgroundPositionCenter,
670
+ "center-right": c.blockSettings.backgroundPositionCenterRight,
671
+ "bottom-left": c.blockSettings.backgroundPositionBottomLeft,
672
+ "bottom-center": c.blockSettings.backgroundPositionBottomCenter,
673
+ "bottom-right": c.blockSettings.backgroundPositionBottomRight
674
+ })), O = h(() => ee.flatMap((e) => re.map((t) => ({
675
+ x: t,
676
+ y: e,
677
+ label: T.value[`${e}-${t}`]
678
+ }))));
679
+ function k(e) {
680
+ return i.modelValue?.position?.x === e.x && i.modelValue?.position?.y === e.y;
681
+ }
682
+ let A = s(), { canBrowse: j, isUploading: M, showOverlay: N, openMediaBrowser: F } = oe({
683
+ target: A,
684
+ blocked: () => P(u.value, l),
685
+ apply: (e) => v(e.url)
686
+ });
687
+ return (t, n) => (o(), g("div", rn, [x("div", null, [x("label", { class: m(f(V)) }, w(f(c).blockSettings.backgroundImage), 3), x("div", {
688
+ ref_key: "dropZoneRef",
689
+ ref: A,
690
+ class: "tpl:relative",
691
+ "data-testid": `${e.testidPrefix}-bg-url`
692
+ }, [
693
+ f(N) ? (o(), y(I, {
694
+ key: 0,
695
+ uploading: f(M)
696
+ }, null, 8, ["uploading"])) : _("", !0),
697
+ p(q, {
698
+ "model-value": u.value,
699
+ type: "url",
700
+ placeholder: f(c).blockSettings.backgroundImagePlaceholder,
701
+ "onUpdate:modelValue": v
702
+ }, null, 8, ["model-value", "placeholder"]),
703
+ f(j) ? (o(), g("button", {
704
+ key: 1,
705
+ type: "button",
706
+ "data-testid": `${e.testidPrefix}-bg-browse`,
707
+ class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all",
708
+ style: {
709
+ "border-color": "var(--tpl-border)",
710
+ color: "var(--tpl-primary)",
711
+ "background-color": "var(--tpl-bg)"
712
+ },
713
+ onClick: n[0] ||= (...e) => f(F) && f(F)(...e)
714
+ }, [p(f(Fe), {
715
+ size: 14,
716
+ "stroke-width": 1.5
717
+ }), E(" " + w(f(c).image.browseMedia), 1)], 8, on)) : _("", !0)
718
+ ], 8, an)]), d.value && e.modelValue ? (o(), g(C, { key: 0 }, [
719
+ x("div", { "data-testid": `${e.testidPrefix}-bg-size` }, [x("label", { class: m(f(V)) }, w(f(c).blockSettings.backgroundSize), 3), p(J, {
720
+ options: S.value,
721
+ "model-value": e.modelValue.size,
722
+ "onUpdate:modelValue": n[1] ||= (e) => b({ size: e })
723
+ }, null, 8, ["options", "model-value"])], 8, sn),
724
+ x("div", null, [x("label", { class: m(f(V)) }, w(f(c).blockSettings.backgroundPosition), 3), x("div", {
725
+ role: "group",
726
+ "aria-label": f(c).blockSettings.backgroundPosition,
727
+ "data-testid": `${e.testidPrefix}-bg-position`,
728
+ class: "tpl:grid tpl:w-24 tpl:grid-cols-3 tpl:gap-1"
729
+ }, [(o(!0), g(C, null, r(O.value, (t) => (o(), g("button", {
730
+ key: `${t.y}-${t.x}`,
731
+ type: "button",
732
+ "aria-label": t.label,
733
+ title: t.label,
734
+ "aria-pressed": k(t),
735
+ "data-testid": `${e.testidPrefix}-bg-position-${t.y}-${t.x}`,
736
+ class: m(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", k(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
737
+ onClick: (e) => b({ position: {
738
+ x: t.x,
739
+ y: t.y
740
+ } })
741
+ }, [x("span", { class: m(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", k(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, ln))), 128))], 8, cn)]),
742
+ x("div", { "data-testid": `${e.testidPrefix}-bg-repeat` }, [p(K, {
743
+ class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
744
+ "model-value": e.modelValue.repeat,
745
+ label: f(c).blockSettings.backgroundRepeat,
746
+ "onUpdate:modelValue": n[2] ||= (e) => b({ repeat: e })
747
+ }, null, 8, ["model-value", "label"])], 8, un)
748
+ ], 64)) : _("", !0)]));
749
+ }
750
+ }), fn = ["data-testid"], pn = { class: "tpl:mt-3" }, mn = /* @__PURE__ */ l({
625
751
  __name: "CollapsibleSection",
626
752
  props: {
627
753
  title: {},
@@ -636,25 +762,25 @@ var Je = [
636
762
  "data-testid": e.headerTestId,
637
763
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
638
764
  onClick: n[0] ||= (e) => t.$emit("toggle")
639
- }, [p(f(be), {
765
+ }, [p(f(Ce), {
640
766
  class: m(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
641
767
  size: 12,
642
768
  "stroke-width": 2
643
- }, null, 8, ["class"]), x("span", null, w(e.title), 1)], 8, rn), u(x("div", an, [a(t.$slots, "default")], 512), [[S, e.open]])], 2));
769
+ }, null, 8, ["class"]), x("span", null, w(e.title), 1)], 8, fn), u(x("div", pn, [a(t.$slots, "default")], 512), [[S, e.open]])], 2));
644
770
  }
645
- }), on = { class: "tpl:space-y-2" }, sn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, cn = { class: "tpl:space-y-2" }, ln = ["value"], un = { value: "" }, dn = ["label"], fn = ["value"], pn = ["value"], mn = {
771
+ }), hn = { class: "tpl:space-y-2" }, gn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, _n = { class: "tpl:space-y-2" }, vn = ["value"], yn = { value: "" }, bn = ["label"], xn = ["value"], Sn = ["value"], Cn = {
646
772
  key: 0,
647
773
  value: "__custom__"
648
- }, hn = {
774
+ }, wn = {
649
775
  key: 0,
650
776
  class: "tpl:space-y-2"
651
- }, gn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, _n = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, vn = { class: "tpl:flex tpl:justify-end" }, yn = ["disabled"], bn = {
777
+ }, Tn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, En = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Dn = { class: "tpl:flex tpl:justify-end" }, On = ["disabled"], kn = {
652
778
  key: 0,
653
779
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
654
- }, xn = { class: "tpl:space-y-1" }, Sn = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, Cn = {
780
+ }, An = { class: "tpl:space-y-1" }, jn = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, Mn = {
655
781
  key: 0,
656
782
  class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
657
- }, wn = /* @__PURE__ */ l({
783
+ }, Nn = /* @__PURE__ */ l({
658
784
  __name: "CommonBlockSettings",
659
785
  props: {
660
786
  block: {},
@@ -662,23 +788,23 @@ var Je = [
662
788
  },
663
789
  emits: ["update"],
664
790
  setup(e, { emit: a }) {
665
- let l = e, v = a, { t: S } = L(), T = n(pe, []), D = n(me, !1), O = d(/* @__PURE__ */ new Set()), k = s(!1), A = s(""), j = s(""), M = [{
791
+ let l = e, v = a, { t: S } = L(), T = n(ge, []), D = n(_e, !1), O = d(/* @__PURE__ */ new Set()), k = s(!1), A = s(""), j = s(""), M = [{
666
792
  key: "desktop",
667
- icon: Te,
793
+ icon: Oe,
668
794
  labelKey: "showOnDesktop"
669
795
  }, {
670
796
  key: "mobile",
671
- icon: Se,
797
+ icon: Te,
672
798
  labelKey: "showOnMobile"
673
799
  }];
674
800
  function N(e) {
675
801
  O.has(e) ? O.delete(e) : O.add(e);
676
802
  }
677
803
  let ee = h(() => T.length > 0 || D), P = h(() => l.block.displayCondition ? !T.some((e) => e.label === l.block.displayCondition?.label) : !1);
678
- function te() {
804
+ function F() {
679
805
  k.value = !0, P.value && l.block.displayCondition ? (A.value = l.block.displayCondition.before, j.value = l.block.displayCondition.after ?? "") : (A.value = "", j.value = "");
680
806
  }
681
- function ne() {
807
+ function te() {
682
808
  A.value.trim() && (v("update", { displayCondition: {
683
809
  label: S.blockSettings.customCondition,
684
810
  before: A.value.trim(),
@@ -688,7 +814,7 @@ var Je = [
688
814
  t(() => l.block.displayCondition, (e) => {
689
815
  e ? P.value && (A.value = e.before, j.value = e.after ?? "") : (k.value = !1, A.value = "", j.value = "");
690
816
  }, { immediate: !0 });
691
- let re = h(() => {
817
+ let ne = h(() => {
692
818
  let e = {};
693
819
  for (let t of T) {
694
820
  let n = t.group ?? "";
@@ -696,24 +822,24 @@ var Je = [
696
822
  }
697
823
  return e;
698
824
  });
699
- function ie(e, t) {
825
+ function re(e, t) {
700
826
  v("update", { styles: {
701
827
  ...l.block.styles,
702
828
  [e]: t
703
829
  } });
704
830
  }
705
- function F(e) {
831
+ function I(e) {
706
832
  return l.block.visibility?.[e] !== !1;
707
833
  }
708
- function ae(e) {
834
+ function ie(e) {
709
835
  let t = {
710
- desktop: F("desktop"),
711
- mobile: F("mobile")
836
+ desktop: I("desktop"),
837
+ mobile: I("mobile")
712
838
  };
713
839
  t[e] = !t[e], v("update", { visibility: t });
714
840
  }
715
841
  return (t, n) => (o(), g("div", { class: m(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
716
- p(Z, {
842
+ p(mn, {
717
843
  title: f(S).blockSettings.spacing,
718
844
  open: O.has("spacing"),
719
845
  "no-border": e.isFirstSection,
@@ -722,7 +848,7 @@ var Je = [
722
848
  default: i(() => [p(nn, {
723
849
  label: f(S).blockSettings.padding,
724
850
  "model-value": e.block.styles.padding,
725
- "onUpdate:modelValue": n[0] ||= (e) => ie("padding", e)
851
+ "onUpdate:modelValue": n[0] ||= (e) => re("padding", e)
726
852
  }, null, 8, ["label", "model-value"])]),
727
853
  _: 1
728
854
  }, 8, [
@@ -730,31 +856,42 @@ var Je = [
730
856
  "open",
731
857
  "no-border"
732
858
  ]),
733
- p(Z, {
859
+ p(mn, {
734
860
  title: f(S).blockSettings.background,
735
861
  open: O.has("bg"),
736
- onToggle: n[3] ||= (e) => N("bg")
862
+ "header-test-id": "block-settings-background",
863
+ onToggle: n[4] ||= (e) => N("bg")
737
864
  }, {
738
- default: i(() => [x("label", { class: m(f(V)) }, w(f(S).blockSettings.color), 3), p(G, {
739
- "model-value": e.block.styles.backgroundColor ?? "",
740
- "allow-transparent": "",
741
- "onUpdate:modelValue": n[2] ||= (e) => ie("backgroundColor", e)
742
- }, null, 8, ["model-value"])]),
865
+ default: i(() => [
866
+ x("label", { class: m(f(V)) }, w(f(S).blockSettings.color), 3),
867
+ p(G, {
868
+ "model-value": e.block.styles.backgroundColor ?? "",
869
+ "allow-transparent": "",
870
+ "onUpdate:modelValue": n[2] ||= (e) => re("backgroundColor", e)
871
+ }, null, 8, ["model-value"]),
872
+ e.block.type === "section" ? (o(), y(dn, {
873
+ key: 0,
874
+ class: "tpl:mt-3.5",
875
+ "model-value": e.block.backgroundImage,
876
+ "testid-prefix": "section",
877
+ "onUpdate:modelValue": n[3] ||= (e) => v("update", { backgroundImage: e })
878
+ }, null, 8, ["model-value"])) : _("", !0)
879
+ ]),
743
880
  _: 1
744
881
  }, 8, ["title", "open"]),
745
- p(Z, {
882
+ p(mn, {
746
883
  title: f(S).blockSettings.display,
747
884
  open: O.has("display"),
748
- onToggle: n[4] ||= (e) => N("display")
885
+ onToggle: n[5] ||= (e) => N("display")
749
886
  }, {
750
- default: i(() => [x("div", on, [(o(), g(C, null, r(M, (e) => p(K, {
887
+ default: i(() => [x("div", hn, [(o(), g(C, null, r(M, (e) => p(K, {
751
888
  key: e.key,
752
889
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
753
- "model-value": F(e.key),
890
+ "model-value": I(e.key),
754
891
  label: f(S).blockSettings[e.labelKey],
755
- "onUpdate:modelValue": (t) => ae(e.key)
892
+ "onUpdate:modelValue": (t) => ie(e.key)
756
893
  }, {
757
- default: i(() => [x("span", sn, [(o(), y(c(e.icon), {
894
+ default: i(() => [x("span", gn, [(o(), y(c(e.icon), {
758
895
  size: 14,
759
896
  "stroke-width": 1.5
760
897
  })), E(" " + w(f(S).blockSettings[e.labelKey]), 1)])]),
@@ -766,21 +903,21 @@ var Je = [
766
903
  ])), 64))])]),
767
904
  _: 1
768
905
  }, 8, ["title", "open"]),
769
- ee.value ? (o(), y(Z, {
906
+ ee.value ? (o(), y(mn, {
770
907
  key: 0,
771
908
  "header-test-id": "display-condition-section",
772
909
  title: f(S).blockSettings.displayCondition,
773
910
  open: O.has("condition"),
774
- onToggle: n[8] ||= (e) => N("condition")
911
+ onToggle: n[9] ||= (e) => N("condition")
775
912
  }, {
776
- default: i(() => [x("div", cn, [x("select", {
913
+ default: i(() => [x("div", _n, [x("select", {
777
914
  "data-testid": "display-condition-select",
778
915
  class: m(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
779
916
  value: k.value || P.value ? "__custom__" : e.block.displayCondition?.label ?? "",
780
- onChange: n[5] ||= (e) => {
917
+ onChange: n[6] ||= (e) => {
781
918
  let t = e.target.value;
782
919
  if (t === "__custom__") {
783
- te();
920
+ F();
784
921
  return;
785
922
  }
786
923
  if (k.value = !1, !t) {
@@ -791,41 +928,41 @@ var Je = [
791
928
  n && v("update", { displayCondition: n });
792
929
  }
793
930
  }, [
794
- x("option", un, w(f(S).blockSettings.noCondition), 1),
795
- (o(!0), g(C, null, r(re.value, (e, t) => (o(), g(C, { key: t }, [t ? (o(), g("optgroup", {
931
+ x("option", yn, w(f(S).blockSettings.noCondition), 1),
932
+ (o(!0), g(C, null, r(ne.value, (e, t) => (o(), g(C, { key: t }, [t ? (o(), g("optgroup", {
796
933
  key: 0,
797
934
  label: String(t)
798
935
  }, [(o(!0), g(C, null, r(e, (e) => (o(), g("option", {
799
936
  key: e.label,
800
937
  value: e.label
801
- }, w(e.label), 9, fn))), 128))], 8, dn)) : (o(!0), g(C, { key: 1 }, r(e, (e) => (o(), g("option", {
938
+ }, w(e.label), 9, xn))), 128))], 8, bn)) : (o(!0), g(C, { key: 1 }, r(e, (e) => (o(), g("option", {
802
939
  key: e.label,
803
940
  value: e.label
804
- }, w(e.label), 9, pn))), 128))], 64))), 128)),
805
- f(D) ? (o(), g("option", mn, w(f(S).blockSettings.customCondition), 1)) : _("", !0)
806
- ], 42, ln), k.value || P.value ? (o(), g("div", hn, [
807
- x("div", null, [x("label", gn, w(f(S).blockSettings.customConditionBefore), 1), u(x("textarea", {
808
- "onUpdate:modelValue": n[6] ||= (e) => A.value = e,
941
+ }, w(e.label), 9, Sn))), 128))], 64))), 128)),
942
+ f(D) ? (o(), g("option", Cn, w(f(S).blockSettings.customCondition), 1)) : _("", !0)
943
+ ], 42, vn), k.value || P.value ? (o(), g("div", wn, [
944
+ x("div", null, [x("label", Tn, w(f(S).blockSettings.customConditionBefore), 1), u(x("textarea", {
945
+ "onUpdate:modelValue": n[7] ||= (e) => A.value = e,
809
946
  rows: "2",
810
- class: m(f(ze))
947
+ class: m(f(Be))
811
948
  }, null, 2), [[b, A.value]])]),
812
- x("div", null, [x("label", _n, w(f(S).blockSettings.customConditionAfter), 1), u(x("textarea", {
813
- "onUpdate:modelValue": n[7] ||= (e) => j.value = e,
949
+ x("div", null, [x("label", En, w(f(S).blockSettings.customConditionAfter), 1), u(x("textarea", {
950
+ "onUpdate:modelValue": n[8] ||= (e) => j.value = e,
814
951
  rows: "2",
815
- class: m(f(ze))
952
+ class: m(f(Be))
816
953
  }, null, 2), [[b, j.value]])]),
817
- x("div", vn, [x("button", {
954
+ x("div", Dn, [x("button", {
818
955
  type: "button",
819
- class: m(f(Ue)),
956
+ class: m(f(We)),
820
957
  disabled: !A.value.trim(),
821
- onClick: ne
822
- }, w(f(S).blockSettings.applyCondition), 11, yn)])
823
- ])) : e.block.displayCondition && !P.value ? (o(), g(C, { key: 1 }, [e.block.displayCondition.description ? (o(), g("p", bn, w(e.block.displayCondition.description), 1)) : _("", !0), x("div", xn, [x("pre", Sn, w(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (o(), g("pre", Cn, w(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)])]),
958
+ onClick: te
959
+ }, w(f(S).blockSettings.applyCondition), 11, On)])
960
+ ])) : e.block.displayCondition && !P.value ? (o(), g(C, { key: 1 }, [e.block.displayCondition.description ? (o(), g("p", kn, w(e.block.displayCondition.description), 1)) : _("", !0), x("div", An, [x("pre", jn, w(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (o(), g("pre", Mn, w(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)])]),
824
961
  _: 1
825
962
  }, 8, ["title", "open"])) : _("", !0)
826
963
  ], 2));
827
964
  }
828
- }), Tn = ["title"], En = /* @__PURE__ */ l({
965
+ }), Pn = ["title"], Fn = /* @__PURE__ */ l({
829
966
  __name: "BooleanField",
830
967
  props: {
831
968
  field: {},
@@ -846,7 +983,7 @@ var Je = [
846
983
  disabled: e.readOnly,
847
984
  "onUpdate:modelValue": a[0] ||= (e) => n("update:modelValue", e)
848
985
  }, {
849
- default: i(() => [E(w(e.field.label) + " ", 1), e.readOnly ? (o(), y(f(Pe), {
986
+ default: i(() => [E(w(e.field.label) + " ", 1), e.readOnly ? (o(), y(f(Ie), {
850
987
  key: 0,
851
988
  size: 12,
852
989
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -857,9 +994,9 @@ var Je = [
857
994
  "label",
858
995
  "required",
859
996
  "disabled"
860
- ])], 8, Tn));
997
+ ])], 8, Pn));
861
998
  }
862
- }), Dn = { class: "tpl:mb-3.5" }, On = ["title"], kn = { class: "tpl-sr-only" }, An = ["title"], jn = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ l({
999
+ }), In = { class: "tpl:mb-3.5" }, Ln = ["title"], Rn = { class: "tpl-sr-only" }, zn = ["title"], Bn = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ l({
863
1000
  __name: "FieldWrapper",
864
1001
  props: {
865
1002
  label: {},
@@ -868,24 +1005,24 @@ var Je = [
868
1005
  },
869
1006
  setup(e) {
870
1007
  let { t } = L();
871
- return (n, r) => (o(), g("div", Dn, [x("label", { class: m(f(V)) }, [
1008
+ return (n, r) => (o(), g("div", In, [x("label", { class: m(f(V)) }, [
872
1009
  E(w(e.label) + " ", 1),
873
1010
  e.readOnly ? (o(), g("span", {
874
1011
  key: 0,
875
1012
  title: f(t).customBlocks.dataSource.readOnlyTooltip
876
- }, [p(f(Pe), {
1013
+ }, [p(f(Ie), {
877
1014
  size: 12,
878
1015
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
879
1016
  "aria-hidden": "true"
880
- }), x("span", kn, w(f(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, On)) : _("", !0),
1017
+ }), x("span", Rn, w(f(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Ln)) : _("", !0),
881
1018
  e.required ? (o(), g("span", {
882
1019
  key: 1,
883
1020
  class: "tpl:text-[var(--tpl-danger)]",
884
1021
  title: f(t).customBlocks.fields.required
885
- }, [r[0] ||= x("span", { "aria-hidden": "true" }, "*", -1), x("span", jn, w(f(t).customBlocks.fields.required), 1)], 8, An)) : _("", !0)
1022
+ }, [r[0] ||= x("span", { "aria-hidden": "true" }, "*", -1), x("span", Bn, w(f(t).customBlocks.fields.required), 1)], 8, zn)) : _("", !0)
886
1023
  ], 2), a(n.$slots, "default")]));
887
1024
  }
888
- }), Mn = /* @__PURE__ */ l({
1025
+ }), Vn = /* @__PURE__ */ l({
889
1026
  __name: "ColorField",
890
1027
  props: {
891
1028
  field: {},
@@ -894,7 +1031,7 @@ var Je = [
894
1031
  },
895
1032
  emits: ["update:modelValue"],
896
1033
  setup(e, { emit: t }) {
897
- let r = e, a = t, { t: s } = L(), c = n(fe, _e), l = h(() => ne(r.field, c));
1034
+ let r = e, a = t, { t: s } = L(), c = n(he, be), l = h(() => se(r.field, c));
898
1035
  return (t, n) => (o(), y(Q, {
899
1036
  label: e.field.label,
900
1037
  required: e.field.required,
@@ -923,15 +1060,11 @@ var Je = [
923
1060
  "read-only"
924
1061
  ]));
925
1062
  }
926
- }), Nn = {
927
- key: 0,
928
- class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
929
- style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
930
- }, Pn = [
1063
+ }), Hn = [
931
1064
  "value",
932
1065
  "placeholder",
933
1066
  "title"
934
- ], Fn = ["value", "placeholder"], In = /* @__PURE__ */ l({
1067
+ ], Un = ["value", "placeholder"], Wn = /* @__PURE__ */ l({
935
1068
  __name: "ImageField",
936
1069
  props: {
937
1070
  field: {},
@@ -940,31 +1073,10 @@ var Je = [
940
1073
  },
941
1074
  emits: ["update:modelValue"],
942
1075
  setup(e, { emit: t }) {
943
- let r = e, a = t, { t: c } = L(), l = n(le, null), u = n(de, null), d = Re(), v = h(() => !!l);
944
- async function b() {
945
- let e = await l?.({ accept: ["images"] });
946
- d.alive && e && a("update:modelValue", e.url);
947
- }
948
- let S = s(), T = s(!1), D = h(() => (u?.value ?? !!l) && !T.value && !r.readOnly);
949
- async function O(e) {
950
- if (l) {
951
- T.value = !0;
952
- try {
953
- let t = await l({
954
- accept: ["images"],
955
- files: e
956
- });
957
- if (!d.alive) return;
958
- t && a("update:modelValue", t.url);
959
- } finally {
960
- d.alive && (T.value = !1);
961
- }
962
- }
963
- }
964
- let { isOver: k } = ie({
965
- target: S,
966
- enabled: D,
967
- onFiles: O
1076
+ let n = e, r = t, { t: a } = L(), c = s(), { canBrowse: l, isUploading: u, showOverlay: d, openMediaBrowser: h } = oe({
1077
+ target: c,
1078
+ blocked: () => !!n.readOnly,
1079
+ apply: (e) => r("update:modelValue", e.url)
968
1080
  });
969
1081
  return (t, n) => (o(), y(Q, {
970
1082
  label: e.field.label,
@@ -973,17 +1085,13 @@ var Je = [
973
1085
  }, {
974
1086
  default: i(() => [x("div", {
975
1087
  ref_key: "dropZoneRef",
976
- ref: S,
1088
+ ref: c,
977
1089
  class: "tpl:relative"
978
1090
  }, [
979
- D.value && (f(k) || T.value) ? (o(), g("div", Nn, [T.value ? (o(), g(C, { key: 0 }, [p(f(Ce), {
980
- class: "tpl-spinner",
981
- size: 18,
982
- "stroke-width": 2
983
- }), E(" " + w(f(c).image.uploading), 1)], 64)) : (o(), g(C, { key: 1 }, [p(f(Fe), {
984
- size: 18,
985
- "stroke-width": 1.5
986
- }), E(" " + w(f(c).image.dropToUpload), 1)], 64))])) : _("", !0),
1091
+ f(d) ? (o(), y(I, {
1092
+ key: 0,
1093
+ uploading: f(u)
1094
+ }, null, 8, ["uploading"])) : _("", !0),
987
1095
  e.readOnly ? (o(), g("input", {
988
1096
  key: 1,
989
1097
  type: "url",
@@ -991,23 +1099,23 @@ var Je = [
991
1099
  value: e.modelValue,
992
1100
  placeholder: e.field.placeholder || "https://...",
993
1101
  disabled: "",
994
- title: f(c).customBlocks.dataSource.readOnlyTooltip
995
- }, null, 10, Pn)) : (o(), g("input", {
1102
+ title: f(a).customBlocks.dataSource.readOnlyTooltip
1103
+ }, null, 10, Hn)) : (o(), g("input", {
996
1104
  key: 2,
997
1105
  type: "url",
998
1106
  class: m(f(W)),
999
1107
  value: e.modelValue,
1000
1108
  placeholder: e.field.placeholder || "https://...",
1001
- onInput: n[0] ||= (e) => a("update:modelValue", e.target.value)
1002
- }, null, 42, Fn)),
1003
- v.value && !e.readOnly ? (o(), g("button", {
1109
+ onInput: n[0] ||= (e) => r("update:modelValue", e.target.value)
1110
+ }, null, 42, Un)),
1111
+ f(l) && !e.readOnly ? (o(), g("button", {
1004
1112
  key: 3,
1005
1113
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
1006
- onClick: n[1] ||= (e) => b()
1007
- }, [p(f(Ne), {
1114
+ onClick: n[1] ||= (e) => f(h)()
1115
+ }, [p(f(Fe), {
1008
1116
  size: 14,
1009
1117
  "stroke-width": 1.5
1010
- }), E(" " + w(f(c).image.browseMedia), 1)])) : _("", !0)
1118
+ }), E(" " + w(f(a).image.browseMedia), 1)])) : _("", !0)
1011
1119
  ], 512)]),
1012
1120
  _: 1
1013
1121
  }, 8, [
@@ -1016,7 +1124,7 @@ var Je = [
1016
1124
  "read-only"
1017
1125
  ]));
1018
1126
  }
1019
- }), Ln = [
1127
+ }), Gn = [
1020
1128
  "value",
1021
1129
  "placeholder",
1022
1130
  "min",
@@ -1024,7 +1132,7 @@ var Je = [
1024
1132
  "step",
1025
1133
  "disabled",
1026
1134
  "title"
1027
- ], Rn = /* @__PURE__ */ l({
1135
+ ], Kn = /* @__PURE__ */ l({
1028
1136
  __name: "NumberField",
1029
1137
  props: {
1030
1138
  field: {},
@@ -1050,7 +1158,7 @@ var Je = [
1050
1158
  disabled: e.readOnly,
1051
1159
  title: e.readOnly ? f(r).customBlocks.dataSource.readOnlyTooltip : void 0,
1052
1160
  onInput: a[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
1053
- }, null, 42, Ln)]),
1161
+ }, null, 42, Gn)]),
1054
1162
  _: 1
1055
1163
  }, 8, [
1056
1164
  "label",
@@ -1058,13 +1166,13 @@ var Je = [
1058
1166
  "read-only"
1059
1167
  ]));
1060
1168
  }
1061
- }), zn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Bn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Vn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Hn = ["title", "onClick"], Un = {
1169
+ }), qn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Jn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Yn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Xn = ["title", "onClick"], Zn = {
1062
1170
  key: 1,
1063
1171
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1064
- }, Wn = {
1172
+ }, Qn = {
1065
1173
  key: 2,
1066
1174
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1067
- }, Gn = /* @__PURE__ */ l({
1175
+ }, $n = /* @__PURE__ */ l({
1068
1176
  __name: "RepeatableField",
1069
1177
  props: {
1070
1178
  field: {},
@@ -1097,20 +1205,20 @@ var Je = [
1097
1205
  required: e.field.required,
1098
1206
  "read-only": e.readOnly
1099
1207
  }, {
1100
- default: i(() => [x("div", zn, [
1208
+ default: i(() => [x("div", qn, [
1101
1209
  (o(!0), g(C, null, r(u.value, (t, n) => (o(), g("div", {
1102
1210
  key: `${e.field.key}-${n}`,
1103
1211
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
1104
- }, [x("div", Bn, [x("span", Vn, " #" + w(n + 1), 1), v.value && !e.readOnly ? (o(), g("button", {
1212
+ }, [x("div", Jn, [x("span", Yn, " #" + w(n + 1), 1), v.value && !e.readOnly ? (o(), g("button", {
1105
1213
  key: 0,
1106
1214
  type: "button",
1107
1215
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
1108
1216
  title: f(s).customBlocks.fields.removeItem,
1109
1217
  onClick: (e) => S(n)
1110
- }, [p(f(Ee), {
1218
+ }, [p(f(ke), {
1111
1219
  size: 12,
1112
1220
  "stroke-width": 2
1113
- })], 8, Hn)) : _("", !0)]), (o(!0), g(C, null, r(e.field.fields, (r) => (o(), y(c(f(er)(r.type)), {
1221
+ })], 8, Xn)) : _("", !0)]), (o(!0), g(C, null, r(e.field.fields, (r) => (o(), y(c(f(cr)(r.type)), {
1114
1222
  key: r.key,
1115
1223
  field: r,
1116
1224
  "model-value": t[r.key],
@@ -1125,14 +1233,14 @@ var Je = [
1125
1233
  d.value && !e.readOnly ? (o(), g("button", {
1126
1234
  key: 0,
1127
1235
  type: "button",
1128
- class: m(f(Ve)),
1236
+ class: m(f(He)),
1129
1237
  onClick: b
1130
1238
  }, [p(f(R), {
1131
1239
  size: 14,
1132
1240
  "stroke-width": 2
1133
1241
  }), E(" " + w(f(s).customBlocks.fields.addItem), 1)], 2)) : _("", !0),
1134
- !d.value && !e.readOnly ? (o(), g("p", Un, w(f(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
1135
- !v.value && !e.readOnly ? (o(), g("p", Wn, w(f(l)(f(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
1242
+ !d.value && !e.readOnly ? (o(), g("p", Zn, w(f(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
1243
+ !v.value && !e.readOnly ? (o(), g("p", Qn, w(f(l)(f(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
1136
1244
  ])]),
1137
1245
  _: 1
1138
1246
  }, 8, [
@@ -1141,11 +1249,11 @@ var Je = [
1141
1249
  "read-only"
1142
1250
  ]));
1143
1251
  }
1144
- }), Kn = [
1252
+ }), er = [
1145
1253
  "value",
1146
1254
  "disabled",
1147
1255
  "title"
1148
- ], qn = ["value"], Jn = /* @__PURE__ */ l({
1256
+ ], tr = ["value"], nr = /* @__PURE__ */ l({
1149
1257
  __name: "SelectField",
1150
1258
  props: {
1151
1259
  field: {},
@@ -1169,7 +1277,7 @@ var Je = [
1169
1277
  }, [(o(!0), g(C, null, r(e.field.options, (e) => (o(), g("option", {
1170
1278
  key: e.value,
1171
1279
  value: e.value
1172
- }, w(e.label), 9, qn))), 128))], 42, Kn)]),
1280
+ }, w(e.label), 9, tr))), 128))], 42, er)]),
1173
1281
  _: 1
1174
1282
  }, 8, [
1175
1283
  "label",
@@ -1177,11 +1285,11 @@ var Je = [
1177
1285
  "read-only"
1178
1286
  ]));
1179
1287
  }
1180
- }), Yn = [
1288
+ }), rr = [
1181
1289
  "value",
1182
1290
  "placeholder",
1183
1291
  "title"
1184
- ], Xn = /* @__PURE__ */ l({
1292
+ ], ir = /* @__PURE__ */ l({
1185
1293
  __name: "TextField",
1186
1294
  props: {
1187
1295
  field: {},
@@ -1204,7 +1312,7 @@ var Je = [
1204
1312
  placeholder: e.field.placeholder,
1205
1313
  disabled: "",
1206
1314
  title: f(r).customBlocks.dataSource.readOnlyTooltip
1207
- }, null, 10, Yn)) : (o(), y(q, {
1315
+ }, null, 10, rr)) : (o(), y(q, {
1208
1316
  key: 1,
1209
1317
  "model-value": e.modelValue,
1210
1318
  placeholder: e.field.placeholder,
@@ -1217,12 +1325,12 @@ var Je = [
1217
1325
  "read-only"
1218
1326
  ]));
1219
1327
  }
1220
- }), Zn = [
1328
+ }), ar = [
1221
1329
  "value",
1222
1330
  "placeholder",
1223
1331
  "title"
1224
- ], Qn = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", $n = {
1225
- text: Xn,
1332
+ ], or = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", sr = {
1333
+ text: ir,
1226
1334
  textarea: /* @__PURE__ */ l({
1227
1335
  __name: "TextareaField",
1228
1336
  props: {
@@ -1245,8 +1353,8 @@ var Je = [
1245
1353
  rows: "3",
1246
1354
  disabled: "",
1247
1355
  title: f(r).customBlocks.dataSource.readOnlyTooltip,
1248
- class: m(Qn)
1249
- }, null, 8, Zn)) : (o(), y(Ge, {
1356
+ class: m(or)
1357
+ }, null, 8, ar)) : (o(), y(Ke, {
1250
1358
  key: 1,
1251
1359
  "model-value": e.modelValue,
1252
1360
  placeholder: e.field.placeholder,
@@ -1260,42 +1368,42 @@ var Je = [
1260
1368
  ]));
1261
1369
  }
1262
1370
  }),
1263
- image: In,
1264
- color: Mn,
1265
- number: Rn,
1266
- select: Jn,
1267
- boolean: En,
1268
- repeatable: Gn
1371
+ image: Wn,
1372
+ color: Vn,
1373
+ number: Kn,
1374
+ select: nr,
1375
+ boolean: Fn,
1376
+ repeatable: $n
1269
1377
  };
1270
- function er(e) {
1271
- return $n[e] ?? Xn;
1378
+ function cr(e) {
1379
+ return sr[e] ?? ir;
1272
1380
  }
1273
1381
  //#endregion
1274
1382
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
1275
- var tr = {
1383
+ var lr = {
1276
1384
  key: 0,
1277
1385
  class: "tpl:p-4"
1278
- }, nr = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, rr = { key: 1 }, ir = {
1386
+ }, ur = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, dr = { key: 1 }, fr = {
1279
1387
  key: 0,
1280
1388
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1281
- }, ar = {
1389
+ }, pr = {
1282
1390
  key: 1,
1283
1391
  class: "tpl:mb-4"
1284
- }, or = {
1392
+ }, mr = {
1285
1393
  key: 1,
1286
1394
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
1287
- }, sr = {
1395
+ }, hr = {
1288
1396
  key: 0,
1289
1397
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1290
- }, cr = {
1398
+ }, gr = {
1291
1399
  key: 2,
1292
1400
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
1293
- }, lr = /* @__PURE__ */ l({
1401
+ }, _r = /* @__PURE__ */ l({
1294
1402
  __name: "CustomBlockToolbar",
1295
1403
  props: { block: {} },
1296
1404
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1297
1405
  setup(e, { emit: t }) {
1298
- let i = e, a = t, { t: s } = L(), l = n(he, []), u = h(() => l.find((e) => e.type === i.block.customType)), d = h(() => i.block), { isFetching: m, fetchError: v, fetch: b, hasDataSource: S, needsFetch: T } = re({
1406
+ let i = e, a = t, { t: s } = L(), l = n(ve, []), u = h(() => l.find((e) => e.type === i.block.customType)), d = h(() => i.block), { isFetching: m, fetchError: v, fetch: b, hasDataSource: S, needsFetch: T } = ae({
1299
1407
  definition: u,
1300
1408
  block: d,
1301
1409
  onUpdate: (e, t) => {
@@ -1311,23 +1419,23 @@ var tr = {
1311
1419
  [e]: t
1312
1420
  });
1313
1421
  }
1314
- return (t, n) => u.value ? (o(), g("div", rr, [
1315
- u.value.description ? (o(), g("p", ir, w(u.value.description), 1)) : _("", !0),
1316
- f(S) ? (o(), g("div", ar, [f(T) && !f(m) ? (o(), g("button", {
1422
+ return (t, n) => u.value ? (o(), g("div", dr, [
1423
+ u.value.description ? (o(), g("p", fr, w(u.value.description), 1)) : _("", !0),
1424
+ f(S) ? (o(), g("div", pr, [f(T) && !f(m) ? (o(), g("button", {
1317
1425
  key: 0,
1318
1426
  type: "button",
1319
1427
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-md tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-on-primary)] tpl:transition-all tpl:bg-[var(--tpl-primary)]",
1320
1428
  onClick: n[0] ||= (...e) => f(b) && f(b)(...e)
1321
- }, w(u.value?.dataSource?.label || f(s).customBlocks.dataSource.fetchButton), 1)) : (o(), g("div", or, [f(m) ? (o(), g("div", sr, w(f(s).customBlocks.dataSource.fetching), 1)) : (o(), g("button", {
1429
+ }, w(u.value?.dataSource?.label || f(s).customBlocks.dataSource.fetchButton), 1)) : (o(), g("div", mr, [f(m) ? (o(), g("div", hr, w(f(s).customBlocks.dataSource.fetching), 1)) : (o(), g("button", {
1322
1430
  key: 1,
1323
1431
  type: "button",
1324
1432
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
1325
1433
  onClick: n[1] ||= (...e) => f(b) && f(b)(...e)
1326
- }, [p(f(ve), { size: 12 }), E(" " + w(f(s).customBlocks.dataSource.changeButton), 1)]))])), f(v) ? (o(), g("p", cr, [p(f(xe), {
1434
+ }, [p(f(xe), { size: 12 }), E(" " + w(f(s).customBlocks.dataSource.changeButton), 1)]))])), f(v) ? (o(), g("p", gr, [p(f(we), {
1327
1435
  size: 14,
1328
1436
  class: "tpl:shrink-0"
1329
1437
  }), E(" " + w(f(s).customBlocks.dataSource.fetchError), 1)])) : _("", !0)])) : _("", !0),
1330
- (o(!0), g(C, null, r(u.value.fields, (t) => (o(), y(c(f(er)(t.type)), {
1438
+ (o(!0), g(C, null, r(u.value.fields, (t) => (o(), y(c(f(cr)(t.type)), {
1331
1439
  key: t.key,
1332
1440
  field: t,
1333
1441
  "model-value": e.block.fieldValues[t.key],
@@ -1339,9 +1447,9 @@ var tr = {
1339
1447
  "read-only",
1340
1448
  "onUpdate:modelValue"
1341
1449
  ]))), 128))
1342
- ])) : (o(), g("div", tr, [x("p", nr, w(f(s).customBlocks.toolbar.noDefinition), 1)]));
1450
+ ])) : (o(), g("div", lr, [x("p", ur, w(f(s).customBlocks.toolbar.noDefinition), 1)]));
1343
1451
  }
1344
- }), ur = { class: "tpl:mb-3.5" }, dr = { class: "tpl:mb-3.5" }, fr = { class: "tpl:mb-3.5" }, pr = { class: "tpl:flex tpl:items-stretch" }, mr = ["value"], hr = /* @__PURE__ */ l({
1452
+ }), vr = { class: "tpl:mb-3.5" }, yr = { class: "tpl:mb-3.5" }, br = { class: "tpl:mb-3.5" }, xr = { class: "tpl:flex tpl:items-stretch" }, Sr = ["value"], Cr = /* @__PURE__ */ l({
1345
1453
  __name: "DividerToolbar",
1346
1454
  props: { block: {} },
1347
1455
  emits: ["update"],
@@ -1351,7 +1459,7 @@ var tr = {
1351
1459
  n("update", { [e]: t });
1352
1460
  }
1353
1461
  return (t, n) => (o(), g(C, null, [
1354
- x("div", ur, [x("label", { class: m(f(V)) }, w(f(r).divider.style), 3), p(J, {
1462
+ x("div", vr, [x("label", { class: m(f(V)) }, w(f(r).divider.style), 3), p(J, {
1355
1463
  options: [
1356
1464
  {
1357
1465
  value: "solid",
@@ -1369,147 +1477,122 @@ var tr = {
1369
1477
  "model-value": e.block.lineStyle,
1370
1478
  "onUpdate:modelValue": n[0] ||= (e) => i("lineStyle", e)
1371
1479
  }, null, 8, ["options", "model-value"])]),
1372
- x("div", dr, [x("label", { class: m(f(V)) }, w(f(r).divider.color), 3), p(G, {
1480
+ x("div", yr, [x("label", { class: m(f(V)) }, w(f(r).divider.color), 3), p(G, {
1373
1481
  "model-value": e.block.color,
1374
1482
  "onUpdate:modelValue": n[1] ||= (e) => i("color", e)
1375
1483
  }, null, 8, ["model-value"])]),
1376
- x("div", fr, [x("label", { class: m(f(V)) }, w(f(r).divider.thickness), 3), x("div", pr, [x("input", {
1484
+ x("div", br, [x("label", { class: m(f(V)) }, w(f(r).divider.thickness), 3), x("div", xr, [x("input", {
1377
1485
  type: "number",
1378
1486
  class: m(f(U)),
1379
1487
  value: e.block.thickness,
1380
1488
  min: "1",
1381
1489
  max: "10",
1382
1490
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
1383
- }, null, 42, mr), x("span", { class: m(f(H)) }, "px", 2)])])
1491
+ }, null, 42, Sr), x("span", { class: m(f(H)) }, "px", 2)])])
1384
1492
  ], 64));
1385
1493
  }
1386
- }), gr = { class: "tpl:mb-3.5" }, _r = ["value"], vr = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, yr = /* @__PURE__ */ l({
1494
+ }), wr = { class: "tpl:mb-3.5" }, Tr = ["value"], Er = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Dr = /* @__PURE__ */ l({
1387
1495
  __name: "HtmlToolbar",
1388
1496
  props: { block: {} },
1389
1497
  emits: ["update"],
1390
1498
  setup(e, { emit: t }) {
1391
1499
  let n = t, { t: r } = L();
1392
- return (t, i) => (o(), g("div", gr, [
1500
+ return (t, i) => (o(), g("div", wr, [
1393
1501
  x("label", { class: m(f(V)) }, w(f(r).html.content), 3),
1394
1502
  x("textarea", {
1395
1503
  value: e.block.content,
1396
1504
  placeholder: "<div>...</div>",
1397
1505
  rows: "10",
1398
- class: m(f(ze)),
1506
+ class: m(f(Be)),
1399
1507
  onInput: i[0] ||= (e) => n("update", { content: e.target.value })
1400
- }, null, 42, _r),
1401
- x("p", vr, [p(f(De), {
1508
+ }, null, 42, Tr),
1509
+ x("p", Er, [p(f(Ae), {
1402
1510
  size: 12,
1403
1511
  class: "tpl:mt-0.5 tpl:shrink-0"
1404
1512
  }), E(" " + w(f(r).html.sanitizationHint), 1)])
1405
1513
  ]));
1406
1514
  }
1407
- }), br = { class: "tpl:mb-3.5" }, xr = {
1408
- key: 0,
1409
- class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
1410
- style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1411
- }, Sr = {
1515
+ }), Or = { class: "tpl:mb-3.5" }, kr = {
1412
1516
  key: 0,
1413
1517
  class: "tpl:mb-3.5"
1414
- }, Cr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, wr = [
1518
+ }, Ar = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, jr = [
1415
1519
  "value",
1416
1520
  "placeholder",
1417
1521
  "title"
1418
- ], Tr = { class: "tpl:mb-3.5" }, Er = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Dr = { class: "tpl:mb-3.5" }, Or = ["value"], kr = { value: "full" }, Ar = { value: "custom" }, jr = {
1522
+ ], Mr = { class: "tpl:mb-3.5" }, Nr = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Pr = { class: "tpl:mb-3.5" }, Fr = ["value"], Ir = { value: "full" }, Lr = { value: "custom" }, Rr = {
1419
1523
  key: 0,
1420
1524
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1421
- }, Mr = ["value"], Nr = { class: "tpl:mb-3.5" }, Pr = ["value"], Fr = { value: "auto" }, Ir = { value: "custom" }, Lr = {
1525
+ }, zr = ["value"], Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = { value: "auto" }, Ur = { value: "custom" }, Wr = {
1422
1526
  key: 0,
1423
1527
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1424
- }, Rr = ["value"], zr = { class: "tpl:mb-3.5" }, Br = { class: "tpl:mb-3.5" }, Vr = 350, Hr = 200, Ur = /* @__PURE__ */ l({
1528
+ }, Gr = ["value"], Kr = { class: "tpl:mb-3.5" }, qr = { class: "tpl:mb-3.5" }, Jr = 350, Yr = 200, Xr = /* @__PURE__ */ l({
1425
1529
  __name: "ImageToolbar",
1426
1530
  props: { block: {} },
1427
1531
  emits: ["update"],
1428
1532
  setup(e, { emit: t }) {
1429
- let r = e, a = t, { t: c } = L(), l = n(le, null), u = n(de, null), d = n(ue, P.liquid), v = Re(), b = h(() => !!l), S = s(!1), T = s(!1), { start: D } = oe(() => {
1430
- S.value = !1;
1431
- }, 1e3, { immediate: !1 }), O = [
1533
+ let r = e, a = t, { t: c } = L(), l = n(me, ne.liquid), u = s(!1), d = s(!1), { start: v } = le(() => {
1534
+ u.value = !1, d.value = !1;
1535
+ }, 1e3, { immediate: !1 }), b = [
1432
1536
  300,
1433
1537
  400,
1434
1538
  500
1435
- ], A = h(() => {
1539
+ ], S = h(() => {
1436
1540
  let e = r.block.width;
1437
- return e === "full" ? "full" : O.includes(e) ? String(e) : "custom";
1438
- }), j = h(() => typeof r.block.height == "number" ? "custom" : "auto");
1439
- function M(e, t) {
1541
+ return e === "full" ? "full" : b.includes(e) ? String(e) : "custom";
1542
+ }), T = h(() => typeof r.block.height == "number" ? "custom" : "auto");
1543
+ function D(e, t) {
1440
1544
  a("update", { [e]: t });
1441
1545
  }
1442
- function N(e) {
1546
+ function O(e) {
1443
1547
  if (e === "custom") {
1444
1548
  let e = r.block.width;
1445
- (typeof e != "number" || O.includes(e)) && M("width", Vr);
1446
- } else M("width", e === "full" ? "full" : Number(e));
1549
+ (typeof e != "number" || b.includes(e)) && D("width", Jr);
1550
+ } else D("width", e === "full" ? "full" : Number(e));
1447
1551
  }
1448
- function te(e) {
1449
- M("height", e === "custom" ? Hr : void 0);
1552
+ function k(e) {
1553
+ D("height", e === "custom" ? Yr : void 0);
1450
1554
  }
1451
- function ne(e) {
1555
+ function A(e) {
1452
1556
  let t = Number(e);
1453
- !Number.isFinite(t) || t <= 0 || M("height", t);
1557
+ !Number.isFinite(t) || t <= 0 || D("height", t);
1454
1558
  }
1455
- function re(e) {
1456
- M("borderRadius", k(e) === null ? void 0 : e);
1559
+ function M(e) {
1560
+ D("borderRadius", j(e) === null ? void 0 : e);
1457
1561
  }
1458
- function F(e) {
1562
+ function N(e) {
1459
1563
  let t = Number(e);
1460
- !Number.isFinite(t) || t <= 0 || M("width", t);
1461
- }
1462
- async function ae() {
1463
- let e = await l?.({ accept: ["images"] });
1464
- v.alive && e && (M("src", e.url), e.alt && (M("alt", e.alt), T.value = !0), S.value = !0, D());
1465
- }
1466
- let se = s(), I = s(!1), ce = h(() => ee(r.block.src, d)), fe = h(() => (u?.value ?? !!l) && !I.value && !ce.value);
1467
- async function pe(e) {
1468
- if (l) {
1469
- I.value = !0;
1470
- try {
1471
- let t = await l({
1472
- accept: ["images"],
1473
- files: e
1474
- });
1475
- if (!v.alive) return;
1476
- t && (M("src", t.url), t.alt && (M("alt", t.alt), T.value = !0), S.value = !0, D());
1477
- } finally {
1478
- v.alive && (I.value = !1);
1479
- }
1480
- }
1564
+ !Number.isFinite(t) || t <= 0 || D("width", t);
1481
1565
  }
1482
- let { isOver: me } = ie({
1483
- target: se,
1484
- enabled: fe,
1485
- onFiles: pe
1566
+ function ee(e) {
1567
+ D("src", e.url), e.alt && (D("alt", e.alt), d.value = !0), u.value = !0, v();
1568
+ }
1569
+ let F = s(), te = h(() => P(r.block.src, l)), { canBrowse: re, isUploading: ie, showOverlay: ae, openMediaBrowser: se } = oe({
1570
+ target: F,
1571
+ blocked: te,
1572
+ apply: ee
1486
1573
  });
1487
1574
  return (t, n) => (o(), g(C, null, [
1488
- x("div", br, [x("label", { class: m(f(V)) }, w(f(c).image.imageUrl), 3), x("div", {
1575
+ x("div", Or, [x("label", { class: m(f(V)) }, w(f(c).image.imageUrl), 3), x("div", {
1489
1576
  ref_key: "dropZoneRef",
1490
- ref: se,
1577
+ ref: F,
1491
1578
  class: "tpl:relative"
1492
1579
  }, [
1493
- fe.value && (f(me) || I.value) ? (o(), g("div", xr, [I.value ? (o(), g(C, { key: 0 }, [p(f(Ce), {
1494
- class: "tpl-spinner",
1495
- size: 18,
1496
- "stroke-width": 2
1497
- }), E(" " + w(f(c).image.uploading), 1)], 64)) : (o(), g(C, { key: 1 }, [p(f(Fe), {
1498
- size: 18,
1499
- "stroke-width": 1.5
1500
- }), E(" " + w(f(c).image.dropToUpload), 1)], 64))])) : _("", !0),
1580
+ f(ae) ? (o(), y(I, {
1581
+ key: 0,
1582
+ uploading: f(ie)
1583
+ }, null, 8, ["uploading"])) : _("", !0),
1501
1584
  p(q, {
1502
1585
  "model-value": e.block.src,
1503
1586
  type: "url",
1504
1587
  placeholder: f(c).image.imageUrlPlaceholder,
1505
- pulse: S.value,
1506
- "onUpdate:modelValue": n[0] ||= (e) => M("src", e)
1588
+ pulse: u.value,
1589
+ "onUpdate:modelValue": n[0] ||= (e) => D("src", e)
1507
1590
  }, null, 8, [
1508
1591
  "model-value",
1509
1592
  "placeholder",
1510
1593
  "pulse"
1511
1594
  ]),
1512
- b.value ? (o(), g("button", {
1595
+ f(re) ? (o(), g("button", {
1513
1596
  key: 1,
1514
1597
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all",
1515
1598
  style: {
@@ -1517,29 +1600,29 @@ var tr = {
1517
1600
  color: "var(--tpl-primary)",
1518
1601
  "background-color": "var(--tpl-bg)"
1519
1602
  },
1520
- onClick: ae
1521
- }, [p(f(Ne), {
1603
+ onClick: n[1] ||= (...e) => f(se) && f(se)(...e)
1604
+ }, [p(f(Fe), {
1522
1605
  size: 14,
1523
1606
  "stroke-width": 1.5
1524
1607
  }), E(" " + w(f(c).image.browseMedia), 1)])) : _("", !0)
1525
1608
  ], 512)]),
1526
- f(ee)(e.block.src, f(d)) ? (o(), g("div", Sr, [x("label", { class: m(f(V)) }, [E(w(f(c).image.placeholderUrl) + " ", 1), x("span", Cr, w(f(c).image.optional), 1)], 2), x("input", {
1609
+ f(P)(e.block.src, f(l)) ? (o(), g("div", kr, [x("label", { class: m(f(V)) }, [E(w(f(c).image.placeholderUrl) + " ", 1), x("span", Ar, w(f(c).image.optional), 1)], 2), x("input", {
1527
1610
  type: "url",
1528
1611
  class: m(f(W)),
1529
1612
  value: e.block.placeholderUrl || "",
1530
1613
  placeholder: f(c).image.placeholderUrlPlaceholder,
1531
1614
  title: f(c).image.placeholderUrlTooltip,
1532
- onInput: n[1] ||= (e) => M("placeholderUrl", e.target.value)
1533
- }, null, 42, wr)])) : _("", !0),
1534
- x("div", Tr, [
1615
+ onInput: n[2] ||= (e) => D("placeholderUrl", e.target.value)
1616
+ }, null, 42, jr)])) : _("", !0),
1617
+ x("div", Mr, [
1535
1618
  x("label", { class: m(f(V)) }, w(f(c).image.altText), 3),
1536
1619
  p(q, {
1537
1620
  "model-value": e.block.alt,
1538
1621
  type: "text",
1539
1622
  placeholder: f(c).image.altTextPlaceholder,
1540
- pulse: T.value,
1623
+ pulse: d.value,
1541
1624
  disabled: e.block.decorative === !0,
1542
- "onUpdate:modelValue": n[2] ||= (e) => M("alt", e)
1625
+ "onUpdate:modelValue": n[3] ||= (e) => D("alt", e)
1543
1626
  }, null, 8, [
1544
1627
  "model-value",
1545
1628
  "placeholder",
@@ -1550,62 +1633,62 @@ var tr = {
1550
1633
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
1551
1634
  "model-value": e.block.decorative === !0,
1552
1635
  label: f(c).image.decorative,
1553
- "onUpdate:modelValue": n[3] ||= (e) => M("decorative", e)
1636
+ "onUpdate:modelValue": n[4] ||= (e) => D("decorative", e)
1554
1637
  }, {
1555
- default: i(() => [x("span", null, [E(w(f(c).image.decorative) + " ", 1), x("span", Er, w(f(c).image.decorativeHint), 1)])]),
1638
+ default: i(() => [x("span", null, [E(w(f(c).image.decorative) + " ", 1), x("span", Nr, w(f(c).image.decorativeHint), 1)])]),
1556
1639
  _: 1
1557
1640
  }, 8, ["model-value", "label"])
1558
1641
  ]),
1559
- x("div", Dr, [
1642
+ x("div", Pr, [
1560
1643
  x("label", { class: m(f(V)) }, w(f(c).image.width), 3),
1561
1644
  x("select", {
1562
1645
  class: m(f(W)),
1563
- value: A.value,
1564
- onChange: n[4] ||= (e) => N(e.target.value)
1646
+ value: S.value,
1647
+ onChange: n[5] ||= (e) => O(e.target.value)
1565
1648
  }, [
1566
- x("option", kr, w(f(c).image.fullWidth), 1),
1567
- n[12] ||= x("option", { value: "300" }, "300px", -1),
1568
- n[13] ||= x("option", { value: "400" }, "400px", -1),
1569
- n[14] ||= x("option", { value: "500" }, "500px", -1),
1570
- x("option", Ar, w(f(c).image.widthCustom), 1)
1571
- ], 42, Or),
1572
- A.value === "custom" ? (o(), g("div", jr, [x("input", {
1649
+ x("option", Ir, w(f(c).image.fullWidth), 1),
1650
+ n[13] ||= x("option", { value: "300" }, "300px", -1),
1651
+ n[14] ||= x("option", { value: "400" }, "400px", -1),
1652
+ n[15] ||= x("option", { value: "500" }, "500px", -1),
1653
+ x("option", Lr, w(f(c).image.widthCustom), 1)
1654
+ ], 42, Fr),
1655
+ S.value === "custom" ? (o(), g("div", Rr, [x("input", {
1573
1656
  type: "number",
1574
1657
  class: m(f(U)),
1575
- value: typeof e.block.width == "number" ? e.block.width : Vr,
1658
+ value: typeof e.block.width == "number" ? e.block.width : Jr,
1576
1659
  min: "20",
1577
- onInput: n[5] ||= (e) => F(e.target.value)
1578
- }, null, 42, Mr), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
1660
+ onInput: n[6] ||= (e) => N(e.target.value)
1661
+ }, null, 42, zr), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
1579
1662
  ]),
1580
- x("div", Nr, [
1663
+ x("div", Br, [
1581
1664
  x("label", { class: m(f(V)) }, w(f(c).image.height), 3),
1582
1665
  x("select", {
1583
1666
  class: m(f(W)),
1584
1667
  "data-testid": "image-height-mode",
1585
- value: j.value,
1586
- onChange: n[6] ||= (e) => te(e.target.value)
1587
- }, [x("option", Fr, w(f(c).image.heightAuto), 1), x("option", Ir, w(f(c).image.heightCustom), 1)], 42, Pr),
1588
- j.value === "custom" ? (o(), g("div", Lr, [x("input", {
1668
+ value: T.value,
1669
+ onChange: n[7] ||= (e) => k(e.target.value)
1670
+ }, [x("option", Hr, w(f(c).image.heightAuto), 1), x("option", Ur, w(f(c).image.heightCustom), 1)], 42, Vr),
1671
+ T.value === "custom" ? (o(), g("div", Wr, [x("input", {
1589
1672
  type: "number",
1590
1673
  "data-testid": "image-height-input",
1591
1674
  class: m(f(U)),
1592
1675
  value: e.block.height,
1593
1676
  min: "20",
1594
- onInput: n[7] ||= (e) => ne(e.target.value)
1595
- }, null, 42, Rr), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
1677
+ onInput: n[8] ||= (e) => A(e.target.value)
1678
+ }, null, 42, Gr), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
1596
1679
  ]),
1597
- p(ft, {
1680
+ p(pt, {
1598
1681
  "model-value": e.block.borderRadius,
1599
1682
  label: f(c).image.borderRadius,
1600
1683
  "testid-prefix": "image",
1601
- "onUpdate:modelValue": re
1684
+ "onUpdate:modelValue": M
1602
1685
  }, null, 8, ["model-value", "label"]),
1603
- p(ot, {
1686
+ p(st, {
1604
1687
  "model-value": e.block.border,
1605
1688
  "testid-prefix": "image",
1606
- "onUpdate:modelValue": n[8] ||= (e) => M("border", e)
1689
+ "onUpdate:modelValue": n[9] ||= (e) => D("border", e)
1607
1690
  }, null, 8, ["model-value"]),
1608
- x("div", zr, [x("label", { class: m(f(V)) }, w(f(c).title.align), 3), p(J, {
1691
+ x("div", Kr, [x("label", { class: m(f(V)) }, w(f(c).title.align), 3), p(J, {
1609
1692
  options: [
1610
1693
  {
1611
1694
  value: "left",
@@ -1621,40 +1704,40 @@ var tr = {
1621
1704
  }
1622
1705
  ],
1623
1706
  "model-value": e.block.align,
1624
- "onUpdate:modelValue": n[9] ||= (e) => M("align", e)
1707
+ "onUpdate:modelValue": n[10] ||= (e) => D("align", e)
1625
1708
  }, null, 8, ["options", "model-value"])]),
1626
- x("div", Br, [
1709
+ x("div", qr, [
1627
1710
  x("label", { class: m(f(V)) }, w(f(c).image.linkUrl), 3),
1628
1711
  p(q, {
1629
1712
  "model-value": e.block.linkUrl || "",
1630
1713
  type: "url",
1631
1714
  placeholder: f(c).image.imageUrlPlaceholder,
1632
- "onUpdate:modelValue": n[10] ||= (e) => M("linkUrl", e)
1715
+ "onUpdate:modelValue": n[11] ||= (e) => D("linkUrl", e)
1633
1716
  }, null, 8, ["model-value", "placeholder"]),
1634
1717
  e.block.linkUrl ? (o(), y(K, {
1635
1718
  key: 0,
1636
1719
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
1637
1720
  "model-value": e.block.linkOpenInNewTab ?? !1,
1638
1721
  label: f(c).image.openInNewTab,
1639
- "onUpdate:modelValue": n[11] ||= (e) => M("linkOpenInNewTab", e)
1722
+ "onUpdate:modelValue": n[12] ||= (e) => D("linkOpenInNewTab", e)
1640
1723
  }, null, 8, ["model-value", "label"])) : _("", !0)
1641
1724
  ])
1642
1725
  ], 64));
1643
1726
  }
1644
- }), Wr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ l({
1727
+ }), Zr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ l({
1645
1728
  __name: "FieldRow",
1646
1729
  props: { label: {} },
1647
1730
  setup(e) {
1648
- return (t, n) => (o(), g("div", Wr, [e.label ? (o(), g("label", {
1731
+ return (t, n) => (o(), g("div", Zr, [e.label ? (o(), g("label", {
1649
1732
  key: 0,
1650
1733
  class: m(f(V))
1651
1734
  }, w(e.label), 3)) : _("", !0), a(t.$slots, "default")]));
1652
1735
  }
1653
- }), Gr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Kr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, qr = [
1736
+ }), Qr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, $r = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ei = [
1654
1737
  "value",
1655
1738
  "placeholder",
1656
1739
  "onInput"
1657
- ], Jr = ["title", "onClick"], Yr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Xr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Zr = ["value"], Qr = { value: "" }, $r = ["value"], ei = ["value"], ti = /* @__PURE__ */ l({
1740
+ ], ti = ["title", "onClick"], ni = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ri = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ii = ["value"], ai = { value: "" }, oi = ["value"], si = ["value"], ci = /* @__PURE__ */ l({
1658
1741
  __name: "MenuToolbar",
1659
1742
  props: {
1660
1743
  block: {},
@@ -1679,17 +1762,17 @@ var tr = {
1679
1762
  {
1680
1763
  value: "left",
1681
1764
  label: s.title.alignLeft,
1682
- icon: Oe
1765
+ icon: z
1683
1766
  },
1684
1767
  {
1685
1768
  value: "center",
1686
1769
  label: s.title.alignCenter,
1687
- icon: Ie
1770
+ icon: Le
1688
1771
  },
1689
1772
  {
1690
1773
  value: "right",
1691
1774
  label: s.title.alignRight,
1692
- icon: z
1775
+ icon: Ee
1693
1776
  }
1694
1777
  ]);
1695
1778
  function u(e, t) {
@@ -1718,24 +1801,24 @@ var tr = {
1718
1801
  }
1719
1802
  return (t, n) => (o(), g(C, null, [
1720
1803
  p($, { label: f(s).menu.items }, {
1721
- default: i(() => [x("div", Gr, [(o(!0), g(C, null, r(e.block.items, (t) => (o(), g("div", {
1804
+ default: i(() => [x("div", Qr, [(o(!0), g(C, null, r(e.block.items, (t) => (o(), g("div", {
1722
1805
  key: t.id,
1723
1806
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
1724
1807
  }, [
1725
- x("div", Kr, [x("input", {
1808
+ x("div", $r, [x("input", {
1726
1809
  type: "text",
1727
1810
  class: m([f(W), "tpl:flex-1"]),
1728
1811
  value: t.text,
1729
1812
  placeholder: f(s).menu.text,
1730
1813
  onInput: (e) => _(t.id, "text", e.target.value)
1731
- }, null, 42, qr), x("button", {
1732
- class: m(f(Be)),
1814
+ }, null, 42, ei), x("button", {
1815
+ class: m(f(Ve)),
1733
1816
  title: f(s).menu.removeItem,
1734
1817
  onClick: (e) => v(t.id)
1735
- }, [p(f(Me), {
1818
+ }, [p(f(Pe), {
1736
1819
  size: 14,
1737
1820
  "stroke-width": 2
1738
- })], 10, Jr)]),
1821
+ })], 10, ti)]),
1739
1822
  p(q, {
1740
1823
  "model-value": t.url,
1741
1824
  type: "url",
@@ -1746,7 +1829,7 @@ var tr = {
1746
1829
  "placeholder",
1747
1830
  "onUpdate:modelValue"
1748
1831
  ]),
1749
- x("div", Yr, [(o(!0), g(C, null, r(c.value, (e) => (o(), y(K, {
1832
+ x("div", ni, [(o(!0), g(C, null, r(c.value, (e) => (o(), y(K, {
1750
1833
  key: e.key,
1751
1834
  "model-value": t[e.key],
1752
1835
  label: e.label,
@@ -1756,13 +1839,13 @@ var tr = {
1756
1839
  "label",
1757
1840
  "onUpdate:modelValue"
1758
1841
  ]))), 128))]),
1759
- x("div", Xr, [x("label", { class: m([f(V), "tpl:!mb-0"]) }, w(f(s).menu.color), 3), p(G, {
1842
+ x("div", ri, [x("label", { class: m([f(V), "tpl:!mb-0"]) }, w(f(s).menu.color), 3), p(G, {
1760
1843
  "swatch-only": "",
1761
1844
  "model-value": t.color || e.block.linkColor || e.block.color || "",
1762
1845
  "onUpdate:modelValue": (e) => _(t.id, "color", e)
1763
1846
  }, null, 8, ["model-value", "onUpdate:modelValue"])])
1764
1847
  ]))), 128)), x("button", {
1765
- class: m(f(Ve)),
1848
+ class: m(f(He)),
1766
1849
  onClick: d
1767
1850
  }, [p(f(R), {
1768
1851
  size: 14,
@@ -1773,12 +1856,12 @@ var tr = {
1773
1856
  p($, { label: f(s).menu.fontFamily }, {
1774
1857
  default: i(() => [x("select", {
1775
1858
  class: m(f(W)),
1776
- value: f(qe)(e.block.fontFamily),
1859
+ value: f(Je)(e.block.fontFamily),
1777
1860
  onChange: n[0] ||= (e) => u("fontFamily", e.target.value || void 0)
1778
- }, [x("option", Qr, w(f(s).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
1861
+ }, [x("option", ai, w(f(s).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
1779
1862
  key: e.value,
1780
1863
  value: e.value
1781
- }, w(e.label), 9, $r))), 128))], 42, Zr)]),
1864
+ }, w(e.label), 9, oi))), 128))], 42, ii)]),
1782
1865
  _: 1
1783
1866
  }, 8, ["label"]),
1784
1867
  p($, { label: f(s).menu.fontSize }, {
@@ -1819,7 +1902,7 @@ var tr = {
1819
1902
  class: m(f(W)),
1820
1903
  value: e.block.separator,
1821
1904
  onInput: n[5] ||= (e) => u("separator", e.target.value)
1822
- }, null, 42, ei)]),
1905
+ }, null, 42, si)]),
1823
1906
  _: 1
1824
1907
  }, 8, ["label"]),
1825
1908
  p($, { label: f(s).menu.separatorColor }, {
@@ -1841,32 +1924,32 @@ var tr = {
1841
1924
  }, 8, ["label"])
1842
1925
  ], 64));
1843
1926
  }
1844
- }), ni = {
1927
+ }), li = {
1845
1928
  class: "tpl:mb-3.5",
1846
1929
  "data-testid": "paragraph-spacing"
1847
- }, ri = { class: "tpl:flex tpl:items-stretch" }, ii = ["value"], ai = /* @__PURE__ */ l({
1930
+ }, ui = { class: "tpl:flex tpl:items-stretch" }, di = ["value"], fi = /* @__PURE__ */ l({
1848
1931
  __name: "ParagraphToolbar",
1849
1932
  props: { block: {} },
1850
1933
  emits: ["update"],
1851
1934
  setup(e, { emit: t }) {
1852
1935
  let n = t, { t: r } = L();
1853
- return (t, i) => (o(), g("div", ni, [x("label", { class: m(f(V)) }, w(f(r).paragraph.paragraphSpacing), 3), x("div", ri, [x("input", {
1936
+ return (t, i) => (o(), g("div", li, [x("label", { class: m(f(V)) }, w(f(r).paragraph.paragraphSpacing), 3), x("div", ui, [x("input", {
1854
1937
  type: "number",
1855
1938
  class: m(f(U)),
1856
- value: e.block.paragraphSpacing ?? f(te).paragraphGap,
1939
+ value: e.block.paragraphSpacing ?? f(F).paragraphGap,
1857
1940
  min: "0",
1858
1941
  max: "64",
1859
1942
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
1860
- }, null, 42, ii), x("span", { class: m(f(H)) }, "px", 2)])]));
1943
+ }, null, 42, di), x("span", { class: m(f(H)) }, "px", 2)])]));
1861
1944
  }
1862
1945
  });
1863
1946
  //#endregion
1864
1947
  //#region src/utils/rebalanceColumnChildren.ts
1865
- function oi(e) {
1948
+ function pi(e) {
1866
1949
  return e === "1" ? 1 : e === "3" ? 3 : 2;
1867
1950
  }
1868
- function si(e, t) {
1869
- let n = oi(t);
1951
+ function mi(e, t) {
1952
+ let n = pi(t);
1870
1953
  if (e.length === n) return e;
1871
1954
  if (e.length < n) {
1872
1955
  let t = Array.from({ length: n - e.length }, () => []);
@@ -1877,24 +1960,24 @@ function si(e, t) {
1877
1960
  }
1878
1961
  //#endregion
1879
1962
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
1880
- var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
1963
+ var hi = { class: "tpl:mb-3.5" }, gi = ["value"], _i = ["value"], vi = {
1881
1964
  key: 0,
1882
1965
  class: "tpl:mb-3.5"
1883
- }, fi = {
1966
+ }, yi = {
1884
1967
  key: 1,
1885
1968
  class: "tpl:mb-3.5"
1886
- }, pi = {
1969
+ }, bi = {
1887
1970
  key: 0,
1888
1971
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1889
- }, mi = {
1972
+ }, xi = {
1890
1973
  key: 1,
1891
1974
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
1892
- }, hi = /* @__PURE__ */ l({
1975
+ }, Si = /* @__PURE__ */ l({
1893
1976
  __name: "SectionToolbar",
1894
1977
  props: { block: {} },
1895
1978
  emits: ["update"],
1896
1979
  setup(e, { emit: t }) {
1897
- let i = e, a = t, { t: s } = L(), c = n(I, void 0), l = n(ce, void 0), u = c !== void 0 && D(c), d = h(() => l !== !1 || !!i.block.wrapper), v = h(() => u && !i.block.wrapper), y = h(() => u && d.value), b = h(() => [
1980
+ let i = e, a = t, { t: s } = L(), c = n(de, void 0), l = n(fe, void 0), u = c !== void 0 && M(c), d = h(() => l !== !1 || !!i.block.wrapper), v = h(() => u && !i.block.wrapper), y = h(() => u && d.value), b = h(() => [
1898
1981
  {
1899
1982
  value: "1",
1900
1983
  label: s.section.column1
@@ -1917,7 +2000,7 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
1917
2000
  }
1918
2001
  ]);
1919
2002
  function S(e) {
1920
- let t = e.target.value, n = si(i.block.children, t);
2003
+ let t = e.target.value, n = mi(i.block.children, t);
1921
2004
  a("update", {
1922
2005
  columns: t,
1923
2006
  children: n
@@ -1929,7 +2012,7 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
1929
2012
  function E(e) {
1930
2013
  a("update", { borderRadius: e });
1931
2014
  }
1932
- function O(e) {
2015
+ function D(e) {
1933
2016
  a("update", { wrapper: e ? { padding: {
1934
2017
  top: 20,
1935
2018
  right: 20,
@@ -1937,64 +2020,69 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
1937
2020
  left: 20
1938
2021
  } } : void 0 });
1939
2022
  }
1940
- function k(e) {
2023
+ function O(e) {
1941
2024
  a("update", { wrapper: {
1942
2025
  ...i.block.wrapper,
1943
2026
  ...e
1944
2027
  } });
1945
2028
  }
1946
- function A(e) {
1947
- k({ padding: e });
2029
+ function k(e) {
2030
+ O({ padding: e });
1948
2031
  }
1949
- function j(e) {
1950
- k({ borderRadius: e });
2032
+ function A(e) {
2033
+ O({ borderRadius: e });
1951
2034
  }
1952
2035
  return (t, n) => (o(), g(C, null, [
1953
- x("div", ci, [x("label", { class: m(f(V)) }, w(f(s).section.columns), 3), x("select", {
2036
+ x("div", hi, [x("label", { class: m(f(V)) }, w(f(s).section.columns), 3), x("select", {
1954
2037
  class: m(f(W)),
1955
2038
  value: e.block.columns,
1956
2039
  onChange: S
1957
2040
  }, [(o(!0), g(C, null, r(b.value, (e) => (o(), g("option", {
1958
2041
  key: e.value,
1959
2042
  value: e.value
1960
- }, w(e.label), 9, ui))), 128))], 42, li)]),
1961
- e.block.columns === "1" ? _("", !0) : (o(), g("div", di, [p(K, {
2043
+ }, w(e.label), 9, _i))), 128))], 42, gi)]),
2044
+ e.block.columns === "1" ? _("", !0) : (o(), g("div", vi, [p(K, {
1962
2045
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1963
2046
  "model-value": e.block.stackOnMobile !== !1,
1964
2047
  label: f(s).section.stackOnMobile,
1965
2048
  "onUpdate:modelValue": n[0] ||= (e) => T(e)
1966
2049
  }, null, 8, ["model-value", "label"])])),
1967
- p(ft, {
2050
+ p(pt, {
1968
2051
  "model-value": e.block.borderRadius,
1969
2052
  label: f(s).section.borderRadius,
1970
2053
  max: 50,
1971
2054
  "testid-prefix": "section",
1972
2055
  "onUpdate:modelValue": E
1973
2056
  }, null, 8, ["model-value", "label"]),
1974
- p(ot, {
2057
+ p(st, {
1975
2058
  "model-value": e.block.border,
1976
2059
  "testid-prefix": "section",
1977
2060
  "onUpdate:modelValue": n[1] ||= (e) => a("update", { border: e })
1978
2061
  }, null, 8, ["model-value"]),
1979
- d.value ? (o(), g("div", fi, [
2062
+ d.value ? (o(), g("div", yi, [
1980
2063
  p(K, {
1981
2064
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1982
2065
  "model-value": !!e.block.wrapper,
1983
2066
  label: f(s).section.wrapperEnable,
1984
2067
  disabled: v.value,
1985
- "onUpdate:modelValue": n[2] ||= (e) => O(e)
2068
+ "onUpdate:modelValue": n[2] ||= (e) => D(e)
1986
2069
  }, null, 8, [
1987
2070
  "model-value",
1988
2071
  "label",
1989
2072
  "disabled"
1990
2073
  ]),
1991
- y.value ? (o(), g("p", pi, w(f(s).section.wrapperLayoutConflict), 1)) : _("", !0),
1992
- e.block.wrapper ? (o(), g("div", mi, [
2074
+ y.value ? (o(), g("p", bi, w(f(s).section.wrapperLayoutConflict), 1)) : _("", !0),
2075
+ e.block.wrapper ? (o(), g("div", xi, [
1993
2076
  x("div", null, [x("label", { class: m(f(V)) }, w(f(s).blockSettings.color), 3), p(G, {
1994
2077
  "model-value": e.block.wrapper.backgroundColor ?? "",
1995
2078
  "allow-transparent": "",
1996
- "onUpdate:modelValue": n[3] ||= (e) => k({ backgroundColor: e })
2079
+ "onUpdate:modelValue": n[3] ||= (e) => O({ backgroundColor: e })
1997
2080
  }, null, 8, ["model-value"])]),
2081
+ p(dn, {
2082
+ "model-value": e.block.wrapper.backgroundImage,
2083
+ "testid-prefix": "section-wrapper",
2084
+ "onUpdate:modelValue": n[4] ||= (e) => O({ backgroundImage: e })
2085
+ }, null, 8, ["model-value"]),
1998
2086
  p(nn, {
1999
2087
  label: f(s).blockSettings.padding,
2000
2088
  "model-value": e.block.wrapper.padding ?? {
@@ -2003,20 +2091,20 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2003
2091
  bottom: 0,
2004
2092
  left: 0
2005
2093
  },
2006
- "onUpdate:modelValue": A
2094
+ "onUpdate:modelValue": k
2007
2095
  }, null, 8, ["label", "model-value"]),
2008
- p(ft, {
2096
+ p(pt, {
2009
2097
  "model-value": e.block.wrapper.borderRadius,
2010
2098
  label: f(s).section.borderRadius,
2011
2099
  max: 50,
2012
2100
  "testid-prefix": "section-wrapper",
2013
- "onUpdate:modelValue": j
2101
+ "onUpdate:modelValue": A
2014
2102
  }, null, 8, ["model-value", "label"])
2015
2103
  ])) : _("", !0)
2016
2104
  ])) : _("", !0)
2017
2105
  ], 64));
2018
2106
  }
2019
- }), gi = { class: "tpl:mb-3.5" }, _i = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, vi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, yi = ["value", "onChange"], bi = ["value"], xi = ["title", "onClick"], Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = { value: "solid" }, Ti = { value: "outlined" }, Ei = { value: "rounded" }, Di = { value: "square" }, Oi = { value: "circle" }, ki = { value: "plain" }, Ai = { class: "tpl:mb-3.5" }, ji = ["value"], Mi = { value: "brand" }, Ni = { value: "dark" }, Pi = { value: "light" }, Fi = { class: "tpl:mb-3.5" }, Ii = { class: "tpl:mb-3.5" }, Li = { class: "tpl:flex tpl:items-stretch" }, Ri = ["value"], zi = { class: "tpl:mb-3.5" }, Bi = /* @__PURE__ */ l({
2107
+ }), Ci = { class: "tpl:mb-3.5" }, wi = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ti = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ei = ["value", "onChange"], Di = ["value"], Oi = ["title", "onClick"], ki = { class: "tpl:mb-3.5" }, Ai = ["value"], ji = { value: "solid" }, Mi = { value: "outlined" }, Ni = { value: "rounded" }, Pi = { value: "square" }, Fi = { value: "circle" }, Ii = { value: "plain" }, Li = { class: "tpl:mb-3.5" }, Ri = ["value"], zi = { value: "brand" }, Bi = { value: "dark" }, Vi = { value: "light" }, Hi = { class: "tpl:mb-3.5" }, Ui = { class: "tpl:mb-3.5" }, Wi = { class: "tpl:flex tpl:items-stretch" }, Gi = ["value"], Ki = { class: "tpl:mb-3.5" }, qi = /* @__PURE__ */ l({
2020
2108
  __name: "SocialToolbar",
2021
2109
  props: { block: {} },
2022
2110
  emits: ["update"],
@@ -2044,25 +2132,25 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2044
2132
  i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2045
2133
  }
2046
2134
  return (t, n) => (o(), g(C, null, [
2047
- x("div", gi, [x("label", { class: m(f(V)) }, w(f(a).social.icons), 3), x("div", _i, [(o(!0), g(C, null, r(e.block.icons, (e) => (o(), g("div", {
2135
+ x("div", Ci, [x("label", { class: m(f(V)) }, w(f(a).social.icons), 3), x("div", wi, [(o(!0), g(C, null, r(e.block.icons, (e) => (o(), g("div", {
2048
2136
  key: e.id,
2049
2137
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2050
- }, [x("div", vi, [x("select", {
2138
+ }, [x("div", Ti, [x("select", {
2051
2139
  "data-testid": "social-platform-select",
2052
2140
  class: m([f(W), "tpl:flex-1"]),
2053
2141
  value: e.platform,
2054
2142
  onChange: (t) => l(e.id, "platform", t.target.value)
2055
- }, [(o(!0), g(C, null, r(f(F), (e) => (o(), g("option", {
2143
+ }, [(o(!0), g(C, null, r(f(ce), (e) => (o(), g("option", {
2056
2144
  key: e,
2057
2145
  value: e
2058
- }, w(f(a).social.platforms[e]), 9, bi))), 128))], 42, yi), x("button", {
2059
- class: m(f(Be)),
2146
+ }, w(f(a).social.platforms[e]), 9, Di))), 128))], 42, Ei), x("button", {
2147
+ class: m(f(Ve)),
2060
2148
  title: f(a).social.removeIcon,
2061
2149
  onClick: (t) => u(e.id)
2062
- }, [p(f(Me), {
2150
+ }, [p(f(Pe), {
2063
2151
  size: 14,
2064
2152
  "stroke-width": 2
2065
- })], 10, xi)]), p(q, {
2153
+ })], 10, Oi)]), p(q, {
2066
2154
  "model-value": e.url,
2067
2155
  type: "url",
2068
2156
  placeholder: f(a).social.urlPlaceholder,
@@ -2072,35 +2160,35 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2072
2160
  "placeholder",
2073
2161
  "onUpdate:modelValue"
2074
2162
  ])]))), 128)), x("button", {
2075
- class: m(f(Ve)),
2163
+ class: m(f(He)),
2076
2164
  onClick: c
2077
2165
  }, [p(f(R), {
2078
2166
  size: 14,
2079
2167
  "stroke-width": 2
2080
2168
  }), E(" " + w(f(a).social.addIcon), 1)], 2)])]),
2081
- x("div", Si, [x("label", { class: m(f(V)) }, w(f(a).social.style), 3), x("select", {
2169
+ x("div", ki, [x("label", { class: m(f(V)) }, w(f(a).social.style), 3), x("select", {
2082
2170
  class: m(f(W)),
2083
2171
  value: e.block.iconStyle,
2084
2172
  onChange: n[0] ||= (e) => s("iconStyle", e.target.value)
2085
2173
  }, [
2086
- x("option", wi, w(f(a).social.styleSolid), 1),
2087
- x("option", Ti, w(f(a).social.styleOutlined), 1),
2088
- x("option", Ei, w(f(a).social.styleRounded), 1),
2089
- x("option", Di, w(f(a).social.styleSquare), 1),
2090
- x("option", Oi, w(f(a).social.styleCircle), 1),
2091
- x("option", ki, w(f(a).social.stylePlain), 1)
2092
- ], 42, Ci)]),
2093
- x("div", Ai, [x("label", { class: m(f(V)) }, w(f(a).social.color), 3), x("select", {
2174
+ x("option", ji, w(f(a).social.styleSolid), 1),
2175
+ x("option", Mi, w(f(a).social.styleOutlined), 1),
2176
+ x("option", Ni, w(f(a).social.styleRounded), 1),
2177
+ x("option", Pi, w(f(a).social.styleSquare), 1),
2178
+ x("option", Fi, w(f(a).social.styleCircle), 1),
2179
+ x("option", Ii, w(f(a).social.stylePlain), 1)
2180
+ ], 42, Ai)]),
2181
+ x("div", Li, [x("label", { class: m(f(V)) }, w(f(a).social.color), 3), x("select", {
2094
2182
  "data-testid": "social-tone-select",
2095
2183
  class: m(f(W)),
2096
2184
  value: e.block.iconTone ?? "brand",
2097
2185
  onChange: n[1] ||= (e) => s("iconTone", e.target.value)
2098
2186
  }, [
2099
- x("option", Mi, w(f(a).social.colorBrand), 1),
2100
- x("option", Ni, w(f(a).social.colorDark), 1),
2101
- x("option", Pi, w(f(a).social.colorLight), 1)
2102
- ], 42, ji)]),
2103
- x("div", Fi, [x("label", { class: m(f(V)) }, w(f(a).social.size), 3), p(J, {
2187
+ x("option", zi, w(f(a).social.colorBrand), 1),
2188
+ x("option", Bi, w(f(a).social.colorDark), 1),
2189
+ x("option", Vi, w(f(a).social.colorLight), 1)
2190
+ ], 42, Ri)]),
2191
+ x("div", Hi, [x("label", { class: m(f(V)) }, w(f(a).social.size), 3), p(J, {
2104
2192
  options: [
2105
2193
  {
2106
2194
  value: "small",
@@ -2118,30 +2206,30 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2118
2206
  "model-value": e.block.iconSize,
2119
2207
  "onUpdate:modelValue": n[2] ||= (e) => s("iconSize", e)
2120
2208
  }, null, 8, ["options", "model-value"])]),
2121
- x("div", Ii, [x("label", { class: m(f(V)) }, w(f(a).social.spacing), 3), x("div", Li, [x("input", {
2209
+ x("div", Ui, [x("label", { class: m(f(V)) }, w(f(a).social.spacing), 3), x("div", Wi, [x("input", {
2122
2210
  type: "number",
2123
2211
  class: m(f(U)),
2124
2212
  value: e.block.spacing,
2125
2213
  min: "0",
2126
2214
  max: "50",
2127
2215
  onInput: n[3] ||= (e) => s("spacing", Number(e.target.value))
2128
- }, null, 42, Ri), x("span", { class: m(f(H)) }, "px", 2)])]),
2129
- x("div", zi, [x("label", { class: m(f(V)) }, w(f(a).social.align), 3), p(J, {
2216
+ }, null, 42, Gi), x("span", { class: m(f(H)) }, "px", 2)])]),
2217
+ x("div", Ki, [x("label", { class: m(f(V)) }, w(f(a).social.align), 3), p(J, {
2130
2218
  options: [
2131
2219
  {
2132
2220
  value: "left",
2133
2221
  label: f(a).title.alignLeft,
2134
- icon: f(Oe)
2222
+ icon: f(z)
2135
2223
  },
2136
2224
  {
2137
2225
  value: "center",
2138
2226
  label: f(a).title.alignCenter,
2139
- icon: f(Ie)
2227
+ icon: f(Le)
2140
2228
  },
2141
2229
  {
2142
2230
  value: "right",
2143
2231
  label: f(a).title.alignRight,
2144
- icon: f(z)
2232
+ icon: f(Ee)
2145
2233
  }
2146
2234
  ],
2147
2235
  "model-value": e.block.align,
@@ -2149,22 +2237,22 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2149
2237
  }, null, 8, ["options", "model-value"])])
2150
2238
  ], 64));
2151
2239
  }
2152
- }), Vi = { class: "tpl:mb-3.5" }, Hi = { class: "tpl:flex tpl:items-stretch" }, Ui = ["value"], Wi = ["value"], Gi = /* @__PURE__ */ l({
2240
+ }), Ji = { class: "tpl:mb-3.5" }, Yi = { class: "tpl:flex tpl:items-stretch" }, Xi = ["value"], Zi = ["value"], Qi = /* @__PURE__ */ l({
2153
2241
  __name: "SpacerToolbar",
2154
2242
  props: { block: {} },
2155
2243
  emits: ["update"],
2156
2244
  setup(e, { emit: t }) {
2157
2245
  let n = t, { t: r } = L();
2158
- return (t, i) => (o(), g("div", Vi, [
2246
+ return (t, i) => (o(), g("div", Ji, [
2159
2247
  x("label", { class: m(f(V)) }, w(f(r).spacer.height), 3),
2160
- x("div", Hi, [x("input", {
2248
+ x("div", Yi, [x("input", {
2161
2249
  type: "number",
2162
2250
  class: m(f(U)),
2163
2251
  value: e.block.height,
2164
2252
  min: "10",
2165
2253
  max: "100",
2166
2254
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
2167
- }, null, 42, Ui), x("span", { class: m(f(H)) }, "px", 2)]),
2255
+ }, null, 42, Xi), x("span", { class: m(f(H)) }, "px", 2)]),
2168
2256
  x("input", {
2169
2257
  type: "range",
2170
2258
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -2172,13 +2260,13 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2172
2260
  min: "10",
2173
2261
  max: "100",
2174
2262
  onInput: i[1] ||= (e) => n("update", { height: Number(e.target.value) })
2175
- }, null, 40, Wi)
2263
+ }, null, 40, Zi)
2176
2264
  ]));
2177
2265
  }
2178
- }), Ki = { class: "tpl:mb-3.5" }, qi = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ji = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Yi = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Xi = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Zi = ["disabled"], Qi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, $i = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ea = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ta = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, na = ["disabled"], ra = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ia = { class: "tpl:mb-3.5" }, aa = {
2266
+ }), $i = { class: "tpl:mb-3.5" }, ea = { class: "tpl:flex tpl:items-center tpl:gap-3" }, ta = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, na = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ra = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ia = ["disabled"], aa = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, oa = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, sa = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ca = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, la = ["disabled"], ua = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, da = { class: "tpl:mb-3.5" }, fa = {
2179
2267
  key: 0,
2180
2268
  class: "tpl:mb-3.5"
2181
- }, oa = { class: "tpl:mb-3.5" }, sa = { class: "tpl:mb-3.5" }, ca = { class: "tpl:flex tpl:items-stretch" }, la = ["value"], ua = { class: "tpl:mb-3.5" }, da = { class: "tpl:flex tpl:items-stretch" }, fa = ["value"], pa = { class: "tpl:mb-3.5" }, ma = ["value"], ha = { value: "" }, ga = ["value"], _a = { class: "tpl:mb-3.5" }, va = { class: "tpl:flex tpl:items-stretch" }, ya = ["value"], ba = { class: "tpl:mb-3.5" }, xa = { class: "tpl:mb-3.5" }, Sa = /* @__PURE__ */ l({
2269
+ }, pa = { class: "tpl:mb-3.5" }, ma = { class: "tpl:mb-3.5" }, ha = { class: "tpl:flex tpl:items-stretch" }, ga = ["value"], _a = { class: "tpl:mb-3.5" }, va = { class: "tpl:flex tpl:items-stretch" }, ya = ["value"], ba = { class: "tpl:mb-3.5" }, xa = ["value"], Sa = { value: "" }, Ca = ["value"], wa = { class: "tpl:mb-3.5" }, Ta = { class: "tpl:flex tpl:items-stretch" }, Ea = ["value"], Da = { class: "tpl:mb-3.5" }, Oa = { class: "tpl:mb-3.5" }, ka = /* @__PURE__ */ l({
2182
2270
  __name: "TableToolbar",
2183
2271
  props: {
2184
2272
  block: {},
@@ -2221,7 +2309,7 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2221
2309
  i("update", { rows: t });
2222
2310
  }
2223
2311
  return (t, n) => (o(), g(C, null, [
2224
- x("div", Ki, [x("label", { class: m(f(V)) }, w(f(a).table.dimensions), 3), x("div", qi, [x("div", Ji, [x("span", Yi, w(f(a).table.rows), 1), x("div", Xi, [
2312
+ x("div", $i, [x("label", { class: m(f(V)) }, w(f(a).table.dimensions), 3), x("div", ea, [x("div", ta, [x("span", na, w(f(a).table.rows), 1), x("div", ra, [
2225
2313
  x("button", {
2226
2314
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
2227
2315
  disabled: e.block.rows.length <= 1,
@@ -2229,8 +2317,8 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2229
2317
  }, [p(f(B), {
2230
2318
  size: 12,
2231
2319
  "stroke-width": 2
2232
- })], 8, Zi),
2233
- x("span", Qi, w(e.block.rows.length), 1),
2320
+ })], 8, ia),
2321
+ x("span", aa, w(e.block.rows.length), 1),
2234
2322
  x("button", {
2235
2323
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
2236
2324
  onClick: l
@@ -2238,7 +2326,7 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2238
2326
  size: 12,
2239
2327
  "stroke-width": 2
2240
2328
  })])
2241
- ])]), x("div", $i, [x("span", ea, w(f(a).table.columns), 1), x("div", ta, [
2329
+ ])]), x("div", oa, [x("span", sa, w(f(a).table.columns), 1), x("div", ca, [
2242
2330
  x("button", {
2243
2331
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
2244
2332
  disabled: s.value <= 1,
@@ -2246,8 +2334,8 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2246
2334
  }, [p(f(B), {
2247
2335
  size: 12,
2248
2336
  "stroke-width": 2
2249
- })], 8, na),
2250
- x("span", ra, w(s.value), 1),
2337
+ })], 8, la),
2338
+ x("span", ua, w(s.value), 1),
2251
2339
  x("button", {
2252
2340
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
2253
2341
  onClick: d
@@ -2256,15 +2344,15 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2256
2344
  "stroke-width": 2
2257
2345
  })])
2258
2346
  ])])])]),
2259
- x("div", ia, [p(K, {
2347
+ x("div", da, [p(K, {
2260
2348
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
2261
2349
  "model-value": e.block.hasHeaderRow,
2262
2350
  label: f(a).table.hasHeaderRow,
2263
2351
  "onUpdate:modelValue": n[2] ||= (e) => c("hasHeaderRow", e)
2264
2352
  }, null, 8, ["model-value", "label"])]),
2265
- e.block.hasHeaderRow ? (o(), g("div", aa, [x("label", { class: m(f(V)) }, w(f(a).table.headerBackgroundColor), 3), p(G, {
2353
+ e.block.hasHeaderRow ? (o(), g("div", fa, [x("label", { class: m(f(V)) }, w(f(a).table.headerBackgroundColor), 3), p(G, {
2266
2354
  "model-value": e.block.headerBackgroundColor ?? "",
2267
- "seed-color": f(He),
2355
+ "seed-color": f(Ue),
2268
2356
  placeholder: f(a).table.noHeaderBg,
2269
2357
  "onUpdate:modelValue": n[3] ||= (e) => c("headerBackgroundColor", e || null)
2270
2358
  }, null, 8, [
@@ -2272,62 +2360,62 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2272
2360
  "seed-color",
2273
2361
  "placeholder"
2274
2362
  ])])) : _("", !0),
2275
- x("div", oa, [x("label", { class: m(f(V)) }, w(f(a).table.borderColor), 3), p(G, {
2363
+ x("div", pa, [x("label", { class: m(f(V)) }, w(f(a).table.borderColor), 3), p(G, {
2276
2364
  "model-value": e.block.borderColor,
2277
2365
  "onUpdate:modelValue": n[4] ||= (e) => c("borderColor", e)
2278
2366
  }, null, 8, ["model-value"])]),
2279
- x("div", sa, [x("label", { class: m(f(V)) }, w(f(a).table.borderWidth), 3), x("div", ca, [x("input", {
2367
+ x("div", ma, [x("label", { class: m(f(V)) }, w(f(a).table.borderWidth), 3), x("div", ha, [x("input", {
2280
2368
  type: "number",
2281
2369
  class: m(f(U)),
2282
2370
  value: e.block.borderWidth,
2283
2371
  min: "0",
2284
2372
  max: "10",
2285
2373
  onInput: n[5] ||= (e) => c("borderWidth", Number(e.target.value))
2286
- }, null, 42, la), x("span", { class: m(f(H)) }, "px", 2)])]),
2287
- x("div", ua, [x("label", { class: m(f(V)) }, w(f(a).table.cellPadding), 3), x("div", da, [x("input", {
2374
+ }, null, 42, ga), x("span", { class: m(f(H)) }, "px", 2)])]),
2375
+ x("div", _a, [x("label", { class: m(f(V)) }, w(f(a).table.cellPadding), 3), x("div", va, [x("input", {
2288
2376
  type: "number",
2289
2377
  class: m(f(U)),
2290
2378
  value: e.block.cellPadding,
2291
2379
  min: "0",
2292
2380
  max: "30",
2293
2381
  onInput: n[6] ||= (e) => c("cellPadding", Number(e.target.value))
2294
- }, null, 42, fa), x("span", { class: m(f(H)) }, "px", 2)])]),
2295
- x("div", pa, [x("label", { class: m(f(V)) }, w(f(a).table.fontFamily), 3), x("select", {
2382
+ }, null, 42, ya), x("span", { class: m(f(H)) }, "px", 2)])]),
2383
+ x("div", ba, [x("label", { class: m(f(V)) }, w(f(a).table.fontFamily), 3), x("select", {
2296
2384
  class: m(f(W)),
2297
- value: f(qe)(e.block.fontFamily),
2385
+ value: f(Je)(e.block.fontFamily),
2298
2386
  onChange: n[7] ||= (e) => c("fontFamily", e.target.value || void 0)
2299
- }, [x("option", ha, w(f(a).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2387
+ }, [x("option", Sa, w(f(a).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2300
2388
  key: e.value,
2301
2389
  value: e.value
2302
- }, w(e.label), 9, ga))), 128))], 42, ma)]),
2303
- x("div", _a, [x("label", { class: m(f(V)) }, w(f(a).table.fontSize), 3), x("div", va, [x("input", {
2390
+ }, w(e.label), 9, Ca))), 128))], 42, xa)]),
2391
+ x("div", wa, [x("label", { class: m(f(V)) }, w(f(a).table.fontSize), 3), x("div", Ta, [x("input", {
2304
2392
  type: "number",
2305
2393
  class: m(f(U)),
2306
2394
  value: e.block.fontSize,
2307
2395
  min: "10",
2308
2396
  max: "32",
2309
2397
  onInput: n[8] ||= (e) => c("fontSize", Number(e.target.value))
2310
- }, null, 42, ya), x("span", { class: m(f(H)) }, "px", 2)])]),
2311
- x("div", ba, [x("label", { class: m(f(V)) }, w(f(a).table.color), 3), p(G, {
2398
+ }, null, 42, Ea), x("span", { class: m(f(H)) }, "px", 2)])]),
2399
+ x("div", Da, [x("label", { class: m(f(V)) }, w(f(a).table.color), 3), p(G, {
2312
2400
  "model-value": e.block.color ?? "",
2313
2401
  "onUpdate:modelValue": n[9] ||= (e) => c("color", e || void 0)
2314
2402
  }, null, 8, ["model-value"])]),
2315
- x("div", xa, [x("label", { class: m(f(V)) }, w(f(a).table.textAlign), 3), p(J, {
2403
+ x("div", Oa, [x("label", { class: m(f(V)) }, w(f(a).table.textAlign), 3), p(J, {
2316
2404
  options: [
2317
2405
  {
2318
2406
  value: "left",
2319
2407
  label: f(a).title.alignLeft,
2320
- icon: f(Oe)
2408
+ icon: f(z)
2321
2409
  },
2322
2410
  {
2323
2411
  value: "center",
2324
2412
  label: f(a).title.alignCenter,
2325
- icon: f(Ie)
2413
+ icon: f(Le)
2326
2414
  },
2327
2415
  {
2328
2416
  value: "right",
2329
2417
  label: f(a).title.alignRight,
2330
- icon: f(z)
2418
+ icon: f(Ee)
2331
2419
  }
2332
2420
  ],
2333
2421
  "model-value": e.block.textAlign,
@@ -2335,7 +2423,7 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2335
2423
  }, null, 8, ["options", "model-value"])])
2336
2424
  ], 64));
2337
2425
  }
2338
- }), Ca = { class: "tpl:mb-3.5" }, wa = ["value"], Ta = { value: 1 }, Ea = { value: 2 }, Da = { value: 3 }, Oa = { value: 4 }, ka = { class: "tpl:mb-3.5" }, Aa = ["value"], ja = { value: "" }, Ma = ["value"], Na = { class: "tpl:mb-3.5" }, Pa = { class: "tpl:mb-3.5" }, Fa = /* @__PURE__ */ l({
2426
+ }), Aa = { class: "tpl:mb-3.5" }, ja = ["value"], Ma = { value: 1 }, Na = { value: 2 }, Pa = { value: 3 }, Fa = { value: 4 }, Ia = { class: "tpl:mb-3.5" }, La = ["value"], Ra = { value: "" }, za = ["value"], Ba = { class: "tpl:mb-3.5" }, Va = { class: "tpl:mb-3.5" }, Ha = /* @__PURE__ */ l({
2339
2427
  __name: "TitleToolbar",
2340
2428
  props: {
2341
2429
  block: {},
@@ -2348,44 +2436,44 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2348
2436
  n("update", { [e]: t });
2349
2437
  }
2350
2438
  return (t, n) => (o(), g(C, null, [
2351
- x("div", Ca, [x("label", { class: m(f(V)) }, w(f(i).title.level), 3), x("select", {
2439
+ x("div", Aa, [x("label", { class: m(f(V)) }, w(f(i).title.level), 3), x("select", {
2352
2440
  class: m(f(W)),
2353
2441
  value: e.block.level,
2354
2442
  onChange: n[0] ||= (e) => a("level", Number(e.target.value))
2355
2443
  }, [
2356
- x("option", Ta, w(f(i).title.heading1), 1),
2357
- x("option", Ea, w(f(i).title.heading2), 1),
2358
- x("option", Da, w(f(i).title.heading3), 1),
2359
- x("option", Oa, w(f(i).title.heading4), 1)
2360
- ], 42, wa)]),
2361
- x("div", ka, [x("label", { class: m(f(V)) }, w(f(i).title.fontFamily), 3), x("select", {
2444
+ x("option", Ma, w(f(i).title.heading1), 1),
2445
+ x("option", Na, w(f(i).title.heading2), 1),
2446
+ x("option", Pa, w(f(i).title.heading3), 1),
2447
+ x("option", Fa, w(f(i).title.heading4), 1)
2448
+ ], 42, ja)]),
2449
+ x("div", Ia, [x("label", { class: m(f(V)) }, w(f(i).title.fontFamily), 3), x("select", {
2362
2450
  class: m(f(W)),
2363
- value: f(qe)(e.block.fontFamily),
2451
+ value: f(Je)(e.block.fontFamily),
2364
2452
  onChange: n[1] ||= (e) => a("fontFamily", e.target.value || void 0)
2365
- }, [x("option", ja, w(f(i).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2453
+ }, [x("option", Ra, w(f(i).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2366
2454
  key: e.value,
2367
2455
  value: e.value
2368
- }, w(e.label), 9, Ma))), 128))], 42, Aa)]),
2369
- x("div", Na, [x("label", { class: m(f(V)) }, w(f(i).title.color), 3), p(G, {
2456
+ }, w(e.label), 9, za))), 128))], 42, La)]),
2457
+ x("div", Ba, [x("label", { class: m(f(V)) }, w(f(i).title.color), 3), p(G, {
2370
2458
  "model-value": e.block.color ?? "",
2371
2459
  "onUpdate:modelValue": n[2] ||= (e) => a("color", e || void 0)
2372
2460
  }, null, 8, ["model-value"])]),
2373
- x("div", Pa, [x("label", { class: m(f(V)) }, w(f(i).title.align), 3), p(J, {
2461
+ x("div", Va, [x("label", { class: m(f(V)) }, w(f(i).title.align), 3), p(J, {
2374
2462
  options: [
2375
2463
  {
2376
2464
  value: "left",
2377
2465
  label: f(i).title.alignLeft,
2378
- icon: f(Oe)
2466
+ icon: f(z)
2379
2467
  },
2380
2468
  {
2381
2469
  value: "center",
2382
2470
  label: f(i).title.alignCenter,
2383
- icon: f(Ie)
2471
+ icon: f(Le)
2384
2472
  },
2385
2473
  {
2386
2474
  value: "right",
2387
2475
  label: f(i).title.alignRight,
2388
- icon: f(z)
2476
+ icon: f(Ee)
2389
2477
  }
2390
2478
  ],
2391
2479
  "model-value": e.block.textAlign,
@@ -2393,77 +2481,97 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2393
2481
  }, null, 8, ["options", "model-value"])])
2394
2482
  ], 64));
2395
2483
  }
2396
- }), Ia = { class: "tpl:mb-3.5" }, La = {
2484
+ }), Ua = { class: "tpl:mb-3.5" }, Wa = {
2397
2485
  key: 0,
2398
2486
  class: "tpl:mb-3.5"
2399
- }, Ra = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, za = [
2487
+ }, Ga = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ka = [
2400
2488
  "value",
2401
2489
  "placeholder",
2402
2490
  "title"
2403
- ], Ba = { class: "tpl:mb-3.5" }, Va = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ha = { class: "tpl:mb-3.5" }, Ua = { class: "tpl:mb-3.5" }, Wa = ["value"], Ga = { value: "full" }, Ka = { class: "tpl:mb-3.5" }, qa = ["value"], Ja = { value: "auto" }, Ya = { value: "custom" }, Xa = {
2491
+ ], qa = { class: "tpl:mb-3.5" }, Ja = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ya = { class: "tpl:mb-3.5" }, Xa = { class: "tpl:mb-3.5" }, Za = ["value"], Qa = { value: "full" }, $a = { value: "custom" }, eo = {
2492
+ key: 0,
2493
+ class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2494
+ }, to = ["value"], no = { class: "tpl:mb-3.5" }, ro = ["value"], io = { value: "auto" }, ao = { value: "custom" }, oo = {
2404
2495
  key: 0,
2405
2496
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2406
- }, Za = ["value"], Qa = { class: "tpl:mb-3.5" }, $a = 200, eo = /* @__PURE__ */ l({
2497
+ }, so = ["value"], co = { class: "tpl:mb-3.5" }, lo = 350, uo = 200, fo = /* @__PURE__ */ l({
2407
2498
  __name: "VideoToolbar",
2408
2499
  props: { block: {} },
2409
2500
  emits: ["update"],
2410
2501
  setup(e, { emit: t }) {
2411
- let r = e, i = t, { t: a } = L(), c = n(le, null), l = n(ue, P.liquid), u = Re(), d = h(() => !!c), v = h(() => ee(r.block.url, l)), b = h(() => typeof r.block.height == "number" ? "custom" : "auto"), S = s(!1), { start: T } = oe(() => {
2412
- S.value = !1;
2502
+ let r = e, i = t, { t: a } = L(), c = n(pe, null), l = n(me, ne.liquid), u = ze(), d = [
2503
+ 300,
2504
+ 400,
2505
+ 500
2506
+ ], v = h(() => !!c), b = h(() => P(r.block.url, l)), S = h(() => {
2507
+ let e = r.block.width;
2508
+ return e === "full" ? "full" : d.includes(e) ? String(e) : "custom";
2509
+ }), T = h(() => typeof r.block.height == "number" ? "custom" : "auto"), D = s(!1), { start: O } = le(() => {
2510
+ D.value = !1;
2413
2511
  }, 1e3, { immediate: !1 });
2414
- function D(e, t) {
2512
+ function k(e, t) {
2415
2513
  i("update", { [e]: t });
2416
2514
  }
2417
- function O(e) {
2418
- D("height", e === "custom" ? $a : void 0);
2515
+ function A(e) {
2516
+ if (e === "custom") {
2517
+ let e = r.block.width;
2518
+ (typeof e != "number" || d.includes(e)) && k("width", lo);
2519
+ } else k("width", e === "full" ? "full" : Number(e));
2419
2520
  }
2420
- function k(e) {
2521
+ function j(e) {
2421
2522
  let t = Number(e);
2422
- !Number.isFinite(t) || t <= 0 || D("height", t);
2523
+ !Number.isFinite(t) || t <= 0 || k("width", t);
2524
+ }
2525
+ function M(e) {
2526
+ k("height", e === "custom" ? uo : void 0);
2527
+ }
2528
+ function N(e) {
2529
+ let t = Number(e);
2530
+ !Number.isFinite(t) || t <= 0 || k("height", t);
2423
2531
  }
2424
- async function A() {
2532
+ async function ee() {
2425
2533
  let e = await c?.({ accept: ["images"] });
2426
- u.alive && e && (D("thumbnailUrl", e.url), S.value = !0, T());
2534
+ u.alive && e && (k("thumbnailUrl", e.url), D.value = !0, O());
2427
2535
  }
2428
2536
  return (t, n) => (o(), g(C, null, [
2429
- x("div", Ia, [
2537
+ x("div", Ua, [
2430
2538
  x("label", { class: m(f(V)) }, w(f(a).video.videoUrl), 3),
2431
2539
  p(q, {
2432
2540
  "model-value": e.block.url,
2433
2541
  type: "url",
2434
2542
  placeholder: f(a).video.videoUrlPlaceholder,
2435
- "onUpdate:modelValue": n[0] ||= (e) => D("url", e)
2543
+ "onUpdate:modelValue": n[0] ||= (e) => k("url", e)
2436
2544
  }, null, 8, ["model-value", "placeholder"]),
2437
2545
  e.block.url ? (o(), y(K, {
2438
2546
  key: 0,
2439
2547
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2440
2548
  "model-value": e.block.openInNewTab ?? !1,
2441
2549
  label: f(a).video.openInNewTab,
2442
- "onUpdate:modelValue": n[1] ||= (e) => D("openInNewTab", e)
2550
+ "onUpdate:modelValue": n[1] ||= (e) => k("openInNewTab", e)
2443
2551
  }, null, 8, ["model-value", "label"])) : _("", !0)
2444
2552
  ]),
2445
- v.value ? (o(), g("div", La, [x("label", { class: m(f(V)) }, [E(w(f(a).video.placeholderUrl) + " ", 1), x("span", Ra, w(f(a).video.optional), 1)], 2), x("input", {
2553
+ b.value ? (o(), g("div", Wa, [x("label", { class: m(f(V)) }, [E(w(f(a).video.placeholderUrl) + " ", 1), x("span", Ga, w(f(a).video.optional), 1)], 2), x("input", {
2446
2554
  type: "url",
2447
2555
  class: m(f(W)),
2448
2556
  value: e.block.placeholderUrl || "",
2449
2557
  placeholder: f(a).video.placeholderUrlPlaceholder,
2450
2558
  title: f(a).video.placeholderUrlTooltip,
2451
- onInput: n[2] ||= (e) => D("placeholderUrl", e.target.value)
2452
- }, null, 42, za)])) : _("", !0),
2453
- x("div", Ba, [
2454
- x("label", { class: m(f(V)) }, [E(w(f(a).video.customThumbnail) + " ", 1), x("span", Va, w(f(a).video.optional), 1)], 2),
2559
+ onInput: n[2] ||= (e) => k("placeholderUrl", e.target.value)
2560
+ }, null, 42, Ka)])) : _("", !0),
2561
+ x("div", qa, [
2562
+ x("label", { class: m(f(V)) }, [E(w(f(a).video.customThumbnail) + " ", 1), x("span", Ja, w(f(a).video.optional), 1)], 2),
2455
2563
  p(q, {
2456
2564
  "model-value": e.block.thumbnailUrl,
2457
2565
  type: "url",
2458
2566
  placeholder: f(a).video.thumbnailPlaceholder,
2459
- pulse: S.value,
2460
- "onUpdate:modelValue": n[3] ||= (e) => D("thumbnailUrl", e)
2567
+ pulse: D.value,
2568
+ "onUpdate:modelValue": n[3] ||= (e) => k("thumbnailUrl", e)
2461
2569
  }, null, 8, [
2462
2570
  "model-value",
2463
2571
  "placeholder",
2464
2572
  "pulse"
2465
2573
  ]),
2466
- d.value ? (o(), g("button", {
2574
+ v.value ? (o(), g("button", {
2467
2575
  key: 0,
2468
2576
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all",
2469
2577
  style: {
@@ -2471,46 +2579,59 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2471
2579
  color: "var(--tpl-primary)",
2472
2580
  "background-color": "var(--tpl-bg)"
2473
2581
  },
2474
- onClick: A
2475
- }, [p(f(Ne), {
2582
+ onClick: ee
2583
+ }, [p(f(Fe), {
2476
2584
  size: 14,
2477
2585
  "stroke-width": 1.5
2478
2586
  }), E(" " + w(f(a).image.browseMedia), 1)])) : _("", !0)
2479
2587
  ]),
2480
- x("div", Ha, [x("label", { class: m(f(V)) }, w(f(a).video.altText), 3), p(q, {
2588
+ x("div", Ya, [x("label", { class: m(f(V)) }, w(f(a).video.altText), 3), p(q, {
2481
2589
  "model-value": e.block.alt,
2482
2590
  type: "text",
2483
2591
  placeholder: f(a).video.altTextPlaceholder,
2484
- "onUpdate:modelValue": n[4] ||= (e) => D("alt", e)
2592
+ "onUpdate:modelValue": n[4] ||= (e) => k("alt", e)
2485
2593
  }, null, 8, ["model-value", "placeholder"])]),
2486
- x("div", Ua, [x("label", { class: m(f(V)) }, w(f(a).video.width), 3), x("select", {
2487
- class: m(f(W)),
2488
- value: e.block.width,
2489
- onChange: n[5] ||= (e) => D("width", e.target.value === "full" ? "full" : Number(e.target.value))
2490
- }, [
2491
- x("option", Ga, w(f(a).video.fullWidth), 1),
2492
- n[9] ||= x("option", { value: "300" }, "300px", -1),
2493
- n[10] ||= x("option", { value: "400" }, "400px", -1),
2494
- n[11] ||= x("option", { value: "500" }, "500px", -1)
2495
- ], 42, Wa)]),
2496
- x("div", Ka, [
2594
+ x("div", Xa, [
2595
+ x("label", { class: m(f(V)) }, w(f(a).video.width), 3),
2596
+ x("select", {
2597
+ class: m(f(W)),
2598
+ "data-testid": "video-width-mode",
2599
+ value: S.value,
2600
+ onChange: n[5] ||= (e) => A(e.target.value)
2601
+ }, [
2602
+ x("option", Qa, w(f(a).video.fullWidth), 1),
2603
+ n[10] ||= x("option", { value: "300" }, "300px", -1),
2604
+ n[11] ||= x("option", { value: "400" }, "400px", -1),
2605
+ n[12] ||= x("option", { value: "500" }, "500px", -1),
2606
+ x("option", $a, w(f(a).video.widthCustom), 1)
2607
+ ], 42, Za),
2608
+ S.value === "custom" ? (o(), g("div", eo, [x("input", {
2609
+ type: "number",
2610
+ "data-testid": "video-width-input",
2611
+ class: m(f(U)),
2612
+ value: e.block.width,
2613
+ min: "20",
2614
+ onInput: n[6] ||= (e) => j(e.target.value)
2615
+ }, null, 42, to), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
2616
+ ]),
2617
+ x("div", no, [
2497
2618
  x("label", { class: m(f(V)) }, w(f(a).video.height), 3),
2498
2619
  x("select", {
2499
2620
  class: m(f(W)),
2500
2621
  "data-testid": "video-height-mode",
2501
- value: b.value,
2502
- onChange: n[6] ||= (e) => O(e.target.value)
2503
- }, [x("option", Ja, w(f(a).video.heightAuto), 1), x("option", Ya, w(f(a).video.heightCustom), 1)], 42, qa),
2504
- b.value === "custom" ? (o(), g("div", Xa, [x("input", {
2622
+ value: T.value,
2623
+ onChange: n[7] ||= (e) => M(e.target.value)
2624
+ }, [x("option", io, w(f(a).video.heightAuto), 1), x("option", ao, w(f(a).video.heightCustom), 1)], 42, ro),
2625
+ T.value === "custom" ? (o(), g("div", oo, [x("input", {
2505
2626
  type: "number",
2506
2627
  "data-testid": "video-height-input",
2507
2628
  class: m(f(U)),
2508
2629
  value: e.block.height,
2509
2630
  min: "20",
2510
- onInput: n[7] ||= (e) => k(e.target.value)
2511
- }, null, 42, Za), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
2631
+ onInput: n[8] ||= (e) => N(e.target.value)
2632
+ }, null, 42, so), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
2512
2633
  ]),
2513
- x("div", Qa, [x("label", { class: m(f(V)) }, w(f(a).title.align), 3), p(J, {
2634
+ x("div", co, [x("label", { class: m(f(V)) }, w(f(a).title.align), 3), p(J, {
2514
2635
  options: [
2515
2636
  {
2516
2637
  value: "left",
@@ -2526,11 +2647,11 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2526
2647
  }
2527
2648
  ],
2528
2649
  "model-value": e.block.align,
2529
- "onUpdate:modelValue": n[8] ||= (e) => D("align", e)
2650
+ "onUpdate:modelValue": n[9] ||= (e) => k("align", e)
2530
2651
  }, null, 8, ["options", "model-value"])])
2531
2652
  ], 64));
2532
2653
  }
2533
- }), to = ["aria-label"], no = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, ro = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, io = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ao = { class: "tpl:flex tpl:gap-1" }, oo = ["title"], so = ["title"], co = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, lo = /*@__PURE__*/ l({
2654
+ }), po = ["aria-label"], mo = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, ho = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, go = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, _o = { class: "tpl:flex tpl:gap-1" }, vo = ["title"], yo = ["title"], bo = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, xo = /*@__PURE__*/ l({
2534
2655
  __name: "Toolbar",
2535
2656
  props: { block: {} },
2536
2657
  emits: [
@@ -2539,9 +2660,9 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2539
2660
  "duplicate"
2540
2661
  ],
2541
2662
  setup(e, { emit: t }) {
2542
- let r = T(() => import("./CountdownToolbar-CvNuDR5Z.js")), i = e, a = t, { t: s } = L(), l = se(ge, "Toolbar"), u = n(he, []), d = h(() => i.block.type), m = h(() => j(i.block)), v = h(() => {
2663
+ let r = T(() => import("./CountdownToolbar-DPIOtlN0.js")), i = e, a = t, { t: s } = L(), l = ue(ye, "Toolbar"), u = n(ve, []), d = h(() => i.block.type), m = h(() => te(i.block)), v = h(() => {
2543
2664
  if (m.value) return u.find((e) => e.type === i.block.customType);
2544
- }), b = h(() => m.value ? v.value?.name ?? i.block.customType : ae(d.value, s)), S = h(() => Ke(l.fonts.value, "fontFamily" in i.block ? i.block.fontFamily : void 0));
2665
+ }), b = h(() => m.value ? v.value?.name ?? i.block.customType : ie(d.value, s)), S = h(() => qe(l.fonts.value, "fontFamily" in i.block ? i.block.fontFamily : void 0));
2545
2666
  function C(e) {
2546
2667
  a("update", e);
2547
2668
  }
@@ -2549,82 +2670,82 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2549
2670
  "data-testid": "block-toolbar",
2550
2671
  "aria-label": f(s).landmarks.blockToolbar,
2551
2672
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
2552
- }, [x("div", no, [x("div", ro, [f(We)[d.value] ? (o(), y(c(f(We)[d.value]), {
2673
+ }, [x("div", mo, [x("div", ho, [f(Ge)[d.value] ? (o(), y(c(f(Ge)[d.value]), {
2553
2674
  key: 0,
2554
2675
  size: 16,
2555
2676
  "stroke-width": 1.5
2556
- })) : m.value ? (o(), y(f(Ae), {
2677
+ })) : m.value ? (o(), y(f(Me), {
2557
2678
  key: 1,
2558
2679
  size: 16,
2559
2680
  "stroke-width": 1.5
2560
- })) : _("", !0), x("h3", io, w(b.value), 1)]), x("div", ao, [x("button", {
2681
+ })) : _("", !0), x("h3", go, w(b.value), 1)]), x("div", _o, [x("button", {
2561
2682
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
2562
2683
  title: f(s).toolbar.duplicate,
2563
2684
  onClick: n[0] ||= (e) => a("duplicate")
2564
- }, [p(f(ye), {
2685
+ }, [p(f(Se), {
2565
2686
  size: 14,
2566
2687
  "stroke-width": 2
2567
- })], 8, oo), x("button", {
2688
+ })], 8, vo), x("button", {
2568
2689
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
2569
2690
  title: f(s).toolbar.delete,
2570
2691
  onClick: n[1] ||= (e) => a("delete")
2571
- }, [p(f(Ee), {
2692
+ }, [p(f(ke), {
2572
2693
  size: 14,
2573
2694
  "stroke-width": 2
2574
- })], 8, so)])]), x("div", co, [m.value ? (o(), y(lr, {
2695
+ })], 8, yo)])]), x("div", bo, [m.value ? (o(), y(_r, {
2575
2696
  key: 0,
2576
2697
  block: e.block,
2577
2698
  onUpdateFieldValues: n[2] ||= (e) => a("update", { fieldValues: e }),
2578
2699
  onUpdateDataSourceFetched: n[3] ||= (e) => a("update", { dataSourceFetched: e })
2579
- }, null, 8, ["block"])) : d.value === "section" ? (o(), y(hi, {
2700
+ }, null, 8, ["block"])) : d.value === "section" ? (o(), y(Si, {
2580
2701
  key: 1,
2581
2702
  block: e.block,
2582
2703
  onUpdate: C
2583
- }, null, 8, ["block"])) : d.value === "title" ? (o(), y(Fa, {
2704
+ }, null, 8, ["block"])) : d.value === "title" ? (o(), y(Ha, {
2584
2705
  key: 2,
2585
2706
  block: e.block,
2586
2707
  "font-families": S.value,
2587
2708
  onUpdate: C
2588
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (o(), y(ai, {
2709
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (o(), y(fi, {
2589
2710
  key: 3,
2590
2711
  block: e.block,
2591
2712
  onUpdate: C
2592
- }, null, 8, ["block"])) : d.value === "image" ? (o(), y(Ur, {
2713
+ }, null, 8, ["block"])) : d.value === "image" ? (o(), y(Xr, {
2593
2714
  key: 4,
2594
2715
  block: e.block,
2595
2716
  onUpdate: C
2596
- }, null, 8, ["block"])) : d.value === "video" ? (o(), y(eo, {
2717
+ }, null, 8, ["block"])) : d.value === "video" ? (o(), y(fo, {
2597
2718
  key: 5,
2598
2719
  block: e.block,
2599
2720
  onUpdate: C
2600
- }, null, 8, ["block"])) : d.value === "button" ? (o(), y(Nt, {
2721
+ }, null, 8, ["block"])) : d.value === "button" ? (o(), y(Pt, {
2601
2722
  key: 6,
2602
2723
  block: e.block,
2603
2724
  "font-families": S.value,
2604
2725
  onUpdate: C
2605
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (o(), y(hr, {
2726
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (o(), y(Cr, {
2606
2727
  key: 7,
2607
2728
  block: e.block,
2608
2729
  onUpdate: C
2609
- }, null, 8, ["block"])) : d.value === "social" ? (o(), y(Bi, {
2730
+ }, null, 8, ["block"])) : d.value === "social" ? (o(), y(qi, {
2610
2731
  key: 8,
2611
2732
  block: e.block,
2612
2733
  onUpdate: C
2613
- }, null, 8, ["block"])) : d.value === "menu" ? (o(), y(ti, {
2734
+ }, null, 8, ["block"])) : d.value === "menu" ? (o(), y(ci, {
2614
2735
  key: 9,
2615
2736
  block: e.block,
2616
2737
  "font-families": S.value,
2617
2738
  onUpdate: C
2618
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (o(), y(Sa, {
2739
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (o(), y(ka, {
2619
2740
  key: 10,
2620
2741
  block: e.block,
2621
2742
  "font-families": S.value,
2622
2743
  onUpdate: C
2623
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (o(), y(Gi, {
2744
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (o(), y(Qi, {
2624
2745
  key: 11,
2625
2746
  block: e.block,
2626
2747
  onUpdate: C
2627
- }, null, 8, ["block"])) : d.value === "html" ? (o(), y(yr, {
2748
+ }, null, 8, ["block"])) : d.value === "html" ? (o(), y(Dr, {
2628
2749
  key: 12,
2629
2750
  block: e.block,
2630
2751
  onUpdate: C
@@ -2633,14 +2754,14 @@ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
2633
2754
  block: e.block,
2634
2755
  "font-families": S.value,
2635
2756
  onUpdate: C
2636
- }, null, 8, ["block", "font-families"])) : _("", !0), p(wn, {
2757
+ }, null, 8, ["block", "font-families"])) : _("", !0), p(Nn, {
2637
2758
  block: e.block,
2638
2759
  "is-first-section": d.value === "paragraph",
2639
2760
  onUpdate: C
2640
- }, null, 8, ["block", "is-first-section"])])], 8, to));
2761
+ }, null, 8, ["block", "is-first-section"])])], 8, po));
2641
2762
  }
2642
- }), uo = /* @__PURE__ */ e({ default: () => fo }), fo = /*#__PURE__*/ Le(lo, [["__scopeId", "data-v-e2d2c22f"]]);
2763
+ }), So = /* @__PURE__ */ e({ default: () => Co }), Co = /*#__PURE__*/ Re(xo, [["__scopeId", "data-v-e2d2c22f"]]);
2643
2764
  //#endregion
2644
- export { fo as default, J as i, $ as n, Y as r, uo as t };
2765
+ export { Co as default, J as i, $ as n, Y as r, So as t };
2645
2766
 
2646
- //# sourceMappingURL=Toolbar-K4tIkpG1.js.map
2767
+ //# sourceMappingURL=Toolbar-Ik54UO_-.js.map