@templatical/editor 0.60.0 → 0.60.2

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 (246) hide show
  1. package/dist/{AiAltTextPopover-DiIaqDtB.js → AiAltTextPopover-DSA1wiiW.js} +1 -1
  2. package/dist/{AiAltTextReview-DIe0WBbj.js → AiAltTextReview-B9-vfzCj.js} +1 -1
  3. package/dist/{AiChatPanel-aj2TPO9F.js → AiChatPanel-DPoq2Til.js} +8 -8
  4. package/dist/{AiPanels-CRM3jf82.js → AiPanels-UdfhAzzu.js} +1 -1
  5. package/dist/{AiRewriteMenu-F3GyXBsk.js → AiRewriteMenu-Boor11-X.js} +8 -8
  6. package/dist/{BlockIssueBadge-DlhA_I6J.js → BlockIssueBadge-DQ_6NI4p.js} +2 -2
  7. package/dist/{BlockPreviewCanvas-DYspUXMO.js → BlockPreviewCanvas-Bnkex45Y.js} +4 -4
  8. package/dist/{CloudPanels-CAMn545-.js → CloudPanels-CJ-UuA_Y.js} +3 -3
  9. package/dist/{CollaborationNotices-CnfS8BQy.js → CollaborationNotices-PqWv0q8W.js} +1 -1
  10. package/dist/{CollaboratorBar-DufLdLQP.js → CollaboratorBar-p-_PWqXW.js} +1 -1
  11. package/dist/{CommentsPanel-C2hFFs0o.js → CommentsPanel-BUo-YhSX.js} +1 -1
  12. package/dist/{CommentsSidebar-CgEwxt2T.js → CommentsSidebar-D_Pz7FPz.js} +10 -10
  13. package/dist/{CountdownToolbar-CNqYDevp.js → CountdownToolbar-BQdhVNaK.js} +4 -4
  14. package/dist/{IssuesPanel-cPKhimE9.js → IssuesPanel-C7mBrK6a.js} +9 -9
  15. package/dist/{LanguageMenu-zxlpmw2x.js → LanguageMenu-S7L270RN.js} +10 -10
  16. package/dist/{LocaleNotices-PIfpvCCI.js → LocaleNotices-CAvDAawJ.js} +2 -2
  17. package/dist/{LogicTagInsertButton-DqTkGJSR.js → LogicTagInsertButton-Clc3JTg_.js} +6 -6
  18. package/dist/{MediaEditModal-C2Bn8WGb.js → MediaEditModal-YXOL0d_y.js} +1 -1
  19. package/dist/{MediaPanels-BAZByHRA.js → MediaPanels-VCv5epgs.js} +1 -1
  20. package/dist/{MergeTagInput-Jly1Pw0v.js → MergeTagInput-B5a9noTB.js} +1 -1
  21. package/dist/{MergeTagModeToggle-5kaFLRAm.js → MergeTagModeToggle-D1r2aH5x.js} +4 -4
  22. package/dist/{MergeTagTextarea-CCfirhcR.js → MergeTagTextarea-CA9dPfMH.js} +3 -3
  23. package/dist/{ParagraphEditor-DTdnxgDZ.js → ParagraphEditor-CGUGIhJo.js} +13 -13
  24. package/dist/{RestoreVersionDialog-cUYu3Xqs.js → RestoreVersionDialog-P6pwVWGs.js} +3 -3
  25. package/dist/{RichTextEditorContent-Aub9tOHF.js → RichTextEditorContent-gnRxu4-L.js} +4 -4
  26. package/dist/{SaveBlockDialog-D_ie3uIF.js → SaveBlockDialog-SSD-GEXA.js} +7 -7
  27. package/dist/{SavedBlocksBrowserModal-fhSnYT1l.js → SavedBlocksBrowserModal-Cs6zBFlE.js} +9 -9
  28. package/dist/{SavedBlocksPanels-Lklqy4XI.js → SavedBlocksPanels-JJAFQOQO.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-CpWkCa8G.js → SavedBlocksPickBar-DMOHjX7S.js} +2 -2
  30. package/dist/{TemplateSettings-BJ4a8RBr.js → TemplateSettings-DsaSsCC8.js} +8 -8
  31. package/dist/{TestEmailModal-BEoapoDc.js → TestEmailModal-Cbt5u2GF.js} +8 -8
  32. package/dist/{TestEmailPanel-DgyzokCf.js → TestEmailPanel-BQNerB-E.js} +1 -1
  33. package/dist/{TitleEditor-BQoSPgOi.js → TitleEditor-BuctoHHf.js} +6 -6
  34. package/dist/{Toolbar-KhPpWyX1.js → Toolbar-Br0W6NE0.js} +556 -442
  35. package/dist/{TplModal-F_kA7luG.js → TplModal-DJMLN1_R.js} +1 -1
  36. package/dist/{VersionHistoryMenu-Bz4G8cNm.js → VersionHistoryMenu-D-RCk3oB.js} +5 -5
  37. package/dist/{VersionHistoryPanels-DmVRyWv9.js → VersionHistoryPanels-DvrD5VaM.js} +1 -1
  38. package/dist/{VersionPreviewBanner-BeppXZyn.js → VersionPreviewBanner-DMg2sw3V.js} +1 -1
  39. package/dist/{WrapperBlock-Ds7yfbhg.js → WrapperBlock-Cp0Mo8HA.js} +3 -3
  40. package/dist/{blockTypeIcons-Do1QqDjg.js → blockTypeIcons-BePGuX0b.js} +3 -3
  41. package/dist/bundle-stats.json +6 -6
  42. package/dist/{cdn/chunks/ca-Ce3NmK9v.js → ca-C8N05sCU.js} +4 -3
  43. package/dist/cdn/chunks/{AiAltTextPopover-CUzIaLRK.js → AiAltTextPopover-BLNN_Pnd.js} +2 -2
  44. package/dist/cdn/chunks/{AiAltTextPopover-CUzIaLRK.js.map → AiAltTextPopover-BLNN_Pnd.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiAltTextReview-BXBlE71X.js → AiAltTextReview-Db8vSNpe.js} +2 -2
  46. package/dist/cdn/chunks/{AiAltTextReview-BXBlE71X.js.map → AiAltTextReview-Db8vSNpe.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiChatPanel-BKydciDQ.js → AiChatPanel-cIT2haLo.js} +2 -2
  48. package/dist/cdn/chunks/{AiChatPanel-BKydciDQ.js.map → AiChatPanel-cIT2haLo.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiPanels-De-cIZ4p.js → AiPanels-B4GG8w3J.js} +2 -2
  50. package/dist/cdn/chunks/{AiPanels-De-cIZ4p.js.map → AiPanels-B4GG8w3J.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiRewriteMenu-C9vBUTIB.js → AiRewriteMenu-DIcUZQdv.js} +6 -6
  52. package/dist/cdn/chunks/{AiRewriteMenu-C9vBUTIB.js.map → AiRewriteMenu-DIcUZQdv.js.map} +1 -1
  53. package/dist/cdn/chunks/{BlockIssueBadge-B3CTTvgw.js → BlockIssueBadge-C50pmOMZ.js} +2 -2
  54. package/dist/cdn/chunks/{BlockIssueBadge-B3CTTvgw.js.map → BlockIssueBadge-C50pmOMZ.js.map} +1 -1
  55. package/dist/cdn/chunks/{BlockPreviewCanvas-B4Bj--kc.js → BlockPreviewCanvas-CyY5_via.js} +5 -5
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-B4Bj--kc.js.map → BlockPreviewCanvas-CyY5_via.js.map} +1 -1
  57. package/dist/cdn/chunks/{CloudPanels-CQ75I3hQ.js → CloudPanels-Cmf0SHez.js} +3 -3
  58. package/dist/cdn/chunks/{CloudPanels-CQ75I3hQ.js.map → CloudPanels-Cmf0SHez.js.map} +1 -1
  59. package/dist/cdn/chunks/{CollaborationNotices-CgLea-hu.js → CollaborationNotices-CTmjjbHv.js} +2 -2
  60. package/dist/cdn/chunks/{CollaborationNotices-CgLea-hu.js.map → CollaborationNotices-CTmjjbHv.js.map} +1 -1
  61. package/dist/cdn/chunks/{CollaboratorBar-CjRcbebT.js → CollaboratorBar-CzHjawjF.js} +2 -2
  62. package/dist/cdn/chunks/{CollaboratorBar-CjRcbebT.js.map → CollaboratorBar-CzHjawjF.js.map} +1 -1
  63. package/dist/cdn/chunks/{CommentsPanel-D_ud9GMN.js → CommentsPanel-Dh0_eRBe.js} +2 -2
  64. package/dist/cdn/chunks/{CommentsPanel-D_ud9GMN.js.map → CommentsPanel-Dh0_eRBe.js.map} +1 -1
  65. package/dist/cdn/chunks/{CommentsSidebar-CXn1EGAI.js → CommentsSidebar-JxZ-O2mY.js} +2 -2
  66. package/dist/cdn/chunks/{CommentsSidebar-CXn1EGAI.js.map → CommentsSidebar-JxZ-O2mY.js.map} +1 -1
  67. package/dist/cdn/chunks/{CountdownToolbar-BOyk_4k7.js → CountdownToolbar-D16RWxkh.js} +5 -5
  68. package/dist/cdn/chunks/{CountdownToolbar-BOyk_4k7.js.map → CountdownToolbar-D16RWxkh.js.map} +1 -1
  69. package/dist/cdn/chunks/{IssuesPanel-DOC94ZsH.js → IssuesPanel-BtAn12hl.js} +4 -4
  70. package/dist/cdn/chunks/{IssuesPanel-DOC94ZsH.js.map → IssuesPanel-BtAn12hl.js.map} +1 -1
  71. package/dist/cdn/chunks/{LanguageMenu-DktneIpL.js → LanguageMenu-BBv0oBs-.js} +5 -5
  72. package/dist/cdn/chunks/{LanguageMenu-DktneIpL.js.map → LanguageMenu-BBv0oBs-.js.map} +1 -1
  73. package/dist/cdn/chunks/{LocaleNotices-B2NgnHoP.js → LocaleNotices-CzrNKR-N.js} +2 -2
  74. package/dist/cdn/chunks/{LocaleNotices-B2NgnHoP.js.map → LocaleNotices-CzrNKR-N.js.map} +1 -1
  75. package/dist/cdn/chunks/{LogicTagInsertButton-CQ8RiOou.js → LogicTagInsertButton-B4wuPoMa.js} +5 -5
  76. package/dist/cdn/chunks/{LogicTagInsertButton-CQ8RiOou.js.map → LogicTagInsertButton-B4wuPoMa.js.map} +1 -1
  77. package/dist/cdn/chunks/{MediaEditModal-Cs7_Om7e.js → MediaEditModal-DJ2wxInt.js} +2 -2
  78. package/dist/cdn/chunks/{MediaEditModal-Cs7_Om7e.js.map → MediaEditModal-DJ2wxInt.js.map} +1 -1
  79. package/dist/cdn/chunks/{MediaPanels-BeekGmql.js → MediaPanels-BJawNjr9.js} +2 -2
  80. package/dist/cdn/chunks/{MediaPanels-BeekGmql.js.map → MediaPanels-BJawNjr9.js.map} +1 -1
  81. package/dist/cdn/chunks/{MergeTagInput-D7FZ0ca0.js → MergeTagInput-DZD-p4nR.js} +2 -2
  82. package/dist/cdn/chunks/{MergeTagInput-D7FZ0ca0.js.map → MergeTagInput-DZD-p4nR.js.map} +1 -1
  83. package/dist/cdn/chunks/{MergeTagModeToggle-CySCCEDs.js → MergeTagModeToggle-DGuJCgqO.js} +3 -3
  84. package/dist/cdn/chunks/{MergeTagModeToggle-CySCCEDs.js.map → MergeTagModeToggle-DGuJCgqO.js.map} +1 -1
  85. package/dist/cdn/chunks/{MergeTagTextarea-DJbWTYVH.js → MergeTagTextarea-BRiaRBr_.js} +4 -4
  86. package/dist/cdn/chunks/{MergeTagTextarea-DJbWTYVH.js.map → MergeTagTextarea-BRiaRBr_.js.map} +1 -1
  87. package/dist/cdn/chunks/{ParagraphEditor-DAQUWqQJ.js → ParagraphEditor-Dc0fJ53q.js} +10 -10
  88. package/dist/cdn/chunks/{ParagraphEditor-DAQUWqQJ.js.map → ParagraphEditor-Dc0fJ53q.js.map} +1 -1
  89. package/dist/cdn/chunks/{RestoreVersionDialog-COTRe_rM.js → RestoreVersionDialog-CNTMRqG2.js} +3 -3
  90. package/dist/cdn/chunks/{RestoreVersionDialog-COTRe_rM.js.map → RestoreVersionDialog-CNTMRqG2.js.map} +1 -1
  91. package/dist/cdn/chunks/{RichTextEditorContent-DeWPMd9V.js → RichTextEditorContent-CtV0Q0SO.js} +4 -4
  92. package/dist/cdn/chunks/{RichTextEditorContent-DeWPMd9V.js.map → RichTextEditorContent-CtV0Q0SO.js.map} +1 -1
  93. package/dist/cdn/chunks/{SaveBlockDialog-adQMbKR1.js → SaveBlockDialog-CQpCQtGe.js} +6 -6
  94. package/dist/cdn/chunks/{SaveBlockDialog-adQMbKR1.js.map → SaveBlockDialog-CQpCQtGe.js.map} +1 -1
  95. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CGIFCRAx.js → SavedBlocksBrowserModal-C-npOfe-.js} +6 -6
  96. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CGIFCRAx.js.map → SavedBlocksBrowserModal-C-npOfe-.js.map} +1 -1
  97. package/dist/cdn/chunks/{SavedBlocksPanels-Du0RYlEf.js → SavedBlocksPanels-Bab-1ZgZ.js} +2 -2
  98. package/dist/cdn/chunks/{SavedBlocksPanels-Du0RYlEf.js.map → SavedBlocksPanels-Bab-1ZgZ.js.map} +1 -1
  99. package/dist/cdn/chunks/{SavedBlocksPickBar-DmleyUrn.js → SavedBlocksPickBar-DDcxSRxT.js} +3 -3
  100. package/dist/cdn/chunks/{SavedBlocksPickBar-DmleyUrn.js.map → SavedBlocksPickBar-DDcxSRxT.js.map} +1 -1
  101. package/dist/cdn/chunks/{TemplateSettings-Csjef99q.js → TemplateSettings--_ZfbhnU.js} +6 -6
  102. package/dist/cdn/chunks/{TemplateSettings-Csjef99q.js.map → TemplateSettings--_ZfbhnU.js.map} +1 -1
  103. package/dist/cdn/chunks/{TestEmailModal-ClkexOtF.js → TestEmailModal-B-07GUK1.js} +7 -7
  104. package/dist/cdn/chunks/{TestEmailModal-ClkexOtF.js.map → TestEmailModal-B-07GUK1.js.map} +1 -1
  105. package/dist/cdn/chunks/{TestEmailPanel-DYEYzhU2.js → TestEmailPanel-Rk6ZxlY6.js} +2 -2
  106. package/dist/cdn/chunks/{TestEmailPanel-DYEYzhU2.js.map → TestEmailPanel-Rk6ZxlY6.js.map} +1 -1
  107. package/dist/cdn/chunks/{TitleEditor-opvaIgVr.js → TitleEditor-I7wLUm-M.js} +5 -5
  108. package/dist/cdn/chunks/{TitleEditor-opvaIgVr.js.map → TitleEditor-I7wLUm-M.js.map} +1 -1
  109. package/dist/cdn/chunks/{Toolbar-DbqkKRXy.js → Toolbar-czJfutfE.js} +536 -422
  110. package/dist/cdn/chunks/Toolbar-czJfutfE.js.map +1 -0
  111. package/dist/cdn/chunks/{TplModal-DLV5OeMD.js → TplModal-CUF6ldtn.js} +2 -2
  112. package/dist/cdn/chunks/{TplModal-DLV5OeMD.js.map → TplModal-CUF6ldtn.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionHistoryMenu-DBd0zwjE.js → VersionHistoryMenu-CVGlUPwS.js} +2 -2
  114. package/dist/cdn/chunks/{VersionHistoryMenu-DBd0zwjE.js.map → VersionHistoryMenu-CVGlUPwS.js.map} +1 -1
  115. package/dist/cdn/chunks/{VersionHistoryPanels-hy_Ybxie.js → VersionHistoryPanels-CPGokA56.js} +2 -2
  116. package/dist/cdn/chunks/{VersionHistoryPanels-hy_Ybxie.js.map → VersionHistoryPanels-CPGokA56.js.map} +1 -1
  117. package/dist/cdn/chunks/{VersionPreviewBanner-D-yHxWWY.js → VersionPreviewBanner-5RFz4AQx.js} +2 -2
  118. package/dist/cdn/chunks/{VersionPreviewBanner-D-yHxWWY.js.map → VersionPreviewBanner-5RFz4AQx.js.map} +1 -1
  119. package/dist/cdn/chunks/{WrapperBlock-Ce_k8m_x.js → WrapperBlock-BOLiH6jD.js} +4 -4
  120. package/dist/cdn/chunks/{WrapperBlock-Ce_k8m_x.js.map → WrapperBlock-BOLiH6jD.js.map} +1 -1
  121. package/dist/cdn/chunks/{blockTypeIcons-DBoP1HkR.js → blockTypeIcons-BOonB9gK.js} +2 -2
  122. package/dist/cdn/chunks/{blockTypeIcons-DBoP1HkR.js.map → blockTypeIcons-BOonB9gK.js.map} +1 -1
  123. package/dist/{ca-Ce3NmK9v.js → cdn/chunks/ca-C8N05sCU.js} +6 -1
  124. package/dist/cdn/chunks/ca-C8N05sCU.js.map +1 -0
  125. package/dist/cdn/chunks/{composables-Brr4m0Sg.js → composables-A-9pkE2t.js} +111 -66
  126. package/dist/cdn/chunks/composables-A-9pkE2t.js.map +1 -0
  127. package/dist/cdn/chunks/{createCloudRuntime-QPeg45XL.js → createCloudRuntime-CUlw09ix.js} +3 -3
  128. package/dist/cdn/chunks/{createCloudRuntime-QPeg45XL.js.map → createCloudRuntime-CUlw09ix.js.map} +1 -1
  129. package/dist/{da-4YwDAuEr.js → cdn/chunks/da-Dno_4nGy.js} +6 -1
  130. package/dist/cdn/chunks/da-Dno_4nGy.js.map +1 -0
  131. package/dist/{de-BlQ0vdZJ.js → cdn/chunks/de-DRR5JSkh.js} +6 -1
  132. package/dist/cdn/chunks/de-DRR5JSkh.js.map +1 -0
  133. package/dist/cdn/chunks/{editor-modal-BCcbvIxc.js → editor-modal-BVM_0uoL.js} +4 -4
  134. package/dist/cdn/chunks/{editor-modal-BCcbvIxc.js.map → editor-modal-BVM_0uoL.js.map} +1 -1
  135. package/dist/cdn/chunks/{en-MlNeQVSG.js → en-DAcLbbpg.js} +5 -2
  136. package/dist/cdn/chunks/en-DAcLbbpg.js.map +1 -0
  137. package/dist/cdn/chunks/en-DlDEofnd.js +1 -0
  138. package/dist/cdn/chunks/{es-2s8x4OM2.js → es-BcEQLQxe.js} +5 -2
  139. package/dist/cdn/chunks/es-BcEQLQxe.js.map +1 -0
  140. package/dist/cdn/chunks/{extensions-BpuyqKVY.js → extensions-BPZirXpF.js} +4 -4
  141. package/dist/cdn/chunks/{extensions-BpuyqKVY.js.map → extensions-BPZirXpF.js.map} +1 -1
  142. package/dist/{fr-D3MjrsgQ.js → cdn/chunks/fr-CNQG7ESr.js} +6 -1
  143. package/dist/cdn/chunks/fr-CNQG7ESr.js.map +1 -0
  144. package/dist/cdn/chunks/{icons-BJ6AtVgu.js → icons-CWEBTtbR.js} +6 -6
  145. package/dist/cdn/chunks/{icons-BJ6AtVgu.js.map → icons-CWEBTtbR.js.map} +1 -1
  146. package/dist/{ja-B4Kx7uBX.js → cdn/chunks/ja-CMxWxqSH.js} +6 -1
  147. package/dist/cdn/chunks/ja-CMxWxqSH.js.map +1 -0
  148. package/dist/{nl-U65iX7wN.js → cdn/chunks/nl-BjyYZDkC.js} +6 -1
  149. package/dist/cdn/chunks/nl-BjyYZDkC.js.map +1 -0
  150. package/dist/cdn/chunks/{normalizeMergeTagMarkup-B81BAWKT.js → normalizeMergeTagMarkup-CExCfSYI.js} +2 -2
  151. package/dist/cdn/chunks/{normalizeMergeTagMarkup-B81BAWKT.js.map → normalizeMergeTagMarkup-CExCfSYI.js.map} +1 -1
  152. package/dist/cdn/chunks/{preRenderCustomBlocks-CQuaMxuv.js → preRenderCustomBlocks-BLVFtvl8.js} +2 -2
  153. package/dist/cdn/chunks/{preRenderCustomBlocks-CQuaMxuv.js.map → preRenderCustomBlocks-BLVFtvl8.js.map} +1 -1
  154. package/dist/cdn/chunks/{pt-BR-_jsX1xLv.js → pt-BR-DC2A3C0v.js} +5 -2
  155. package/dist/cdn/chunks/pt-BR-DC2A3C0v.js.map +1 -0
  156. package/dist/cdn/chunks/{sanitizeHtml-BdAjvU9I.js → sanitizeHtml-Db0S2JVP.js} +2 -2
  157. package/dist/cdn/chunks/{sanitizeHtml-BdAjvU9I.js.map → sanitizeHtml-Db0S2JVP.js.map} +1 -1
  158. package/dist/cdn/chunks/{socialIcons-Df9dNe7I.js → socialIcons-DMelHF3p.js} +31 -31
  159. package/dist/cdn/chunks/socialIcons-DMelHF3p.js.map +1 -0
  160. package/dist/cdn/chunks/{src-BHgVGOTi.js → src-A0kzK-pR.js} +5 -1
  161. package/dist/cdn/chunks/src-A0kzK-pR.js.map +1 -0
  162. package/dist/cdn/chunks/{src-C5V_yzAU.js → src-CCQf19hy.js} +207 -196
  163. package/dist/cdn/chunks/src-CCQf19hy.js.map +1 -0
  164. package/dist/cdn/chunks/{src-B3v_3j9b.js → src-edESkGqO.js} +366 -293
  165. package/dist/cdn/chunks/src-edESkGqO.js.map +1 -0
  166. package/dist/cdn/chunks/{useLocalizedDisplay-C3lIetmX.js → useLocalizedDisplay-Brdkp3KH.js} +2 -2
  167. package/dist/cdn/chunks/{useLocalizedDisplay-C3lIetmX.js.map → useLocalizedDisplay-Brdkp3KH.js.map} +1 -1
  168. package/dist/cdn/chunks/{useLogicTag-DOIlsGk8.js → useLogicTag-CKtQlJDa.js} +2 -2
  169. package/dist/cdn/chunks/{useLogicTag-DOIlsGk8.js.map → useLogicTag-CKtQlJDa.js.map} +1 -1
  170. package/dist/cdn/chunks/{useMergeTag-DUNl364g.js → useMergeTag-Dwy3U0PI.js} +2 -2
  171. package/dist/cdn/chunks/{useMergeTag-DUNl364g.js.map → useMergeTag-Dwy3U0PI.js.map} +1 -1
  172. package/dist/cdn/chunks/{withCurrentFont-ufGLu2Vt.js → withCurrentFont-C4pIesdB.js} +2 -2
  173. package/dist/cdn/chunks/{withCurrentFont-ufGLu2Vt.js.map → withCurrentFont-C4pIesdB.js.map} +1 -1
  174. package/dist/cdn/editor.js +21 -21
  175. package/dist/{check-CWq6Nfjj.js → check-C82yyyf1.js} +1 -1
  176. package/dist/{chevron-down-B9t0SK_-.js → chevron-down-BaBVjNbM.js} +1 -1
  177. package/dist/{chevron-right-B_qslOCS.js → chevron-right-DkS-bw8X.js} +1 -1
  178. package/dist/{chevron-up-CxZ2teV2.js → chevron-up-C1KzUIK4.js} +1 -1
  179. package/dist/{circle-exclamation-point-B1tbhkNb.js → circle-exclamation-point-DsmqtTUQ.js} +1 -1
  180. package/dist/{clock-Rw4btQn-.js → clock-dpIs7vo0.js} +1 -1
  181. package/dist/{composables-5KJV0O9T.js → composables-CT0_xtqC.js} +1308 -1263
  182. package/dist/{createCloudRuntime-BdoKeYJi.js → createCloudRuntime-CiEo0wkr.js} +2 -2
  183. package/dist/{createLucideIcon-B6Zkn9r0.js → createLucideIcon-BSam2AUu.js} +5 -5
  184. package/dist/{cdn/chunks/da-4YwDAuEr.js → da-Dno_4nGy.js} +4 -3
  185. package/dist/{cdn/chunks/de-BlQ0vdZJ.js → de-DRR5JSkh.js} +4 -3
  186. package/dist/{dist-DsA7NeIy.js → dist-DX_IQgcU.js} +4 -0
  187. package/dist/{editor-modal-_ylhrf4g.js → editor-modal-odubnc9x.js} +15 -15
  188. package/dist/en-CAImT1hl.js +1 -0
  189. package/dist/{en-MlNeQVSG.js → en-DAcLbbpg.js} +4 -1
  190. package/dist/{es-2s8x4OM2.js → es-BcEQLQxe.js} +4 -1
  191. package/dist/{extensions-DCJGAZ9z.js → extensions-C7OLgMEj.js} +3 -3
  192. package/dist/{eye-BE-DeEqG.js → eye-CxCHEszj.js} +1 -1
  193. package/dist/{cdn/chunks/fr-D3MjrsgQ.js → fr-CNQG7ESr.js} +4 -3
  194. package/dist/{image-DfRxUmUh.js → image-DvXPzqNd.js} +1 -1
  195. package/dist/index.d.ts +35 -6
  196. package/dist/{info-D1PS-81D.js → info-2KHWaZ2L.js} +1 -1
  197. package/dist/{cdn/chunks/ja-B4Kx7uBX.js → ja-CMxWxqSH.js} +4 -3
  198. package/dist/{link-DLaACaIz.js → link-_OmrcJMv.js} +1 -1
  199. package/dist/{list-CvtzVlvM.js → list-Dekd7JE8.js} +1 -1
  200. package/dist/{loader-circle-DCkSXApP.js → loader-circle-D_hT5mFS.js} +1 -1
  201. package/dist/{message-circle-Bj4F9bBO.js → message-circle-DDbiG-jz.js} +1 -1
  202. package/dist/{cdn/chunks/nl-U65iX7wN.js → nl-BjyYZDkC.js} +4 -3
  203. package/dist/{normalizeMergeTagMarkup-B7n_-4Dz.js → normalizeMergeTagMarkup-Cv5Wvs5f.js} +1 -1
  204. package/dist/{package-By1au8Wi.js → package-cORUe57D.js} +1 -1
  205. package/dist/{pencil-T4qqyRLl.js → pencil-D67H4fxq.js} +1 -1
  206. package/dist/{plus-3Zry-1gs.js → plus-BpTZAx28.js} +1 -1
  207. package/dist/{preRenderCustomBlocks-D3GzENVB.js → preRenderCustomBlocks-6CLw2rP6.js} +1 -1
  208. package/dist/{pt-BR-_jsX1xLv.js → pt-BR-DC2A3C0v.js} +4 -1
  209. package/dist/{refresh-cw-BwaO0ioc.js → refresh-cw-B4T0IFwI.js} +1 -1
  210. package/dist/{rotate-ccw-C3E0W5q-.js → rotate-ccw-BDQgjpuo.js} +1 -1
  211. package/dist/{sanitizeHtml-BcbjlypU.js → sanitizeHtml-Ru5_-IbM.js} +2 -2
  212. package/dist/{search-DfExisVv.js → search-Dp9pkaVt.js} +1 -1
  213. package/dist/{send-FRC7Giap.js → send-DO9GhgCH.js} +1 -1
  214. package/dist/{smartphone-BlYU_z_x.js → smartphone-CPW3I3hV.js} +1 -1
  215. package/dist/{socialIcons-By2LPWOQ.js → socialIcons-DXOO2y7u.js} +32 -32
  216. package/dist/{sparkles-DSi61skE.js → sparkles-CIBjNfij.js} +1 -1
  217. package/dist/{square-DEE8tT2w.js → square-3W65qrrH.js} +1 -1
  218. package/dist/templatical-editor.js +35 -35
  219. package/dist/{text-align-start-DGdrmKcG.js → text-align-start-Bs70tpRU.js} +1 -1
  220. package/dist/{trash-YZPJMZc7.js → trash-CTzhAm1o.js} +1 -1
  221. package/dist/{triangle-exclamation-point-BR-W6pQm.js → triangle-exclamation-point-D_13CuJY.js} +1 -1
  222. package/dist/{upload-B_Eoqj-4.js → upload-DFxkP9MI.js} +1 -1
  223. package/dist/{useLocalizedDisplay-_P6-hXaO.js → useLocalizedDisplay-DfiE-KjV.js} +1 -1
  224. package/dist/{useLogicTag-f0SJ1Cd2.js → useLogicTag-K5CPoMTk.js} +1 -1
  225. package/dist/{useMergeTag-0-EudwkV.js → useMergeTag-tsU_Sw2x.js} +1 -1
  226. package/dist/{useScrollToBlock-CtM_ydOS.js → useScrollToBlock-194ePl4q.js} +1 -1
  227. package/dist/{withCurrentFont-BOg3jmCT.js → withCurrentFont-C-_IYTqP.js} +1 -1
  228. package/dist/{x-C0X5MoK3.js → x-D7L8mLHJ.js} +1 -1
  229. package/package.json +10 -10
  230. package/dist/cdn/chunks/Toolbar-DbqkKRXy.js.map +0 -1
  231. package/dist/cdn/chunks/ca-Ce3NmK9v.js.map +0 -1
  232. package/dist/cdn/chunks/composables-Brr4m0Sg.js.map +0 -1
  233. package/dist/cdn/chunks/da-4YwDAuEr.js.map +0 -1
  234. package/dist/cdn/chunks/de-BlQ0vdZJ.js.map +0 -1
  235. package/dist/cdn/chunks/en-DkulseE1.js +0 -1
  236. package/dist/cdn/chunks/en-MlNeQVSG.js.map +0 -1
  237. package/dist/cdn/chunks/es-2s8x4OM2.js.map +0 -1
  238. package/dist/cdn/chunks/fr-D3MjrsgQ.js.map +0 -1
  239. package/dist/cdn/chunks/ja-B4Kx7uBX.js.map +0 -1
  240. package/dist/cdn/chunks/nl-U65iX7wN.js.map +0 -1
  241. package/dist/cdn/chunks/pt-BR-_jsX1xLv.js.map +0 -1
  242. package/dist/cdn/chunks/socialIcons-Df9dNe7I.js.map +0 -1
  243. package/dist/cdn/chunks/src-B3v_3j9b.js.map +0 -1
  244. package/dist/cdn/chunks/src-BHgVGOTi.js.map +0 -1
  245. package/dist/cdn/chunks/src-C5V_yzAU.js.map +0 -1
  246. package/dist/en-DwxgN_-Y.js +0 -1
@@ -1,37 +1,38 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
2
  import { B as t, F as n, Ft as r, L as i, M as a, Mt as o, P as s, Pt as c, Q as l, U as u, W as d, Z as f, _ as p, c as m, ct as h, d as g, et as _, f as v, g as y, l as b, m as x, r as S, rt as C, u as w, v as T, w as E, y as D } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
3
3
  import { a as O, o as k } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
4
- import { n as A, t as j } from "./MergeTagTextarea-CCfirhcR.js";
5
- import { c as M } from "./LogicTagInsertButton-DqTkGJSR.js";
6
- import { t as N } from "./MergeTagInput-Jly1Pw0v.js";
4
+ import { n as A, t as j } from "./MergeTagTextarea-CA9dPfMH.js";
5
+ import { c as M } from "./LogicTagInsertButton-Clc3JTg_.js";
6
+ import { t as N } from "./MergeTagInput-B5a9noTB.js";
7
7
  import { t as P } from "./ToggleSwitch-BIPdFWUr.js";
8
8
  import { C as F, S as I, _ as L, b as ee, c as R, g as z, h as B, r as te, s as ne, v as V, y as H } from "./styleConstants-Br6CIRoS.js";
9
- import { t as re } from "./link-DLaACaIz.js";
10
- import { t as U } from "./createLucideIcon-B6Zkn9r0.js";
9
+ import { t as re } from "./link-_OmrcJMv.js";
10
+ import { t as U } from "./createLucideIcon-BSam2AUu.js";
11
11
  import { t as W } from "./useI18n-Cx9W7OWb.js";
12
- import { $t as ie, Bt as ae, F as oe, Jt as se, N as ce, P as G, Pt as le, St as ue, bt as de, en as fe, fn as pe, ft as K, i as q, j as J, m as Y, mn as X, n as me, o as he, pt as ge, r as _e, rn as ve, t as ye, v as Z } from "./dist-DsA7NeIy.js";
13
- import { n as be } from "./useLocalizedDisplay-_P6-hXaO.js";
12
+ import { $t as ie, Bt as ae, F as oe, Jt as se, N as ce, P as G, Pt as le, St as ue, bt as de, en as fe, fn as pe, ft as K, i as q, j as J, m as Y, mn as X, n as me, o as he, pt as ge, r as _e, rn as ve, t as ye, v as Z } from "./dist-DX_IQgcU.js";
13
+ import { n as be } from "./useLocalizedDisplay-DfiE-KjV.js";
14
14
  import { $ as xe, B as Se, C as Ce, H as we, O as Te, T as Ee, W as De, _ as Oe, b as ke, h as Ae, p as je, r as Me, ut as Ne, v as Pe } from "./keys-B4DimcgX.js";
15
- import { B as Fe, T as Ie, _ as Le, b as Re, d as ze, f as Be, g as Ve, h as He, i as Ue, k as We, l as Ge, m as Ke, p as qe, r as Je, s as Ye, u as Xe, v as Ze } from "./socialIcons-By2LPWOQ.js";
16
- import { n as Qe, t as $e } from "./withCurrentFont-BOg3jmCT.js";
15
+ import { B as Fe, T as Ie, _ as Le, b as Re, d as ze, f as Be, g as Ve, h as He, i as Ue, k as We, l as Ge, m as Ke, p as qe, r as Je, s as Ye, u as Xe, v as Ze } from "./socialIcons-DXOO2y7u.js";
16
+ import { n as Qe, t as $e } from "./withCurrentFont-C-_IYTqP.js";
17
17
  import { t as et } from "./languageName-DEEOhDWI.js";
18
- import { n as tt, t as nt } from "./blockTypeIcons-Do1QqDjg.js";
19
- import { t as Q } from "./plus-3Zry-1gs.js";
18
+ import { n as tt, t as nt } from "./blockTypeIcons-BePGuX0b.js";
19
+ import { t as Q } from "./plus-BpTZAx28.js";
20
20
  import { t as rt } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
21
- import { t as it } from "./image-DfRxUmUh.js";
22
- import { t as at } from "./chevron-down-B9t0SK_-.js";
23
- import { n as ot, t as st } from "./smartphone-BlYU_z_x.js";
21
+ import { t as it } from "./image-DvXPzqNd.js";
22
+ import { t as at } from "./chevron-down-BaBVjNbM.js";
23
+ import { n as ot, t as st } from "./smartphone-CPW3I3hV.js";
24
24
  import { t as ct } from "./logger-BOu7oEtk.js";
25
- import { t as lt } from "./circle-exclamation-point-B1tbhkNb.js";
26
- import { t as ut } from "./refresh-cw-BwaO0ioc.js";
25
+ import { t as lt } from "./circle-exclamation-point-DsmqtTUQ.js";
26
+ import { t as ut } from "./refresh-cw-B4T0IFwI.js";
27
27
  import { c as dt, r as ft } from "./usePopoverPosition-DF0ZYH7g.js";
28
- import { t as pt } from "./trash-YZPJMZc7.js";
29
- import { t as mt } from "./info-D1PS-81D.js";
28
+ import { t as pt } from "./trash-CTzhAm1o.js";
29
+ import { t as mt } from "./info-2KHWaZ2L.js";
30
30
  import { _ as ht } from "./dist-A328tG0Z.js";
31
- import { n as gt, r as _t, t as vt } from "./text-align-start-DGdrmKcG.js";
32
- import { t as yt } from "./x-C0X5MoK3.js";
33
- import { n as bt } from "./upload-B_Eoqj-4.js";
34
- var xt = U({
31
+ import { n as gt, r as _t, t as vt } from "./text-align-start-Bs70tpRU.js";
32
+ import { t as yt } from "./x-D7L8mLHJ.js";
33
+ import { t as bt } from "./useMergeTag-tsU_Sw2x.js";
34
+ import { n as xt } from "./upload-DFxkP9MI.js";
35
+ var St = U({
35
36
  name: "lock-open",
36
37
  size: 24,
37
38
  node: [["rect", {
@@ -47,7 +48,7 @@ var xt = U({
47
48
  key: "1mm8w8"
48
49
  }]],
49
50
  aliases: ["unlock"]
50
- }), St = U({
51
+ }), Ct = U({
51
52
  name: "lock",
52
53
  size: 24,
53
54
  node: [["rect", {
@@ -62,7 +63,7 @@ var xt = U({
62
63
  d: "M7 11V7a5 5 0 0 1 10 0v4",
63
64
  key: "fwvmzm"
64
65
  }]]
65
- }), Ct = U({
66
+ }), wt = U({
66
67
  name: "unlink",
67
68
  size: 24,
68
69
  node: [
@@ -103,14 +104,14 @@ var xt = U({
103
104
  key: "ox905f"
104
105
  }]
105
106
  ]
106
- }), wt = [
107
+ }), Tt = [
107
108
  "aria-checked",
108
109
  "aria-label",
109
110
  "disabled",
110
111
  "aria-disabled",
111
112
  "title",
112
113
  "onClick"
113
- ], Tt = { key: 1 }, $ = /* @__PURE__ */ D({
114
+ ], Et = { key: 1 }, $ = /* @__PURE__ */ D({
114
115
  __name: "SlidingPillSelect",
115
116
  props: {
116
117
  options: {},
@@ -155,14 +156,14 @@ var xt = U({
155
156
  key: 0,
156
157
  size: 14,
157
158
  "stroke-width": 2
158
- })) : (a(), v("span", Tt, r(t.label), 1))], 12, wt))), 128))], 4));
159
+ })) : (a(), v("span", Et, r(t.label), 1))], 12, Tt))), 128))], 4));
159
160
  }
160
- }), Et = { class: "tpl:flex tpl:items-stretch" }, Dt = [
161
+ }), Dt = { class: "tpl:flex tpl:items-stretch" }, Ot = [
161
162
  "data-testid",
162
163
  "value",
163
164
  "min",
164
165
  "max"
165
- ], Ot = /* @__PURE__ */ D({
166
+ ], kt = /* @__PURE__ */ D({
166
167
  __name: "NumberWithSuffix",
167
168
  props: {
168
169
  modelValue: {},
@@ -178,7 +179,7 @@ var xt = U({
178
179
  let t = e.target;
179
180
  t.validity?.badInput || n("update:modelValue", Number(t.value));
180
181
  }
181
- return (t, n) => (a(), v("div", Et, [b("input", {
182
+ return (t, n) => (a(), v("div", Dt, [b("input", {
182
183
  type: "number",
183
184
  "data-testid": e.testid,
184
185
  class: o(h(z)),
@@ -186,14 +187,14 @@ var xt = U({
186
187
  min: e.min,
187
188
  max: e.max,
188
189
  onInput: i
189
- }, null, 42, Dt), b("span", { class: o(h(L)) }, r(e.suffix), 3)]));
190
+ }, null, 42, Ot), b("span", { class: o(h(L)) }, r(e.suffix), 3)]));
190
191
  }
191
- }), kt = [
192
+ }), At = [
192
193
  "aria-pressed",
193
194
  "aria-label",
194
195
  "title",
195
196
  "data-testid"
196
- ], At = /* @__PURE__ */ D({
197
+ ], jt = /* @__PURE__ */ D({
197
198
  __name: "LinkToggle",
198
199
  props: {
199
200
  linked: { type: Boolean },
@@ -216,16 +217,16 @@ var xt = U({
216
217
  key: 0,
217
218
  size: 14,
218
219
  "stroke-width": 2
219
- })) : (a(), w(h(Ct), {
220
+ })) : (a(), w(h(wt), {
220
221
  key: 1,
221
222
  size: 14,
222
223
  "stroke-width": 2
223
- }))], 10, kt));
224
+ }))], 10, At));
224
225
  }
225
- }), jt = {
226
+ }), Mt = {
226
227
  key: 0,
227
228
  class: "tpl:mb-3.5"
228
- }, Mt = { class: "tpl:mb-3.5" }, Nt = { class: "tpl:mb-3.5" }, Pt = /* @__PURE__ */ D({
229
+ }, Nt = { class: "tpl:mb-3.5" }, Pt = { class: "tpl:mb-3.5" }, Ft = /* @__PURE__ */ D({
229
230
  __name: "BorderControl",
230
231
  props: {
231
232
  path: {},
@@ -295,7 +296,7 @@ var xt = U({
295
296
  path: e.path,
296
297
  label: h(c).blockSettings.border
297
298
  }, {
298
- "label-actions": u(() => [p(At, {
299
+ "label-actions": u(() => [p(jt, {
299
300
  linked: y.value,
300
301
  "link-label": h(c).blockSettings.linkSides,
301
302
  "unlink-label": h(c).blockSettings.unlinkSides,
@@ -308,19 +309,19 @@ var xt = U({
308
309
  "testid"
309
310
  ])]),
310
311
  default: u(() => [
311
- y.value ? g("", !0) : (a(), v("div", jt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderSide), 3), p($, {
312
+ y.value ? g("", !0) : (a(), v("div", Mt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderSide), 3), p($, {
312
313
  options: j.value,
313
314
  "model-value": x.value,
314
315
  "onUpdate:modelValue": n[0] ||= (e) => x.value = e
315
316
  }, null, 8, ["options", "model-value"])])),
316
- b("div", Mt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderWidth), 3), p(Ot, {
317
+ b("div", Nt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderWidth), 3), p(kt, {
317
318
  "model-value": C.value.width,
318
319
  min: 0,
319
320
  suffix: "px",
320
321
  testid: `${e.testidPrefix}-border-width-input`,
321
322
  "onUpdate:modelValue": D
322
323
  }, null, 8, ["model-value", "testid"])]),
323
- C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Nt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderStyle), 3), p($, {
324
+ C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Pt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderStyle), 3), p($, {
324
325
  options: [
325
326
  {
326
327
  value: "solid",
@@ -345,10 +346,10 @@ var xt = U({
345
346
  _: 1
346
347
  }, 8, ["path", "label"]));
347
348
  }
348
- }), Ft = {
349
+ }), It = {
349
350
  key: 1,
350
351
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
351
- }, It = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Lt = /* @__PURE__ */ D({
352
+ }, Lt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Rt = /* @__PURE__ */ D({
352
353
  __name: "RadiusControl",
353
354
  props: {
354
355
  path: {},
@@ -400,7 +401,7 @@ var xt = U({
400
401
  path: e.path,
401
402
  label: e.label
402
403
  }, {
403
- "label-actions": u(() => [p(At, {
404
+ "label-actions": u(() => [p(jt, {
404
405
  linked: y.value,
405
406
  "link-label": h(c).blockSettings.linkCorners,
406
407
  "unlink-label": h(c).blockSettings.unlinkCorners,
@@ -412,7 +413,7 @@ var xt = U({
412
413
  "unlink-label",
413
414
  "testid"
414
415
  ])]),
415
- default: u(() => [y.value ? (a(), w(Ot, {
416
+ default: u(() => [y.value ? (a(), w(kt, {
416
417
  key: 0,
417
418
  "model-value": f.value.topLeft,
418
419
  min: 0,
@@ -424,7 +425,7 @@ var xt = U({
424
425
  "model-value",
425
426
  "max",
426
427
  "testid"
427
- ])) : (a(), v("div", Ft, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", It, r(h(c).blockSettings[l[t]]), 1), p(Ot, {
428
+ ])) : (a(), v("div", It, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", Lt, r(h(c).blockSettings[l[t]]), 1), p(kt, {
428
429
  "model-value": f.value[t],
429
430
  min: 0,
430
431
  max: e.max,
@@ -440,14 +441,14 @@ var xt = U({
440
441
  _: 1
441
442
  }, 8, ["path", "label"]));
442
443
  }
443
- }), Rt = ["value"], zt = { value: "" }, Bt = ["value"], Vt = { class: "tpl:flex tpl:items-stretch" }, Ht = ["value"], Ut = ["value"], Wt = ["value"], Gt = ["value"], Kt = { value: "auto" }, qt = { value: "full" }, Jt = { value: "custom" }, Yt = {
444
+ }), zt = ["value"], Bt = { value: "" }, Vt = ["value"], Ht = { class: "tpl:flex tpl:items-stretch" }, Ut = ["value"], Wt = ["value"], Gt = ["value"], Kt = ["value"], qt = { value: "auto" }, Jt = { value: "full" }, Yt = { value: "custom" }, Xt = {
444
445
  key: 0,
445
446
  class: "tpl:mt-2 tpl:flex tpl:items-stretch tpl:gap-2"
446
- }, Xt = [
447
+ }, Zt = [
447
448
  "value",
448
449
  "min",
449
450
  "max"
450
- ], Zt = 200, Qt = /* @__PURE__ */ D({
451
+ ], Qt = 200, $t = /* @__PURE__ */ D({
451
452
  __name: "ButtonToolbar",
452
453
  props: {
453
454
  block: {},
@@ -460,7 +461,7 @@ var xt = U({
460
461
  i("update", { [e]: t });
461
462
  }
462
463
  function D(e) {
463
- e === "full" ? T("width", "full") : e === "custom" ? T("width", typeof n.block.width == "number" ? n.block.width : Zt) : T("width", void 0);
464
+ e === "full" ? T("width", "full") : e === "custom" ? T("width", typeof n.block.width == "number" ? n.block.width : Qt) : T("width", void 0);
464
465
  }
465
466
  let O = m(() => String(J(n.block))), k = m(() => {
466
467
  let e = O.value;
@@ -493,7 +494,7 @@ var xt = U({
493
494
  return;
494
495
  }
495
496
  let i = ae(t);
496
- r === null ? T("width", Zt) : T("width", Math.max(1, Math.round(r * i / 100)));
497
+ r === null ? T("width", Qt) : T("width", Math.max(1, Math.round(r * i / 100)));
497
498
  }
498
499
  return (t, n) => (a(), v(S, null, [
499
500
  p(A, {
@@ -505,10 +506,10 @@ var xt = U({
505
506
  class: o(h(B)),
506
507
  value: h($e)(e.block.fontFamily),
507
508
  onChange: n[0] ||= (e) => T("fontFamily", e.target.value || void 0)
508
- }, [b("option", zt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
509
+ }, [b("option", Bt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
509
510
  key: e.value,
510
511
  value: e.value
511
- }, r(e.label), 9, Bt))), 128))], 42, Rt)]),
512
+ }, r(e.label), 9, Vt))), 128))], 42, zt)]),
512
513
  _: 1
513
514
  }, 8, ["label"]),
514
515
  p(A, {
@@ -577,13 +578,13 @@ var xt = U({
577
578
  }, null, 8, ["model-value"])]),
578
579
  _: 1
579
580
  }, 8, ["label"]),
580
- p(Pt, {
581
+ p(Ft, {
581
582
  path: "border",
582
583
  "model-value": e.block.border,
583
584
  "testid-prefix": "button",
584
585
  "onUpdate:modelValue": n[6] ||= (e) => T("border", e)
585
586
  }, null, 8, ["model-value"]),
586
- p(Lt, {
587
+ p(Rt, {
587
588
  path: "borderRadius",
588
589
  "model-value": e.block.borderRadius,
589
590
  label: h(c).button.borderRadius,
@@ -596,14 +597,14 @@ var xt = U({
596
597
  class: "tpl:mb-3.5",
597
598
  path: "fontSize"
598
599
  }, {
599
- default: u(() => [b("div", Vt, [b("input", {
600
+ default: u(() => [b("div", Ht, [b("input", {
600
601
  type: "number",
601
602
  class: o(h(z)),
602
603
  value: e.block.fontSize,
603
604
  min: "10",
604
605
  max: "36",
605
606
  onInput: n[8] ||= (e) => T("fontSize", Number(e.target.value))
606
- }, null, 42, Ht), b("span", { class: o(h(L)) }, "px", 2)])]),
607
+ }, null, 42, Ut), b("span", { class: o(h(L)) }, "px", 2)])]),
607
608
  _: 1
608
609
  }, 8, ["label"]),
609
610
  p(A, {
@@ -618,7 +619,7 @@ var xt = U({
618
619
  }, [(a(!0), v(S, null, s(k.value, (e) => (a(), v("option", {
619
620
  key: e,
620
621
  value: e
621
- }, r(e), 9, Wt))), 128))], 42, Ut)]),
622
+ }, r(e), 9, Gt))), 128))], 42, Wt)]),
622
623
  _: 1
623
624
  }, 8, ["label"]),
624
625
  p(A, {
@@ -656,17 +657,17 @@ var xt = U({
656
657
  value: _.value,
657
658
  onChange: n[10] ||= (e) => D(e.target.value)
658
659
  }, [
659
- b("option", Kt, r(h(c).button.widthAuto), 1),
660
- b("option", qt, r(h(c).button.fullWidth), 1),
661
- b("option", Jt, r(h(c).button.widthCustom), 1)
662
- ], 42, Gt), _.value === "custom" ? (a(), v("div", Yt, [b("input", {
660
+ b("option", qt, r(h(c).button.widthAuto), 1),
661
+ b("option", Jt, r(h(c).button.fullWidth), 1),
662
+ b("option", Yt, r(h(c).button.widthCustom), 1)
663
+ ], 42, Kt), _.value === "custom" ? (a(), v("div", Xt, [b("input", {
663
664
  type: "number",
664
665
  class: o([h(B), "tpl:min-w-0 tpl:flex-1"]),
665
666
  value: x.value,
666
667
  min: y.value === "%" ? 1 : 20,
667
668
  max: y.value === "%" ? 100 : void 0,
668
669
  onInput: n[11] ||= (e) => I(e.target.value)
669
- }, null, 42, Xt), p($, {
670
+ }, null, 42, Zt), p($, {
670
671
  class: "tpl:w-24 tpl:shrink-0",
671
672
  "aria-label": h(c).button.widthUnit,
672
673
  options: [{
@@ -708,7 +709,7 @@ var xt = U({
708
709
  }, 8, ["label"])
709
710
  ], 64));
710
711
  }
711
- }), $t = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, en = { class: "tpl:flex tpl:items-center" }, tn = ["aria-label"], nn = ["value", "aria-label"], rn = ["aria-label"], an = { class: "tpl:flex tpl:items-center tpl:gap-2" }, on = { class: "tpl:flex tpl:items-center" }, sn = ["aria-label"], cn = ["value", "aria-label"], ln = ["aria-label"], un = ["aria-label", "title"], dn = { class: "tpl:flex tpl:items-center" }, fn = ["aria-label"], pn = ["value", "aria-label"], mn = ["aria-label"], hn = { class: "tpl:flex tpl:items-center" }, gn = ["aria-label"], _n = ["value", "aria-label"], vn = ["aria-label"], yn = "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)]", bn = "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)]", xn = /*#__PURE__*/ rt(/* @__PURE__ */ D({
712
+ }), en = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, tn = { class: "tpl:flex tpl:items-center" }, nn = ["aria-label"], rn = ["value", "aria-label"], an = ["aria-label"], on = { class: "tpl:flex tpl:items-center tpl:gap-2" }, sn = { class: "tpl:flex tpl:items-center" }, cn = ["aria-label"], ln = ["value", "aria-label"], un = ["aria-label"], dn = ["aria-label", "title"], fn = { class: "tpl:flex tpl:items-center" }, pn = ["aria-label"], mn = ["value", "aria-label"], hn = ["aria-label"], gn = { class: "tpl:flex tpl:items-center" }, _n = ["aria-label"], vn = ["value", "aria-label"], yn = ["aria-label"], bn = "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)]", xn = "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)]", Sn = /*#__PURE__*/ rt(/* @__PURE__ */ D({
712
713
  __name: "SpacingControl",
713
714
  props: {
714
715
  path: {},
@@ -761,126 +762,126 @@ var xt = U({
761
762
  path: e.path,
762
763
  label: e.label
763
764
  }, {
764
- default: u(() => [b("div", $t, [
765
- b("div", en, [
765
+ default: u(() => [b("div", en, [
766
+ b("div", tn, [
766
767
  b("button", {
767
768
  "aria-label": h(s).spacingControl.decreaseTop,
768
- class: o([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
769
+ class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
769
770
  onClick: n[0] ||= (e) => d("top", -1)
770
771
  }, [p(h(tt), {
771
772
  size: 12,
772
773
  "stroke-width": 2
773
- })], 10, tn),
774
+ })], 10, nn),
774
775
  b("input", {
775
776
  type: "number",
776
- class: o(bn),
777
+ class: o(xn),
777
778
  value: e.modelValue.top,
778
779
  "aria-label": h(s).spacingControl.top,
779
780
  min: "0",
780
781
  onInput: n[1] ||= (e) => f("top", Number(e.target.value))
781
- }, null, 40, nn),
782
+ }, null, 40, rn),
782
783
  b("button", {
783
784
  "aria-label": h(s).spacingControl.increaseTop,
784
- class: o([yn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
785
+ class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
785
786
  onClick: n[2] ||= (e) => d("top", 1)
786
787
  }, [p(h(Q), {
787
788
  size: 12,
788
789
  "stroke-width": 2
789
- })], 10, rn)
790
+ })], 10, an)
790
791
  ]),
791
- b("div", an, [
792
- b("div", on, [
792
+ b("div", on, [
793
+ b("div", sn, [
793
794
  b("button", {
794
795
  "aria-label": h(s).spacingControl.decreaseLeft,
795
- class: o([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
796
+ class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
796
797
  onClick: n[3] ||= (e) => d("left", -1)
797
798
  }, [p(h(tt), {
798
799
  size: 12,
799
800
  "stroke-width": 2
800
- })], 10, sn),
801
+ })], 10, cn),
801
802
  b("input", {
802
803
  type: "number",
803
- class: o(bn),
804
+ class: o(xn),
804
805
  value: e.modelValue.left,
805
806
  "aria-label": h(s).spacingControl.left,
806
807
  min: "0",
807
808
  onInput: n[4] ||= (e) => f("left", Number(e.target.value))
808
- }, null, 40, cn),
809
+ }, null, 40, ln),
809
810
  b("button", {
810
811
  "aria-label": h(s).spacingControl.increaseLeft,
811
- class: o([yn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
812
+ class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
812
813
  onClick: n[5] ||= (e) => d("left", 1)
813
814
  }, [p(h(Q), {
814
815
  size: 12,
815
816
  "stroke-width": 2
816
- })], 10, ln)
817
+ })], 10, un)
817
818
  ]),
818
819
  b("button", {
819
820
  class: o(["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)]"]),
820
821
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
821
822
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
822
823
  onClick: g
823
- }, [l.value ? (a(), w(h(St), {
824
+ }, [l.value ? (a(), w(h(Ct), {
824
825
  key: 0,
825
826
  size: 14,
826
827
  "stroke-width": 2
827
- })) : (a(), w(h(xt), {
828
+ })) : (a(), w(h(St), {
828
829
  key: 1,
829
830
  size: 14,
830
831
  "stroke-width": 2
831
- }))], 10, un),
832
- b("div", dn, [
832
+ }))], 10, dn),
833
+ b("div", fn, [
833
834
  b("button", {
834
835
  "aria-label": h(s).spacingControl.decreaseRight,
835
- class: o([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
836
+ class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
836
837
  onClick: n[6] ||= (e) => d("right", -1)
837
838
  }, [p(h(tt), {
838
839
  size: 12,
839
840
  "stroke-width": 2
840
- })], 10, fn),
841
+ })], 10, pn),
841
842
  b("input", {
842
843
  type: "number",
843
- class: o(bn),
844
+ class: o(xn),
844
845
  value: e.modelValue.right,
845
846
  "aria-label": h(s).spacingControl.right,
846
847
  min: "0",
847
848
  onInput: n[7] ||= (e) => f("right", Number(e.target.value))
848
- }, null, 40, pn),
849
+ }, null, 40, mn),
849
850
  b("button", {
850
851
  "aria-label": h(s).spacingControl.increaseRight,
851
- class: o([yn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
852
+ class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
852
853
  onClick: n[8] ||= (e) => d("right", 1)
853
854
  }, [p(h(Q), {
854
855
  size: 12,
855
856
  "stroke-width": 2
856
- })], 10, mn)
857
+ })], 10, hn)
857
858
  ])
858
859
  ]),
859
- b("div", hn, [
860
+ b("div", gn, [
860
861
  b("button", {
861
862
  "aria-label": h(s).spacingControl.decreaseBottom,
862
- class: o([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
863
+ class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
863
864
  onClick: n[9] ||= (e) => d("bottom", -1)
864
865
  }, [p(h(tt), {
865
866
  size: 12,
866
867
  "stroke-width": 2
867
- })], 10, gn),
868
+ })], 10, _n),
868
869
  b("input", {
869
870
  type: "number",
870
- class: o(bn),
871
+ class: o(xn),
871
872
  value: e.modelValue.bottom,
872
873
  "aria-label": h(s).spacingControl.bottom,
873
874
  min: "0",
874
875
  onInput: n[10] ||= (e) => f("bottom", Number(e.target.value))
875
- }, null, 40, _n),
876
+ }, null, 40, vn),
876
877
  b("button", {
877
878
  "aria-label": h(s).spacingControl.increaseBottom,
878
- class: o([yn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
879
+ class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
879
880
  onClick: n[11] ||= (e) => d("bottom", 1)
880
881
  }, [p(h(Q), {
881
882
  size: 12,
882
883
  "stroke-width": 2
883
- })], 10, vn)
884
+ })], 10, yn)
884
885
  ])
885
886
  ])]),
886
887
  _: 1
@@ -888,7 +889,7 @@ var xt = U({
888
889
  }
889
890
  }), [["__scopeId", "data-v-94c2e6ff"]]);
890
891
  // src/composables/useNaturalImageSize.ts
891
- function Sn(e) {
892
+ function Cn(e) {
892
893
  let n = _(null), r = () => {};
893
894
  return t(e, (e) => {
894
895
  r(), n.value = null, e && (r = qe(e, (e) => {
@@ -896,11 +897,11 @@ function Sn(e) {
896
897
  }));
897
898
  }, { immediate: !0 }), n;
898
899
  }
899
- function Cn() {
900
+ function wn() {
900
901
  let e = E(Ce, null);
901
- return async (t) => Ke(e ? await wn(e, t) : t);
902
+ return async (t) => Ke(e ? await Tn(e, t) : t);
902
903
  }
903
- function wn(e, n) {
904
+ function Tn(e, n) {
904
905
  let r = (e) => typeof e == "string" && e.length > 0 ? e : n;
905
906
  e.lookup(n);
906
907
  let i = e.get(n);
@@ -911,13 +912,13 @@ function wn(e, n) {
911
912
  }) : Promise.resolve(r(i));
912
913
  }
913
914
  // src/components/toolbar/BackgroundImageControl.vue?vue&type=script&setup=true&lang.ts
914
- var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"], On = ["data-testid"], kn = ["aria-label", "data-testid"], An = [
915
+ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"], kn = ["data-testid"], An = ["aria-label", "data-testid"], jn = [
915
916
  "aria-label",
916
917
  "title",
917
918
  "aria-pressed",
918
919
  "data-testid",
919
920
  "onClick"
920
- ], jn = ["data-testid"], Mn = /* @__PURE__ */ D({
921
+ ], Mn = ["data-testid"], Nn = /* @__PURE__ */ D({
921
922
  __name: "BackgroundImageControl",
922
923
  props: {
923
924
  hideLabel: { type: Boolean },
@@ -928,7 +929,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
928
929
  },
929
930
  emits: ["update:modelValue"],
930
931
  setup(e, { emit: t }) {
931
- let n = e, i = t, { t: c } = W(), l = E(Se, Z.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = Cn(), C;
932
+ let n = e, i = t, { t: c } = W(), l = E(Se, Z.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = wn(), C;
932
933
  f(() => clearTimeout(C));
933
934
  function T(e) {
934
935
  n.measure && !G(e, l) && (C = setTimeout(async () => {
@@ -990,10 +991,11 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
990
991
  }
991
992
  let F = _(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = Xe({
992
993
  target: F,
994
+ value: u,
993
995
  blocked: () => G(u.value, l),
994
996
  apply: (e) => D(e.url, Le(e.width, e.height))
995
997
  });
996
- return (t, n) => (a(), v("div", Tn, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
998
+ return (t, n) => (a(), v("div", En, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
997
999
  key: 0,
998
1000
  class: o(h(V))
999
1001
  }, r(h(c).blockSettings.backgroundImage), 3)), b("div", {
@@ -1026,8 +1028,8 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1026
1028
  }, [p(h(it), {
1027
1029
  size: 14,
1028
1030
  "stroke-width": 1.5
1029
- }), y(" " + r(h(c).image.browseMedia), 1)], 8, Dn)) : g("", !0)
1030
- ], 8, En)]), d.value && e.modelValue ? (a(), v(S, { key: 0 }, [
1031
+ }), y(" " + r(h(c).image.browseMedia), 1)], 8, On)) : g("", !0)
1032
+ ], 8, Dn)]), d.value && e.modelValue ? (a(), v(S, { key: 0 }, [
1031
1033
  e.heroMode ? g("", !0) : (a(), v("div", {
1032
1034
  key: 0,
1033
1035
  "data-testid": `${e.testidPrefix}-bg-size`
@@ -1035,7 +1037,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1035
1037
  options: k.value,
1036
1038
  "model-value": e.modelValue.size,
1037
1039
  "onUpdate:modelValue": n[1] ||= (e) => O({ size: e })
1038
- }, null, 8, ["options", "model-value"])], 8, On)),
1040
+ }, null, 8, ["options", "model-value"])], 8, kn)),
1039
1041
  b("div", null, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.backgroundPosition), 3), b("div", {
1040
1042
  role: "group",
1041
1043
  "aria-label": h(c).blockSettings.backgroundPosition,
@@ -1053,7 +1055,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1053
1055
  x: t.x,
1054
1056
  y: t.y
1055
1057
  } })
1056
- }, [b("span", { class: o(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", M(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, An))), 128))], 8, kn)]),
1058
+ }, [b("span", { class: o(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", M(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, jn))), 128))], 8, An)]),
1057
1059
  e.heroMode ? g("", !0) : (a(), v("div", {
1058
1060
  key: 1,
1059
1061
  "data-testid": `${e.testidPrefix}-bg-repeat`
@@ -1062,10 +1064,10 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1062
1064
  "model-value": e.modelValue.repeat,
1063
1065
  label: h(c).blockSettings.backgroundRepeat,
1064
1066
  "onUpdate:modelValue": n[2] ||= (e) => O({ repeat: e })
1065
- }, null, 8, ["model-value", "label"])], 8, jn))
1067
+ }, null, 8, ["model-value", "label"])], 8, Mn))
1066
1068
  ], 64)) : g("", !0)]));
1067
1069
  }
1068
- }), Nn = ["data-testid"], Pn = ["data-testid"], Fn = /* @__PURE__ */ D({
1070
+ }), Pn = ["data-testid"], Fn = ["data-testid"], In = /* @__PURE__ */ D({
1069
1071
  __name: "CollapsibleSection",
1070
1072
  props: {
1071
1073
  title: {},
@@ -1084,29 +1086,29 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1084
1086
  class: o(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1085
1087
  size: 12,
1086
1088
  "stroke-width": 2
1087
- }, null, 8, ["class"]), b("span", null, r(e.title), 1)], 8, Nn), d(b("div", {
1089
+ }, null, 8, ["class"]), b("span", null, r(e.title), 1)], 8, Pn), d(b("div", {
1088
1090
  class: "tpl:mt-3",
1089
1091
  "data-testid": e.headerTestId ? `${e.headerTestId}-content` : void 0
1090
- }, [n(t.$slots, "default")], 8, Pn), [[k, e.open]])], 2));
1092
+ }, [n(t.$slots, "default")], 8, Fn), [[k, e.open]])], 2));
1091
1093
  }
1092
- }), In = {
1094
+ }), Ln = {
1093
1095
  key: 0,
1094
1096
  "data-testid": "section-hero-columns-note",
1095
1097
  class: "tpl:mt-3.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1096
- }, Ln = {
1098
+ }, Rn = {
1097
1099
  key: 1,
1098
1100
  "data-testid": "section-hero",
1099
1101
  class: "tpl:mt-3.5 tpl:space-y-3.5"
1100
- }, Rn = { "data-testid": "section-hero-height" }, zn = {
1102
+ }, zn = { "data-testid": "section-hero-height" }, Bn = {
1101
1103
  key: 0,
1102
1104
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1103
- }, Bn = {
1105
+ }, Vn = {
1104
1106
  key: 1,
1105
1107
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1106
- }, Vn = {
1108
+ }, Hn = {
1107
1109
  key: 1,
1108
1110
  "data-testid": "section-hero-align"
1109
- }, Hn = 300, Un = /* @__PURE__ */ D({
1111
+ }, Un = 300, Wn = /* @__PURE__ */ D({
1110
1112
  __name: "HeroControl",
1111
1113
  props: { section: {} },
1112
1114
  emits: ["update"],
@@ -1114,7 +1116,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1114
1116
  function n(e) {
1115
1117
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1116
1118
  }
1117
- let i = e, s = t, { t: c } = W(), l = E(Se, Z.liquid), u = E(Pe, null), d = E(Ee, void 0), f = Cn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => G(_.value, l)), S = m(() => i.section.hero), C = m(() => i.section.columns === "1"), T = m(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), D = m(() => n(S.value?.height) ? S.value.height : Hn), O = m(() => [
1119
+ let i = e, s = t, { t: c } = W(), l = E(Se, Z.liquid), u = E(Pe, null), d = E(Ee, void 0), f = wn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => G(_.value, l)), S = m(() => i.section.hero), C = m(() => i.section.columns === "1"), T = m(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), D = m(() => n(S.value?.height) ? S.value.height : Un), O = m(() => [
1118
1120
  {
1119
1121
  value: "fit",
1120
1122
  label: c.blockSettings.heroHeightFit
@@ -1159,7 +1161,7 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1159
1161
  s("update", { hero: void 0 });
1160
1162
  return;
1161
1163
  }
1162
- let n = de(i.section.backgroundImage), r = n === null ? Hn : Math.round(j() * n);
1164
+ let n = de(i.section.backgroundImage), r = n === null ? Un : Math.round(j() * n);
1163
1165
  s("update", { hero: {
1164
1166
  height: r,
1165
1167
  verticalAlign: t
@@ -1186,17 +1188,17 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1186
1188
  verticalAlign: e
1187
1189
  } });
1188
1190
  }
1189
- return (e, t) => !C.value && S.value ? (a(), v("p", In, r(h(c).section.heroNeedsOneColumn), 1)) : C.value && (y.value || S.value) ? (a(), v("div", Ln, [
1190
- b("div", Rn, [
1191
+ return (e, t) => !C.value && S.value ? (a(), v("p", Ln, r(h(c).section.heroNeedsOneColumn), 1)) : C.value && (y.value || S.value) ? (a(), v("div", Rn, [
1192
+ b("div", zn, [
1191
1193
  b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroHeight), 3),
1192
1194
  p($, {
1193
1195
  options: O.value,
1194
1196
  "model-value": T.value,
1195
1197
  "onUpdate:modelValue": M
1196
1198
  }, null, 8, ["options", "model-value"]),
1197
- x.value ? (a(), v("p", zn, r(h(c).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (a(), v("p", Bn, r(h(c).blockSettings.heroSizeUnknown), 1)) : g("", !0)
1199
+ x.value ? (a(), v("p", Bn, r(h(c).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (a(), v("p", Vn, r(h(c).blockSettings.heroSizeUnknown), 1)) : g("", !0)
1198
1200
  ]),
1199
- T.value === "fixed" ? (a(), w(Ot, {
1201
+ T.value === "fixed" ? (a(), w(kt, {
1200
1202
  key: 0,
1201
1203
  "model-value": D.value,
1202
1204
  min: 1,
@@ -1204,24 +1206,24 @@ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"
1204
1206
  testid: "section-hero-height-px",
1205
1207
  "onUpdate:modelValue": P
1206
1208
  }, null, 8, ["model-value"])) : g("", !0),
1207
- S.value ? (a(), v("div", Vn, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroAlign), 3), p($, {
1209
+ S.value ? (a(), v("div", Hn, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroAlign), 3), p($, {
1208
1210
  options: k.value,
1209
1211
  "model-value": S.value.verticalAlign,
1210
1212
  "onUpdate:modelValue": F
1211
1213
  }, null, 8, ["options", "model-value"])])) : g("", !0)
1212
1214
  ])) : g("", !0);
1213
1215
  }
1214
- }), Wn = /* @__PURE__ */ new Set([
1216
+ }), Gn = /* @__PURE__ */ new Set([
1215
1217
  "fullWidth",
1216
1218
  "backgroundColor",
1217
1219
  "backgroundImage",
1218
1220
  "padding",
1219
1221
  "borderRadius"
1220
1222
  ]);
1221
- function Gn(e) {
1223
+ function Kn(e) {
1222
1224
  return typeof e == "string" && e !== "";
1223
1225
  }
1224
- function Kn(e) {
1226
+ function qn(e) {
1225
1227
  return e ? [
1226
1228
  e.top,
1227
1229
  e.right,
@@ -1229,40 +1231,40 @@ function Kn(e) {
1229
1231
  e.left
1230
1232
  ].some((e) => e !== 0) : !1;
1231
1233
  }
1232
- function qn(e) {
1233
- return Gn(e.styles.backgroundColor) || !!e.backgroundImage;
1234
- }
1235
1234
  function Jn(e) {
1236
- return e.fullWidth !== !0 || Kn(e.padding) || pe(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Wn.has(e));
1235
+ return Kn(e.styles.backgroundColor) || !!e.backgroundImage;
1236
+ }
1237
+ function Yn(e) {
1238
+ return e.fullWidth !== !0 || qn(e.padding) || pe(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Gn.has(e));
1237
1239
  }
1238
- function Yn(e, t = {}) {
1240
+ function Xn(e, t = {}) {
1239
1241
  return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && le(t.layout);
1240
1242
  }
1241
- function Xn(e) {
1243
+ function Zn(e) {
1242
1244
  let t = {};
1243
- return Gn(e.styles.backgroundColor) && (t.backgroundColor = e.styles.backgroundColor), e.backgroundImage && (t.backgroundImage = e.backgroundImage), t;
1245
+ return Kn(e.styles.backgroundColor) && (t.backgroundColor = e.styles.backgroundColor), e.backgroundImage && (t.backgroundImage = e.backgroundImage), t;
1244
1246
  }
1245
- function Zn(e) {
1247
+ function Qn(e) {
1246
1248
  let t = { ...e.styles };
1247
1249
  return delete t.backgroundColor, t;
1248
1250
  }
1249
- function Qn(e, t) {
1251
+ function $n(e, t) {
1250
1252
  if (t) return e.wrapper ? { wrapper: {
1251
1253
  ...e.wrapper,
1252
1254
  fullWidth: !0
1253
1255
  } } : {
1254
1256
  wrapper: {
1255
1257
  fullWidth: !0,
1256
- ...Xn(e)
1258
+ ...Zn(e)
1257
1259
  },
1258
- styles: Zn(e),
1260
+ styles: Qn(e),
1259
1261
  backgroundImage: void 0
1260
1262
  };
1261
1263
  let n = e.wrapper;
1262
1264
  if (!n) return {};
1263
- if (Jn(n) && !qn(e)) {
1265
+ if (Yn(n) && !Jn(e)) {
1264
1266
  let t = { ...e.styles };
1265
- return Gn(n.backgroundColor) && (t.backgroundColor = n.backgroundColor), {
1267
+ return Kn(n.backgroundColor) && (t.backgroundColor = n.backgroundColor), {
1266
1268
  wrapper: void 0,
1267
1269
  styles: t,
1268
1270
  backgroundImage: n.backgroundImage
@@ -1273,33 +1275,33 @@ function Qn(e, t) {
1273
1275
  fullWidth: !1
1274
1276
  } };
1275
1277
  }
1276
- function $n(e) {
1278
+ function er(e) {
1277
1279
  let t = e.wrapper;
1278
- return t && Jn(t) && !qn(e) ? Qn(e, !1) : { wrapper: void 0 };
1280
+ return t && Yn(t) && !Jn(e) ? $n(e, !1) : { wrapper: void 0 };
1279
1281
  }
1280
1282
  // src/components/toolbar/CommonBlockSettings.vue?vue&type=script&setup=true&lang.ts
1281
- var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, nr = {
1283
+ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, rr = {
1282
1284
  key: 0,
1283
1285
  class: "tpl:space-y-2"
1284
- }, rr = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ir = {
1286
+ }, ir = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ar = {
1285
1287
  key: 0,
1286
1288
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1287
- }, ar = { class: "tpl:flex tpl:gap-2" }, or = ["disabled"], sr = ["disabled"], cr = ["disabled"], lr = {
1289
+ }, or = { class: "tpl:flex tpl:gap-2" }, sr = ["disabled"], cr = ["disabled"], lr = ["disabled"], ur = {
1288
1290
  key: 1,
1289
1291
  class: "tpl:space-y-2"
1290
- }, ur = ["value"], dr = { value: "" }, fr = ["label"], pr = ["value"], mr = ["value"], hr = {
1292
+ }, dr = ["value"], fr = { value: "" }, pr = ["label"], mr = ["value"], hr = ["value"], gr = {
1291
1293
  key: 0,
1292
1294
  value: "__custom__"
1293
- }, gr = {
1295
+ }, _r = {
1294
1296
  key: 0,
1295
1297
  class: "tpl:space-y-2"
1296
- }, _r = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, vr = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, yr = { class: "tpl:flex tpl:justify-end" }, br = ["disabled"], xr = {
1298
+ }, vr = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, yr = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, br = { class: "tpl:flex tpl:justify-end" }, xr = ["disabled"], Sr = {
1297
1299
  key: 0,
1298
1300
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1299
- }, Sr = { class: "tpl:space-y-1" }, Cr = { 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)]" }, wr = {
1301
+ }, Cr = { class: "tpl:space-y-1" }, wr = { 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)]" }, Tr = {
1300
1302
  key: 0,
1301
1303
  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)]"
1302
- }, Tr = /* @__PURE__ */ D({
1304
+ }, Er = /* @__PURE__ */ D({
1303
1305
  __name: "CommonBlockSettings",
1304
1306
  props: {
1305
1307
  block: {},
@@ -1307,12 +1309,12 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1307
1309
  },
1308
1310
  emits: ["update"],
1309
1311
  setup(e, { emit: n }) {
1310
- let c = e, f = n, { t: x, format: T } = W(), D = E(Pe, null), k = E(Te, void 0), j = m(() => D?.activeLocale?.value), N = m(() => !!(j.value && D?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = E(Oe, []), L = E(Me, !1), R = E(Ee, void 0), z = E(xe, void 0), B = m(() => c.block.type === "section" || c.block.type === "wrapper"), te = m(() => c.block.type === "wrapper" ? c.block.fullWidth === !0 : c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ne = m(() => c.block.type === "section" && Yn(c.block, {
1312
+ let c = e, f = n, { t: x, format: T } = W(), D = E(Pe, null), k = E(Te, void 0), j = m(() => D?.activeLocale?.value), N = m(() => !!(j.value && D?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = E(Oe, []), L = E(Me, !1), R = E(Ee, void 0), z = E(xe, void 0), B = m(() => c.block.type === "section" || c.block.type === "wrapper"), te = m(() => c.block.type === "wrapper" ? c.block.fullWidth === !0 : c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ne = m(() => c.block.type === "section" && Xn(c.block, {
1311
1313
  sectionWrapper: z,
1312
1314
  layout: R
1313
1315
  })), V = m(() => c.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1314
1316
  function re(e) {
1315
- c.block.type === "wrapper" ? f("update", { fullWidth: e }) : c.block.type === "section" && f("update", Qn(c.block, e));
1317
+ c.block.type === "wrapper" ? f("update", { fullWidth: e }) : c.block.type === "section" && f("update", $n(c.block, e));
1316
1318
  }
1317
1319
  let U = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ie = m(() => U.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), ae = m(() => U.value ? "wrapper.backgroundImage" : "backgroundImage"), oe = m(() => {
1318
1320
  let e = c.block;
@@ -1423,13 +1425,13 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1423
1425
  t[e] = !t[e], f("update", { visibility: t });
1424
1426
  }
1425
1427
  return (t, n) => (a(), v("div", { class: o(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1426
- p(Fn, {
1428
+ p(In, {
1427
1429
  title: h(x).blockSettings.spacing,
1428
1430
  open: q.has("spacing"),
1429
1431
  "no-border": e.isFirstSection,
1430
1432
  onToggle: n[1] ||= (e) => he("spacing")
1431
1433
  }, {
1432
- default: u(() => [p(xn, {
1434
+ default: u(() => [p(Sn, {
1433
1435
  path: "styles.padding",
1434
1436
  label: h(x).blockSettings.padding,
1435
1437
  "model-value": e.block.styles.padding,
@@ -1441,7 +1443,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1441
1443
  "open",
1442
1444
  "no-border"
1443
1445
  ]),
1444
- p(Fn, {
1446
+ p(In, {
1445
1447
  title: h(x).blockSettings.background,
1446
1448
  open: q.has("bg"),
1447
1449
  "header-test-id": "block-settings-background",
@@ -1487,7 +1489,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1487
1489
  path: ae.value,
1488
1490
  label: h(x).blockSettings.backgroundImage
1489
1491
  }, {
1490
- default: u(() => [p(Mn, {
1492
+ default: u(() => [p(Nn, {
1491
1493
  "hide-label": "",
1492
1494
  class: "tpl:mt-3.5",
1493
1495
  "model-value": ce.value,
@@ -1516,7 +1518,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1516
1518
  path: "hero",
1517
1519
  label: h(x).blocks.hero
1518
1520
  }, {
1519
- default: u(() => [p(Un, {
1521
+ default: u(() => [p(Wn, {
1520
1522
  section: e.block,
1521
1523
  onUpdate: n[3] ||= (e) => f("update", e)
1522
1524
  }, null, 8, ["section"])]),
@@ -1525,12 +1527,12 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1525
1527
  ]),
1526
1528
  _: 1
1527
1529
  }, 8, ["title", "open"]),
1528
- p(Fn, {
1530
+ p(In, {
1529
1531
  title: h(x).blockSettings.display,
1530
1532
  open: q.has("display"),
1531
1533
  onToggle: n[6] ||= (e) => he("display")
1532
1534
  }, {
1533
- default: u(() => [b("div", er, [j.value && h(k) ? (a(), w(P, {
1535
+ default: u(() => [b("div", tr, [j.value && h(k) ? (a(), w(P, {
1534
1536
  key: 0,
1535
1537
  "data-testid": "locale-hide",
1536
1538
  disabled: !h(k).locales.includes(j.value),
@@ -1546,7 +1548,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1546
1548
  path: `visibility.${e.key}`,
1547
1549
  label: h(x).blockSettings[e.labelKey]
1548
1550
  }, {
1549
- label: u(() => [b("span", tr, [(a(), w(i(e.icon), {
1551
+ label: u(() => [b("span", nr, [(a(), w(i(e.icon), {
1550
1552
  size: 14,
1551
1553
  "stroke-width": 1.5
1552
1554
  })), y(" " + r(h(x).blockSettings[e.labelKey]), 1)])]),
@@ -1567,29 +1569,29 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1567
1569
  }, 1032, ["path", "label"])), 64))])]),
1568
1570
  _: 1
1569
1571
  }, 8, ["title", "open"]),
1570
- ge.value ? (a(), w(Fn, {
1572
+ ge.value ? (a(), w(In, {
1571
1573
  key: 0,
1572
1574
  "header-test-id": "display-condition-section",
1573
1575
  title: h(x).blockSettings.displayCondition,
1574
1576
  open: q.has("condition"),
1575
1577
  onToggle: n[11] ||= (e) => he("condition")
1576
1578
  }, {
1577
- default: u(() => [h(de) ? (a(), v("div", nr, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1578
- b("p", rr, r(e.block.displayCondition.label), 1),
1579
- e.block.displayCondition.description ? (a(), v("p", ir, r(e.block.displayCondition.description), 1)) : g("", !0),
1580
- b("div", ar, [b("button", {
1579
+ default: u(() => [h(de) ? (a(), v("div", rr, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1580
+ b("p", ir, r(e.block.displayCondition.label), 1),
1581
+ e.block.displayCondition.description ? (a(), v("p", ar, r(e.block.displayCondition.description), 1)) : g("", !0),
1582
+ b("div", or, [b("button", {
1581
1583
  type: "button",
1582
1584
  "data-testid": "display-condition-edit",
1583
1585
  class: o(h(F)),
1584
1586
  disabled: K.value,
1585
1587
  onClick: ye
1586
- }, r(h(x).blockSettings.editCondition), 11, or), b("button", {
1588
+ }, r(h(x).blockSettings.editCondition), 11, sr), b("button", {
1587
1589
  type: "button",
1588
1590
  "data-testid": "display-condition-remove",
1589
1591
  class: o(h(F)),
1590
1592
  disabled: K.value,
1591
1593
  onClick: n[7] ||= (e) => f("update", { displayCondition: void 0 })
1592
- }, r(h(x).blockSettings.removeCondition), 11, sr)])
1594
+ }, r(h(x).blockSettings.removeCondition), 11, cr)])
1593
1595
  ], 64)) : (a(), v("button", {
1594
1596
  key: 1,
1595
1597
  type: "button",
@@ -1597,7 +1599,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1597
1599
  class: o(h(F)),
1598
1600
  disabled: K.value,
1599
1601
  onClick: ye
1600
- }, r(h(x).blockSettings.addCondition), 11, cr))])) : (a(), v("div", lr, [p(A, {
1602
+ }, r(h(x).blockSettings.addCondition), 11, lr))])) : (a(), v("div", ur, [p(A, {
1601
1603
  path: "displayCondition",
1602
1604
  label: h(x).blockSettings.displayCondition
1603
1605
  }, {
@@ -1619,43 +1621,43 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1619
1621
  n && f("update", { displayCondition: n });
1620
1622
  }
1621
1623
  }, [
1622
- b("option", dr, r(h(x).blockSettings.noCondition), 1),
1624
+ b("option", fr, r(h(x).blockSettings.noCondition), 1),
1623
1625
  (a(!0), v(S, null, s(Ce.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1624
1626
  key: 0,
1625
1627
  label: String(t)
1626
1628
  }, [(a(!0), v(S, null, s(e, (e) => (a(), v("option", {
1627
1629
  key: e.label,
1628
1630
  value: e.label
1629
- }, r(e.label), 9, pr))), 128))], 8, fr)) : (a(!0), v(S, { key: 1 }, s(e, (e) => (a(), v("option", {
1631
+ }, r(e.label), 9, mr))), 128))], 8, pr)) : (a(!0), v(S, { key: 1 }, s(e, (e) => (a(), v("option", {
1630
1632
  key: e.label,
1631
1633
  value: e.label
1632
- }, r(e.label), 9, mr))), 128))], 64))), 128)),
1633
- h(L) ? (a(), v("option", hr, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1634
- ], 42, ur)]),
1634
+ }, r(e.label), 9, hr))), 128))], 64))), 128)),
1635
+ h(L) ? (a(), v("option", gr, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1636
+ ], 42, dr)]),
1635
1637
  _: 1
1636
- }, 8, ["label"]), J.value || Z.value ? (a(), v("div", gr, [
1637
- b("div", null, [b("label", _r, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1638
+ }, 8, ["label"]), J.value || Z.value ? (a(), v("div", _r, [
1639
+ b("div", null, [b("label", vr, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1638
1640
  "onUpdate:modelValue": n[9] ||= (e) => Y.value = e,
1639
1641
  rows: "2",
1640
1642
  class: o(h(H))
1641
1643
  }, null, 2), [[O, Y.value]])]),
1642
- b("div", null, [b("label", vr, r(h(x).blockSettings.customConditionAfter), 1), d(b("textarea", {
1644
+ b("div", null, [b("label", yr, r(h(x).blockSettings.customConditionAfter), 1), d(b("textarea", {
1643
1645
  "onUpdate:modelValue": n[10] ||= (e) => X.value = e,
1644
1646
  rows: "2",
1645
1647
  class: o(h(H))
1646
1648
  }, null, 2), [[O, X.value]])]),
1647
- b("div", yr, [b("button", {
1649
+ b("div", br, [b("button", {
1648
1650
  type: "button",
1649
1651
  class: o(h(ee)),
1650
1652
  disabled: !Y.value.trim(),
1651
1653
  onClick: Se
1652
- }, r(h(x).blockSettings.applyCondition), 11, br)])
1653
- ])) : e.block.displayCondition && !Z.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", xr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", Sr, [b("pre", Cr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", wr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1654
+ }, r(h(x).blockSettings.applyCondition), 11, xr)])
1655
+ ])) : e.block.displayCondition && !Z.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", Sr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", Cr, [b("pre", wr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", Tr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1654
1656
  _: 1
1655
1657
  }, 8, ["title", "open"])) : g("", !0)
1656
1658
  ], 2));
1657
1659
  }
1658
- }), Er = ["title"], Dr = { class: "tpl-sr-only" }, Or = ["title"], kr = { class: "tpl-sr-only" }, Ar = /* @__PURE__ */ D({
1660
+ }), Dr = ["title"], Or = { class: "tpl-sr-only" }, kr = ["title"], Ar = { class: "tpl-sr-only" }, jr = /* @__PURE__ */ D({
1659
1661
  __name: "FieldLabel",
1660
1662
  props: {
1661
1663
  label: {},
@@ -1669,19 +1671,19 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1669
1671
  e.readOnly ? (a(), v("span", {
1670
1672
  key: 0,
1671
1673
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1672
- }, [p(h(St), {
1674
+ }, [p(h(Ct), {
1673
1675
  size: 12,
1674
1676
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1675
1677
  "aria-hidden": "true"
1676
- }), b("span", Dr, r(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Er)) : g("", !0),
1678
+ }), b("span", Or, r(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Dr)) : g("", !0),
1677
1679
  e.required ? (a(), v("span", {
1678
1680
  key: 1,
1679
1681
  class: "tpl:text-[var(--tpl-danger)]",
1680
1682
  title: h(t).customBlocks.fields.required
1681
- }, [i[0] ||= b("span", { "aria-hidden": "true" }, "*", -1), b("span", kr, r(h(t).customBlocks.fields.required), 1)], 8, Or)) : g("", !0)
1683
+ }, [i[0] ||= b("span", { "aria-hidden": "true" }, "*", -1), b("span", Ar, r(h(t).customBlocks.fields.required), 1)], 8, kr)) : g("", !0)
1682
1684
  ]));
1683
1685
  }
1684
- }), jr = ["title"], Mr = /* @__PURE__ */ D({
1686
+ }), Mr = ["title"], Nr = /* @__PURE__ */ D({
1685
1687
  __name: "BooleanField",
1686
1688
  props: {
1687
1689
  field: {},
@@ -1706,7 +1708,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1706
1708
  disabled: e.readOnly,
1707
1709
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1708
1710
  }, {
1709
- default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(St), {
1711
+ default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(Ct), {
1710
1712
  key: 0,
1711
1713
  size: 12,
1712
1714
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1719,9 +1721,9 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1719
1721
  "label",
1720
1722
  "required",
1721
1723
  "disabled"
1722
- ])], 8, jr));
1724
+ ])], 8, Mr));
1723
1725
  }
1724
- }), Nr = { class: "tpl:mb-3.5" }, Pr = /* @__PURE__ */ D({
1726
+ }), Pr = { class: "tpl:mb-3.5" }, Fr = /* @__PURE__ */ D({
1725
1727
  __name: "FieldWrapper",
1726
1728
  props: {
1727
1729
  label: {},
@@ -1730,10 +1732,10 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1730
1732
  readOnly: { type: Boolean }
1731
1733
  },
1732
1734
  setup(e) {
1733
- return (t, r) => (a(), v("div", Nr, [e.hideLabel ? g("", !0) : (a(), v("label", {
1735
+ return (t, r) => (a(), v("div", Pr, [e.hideLabel ? g("", !0) : (a(), v("label", {
1734
1736
  key: 0,
1735
1737
  class: o(h(V))
1736
- }, [p(Ar, {
1738
+ }, [p(jr, {
1737
1739
  label: e.label,
1738
1740
  required: e.required,
1739
1741
  "read-only": e.readOnly
@@ -1743,7 +1745,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1743
1745
  "read-only"
1744
1746
  ])], 2)), n(t.$slots, "default")]));
1745
1747
  }
1746
- }), Fr = /* @__PURE__ */ D({
1748
+ }), Ir = /* @__PURE__ */ D({
1747
1749
  __name: "ColorField",
1748
1750
  props: {
1749
1751
  field: {},
@@ -1754,7 +1756,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1754
1756
  emits: ["update:modelValue"],
1755
1757
  setup(e, { emit: t }) {
1756
1758
  let n = e, r = t, { t: i } = W(), o = E(je, ft), s = m(() => Ze(n.field, o));
1757
- return (t, n) => (a(), w(Pr, {
1759
+ return (t, n) => (a(), w(Fr, {
1758
1760
  "hide-label": e.hideLabel,
1759
1761
  label: e.field.label,
1760
1762
  required: e.field.required,
@@ -1784,11 +1786,11 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1784
1786
  "read-only"
1785
1787
  ]));
1786
1788
  }
1787
- }), Ir = [
1789
+ }), Lr = [
1788
1790
  "value",
1789
1791
  "placeholder",
1790
1792
  "title"
1791
- ], Lr = ["value", "placeholder"], Rr = /* @__PURE__ */ D({
1793
+ ], Rr = ["value", "placeholder"], zr = /* @__PURE__ */ D({
1792
1794
  __name: "ImageField",
1793
1795
  props: {
1794
1796
  field: {},
@@ -1800,10 +1802,11 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1800
1802
  setup(e, { emit: t }) {
1801
1803
  let n = e, i = t, { t: s } = W(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Xe({
1802
1804
  target: c,
1805
+ value: () => n.modelValue,
1803
1806
  blocked: () => !!n.readOnly,
1804
1807
  apply: (e) => i("update:modelValue", e.url)
1805
1808
  });
1806
- return (t, n) => (a(), w(Pr, {
1809
+ return (t, n) => (a(), w(Fr, {
1807
1810
  "hide-label": e.hideLabel,
1808
1811
  label: e.field.label,
1809
1812
  required: e.field.required,
@@ -1826,14 +1829,14 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1826
1829
  placeholder: e.field.placeholder || "https://...",
1827
1830
  disabled: "",
1828
1831
  title: h(s).customBlocks.dataSource.readOnlyTooltip
1829
- }, null, 10, Ir)) : (a(), v("input", {
1832
+ }, null, 10, Lr)) : (a(), v("input", {
1830
1833
  key: 2,
1831
1834
  type: "url",
1832
1835
  class: o(h(B)),
1833
1836
  value: e.modelValue,
1834
1837
  placeholder: e.field.placeholder || "https://...",
1835
1838
  onInput: n[0] ||= (e) => i("update:modelValue", e.target.value)
1836
- }, null, 42, Lr)),
1839
+ }, null, 42, Rr)),
1837
1840
  h(l) && !e.readOnly ? (a(), v("button", {
1838
1841
  key: 3,
1839
1842
  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)]",
@@ -1851,7 +1854,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1851
1854
  "read-only"
1852
1855
  ]));
1853
1856
  }
1854
- }), zr = [
1857
+ }), Br = [
1855
1858
  "value",
1856
1859
  "placeholder",
1857
1860
  "min",
@@ -1859,7 +1862,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1859
1862
  "step",
1860
1863
  "disabled",
1861
1864
  "title"
1862
- ], Br = /* @__PURE__ */ D({
1865
+ ], Vr = /* @__PURE__ */ D({
1863
1866
  __name: "NumberField",
1864
1867
  props: {
1865
1868
  field: {},
@@ -1870,7 +1873,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1870
1873
  emits: ["update:modelValue"],
1871
1874
  setup(e, { emit: t }) {
1872
1875
  let n = t, { t: r } = W();
1873
- return (t, i) => (a(), w(Pr, {
1876
+ return (t, i) => (a(), w(Fr, {
1874
1877
  "hide-label": e.hideLabel,
1875
1878
  label: e.field.label,
1876
1879
  required: e.field.required,
@@ -1887,7 +1890,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1887
1890
  disabled: e.readOnly,
1888
1891
  title: e.readOnly ? h(r).customBlocks.dataSource.readOnlyTooltip : void 0,
1889
1892
  onInput: i[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
1890
- }, null, 42, zr)]),
1893
+ }, null, 42, Br)]),
1891
1894
  _: 1
1892
1895
  }, 8, [
1893
1896
  "hide-label",
@@ -1896,13 +1899,13 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1896
1899
  "read-only"
1897
1900
  ]));
1898
1901
  }
1899
- }), Vr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Hr = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Ur = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Wr = ["title", "onClick"], Gr = {
1902
+ }), Hr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ur = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Wr = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Gr = ["title", "onClick"], Kr = {
1900
1903
  key: 1,
1901
1904
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1902
- }, Kr = {
1905
+ }, qr = {
1903
1906
  key: 2,
1904
1907
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1905
- }, qr = /* @__PURE__ */ D({
1908
+ }, Jr = /* @__PURE__ */ D({
1906
1909
  __name: "RepeatableField",
1907
1910
  props: {
1908
1911
  field: {},
@@ -1931,17 +1934,17 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1931
1934
  } : r);
1932
1935
  c("update:modelValue", r);
1933
1936
  }
1934
- return (t, n) => (a(), w(Pr, {
1937
+ return (t, n) => (a(), w(Fr, {
1935
1938
  "hide-label": e.hideLabel,
1936
1939
  label: e.field.label,
1937
1940
  required: e.field.required,
1938
1941
  "read-only": e.readOnly
1939
1942
  }, {
1940
- default: u(() => [b("div", Vr, [
1943
+ default: u(() => [b("div", Hr, [
1941
1944
  (a(!0), v(S, null, s(f.value, (t, n) => (a(), v("div", {
1942
1945
  key: `${e.field.key}-${n}`,
1943
1946
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
1944
- }, [b("div", Hr, [b("span", Ur, " #" + r(n + 1), 1), x.value && !e.readOnly ? (a(), v("button", {
1947
+ }, [b("div", Ur, [b("span", Wr, " #" + r(n + 1), 1), x.value && !e.readOnly ? (a(), v("button", {
1945
1948
  key: 0,
1946
1949
  type: "button",
1947
1950
  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)]",
@@ -1950,7 +1953,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1950
1953
  }, [p(h(pt), {
1951
1954
  size: 12,
1952
1955
  "stroke-width": 2
1953
- })], 8, Wr)) : g("", !0)]), (a(!0), v(S, null, s(e.field.fields, (r) => (a(), w(i(h(ni)(r.type)), {
1956
+ })], 8, Gr)) : g("", !0)]), (a(!0), v(S, null, s(e.field.fields, (r) => (a(), w(i(h(ri)(r.type)), {
1954
1957
  key: r.key,
1955
1958
  field: r,
1956
1959
  "model-value": t[r.key],
@@ -1971,8 +1974,8 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1971
1974
  size: 14,
1972
1975
  "stroke-width": 2
1973
1976
  }), y(" " + r(h(l).customBlocks.fields.addItem), 1)], 2)) : g("", !0),
1974
- !_.value && !e.readOnly ? (a(), v("p", Gr, r(h(l).customBlocks.fields.maxItemsReached), 1)) : g("", !0),
1975
- !x.value && !e.readOnly ? (a(), v("p", Kr, r(h(d)(h(l).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : g("", !0)
1977
+ !_.value && !e.readOnly ? (a(), v("p", Kr, r(h(l).customBlocks.fields.maxItemsReached), 1)) : g("", !0),
1978
+ !x.value && !e.readOnly ? (a(), v("p", qr, r(h(d)(h(l).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : g("", !0)
1976
1979
  ])]),
1977
1980
  _: 1
1978
1981
  }, 8, [
@@ -1982,11 +1985,11 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1982
1985
  "read-only"
1983
1986
  ]));
1984
1987
  }
1985
- }), Jr = [
1988
+ }), Yr = [
1986
1989
  "value",
1987
1990
  "disabled",
1988
1991
  "title"
1989
- ], Yr = ["value"], Xr = /* @__PURE__ */ D({
1992
+ ], Xr = ["value"], Zr = /* @__PURE__ */ D({
1990
1993
  __name: "SelectField",
1991
1994
  props: {
1992
1995
  field: {},
@@ -1997,7 +2000,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
1997
2000
  emits: ["update:modelValue"],
1998
2001
  setup(e, { emit: t }) {
1999
2002
  let n = t, { t: i } = W();
2000
- return (t, c) => (a(), w(Pr, {
2003
+ return (t, c) => (a(), w(Fr, {
2001
2004
  "hide-label": e.hideLabel,
2002
2005
  label: e.field.label,
2003
2006
  required: e.field.required,
@@ -2012,7 +2015,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
2012
2015
  }, [(a(!0), v(S, null, s(e.field.options, (e) => (a(), v("option", {
2013
2016
  key: e.value,
2014
2017
  value: e.value
2015
- }, r(e.label), 9, Yr))), 128))], 42, Jr)]),
2018
+ }, r(e.label), 9, Xr))), 128))], 42, Yr)]),
2016
2019
  _: 1
2017
2020
  }, 8, [
2018
2021
  "hide-label",
@@ -2021,11 +2024,11 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
2021
2024
  "read-only"
2022
2025
  ]));
2023
2026
  }
2024
- }), Zr = [
2027
+ }), Qr = [
2025
2028
  "value",
2026
2029
  "placeholder",
2027
2030
  "title"
2028
- ], Qr = /* @__PURE__ */ D({
2031
+ ], $r = /* @__PURE__ */ D({
2029
2032
  __name: "TextField",
2030
2033
  props: {
2031
2034
  field: {},
@@ -2036,7 +2039,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
2036
2039
  emits: ["update:modelValue"],
2037
2040
  setup(e, { emit: t }) {
2038
2041
  let n = t, { t: r } = W();
2039
- return (t, i) => (a(), w(Pr, {
2042
+ return (t, i) => (a(), w(Fr, {
2040
2043
  "hide-label": e.hideLabel,
2041
2044
  label: e.field.label,
2042
2045
  required: e.field.required,
@@ -2050,7 +2053,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
2050
2053
  placeholder: e.field.placeholder,
2051
2054
  disabled: "",
2052
2055
  title: h(r).customBlocks.dataSource.readOnlyTooltip
2053
- }, null, 10, Zr)) : (a(), w(N, {
2056
+ }, null, 10, Qr)) : (a(), w(N, {
2054
2057
  key: 1,
2055
2058
  "model-value": e.modelValue,
2056
2059
  placeholder: e.field.placeholder,
@@ -2064,12 +2067,12 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
2064
2067
  "read-only"
2065
2068
  ]));
2066
2069
  }
2067
- }), $r = [
2070
+ }), ei = [
2068
2071
  "value",
2069
2072
  "placeholder",
2070
2073
  "title"
2071
- ], ei = "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", ti = {
2072
- text: Qr,
2074
+ ], ti = "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", ni = {
2075
+ text: $r,
2073
2076
  textarea: /* @__PURE__ */ D({
2074
2077
  __name: "TextareaField",
2075
2078
  props: {
@@ -2081,7 +2084,7 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
2081
2084
  emits: ["update:modelValue"],
2082
2085
  setup(e, { emit: t }) {
2083
2086
  let n = t, { t: r } = W();
2084
- return (t, i) => (a(), w(Pr, {
2087
+ return (t, i) => (a(), w(Fr, {
2085
2088
  "hide-label": e.hideLabel,
2086
2089
  label: e.field.label,
2087
2090
  required: e.field.required,
@@ -2094,8 +2097,8 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
2094
2097
  rows: "3",
2095
2098
  disabled: "",
2096
2099
  title: h(r).customBlocks.dataSource.readOnlyTooltip,
2097
- class: o(ei)
2098
- }, null, 8, $r)) : (a(), w(j, {
2100
+ class: o(ti)
2101
+ }, null, 8, ei)) : (a(), w(j, {
2099
2102
  key: 1,
2100
2103
  "model-value": e.modelValue,
2101
2104
  placeholder: e.field.placeholder,
@@ -2110,36 +2113,36 @@ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tp
2110
2113
  ]));
2111
2114
  }
2112
2115
  }),
2113
- image: Rr,
2114
- color: Fr,
2115
- number: Br,
2116
- select: Xr,
2117
- boolean: Mr,
2118
- repeatable: qr
2116
+ image: zr,
2117
+ color: Ir,
2118
+ number: Vr,
2119
+ select: Zr,
2120
+ boolean: Nr,
2121
+ repeatable: Jr
2119
2122
  };
2120
- function ni(e) {
2121
- return ti[e] ?? Qr;
2123
+ function ri(e) {
2124
+ return ni[e] ?? $r;
2122
2125
  }
2123
2126
  // src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
2124
- var ri = {
2127
+ var ii = {
2125
2128
  key: 0,
2126
2129
  class: "tpl:p-4"
2127
- }, ii = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, ai = { key: 1 }, oi = {
2130
+ }, ai = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, oi = { key: 1 }, si = {
2128
2131
  key: 0,
2129
2132
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
2130
- }, si = {
2133
+ }, ci = {
2131
2134
  key: 1,
2132
2135
  class: "tpl:mb-4"
2133
- }, ci = {
2136
+ }, li = {
2134
2137
  key: 1,
2135
2138
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
2136
- }, li = {
2139
+ }, ui = {
2137
2140
  key: 0,
2138
2141
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2139
- }, ui = {
2142
+ }, di = {
2140
2143
  key: 2,
2141
2144
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
2142
- }, di = /* @__PURE__ */ D({
2145
+ }, fi = /* @__PURE__ */ D({
2143
2146
  __name: "CustomBlockToolbar",
2144
2147
  props: { block: {} },
2145
2148
  emits: ["updateFieldValues", "updateDataSourceFetched"],
@@ -2160,19 +2163,19 @@ var ri = {
2160
2163
  [e]: t
2161
2164
  });
2162
2165
  }
2163
- return (t, n) => d.value ? (a(), v("div", ai, [
2164
- d.value.description ? (a(), v("p", oi, r(d.value.description), 1)) : g("", !0),
2165
- h(T) ? (a(), v("div", si, [h(D) && !h(_) ? (a(), v("button", {
2166
+ return (t, n) => d.value ? (a(), v("div", oi, [
2167
+ d.value.description ? (a(), v("p", si, r(d.value.description), 1)) : g("", !0),
2168
+ h(T) ? (a(), v("div", ci, [h(D) && !h(_) ? (a(), v("button", {
2166
2169
  key: 0,
2167
2170
  type: "button",
2168
2171
  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)]",
2169
2172
  onClick: n[0] ||= (...e) => h(C) && h(C)(...e)
2170
- }, r(d.value?.dataSource?.label || h(c).customBlocks.dataSource.fetchButton), 1)) : (a(), v("div", ci, [h(_) ? (a(), v("div", li, r(h(c).customBlocks.dataSource.fetching), 1)) : (a(), v("button", {
2173
+ }, r(d.value?.dataSource?.label || h(c).customBlocks.dataSource.fetchButton), 1)) : (a(), v("div", li, [h(_) ? (a(), v("div", ui, r(h(c).customBlocks.dataSource.fetching), 1)) : (a(), v("button", {
2171
2174
  key: 1,
2172
2175
  type: "button",
2173
2176
  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)]",
2174
2177
  onClick: n[1] ||= (...e) => h(C) && h(C)(...e)
2175
- }, [p(h(ut), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", ui, [p(h(lt), {
2178
+ }, [p(h(ut), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", di, [p(h(lt), {
2176
2179
  size: 14,
2177
2180
  class: "tpl:shrink-0"
2178
2181
  }), y(" " + r(h(c).customBlocks.dataSource.fetchError), 1)])) : g("", !0)])) : g("", !0),
@@ -2181,7 +2184,7 @@ var ri = {
2181
2184
  path: `fieldValues.${t.key}`,
2182
2185
  label: t.label
2183
2186
  }, {
2184
- label: u(() => [p(Ar, {
2187
+ label: u(() => [p(jr, {
2185
2188
  label: t.label,
2186
2189
  required: t.required,
2187
2190
  "read-only": O(t)
@@ -2190,7 +2193,7 @@ var ri = {
2190
2193
  "required",
2191
2194
  "read-only"
2192
2195
  ])]),
2193
- default: u(({ controlId: n }) => [(a(), w(i(h(ni)(t.type)), {
2196
+ default: u(({ controlId: n }) => [(a(), w(i(h(ri)(t.type)), {
2194
2197
  "control-id": t.type === "boolean" ? n : void 0,
2195
2198
  field: t,
2196
2199
  "hide-label": "",
@@ -2206,9 +2209,9 @@ var ri = {
2206
2209
  ]))]),
2207
2210
  _: 2
2208
2211
  }, 1032, ["path", "label"]))), 128))
2209
- ])) : (a(), v("div", ri, [b("p", ii, r(h(c).customBlocks.toolbar.noDefinition), 1)]));
2212
+ ])) : (a(), v("div", ii, [b("p", ai, r(h(c).customBlocks.toolbar.noDefinition), 1)]));
2210
2213
  }
2211
- }), fi = { class: "tpl:flex tpl:items-stretch" }, pi = ["value"], mi = /* @__PURE__ */ D({
2214
+ }), pi = { class: "tpl:flex tpl:items-stretch" }, mi = ["value"], hi = /* @__PURE__ */ D({
2212
2215
  __name: "DividerToolbar",
2213
2216
  props: { block: {} },
2214
2217
  emits: ["update"],
@@ -2259,19 +2262,19 @@ var ri = {
2259
2262
  class: "tpl:mb-3.5",
2260
2263
  path: "thickness"
2261
2264
  }, {
2262
- default: u(() => [b("div", fi, [b("input", {
2265
+ default: u(() => [b("div", pi, [b("input", {
2263
2266
  type: "number",
2264
2267
  class: o(h(z)),
2265
2268
  value: e.block.thickness,
2266
2269
  min: "1",
2267
2270
  max: "10",
2268
2271
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
2269
- }, null, 42, pi), b("span", { class: o(h(L)) }, "px", 2)])]),
2272
+ }, null, 42, mi), b("span", { class: o(h(L)) }, "px", 2)])]),
2270
2273
  _: 1
2271
2274
  }, 8, ["label"])
2272
2275
  ], 64));
2273
2276
  }
2274
- }), hi = ["value"], gi = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, _i = /* @__PURE__ */ D({
2277
+ }), gi = ["value"], _i = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, vi = /* @__PURE__ */ D({
2275
2278
  __name: "HtmlToolbar",
2276
2279
  props: { block: {} },
2277
2280
  emits: ["update"],
@@ -2288,7 +2291,7 @@ var ri = {
2288
2291
  rows: "10",
2289
2292
  class: o(h(H)),
2290
2293
  onInput: s[0] ||= (e) => n("update", { content: e.target.value })
2291
- }, null, 42, hi), b("p", gi, [p(h(mt), {
2294
+ }, null, 42, gi), b("p", _i, [p(h(mt), {
2292
2295
  size: 12,
2293
2296
  class: "tpl:mt-0.5 tpl:shrink-0"
2294
2297
  }), y(" " + r(h(i).html.sanitizationHint), 1)])]),
@@ -2297,7 +2300,7 @@ var ri = {
2297
2300
  }
2298
2301
  });
2299
2302
  // src/composables/useImageAspectLock.ts
2300
- function vi(e) {
2303
+ function yi(e) {
2301
2304
  let n = _(!1), r = _(null);
2302
2305
  t(() => e.block().id, () => {
2303
2306
  n.value = !1, r.value = null;
@@ -2357,22 +2360,22 @@ function vi(e) {
2357
2360
  };
2358
2361
  }
2359
2362
  // src/components/toolbar/ImageToolbar.vue?vue&type=script&setup=true&lang.ts
2360
- var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2363
+ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2361
2364
  "value",
2362
2365
  "placeholder",
2363
2366
  "title"
2364
- ], xi = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Si = ["value"], Ci = { value: "full" }, wi = { value: "custom" }, Ti = {
2367
+ ], Si = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Ci = ["value"], wi = { value: "full" }, Ti = { value: "custom" }, Ei = {
2365
2368
  key: 0,
2366
2369
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2367
- }, Ei = ["value"], Di = ["value"], Oi = { value: "auto" }, ki = { value: "always" }, Ai = { value: "never" }, ji = { class: "tpl:flex tpl:items-stretch" }, Mi = ["value"], Ni = {
2370
+ }, Di = ["value"], Oi = ["value"], ki = { value: "auto" }, Ai = { value: "always" }, ji = { value: "never" }, Mi = { class: "tpl:flex tpl:items-stretch" }, Ni = ["value"], Pi = {
2368
2371
  key: 0,
2369
2372
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
2370
2373
  role: "status",
2371
2374
  "data-testid": "image-height-capped"
2372
- }, Pi = ["value"], Fi = { value: "auto" }, Ii = { value: "custom" }, Li = {
2375
+ }, Fi = ["value"], Ii = { value: "auto" }, Li = { value: "custom" }, Ri = {
2373
2376
  key: 2,
2374
2377
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2375
- }, Ri = ["value"], zi = 350, Bi = 200, Vi = /* @__PURE__ */ D({
2378
+ }, zi = ["value"], Bi = 350, Vi = 200, Hi = /* @__PURE__ */ D({
2376
2379
  __name: "ImageToolbar",
2377
2380
  props: { block: {} },
2378
2381
  emits: ["update"],
@@ -2393,11 +2396,11 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2393
2396
  function ee(e) {
2394
2397
  if (e === "custom") {
2395
2398
  let e = n.block.width;
2396
- (typeof e != "number" || k.includes(e)) && i("update", K.widthUpdates(zi));
2399
+ (typeof e != "number" || k.includes(e)) && i("update", K.widthUpdates(Bi));
2397
2400
  } else i("update", K.widthUpdates(e === "full" ? "full" : Number(e)));
2398
2401
  }
2399
2402
  function R(e) {
2400
- I("height", e === "custom" ? Bi : void 0);
2403
+ I("height", e === "custom" ? Vi : void 0);
2401
2404
  }
2402
2405
  function te(e) {
2403
2406
  I("fluidOnMobile", e === "always" || e !== "never" && void 0);
@@ -2427,9 +2430,10 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2427
2430
  }
2428
2431
  let ie = _(), ae = m(() => G(n.block.src, l)), { canBrowse: oe, isUploading: se, showOverlay: ce, openMediaBrowser: le } = Xe({
2429
2432
  target: ie,
2433
+ value: () => n.block.src,
2430
2434
  blocked: ae,
2431
2435
  apply: U
2432
- }), ue = Ie(() => ae.value || !n.block.src || Ve(n.block) ? void 0 : n.block.src), de = Sn(() => ue.value), fe = m(() => f ? Ue(f.content.value, n.block.id, C) : null), K = vi({
2436
+ }), ue = Ie(() => ae.value || !n.block.src || Ve(n.block) ? void 0 : n.block.src), de = Cn(() => ue.value), fe = m(() => f ? Ue(f.content.value, n.block.id, C) : null), K = yi({
2433
2437
  block: () => n.block,
2434
2438
  room: () => fe.value,
2435
2439
  measured: () => de.value
@@ -2491,7 +2495,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2491
2495
  class: "tpl:mb-3.5",
2492
2496
  path: "placeholderUrl"
2493
2497
  }, {
2494
- label: u(() => [y(r(h(s).image.placeholderUrl) + " ", 1), b("span", yi, r(h(s).image.optional), 1)]),
2498
+ label: u(() => [y(r(h(s).image.placeholderUrl) + " ", 1), b("span", bi, r(h(s).image.optional), 1)]),
2495
2499
  default: u(() => [b("input", {
2496
2500
  type: "url",
2497
2501
  class: o(h(B)),
@@ -2499,7 +2503,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2499
2503
  placeholder: h(s).image.placeholderUrlPlaceholder,
2500
2504
  title: h(s).image.placeholderUrlTooltip,
2501
2505
  onInput: n[2] ||= (e) => I("placeholderUrl", e.target.value)
2502
- }, null, 42, bi)]),
2506
+ }, null, 42, xi)]),
2503
2507
  _: 1
2504
2508
  })) : g("", !0),
2505
2509
  p(A, {
@@ -2523,7 +2527,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2523
2527
  path: "decorative",
2524
2528
  label: h(s).image.decorative
2525
2529
  }, {
2526
- label: u(() => [b("span", null, [y(r(h(s).image.decorative) + " ", 1), b("span", xi, r(h(s).image.decorativeHint), 1)])]),
2530
+ label: u(() => [b("span", null, [y(r(h(s).image.decorative) + " ", 1), b("span", Si, r(h(s).image.decorativeHint), 1)])]),
2527
2531
  "label-actions": u(({ controlId: t }) => [p(P, {
2528
2532
  "control-id": t,
2529
2533
  "hide-label": "",
@@ -2551,19 +2555,19 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2551
2555
  value: j.value,
2552
2556
  onChange: n[5] ||= (e) => ee(e.target.value)
2553
2557
  }, [
2554
- b("option", Ci, r(h(s).image.fullWidth), 1),
2558
+ b("option", wi, r(h(s).image.fullWidth), 1),
2555
2559
  n[16] ||= b("option", { value: "300" }, "300px", -1),
2556
2560
  n[17] ||= b("option", { value: "400" }, "400px", -1),
2557
2561
  n[18] ||= b("option", { value: "500" }, "500px", -1),
2558
- b("option", wi, r(h(s).image.widthCustom), 1)
2559
- ], 42, Si), j.value === "custom" ? (a(), v("div", Ti, [b("input", {
2562
+ b("option", Ti, r(h(s).image.widthCustom), 1)
2563
+ ], 42, Ci), j.value === "custom" ? (a(), v("div", Ei, [b("input", {
2560
2564
  type: "number",
2561
2565
  "data-testid": "image-width-input",
2562
2566
  class: o(h(z)),
2563
- value: typeof e.block.width == "number" ? e.block.width : zi,
2567
+ value: typeof e.block.width == "number" ? e.block.width : Bi,
2564
2568
  min: "20",
2565
2569
  onInput: n[6] ||= (e) => H(e.target.value)
2566
- }, null, 42, Ei), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
2570
+ }, null, 42, Di), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
2567
2571
  _: 1
2568
2572
  }, 8, ["label"]),
2569
2573
  p(A, {
@@ -2577,10 +2581,10 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2577
2581
  value: F.value,
2578
2582
  onChange: n[7] ||= (e) => te(e.target.value)
2579
2583
  }, [
2580
- b("option", Oi, r(h(s).image.fluidOnMobileAuto), 1),
2581
- b("option", ki, r(h(s).image.fluidOnMobileAlways), 1),
2582
- b("option", Ai, r(h(s).image.fluidOnMobileNever), 1)
2583
- ], 42, Di)]),
2584
+ b("option", ki, r(h(s).image.fluidOnMobileAuto), 1),
2585
+ b("option", Ai, r(h(s).image.fluidOnMobileAlways), 1),
2586
+ b("option", ji, r(h(s).image.fluidOnMobileNever), 1)
2587
+ ], 42, Oi)]),
2584
2588
  _: 1
2585
2589
  }, 8, ["label"]),
2586
2590
  p(A, {
@@ -2589,7 +2593,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2589
2593
  label: h(s).image.height
2590
2594
  }, x({
2591
2595
  default: u(() => [
2592
- h(J) ? (a(), v(S, { key: 0 }, [b("div", ji, [b("input", {
2596
+ h(J) ? (a(), v(S, { key: 0 }, [b("div", Mi, [b("input", {
2593
2597
  type: "number",
2594
2598
  "data-testid": "image-locked-height-input",
2595
2599
  class: o(h(z)),
@@ -2597,27 +2601,27 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2597
2601
  min: "1",
2598
2602
  onInput: n[8] ||= (e) => ge(e.target.value),
2599
2603
  onBlur: n[9] ||= (e) => he.value = null
2600
- }, null, 42, Mi), b("span", { class: o(h(L)) }, "px", 2)]), h(X) === null ? g("", !0) : (a(), v("p", Ni, r(h(c)(h(s).image.heightCapped, { height: h(X) })), 1))], 64)) : g("", !0),
2604
+ }, null, 42, Ni), b("span", { class: o(h(L)) }, "px", 2)]), h(X) === null ? g("", !0) : (a(), v("p", Pi, r(h(c)(h(s).image.heightCapped, { height: h(X) })), 1))], 64)) : g("", !0),
2601
2605
  h(J) ? g("", !0) : (a(), v("select", {
2602
2606
  key: 1,
2603
2607
  class: o(h(B)),
2604
2608
  "data-testid": "image-height-mode",
2605
2609
  value: M.value,
2606
2610
  onChange: n[10] ||= (e) => R(e.target.value)
2607
- }, [b("option", Fi, r(h(s).image.heightAuto), 1), b("option", Ii, r(h(s).image.heightCustom), 1)], 42, Pi)),
2608
- !h(J) && M.value === "custom" ? (a(), v("div", Li, [b("input", {
2611
+ }, [b("option", Ii, r(h(s).image.heightAuto), 1), b("option", Li, r(h(s).image.heightCustom), 1)], 42, Fi)),
2612
+ !h(J) && M.value === "custom" ? (a(), v("div", Ri, [b("input", {
2609
2613
  type: "number",
2610
2614
  "data-testid": "image-height-input",
2611
2615
  class: o(h(z)),
2612
2616
  value: e.block.height,
2613
2617
  min: "20",
2614
2618
  onInput: n[11] ||= (e) => ne(e.target.value)
2615
- }, null, 42, Ri), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)
2619
+ }, null, 42, zi), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)
2616
2620
  ]),
2617
2621
  _: 2
2618
2622
  }, [h(q) ? {
2619
2623
  name: "label-actions",
2620
- fn: u(() => [p(At, {
2624
+ fn: u(() => [p(jt, {
2621
2625
  linked: h(J),
2622
2626
  "link-label": h(s).image.lockAspectRatio,
2623
2627
  "unlink-label": h(s).image.unlockAspectRatio,
@@ -2630,14 +2634,14 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2630
2634
  ])]),
2631
2635
  key: "0"
2632
2636
  } : void 0]), 1032, ["label"]),
2633
- p(Lt, {
2637
+ p(Rt, {
2634
2638
  path: "borderRadius",
2635
2639
  "model-value": e.block.borderRadius,
2636
2640
  label: h(s).image.borderRadius,
2637
2641
  "testid-prefix": "image",
2638
2642
  "onUpdate:modelValue": V
2639
2643
  }, null, 8, ["model-value", "label"]),
2640
- p(Pt, {
2644
+ p(Ft, {
2641
2645
  path: "border",
2642
2646
  "model-value": e.block.border,
2643
2647
  "testid-prefix": "image",
@@ -2701,11 +2705,11 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2701
2705
  }, 8, ["label"])
2702
2706
  ], 64));
2703
2707
  }
2704
- }), Hi = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ui = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Wi = [
2708
+ }), Ui = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Wi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Gi = [
2705
2709
  "value",
2706
2710
  "placeholder",
2707
2711
  "onInput"
2708
- ], Gi = ["title", "onClick"], Ki = { 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)]" }, qi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ji = ["value"], Yi = { value: "" }, Xi = ["value"], Zi = ["value"], Qi = /* @__PURE__ */ D({
2712
+ ], Ki = ["title", "onClick"], qi = { 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)]" }, Ji = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Yi = ["value"], Xi = { value: "" }, Zi = ["value"], Qi = ["value"], $i = /* @__PURE__ */ D({
2709
2713
  __name: "MenuToolbar",
2710
2714
  props: {
2711
2715
  block: {},
@@ -2769,11 +2773,11 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2769
2773
  }
2770
2774
  return (t, n) => (a(), v(S, null, [
2771
2775
  p(A, { label: h(c).menu.items }, {
2772
- default: u(() => [b("div", Hi, [(a(!0), v(S, null, s(e.block.items, (t) => (a(), v("div", {
2776
+ default: u(() => [b("div", Ui, [(a(!0), v(S, null, s(e.block.items, (t) => (a(), v("div", {
2773
2777
  key: t.id,
2774
2778
  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"
2775
2779
  }, [
2776
- b("div", Ui, [p(A, {
2780
+ b("div", Wi, [p(A, {
2777
2781
  path: t.id.includes(".") ? void 0 : `items.${t.id}.text`,
2778
2782
  label: h(c).menu.text
2779
2783
  }, {
@@ -2783,7 +2787,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2783
2787
  value: t.text,
2784
2788
  placeholder: h(c).menu.text,
2785
2789
  onInput: (e) => _(t.id, "text", e.target.value)
2786
- }, null, 42, Wi)]),
2790
+ }, null, 42, Gi)]),
2787
2791
  _: 2
2788
2792
  }, 1032, ["path", "label"]), b("button", {
2789
2793
  class: o(h(I)),
@@ -2792,7 +2796,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2792
2796
  }, [p(h(yt), {
2793
2797
  size: 14,
2794
2798
  "stroke-width": 2
2795
- })], 10, Gi)]),
2799
+ })], 10, Ki)]),
2796
2800
  p(A, {
2797
2801
  path: t.id.includes(".") ? void 0 : `items.${t.id}.url`,
2798
2802
  label: h(c).button.url
@@ -2809,7 +2813,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2809
2813
  ])]),
2810
2814
  _: 2
2811
2815
  }, 1032, ["path", "label"]),
2812
- b("div", Ki, [(a(!0), v(S, null, s(l.value, (e) => (a(), w(A, {
2816
+ b("div", qi, [(a(!0), v(S, null, s(l.value, (e) => (a(), w(A, {
2813
2817
  key: e.key,
2814
2818
  path: t.id.includes(".") ? void 0 : `items.${t.id}.${e.key}`,
2815
2819
  label: e.label
@@ -2828,7 +2832,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2828
2832
  ])]),
2829
2833
  _: 2
2830
2834
  }, 1032, ["path", "label"]))), 128))]),
2831
- b("div", qi, [p(A, {
2835
+ b("div", Ji, [p(A, {
2832
2836
  path: t.id.includes(".") ? void 0 : `items.${t.id}.color`,
2833
2837
  label: h(c).menu.color
2834
2838
  }, {
@@ -2856,17 +2860,17 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2856
2860
  class: o(h(B)),
2857
2861
  value: h($e)(e.block.fontFamily),
2858
2862
  onChange: n[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2859
- }, [b("option", Yi, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
2863
+ }, [b("option", Xi, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
2860
2864
  key: e.value,
2861
2865
  value: e.value
2862
- }, r(e.label), 9, Xi))), 128))], 42, Ji)]),
2866
+ }, r(e.label), 9, Zi))), 128))], 42, Yi)]),
2863
2867
  _: 1
2864
2868
  }, 8, ["label"]),
2865
2869
  p(A, {
2866
2870
  path: "fontSize",
2867
2871
  label: h(c).menu.fontSize
2868
2872
  }, {
2869
- default: u(() => [p(Ot, {
2873
+ default: u(() => [p(kt, {
2870
2874
  "model-value": e.block.fontSize,
2871
2875
  min: 8,
2872
2876
  max: 48,
@@ -2915,7 +2919,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2915
2919
  class: o(h(B)),
2916
2920
  value: e.block.separator,
2917
2921
  onInput: n[5] ||= (e) => f("separator", e.target.value)
2918
- }, null, 42, Zi)]),
2922
+ }, null, 42, Qi)]),
2919
2923
  _: 1
2920
2924
  }, 8, ["label"]),
2921
2925
  p(A, {
@@ -2932,7 +2936,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2932
2936
  path: "spacing",
2933
2937
  label: h(c).menu.spacing
2934
2938
  }, {
2935
- default: u(() => [p(Ot, {
2939
+ default: u(() => [p(kt, {
2936
2940
  "model-value": e.block.spacing,
2937
2941
  min: 0,
2938
2942
  max: 50,
@@ -2943,7 +2947,7 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2943
2947
  }, 8, ["label"])
2944
2948
  ], 64));
2945
2949
  }
2946
- }), $i = { class: "tpl:flex tpl:items-stretch" }, ea = ["value"], ta = /* @__PURE__ */ D({
2950
+ }), ea = { class: "tpl:flex tpl:items-stretch" }, ta = ["value"], na = /* @__PURE__ */ D({
2947
2951
  __name: "ParagraphToolbar",
2948
2952
  props: { block: {} },
2949
2953
  emits: ["update"],
@@ -2955,20 +2959,20 @@ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2955
2959
  "data-testid": "paragraph-spacing",
2956
2960
  path: "paragraphSpacing"
2957
2961
  }, {
2958
- default: u(() => [b("div", $i, [b("input", {
2962
+ default: u(() => [b("div", ea, [b("input", {
2959
2963
  type: "number",
2960
2964
  class: o(h(z)),
2961
2965
  value: e.block.paragraphSpacing ?? h(Y).paragraphGap,
2962
2966
  min: "0",
2963
2967
  max: "64",
2964
2968
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
2965
- }, null, 42, ea), b("span", { class: o(h(L)) }, "px", 2)])]),
2969
+ }, null, 42, ta), b("span", { class: o(h(L)) }, "px", 2)])]),
2966
2970
  _: 1
2967
2971
  }, 8, ["label"]));
2968
2972
  }
2969
2973
  });
2970
2974
  // src/utils/rebalanceColumnChildren.ts
2971
- function na(e, t) {
2975
+ function ra(e, t) {
2972
2976
  let n = ge(t);
2973
2977
  if (e.length === n) return e;
2974
2978
  if (e.length < n) {
@@ -2979,23 +2983,23 @@ function na(e, t) {
2979
2983
  return [...r.slice(0, n - 1), a];
2980
2984
  }
2981
2985
  // src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
2982
- var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
2986
+ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
2983
2987
  key: 0,
2984
2988
  value: "custom"
2985
- }, sa = { class: "tpl:flex tpl:gap-2" }, ca = [
2989
+ }, ca = { class: "tpl:flex tpl:gap-2" }, la = [
2986
2990
  "value",
2987
2991
  "aria-label",
2988
2992
  "onChange"
2989
- ], la = {
2993
+ ], ua = {
2990
2994
  key: 3,
2991
2995
  class: "tpl:mb-3.5"
2992
- }, ua = {
2996
+ }, da = {
2993
2997
  key: 0,
2994
2998
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2995
- }, da = {
2999
+ }, fa = {
2996
3000
  key: 1,
2997
3001
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
2998
- }, fa = /* @__PURE__ */ D({
3002
+ }, pa = /* @__PURE__ */ D({
2999
3003
  __name: "SectionToolbar",
3000
3004
  props: { block: {} },
3001
3005
  emits: ["update"],
@@ -3041,7 +3045,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3041
3045
  function N(e) {
3042
3046
  let t = e.target.value;
3043
3047
  if (t === "custom") return;
3044
- let r = t, a = na(n.block.children, r);
3048
+ let r = t, a = ra(n.block.children, r);
3045
3049
  i("update", {
3046
3050
  columns: r,
3047
3051
  children: a,
@@ -3075,10 +3079,10 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3075
3079
  right: 20,
3076
3080
  bottom: 20,
3077
3081
  left: 20
3078
- } } }) : i("update", $n(n.block));
3082
+ } } }) : i("update", er(n.block));
3079
3083
  }
3080
3084
  function ne(e) {
3081
- i("update", Qn(n.block, e));
3085
+ i("update", $n(n.block, e));
3082
3086
  }
3083
3087
  function H(e) {
3084
3088
  i("update", { wrapper: {
@@ -3093,20 +3097,20 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3093
3097
  H({ borderRadius: e });
3094
3098
  }
3095
3099
  return (t, n) => (a(), v(S, null, [
3096
- b("div", ra, [b("label", { class: o(h(V)) }, r(h(c).section.columns), 3), b("select", {
3100
+ b("div", ia, [b("label", { class: o(h(V)) }, r(h(c).section.columns), 3), b("select", {
3097
3101
  class: o(h(B)),
3098
3102
  value: j.value,
3099
3103
  onChange: N
3100
3104
  }, [(a(!0), v(S, null, s(D.value, (e) => (a(), v("option", {
3101
3105
  key: e.value,
3102
3106
  value: e.value
3103
- }, r(e.label), 9, aa))), 128)), k.value ? (a(), v("option", oa, r(h(c).section.columnsCustom), 1)) : g("", !0)], 42, ia)]),
3107
+ }, r(e.label), 9, oa))), 128)), k.value ? (a(), v("option", sa, r(h(c).section.columnsCustom), 1)) : g("", !0)], 42, aa)]),
3104
3108
  O.value.length > 1 ? (a(), w(A, {
3105
3109
  key: 0,
3106
3110
  path: "columnWidths",
3107
3111
  label: h(c).section.columnWidths
3108
3112
  }, {
3109
- default: u(() => [b("div", sa, [(a(!0), v(S, null, s(O.value, (e, t) => (a(), v("div", {
3113
+ default: u(() => [b("div", ca, [(a(!0), v(S, null, s(O.value, (e, t) => (a(), v("div", {
3110
3114
  key: t,
3111
3115
  class: "tpl:flex tpl:min-w-0 tpl:flex-1 tpl:items-stretch"
3112
3116
  }, [b("input", {
@@ -3116,7 +3120,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3116
3120
  value: e,
3117
3121
  "aria-label": h(l)(h(c).section.columnWidthAria, { index: t + 1 }),
3118
3122
  onChange: (e) => I(t, e)
3119
- }, null, 42, ca), b("span", { class: o(h(L)) }, "%", 2)]))), 128))])]),
3123
+ }, null, 42, la), b("span", { class: o(h(L)) }, "%", 2)]))), 128))])]),
3120
3124
  _: 1
3121
3125
  }, 8, ["label"])) : g("", !0),
3122
3126
  e.block.columns === "1" ? g("", !0) : (a(), w(A, {
@@ -3139,7 +3143,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3139
3143
  ])]),
3140
3144
  _: 1
3141
3145
  }, 8, ["label"])),
3142
- p(Lt, {
3146
+ p(Rt, {
3143
3147
  path: "borderRadius",
3144
3148
  "model-value": e.block.borderRadius,
3145
3149
  label: h(c).section.borderRadius,
@@ -3147,14 +3151,14 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3147
3151
  "testid-prefix": "section",
3148
3152
  "onUpdate:modelValue": R
3149
3153
  }, null, 8, ["model-value", "label"]),
3150
- T.value ? g("", !0) : (a(), w(Pt, {
3154
+ T.value ? g("", !0) : (a(), w(Ft, {
3151
3155
  key: 2,
3152
3156
  path: "border",
3153
3157
  "model-value": e.block.border,
3154
3158
  "testid-prefix": "section",
3155
3159
  "onUpdate:modelValue": n[1] ||= (e) => i("update", { border: e })
3156
3160
  }, null, 8, ["model-value"])),
3157
- y.value ? (a(), v("div", la, [
3161
+ y.value ? (a(), v("div", ua, [
3158
3162
  p(A, {
3159
3163
  path: "wrapper",
3160
3164
  label: h(c).section.wrapperEnable
@@ -3175,8 +3179,8 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3175
3179
  ])]),
3176
3180
  _: 1
3177
3181
  }, 8, ["label"]),
3178
- C.value ? (a(), v("p", ua, r(h(c).section.wrapperLayoutConflict), 1)) : g("", !0),
3179
- e.block.wrapper ? (a(), v("div", da, [
3182
+ C.value ? (a(), v("p", da, r(h(c).section.wrapperLayoutConflict), 1)) : g("", !0),
3183
+ e.block.wrapper ? (a(), v("div", fa, [
3180
3184
  p(A, {
3181
3185
  path: "wrapper.fullWidth",
3182
3186
  label: h(c).blockSettings.fullWidthBackground
@@ -3211,7 +3215,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3211
3215
  path: "wrapper.backgroundImage",
3212
3216
  label: h(c).blockSettings.backgroundImage
3213
3217
  }, {
3214
- default: u(() => [p(Mn, {
3218
+ default: u(() => [p(Nn, {
3215
3219
  "hide-label": "",
3216
3220
  "model-value": e.block.wrapper.backgroundImage,
3217
3221
  "testid-prefix": "section-wrapper",
@@ -3219,7 +3223,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3219
3223
  }, null, 8, ["model-value"])]),
3220
3224
  _: 1
3221
3225
  }, 8, ["label"]),
3222
- p(xn, {
3226
+ p(Sn, {
3223
3227
  path: "wrapper.padding",
3224
3228
  label: h(c).blockSettings.padding,
3225
3229
  "model-value": e.block.wrapper.padding ?? {
@@ -3230,7 +3234,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3230
3234
  },
3231
3235
  "onUpdate:modelValue": re
3232
3236
  }, null, 8, ["label", "model-value"]),
3233
- p(Lt, {
3237
+ p(Rt, {
3234
3238
  path: "wrapper.borderRadius",
3235
3239
  "model-value": e.block.wrapper.borderRadius,
3236
3240
  label: h(c).section.borderRadius,
@@ -3242,7 +3246,91 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3242
3246
  ])) : g("", !0)
3243
3247
  ], 64));
3244
3248
  }
3245
- }), pa = { class: "tpl:mb-3.5" }, ma = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ha = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ga = ["value", "onChange"], _a = ["value"], va = ["title", "onClick"], ya = ["value"], ba = { value: "solid" }, xa = { value: "outlined" }, Sa = { value: "rounded" }, Ca = { value: "square" }, wa = { value: "circle" }, Ta = { value: "plain" }, Ea = ["value"], Da = { value: "brand" }, Oa = { value: "dark" }, ka = { value: "light" }, Aa = { class: "tpl:flex tpl:items-stretch" }, ja = ["value"], Ma = /* @__PURE__ */ D({
3249
+ }), ma = /* @__PURE__ */ D({
3250
+ __name: "SocialCustomIconFields",
3251
+ props: { icon: {} },
3252
+ emits: ["update"],
3253
+ setup(e, { emit: t }) {
3254
+ let n = e, i = t, { t: o } = W(), { syntax: s } = bt(), c = _(), l = m(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), d = m(() => G(l.value, s));
3255
+ function f(e) {
3256
+ return n.icon.id.includes(".") ? void 0 : `icons.${n.icon.id}.${e}`;
3257
+ }
3258
+ function x(e) {
3259
+ e !== l.value && i("update", {
3260
+ ...n.icon,
3261
+ imageUrl: e
3262
+ });
3263
+ }
3264
+ function C(e) {
3265
+ i("update", {
3266
+ ...n.icon,
3267
+ alt: e
3268
+ });
3269
+ }
3270
+ function T(e) {
3271
+ let t = {
3272
+ ...n.icon,
3273
+ imageUrl: e.url
3274
+ };
3275
+ e.alt && (t.alt = e.alt), i("update", t);
3276
+ }
3277
+ let { canBrowse: E, isUploading: D, showOverlay: O, openMediaBrowser: k } = Xe({
3278
+ target: c,
3279
+ value: l,
3280
+ blocked: d,
3281
+ apply: T
3282
+ });
3283
+ return (t, n) => (a(), v(S, null, [p(A, {
3284
+ path: f("imageUrl"),
3285
+ label: h(o).image.imageUrl
3286
+ }, {
3287
+ default: u(() => [b("div", {
3288
+ ref_key: "dropZoneRef",
3289
+ ref: c,
3290
+ class: "tpl:relative"
3291
+ }, [
3292
+ h(O) ? (a(), w(Be, {
3293
+ key: 0,
3294
+ uploading: h(D)
3295
+ }, null, 8, ["uploading"])) : g("", !0),
3296
+ p(N, {
3297
+ "model-value": l.value,
3298
+ type: "url",
3299
+ placeholder: h(o).image.imageUrlPlaceholder,
3300
+ "onUpdate:modelValue": x
3301
+ }, null, 8, ["model-value", "placeholder"]),
3302
+ h(E) ? (a(), v("button", {
3303
+ key: 1,
3304
+ 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",
3305
+ style: {
3306
+ "border-color": "var(--tpl-border)",
3307
+ color: "var(--tpl-primary)",
3308
+ "background-color": "var(--tpl-bg)"
3309
+ },
3310
+ onClick: n[0] ||= (...e) => h(k) && h(k)(...e)
3311
+ }, [p(h(it), {
3312
+ size: 14,
3313
+ "stroke-width": 1.5
3314
+ }), y(" " + r(h(o).image.browseMedia), 1)])) : g("", !0)
3315
+ ], 512)]),
3316
+ _: 1
3317
+ }, 8, ["path", "label"]), p(A, {
3318
+ path: f("alt"),
3319
+ label: h(o).image.altText
3320
+ }, {
3321
+ default: u(() => [p(N, {
3322
+ "model-value": e.icon.alt ?? "",
3323
+ type: "text",
3324
+ placeholder: h(o).image.altTextPlaceholder,
3325
+ "onUpdate:modelValue": C
3326
+ }, null, 8, ["model-value", "placeholder"])]),
3327
+ _: 1
3328
+ }, 8, ["path", "label"])], 64));
3329
+ }
3330
+ }), ha = { class: "tpl:mb-3.5" }, ga = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, _a = { class: "tpl:flex tpl:items-center tpl:gap-2" }, va = ["value", "onChange"], ya = ["value"], ba = { value: "custom" }, xa = ["title", "onClick"], Sa = {
3331
+ key: 1,
3332
+ class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
3333
+ }, Ca = ["value"], wa = { value: "solid" }, Ta = { value: "outlined" }, Ea = { value: "rounded" }, Da = { value: "square" }, Oa = { value: "circle" }, ka = { value: "plain" }, Aa = ["value"], ja = { value: "brand" }, Ma = { value: "dark" }, Na = { value: "light" }, Pa = { class: "tpl:flex tpl:items-stretch" }, Fa = ["value"], Ia = /* @__PURE__ */ D({
3246
3334
  __name: "SocialToolbar",
3247
3335
  props: { block: {} },
3248
3336
  emits: ["update"],
@@ -3259,57 +3347,83 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3259
3347
  };
3260
3348
  i("update", { icons: [...n.block.icons, e] });
3261
3349
  }
3262
- function f(e, t, r) {
3263
- let a = n.block.icons.map((n) => n.id === e ? {
3350
+ function f(e) {
3351
+ i("update", { icons: n.block.icons.map((t) => t.id === e.id ? e : t) });
3352
+ }
3353
+ function m(e, t, r) {
3354
+ i("update", { icons: n.block.icons.map((n) => n.id === e ? {
3264
3355
  ...n,
3265
3356
  [t]: r
3266
- } : n);
3267
- i("update", { icons: a });
3357
+ } : n) });
3358
+ }
3359
+ function _(e) {
3360
+ return e.platform === "custom";
3268
3361
  }
3269
- function m(e) {
3362
+ function x(e, t) {
3363
+ t !== e.platform && f(t === "custom" ? {
3364
+ id: e.id,
3365
+ platform: "custom",
3366
+ url: e.url,
3367
+ imageUrl: ""
3368
+ } : {
3369
+ id: e.id,
3370
+ platform: t,
3371
+ url: e.url
3372
+ });
3373
+ }
3374
+ function C(e) {
3270
3375
  i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
3271
3376
  }
3272
3377
  return (t, n) => (a(), v(S, null, [
3273
- b("div", pa, [b("label", { class: o(h(V)) }, r(h(c).social.icons), 3), b("div", ma, [(a(!0), v(S, null, s(e.block.icons, (e) => (a(), v("div", {
3378
+ b("div", ha, [b("label", { class: o(h(V)) }, r(h(c).social.icons), 3), b("div", ga, [(a(!0), v(S, null, s(e.block.icons, (e) => (a(), v("div", {
3274
3379
  key: e.id,
3275
3380
  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"
3276
- }, [b("div", ha, [p(A, {
3277
- path: e.id.includes(".") ? void 0 : `icons.${e.id}.platform`,
3278
- label: h(c).social.icons
3279
- }, {
3280
- default: u(() => [b("select", {
3281
- "data-testid": "social-platform-select",
3282
- class: o([h(B), "tpl:flex-1"]),
3283
- value: e.platform,
3284
- onChange: (t) => f(e.id, "platform", t.target.value)
3285
- }, [(a(!0), v(S, null, s(h(Je), (e) => (a(), v("option", {
3286
- key: e,
3287
- value: e
3288
- }, r(h(c).social.platforms[e]), 9, _a))), 128))], 42, ga)]),
3289
- _: 2
3290
- }, 1032, ["path", "label"]), b("button", {
3291
- class: o(h(I)),
3292
- title: h(c).social.removeIcon,
3293
- onClick: (t) => m(e.id)
3294
- }, [p(h(yt), {
3295
- size: 14,
3296
- "stroke-width": 2
3297
- })], 10, va)]), p(A, {
3298
- path: e.id.includes(".") ? void 0 : `icons.${e.id}.url`,
3299
- label: h(c).button.url
3300
- }, {
3301
- default: u(() => [p(N, {
3302
- "model-value": e.url,
3303
- type: "url",
3304
- placeholder: h(c).social.urlPlaceholder,
3305
- "onUpdate:modelValue": (t) => f(e.id, "url", t)
3306
- }, null, 8, [
3307
- "model-value",
3308
- "placeholder",
3309
- "onUpdate:modelValue"
3310
- ])]),
3311
- _: 2
3312
- }, 1032, ["path", "label"])]))), 128)), b("button", {
3381
+ }, [
3382
+ b("div", _a, [p(A, {
3383
+ path: e.id.includes(".") ? void 0 : `icons.${e.id}.platform`,
3384
+ label: h(c).social.icons
3385
+ }, {
3386
+ default: u(() => [b("select", {
3387
+ "data-testid": "social-platform-select",
3388
+ class: o([h(B), "tpl:flex-1"]),
3389
+ value: e.platform,
3390
+ onChange: (t) => x(e, t.target.value)
3391
+ }, [(a(!0), v(S, null, s(h(Je), (e) => (a(), v("option", {
3392
+ key: e,
3393
+ value: e
3394
+ }, r(h(c).social.platforms[e]), 9, ya))), 128)), b("option", ba, r(h(c).social.platforms.custom), 1)], 42, va)]),
3395
+ _: 2
3396
+ }, 1032, ["path", "label"]), b("button", {
3397
+ class: o(h(I)),
3398
+ title: h(c).social.removeIcon,
3399
+ onClick: (t) => C(e.id)
3400
+ }, [p(h(yt), {
3401
+ size: 14,
3402
+ "stroke-width": 2
3403
+ })], 10, xa)]),
3404
+ _(e) ? (a(), w(ma, {
3405
+ key: 0,
3406
+ icon: e,
3407
+ onUpdate: f
3408
+ }, null, 8, ["icon"])) : g("", !0),
3409
+ p(A, {
3410
+ path: e.id.includes(".") ? void 0 : `icons.${e.id}.url`,
3411
+ label: h(c).button.url
3412
+ }, {
3413
+ default: u(() => [p(N, {
3414
+ "model-value": e.url,
3415
+ type: "url",
3416
+ placeholder: h(c).social.urlPlaceholder,
3417
+ "onUpdate:modelValue": (t) => m(e.id, "url", t)
3418
+ }, null, 8, [
3419
+ "model-value",
3420
+ "placeholder",
3421
+ "onUpdate:modelValue"
3422
+ ])]),
3423
+ _: 2
3424
+ }, 1032, ["path", "label"]),
3425
+ _(e) ? (a(), v("p", Sa, r(h(c).social.customIconHint), 1)) : g("", !0)
3426
+ ]))), 128)), b("button", {
3313
3427
  class: o(h(R)),
3314
3428
  onClick: d
3315
3429
  }, [p(h(Q), {
@@ -3326,13 +3440,13 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3326
3440
  value: e.block.iconStyle,
3327
3441
  onChange: n[0] ||= (e) => l("iconStyle", e.target.value)
3328
3442
  }, [
3329
- b("option", ba, r(h(c).social.styleSolid), 1),
3330
- b("option", xa, r(h(c).social.styleOutlined), 1),
3331
- b("option", Sa, r(h(c).social.styleRounded), 1),
3332
- b("option", Ca, r(h(c).social.styleSquare), 1),
3333
- b("option", wa, r(h(c).social.styleCircle), 1),
3334
- b("option", Ta, r(h(c).social.stylePlain), 1)
3335
- ], 42, ya)]),
3443
+ b("option", wa, r(h(c).social.styleSolid), 1),
3444
+ b("option", Ta, r(h(c).social.styleOutlined), 1),
3445
+ b("option", Ea, r(h(c).social.styleRounded), 1),
3446
+ b("option", Da, r(h(c).social.styleSquare), 1),
3447
+ b("option", Oa, r(h(c).social.styleCircle), 1),
3448
+ b("option", ka, r(h(c).social.stylePlain), 1)
3449
+ ], 42, Ca)]),
3336
3450
  _: 1
3337
3451
  }, 8, ["label"]),
3338
3452
  p(A, {
@@ -3346,10 +3460,10 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3346
3460
  value: e.block.iconTone ?? "brand",
3347
3461
  onChange: n[1] ||= (e) => l("iconTone", e.target.value)
3348
3462
  }, [
3349
- b("option", Da, r(h(c).social.colorBrand), 1),
3350
- b("option", Oa, r(h(c).social.colorDark), 1),
3351
- b("option", ka, r(h(c).social.colorLight), 1)
3352
- ], 42, Ea)]),
3463
+ b("option", ja, r(h(c).social.colorBrand), 1),
3464
+ b("option", Ma, r(h(c).social.colorDark), 1),
3465
+ b("option", Na, r(h(c).social.colorLight), 1)
3466
+ ], 42, Aa)]),
3353
3467
  _: 1
3354
3468
  }, 8, ["label"]),
3355
3469
  p(A, {
@@ -3382,14 +3496,14 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3382
3496
  class: "tpl:mb-3.5",
3383
3497
  path: "spacing"
3384
3498
  }, {
3385
- default: u(() => [b("div", Aa, [b("input", {
3499
+ default: u(() => [b("div", Pa, [b("input", {
3386
3500
  type: "number",
3387
3501
  class: o(h(z)),
3388
3502
  value: e.block.spacing,
3389
3503
  min: "0",
3390
3504
  max: "50",
3391
3505
  onInput: n[3] ||= (e) => l("spacing", Number(e.target.value))
3392
- }, null, 42, ja), b("span", { class: o(h(L)) }, "px", 2)])]),
3506
+ }, null, 42, Fa), b("span", { class: o(h(L)) }, "px", 2)])]),
3393
3507
  _: 1
3394
3508
  }, 8, ["label"]),
3395
3509
  p(A, {
@@ -3422,7 +3536,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3422
3536
  }, 8, ["label"])
3423
3537
  ], 64));
3424
3538
  }
3425
- }), Na = { class: "tpl:flex tpl:items-stretch" }, Pa = ["value"], Fa = ["value"], Ia = /* @__PURE__ */ D({
3539
+ }), La = { class: "tpl:flex tpl:items-stretch" }, Ra = ["value"], za = ["value"], Ba = /* @__PURE__ */ D({
3426
3540
  __name: "SpacerToolbar",
3427
3541
  props: { block: {} },
3428
3542
  emits: ["update"],
@@ -3433,25 +3547,25 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3433
3547
  class: "tpl:mb-3.5",
3434
3548
  path: "height"
3435
3549
  }, {
3436
- default: u(() => [b("div", Na, [b("input", {
3550
+ default: u(() => [b("div", La, [b("input", {
3437
3551
  type: "number",
3438
3552
  class: o(h(z)),
3439
3553
  value: e.block.height,
3440
3554
  min: "10",
3441
3555
  max: "100",
3442
3556
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
3443
- }, null, 42, Pa), b("span", { class: o(h(L)) }, "px", 2)]), b("input", {
3557
+ }, null, 42, Ra), b("span", { class: o(h(L)) }, "px", 2)]), b("input", {
3444
3558
  type: "range",
3445
3559
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
3446
3560
  value: e.block.height,
3447
3561
  min: "10",
3448
3562
  max: "100",
3449
3563
  onInput: i[1] ||= (e) => n("update", { height: Number(e.target.value) })
3450
- }, null, 40, Fa)]),
3564
+ }, null, 40, za)]),
3451
3565
  _: 1
3452
3566
  }, 8, ["label"]));
3453
3567
  }
3454
- }), La = { class: "tpl:mb-3.5" }, Ra = { class: "tpl:flex tpl:items-center tpl:gap-3" }, za = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ba = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Va = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ha = ["disabled"], Ua = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Wa = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ga = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ka = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, qa = ["disabled"], Ja = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ya = { class: "tpl:flex tpl:items-stretch" }, Xa = ["value"], Za = { class: "tpl:flex tpl:items-stretch" }, Qa = ["value"], $a = ["value"], eo = { value: "" }, to = ["value"], no = { class: "tpl:flex tpl:items-stretch" }, ro = ["value"], io = /* @__PURE__ */ D({
3568
+ }), Va = { class: "tpl:mb-3.5" }, Ha = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ua = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Wa = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ga = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ka = ["disabled"], qa = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ja = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ya = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Xa = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Za = ["disabled"], Qa = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, $a = { class: "tpl:flex tpl:items-stretch" }, eo = ["value"], to = { class: "tpl:flex tpl:items-stretch" }, no = ["value"], ro = ["value"], io = { value: "" }, ao = ["value"], oo = { class: "tpl:flex tpl:items-stretch" }, so = ["value"], co = /* @__PURE__ */ D({
3455
3569
  __name: "TableToolbar",
3456
3570
  props: {
3457
3571
  block: {},
@@ -3494,7 +3608,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3494
3608
  i("update", { rows: t });
3495
3609
  }
3496
3610
  return (t, n) => (a(), v(S, null, [
3497
- b("div", La, [b("label", { class: o(h(V)) }, r(h(c).table.dimensions), 3), b("div", Ra, [b("div", za, [b("span", Ba, r(h(c).table.rows), 1), b("div", Va, [
3611
+ b("div", Va, [b("label", { class: o(h(V)) }, r(h(c).table.dimensions), 3), b("div", Ha, [b("div", Ua, [b("span", Wa, r(h(c).table.rows), 1), b("div", Ga, [
3498
3612
  b("button", {
3499
3613
  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",
3500
3614
  disabled: e.block.rows.length <= 1,
@@ -3502,8 +3616,8 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3502
3616
  }, [p(h(tt), {
3503
3617
  size: 12,
3504
3618
  "stroke-width": 2
3505
- })], 8, Ha),
3506
- b("span", Ua, r(e.block.rows.length), 1),
3619
+ })], 8, Ka),
3620
+ b("span", qa, r(e.block.rows.length), 1),
3507
3621
  b("button", {
3508
3622
  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)]",
3509
3623
  onClick: f
@@ -3511,7 +3625,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3511
3625
  size: 12,
3512
3626
  "stroke-width": 2
3513
3627
  })])
3514
- ])]), b("div", Wa, [b("span", Ga, r(h(c).table.columns), 1), b("div", Ka, [
3628
+ ])]), b("div", Ja, [b("span", Ya, r(h(c).table.columns), 1), b("div", Xa, [
3515
3629
  b("button", {
3516
3630
  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",
3517
3631
  disabled: l.value <= 1,
@@ -3519,8 +3633,8 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3519
3633
  }, [p(h(tt), {
3520
3634
  size: 12,
3521
3635
  "stroke-width": 2
3522
- })], 8, qa),
3523
- b("span", Ja, r(l.value), 1),
3636
+ })], 8, Za),
3637
+ b("span", Qa, r(l.value), 1),
3524
3638
  b("button", {
3525
3639
  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)]",
3526
3640
  onClick: y
@@ -3582,14 +3696,14 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3582
3696
  class: "tpl:mb-3.5",
3583
3697
  path: "borderWidth"
3584
3698
  }, {
3585
- default: u(() => [b("div", Ya, [b("input", {
3699
+ default: u(() => [b("div", $a, [b("input", {
3586
3700
  type: "number",
3587
3701
  class: o(h(z)),
3588
3702
  value: e.block.borderWidth,
3589
3703
  min: "0",
3590
3704
  max: "10",
3591
3705
  onInput: n[5] ||= (e) => d("borderWidth", Number(e.target.value))
3592
- }, null, 42, Xa), b("span", { class: o(h(L)) }, "px", 2)])]),
3706
+ }, null, 42, eo), b("span", { class: o(h(L)) }, "px", 2)])]),
3593
3707
  _: 1
3594
3708
  }, 8, ["label"]),
3595
3709
  p(A, {
@@ -3597,14 +3711,14 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3597
3711
  class: "tpl:mb-3.5",
3598
3712
  path: "cellPadding"
3599
3713
  }, {
3600
- default: u(() => [b("div", Za, [b("input", {
3714
+ default: u(() => [b("div", to, [b("input", {
3601
3715
  type: "number",
3602
3716
  class: o(h(z)),
3603
3717
  value: e.block.cellPadding,
3604
3718
  min: "0",
3605
3719
  max: "30",
3606
3720
  onInput: n[6] ||= (e) => d("cellPadding", Number(e.target.value))
3607
- }, null, 42, Qa), b("span", { class: o(h(L)) }, "px", 2)])]),
3721
+ }, null, 42, no), b("span", { class: o(h(L)) }, "px", 2)])]),
3608
3722
  _: 1
3609
3723
  }, 8, ["label"]),
3610
3724
  p(A, {
@@ -3616,10 +3730,10 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3616
3730
  class: o(h(B)),
3617
3731
  value: h($e)(e.block.fontFamily),
3618
3732
  onChange: n[7] ||= (e) => d("fontFamily", e.target.value || void 0)
3619
- }, [b("option", eo, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3733
+ }, [b("option", io, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3620
3734
  key: e.value,
3621
3735
  value: e.value
3622
- }, r(e.label), 9, to))), 128))], 42, $a)]),
3736
+ }, r(e.label), 9, ao))), 128))], 42, ro)]),
3623
3737
  _: 1
3624
3738
  }, 8, ["label"]),
3625
3739
  p(A, {
@@ -3627,14 +3741,14 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3627
3741
  class: "tpl:mb-3.5",
3628
3742
  path: "fontSize"
3629
3743
  }, {
3630
- default: u(() => [b("div", no, [b("input", {
3744
+ default: u(() => [b("div", oo, [b("input", {
3631
3745
  type: "number",
3632
3746
  class: o(h(z)),
3633
3747
  value: e.block.fontSize,
3634
3748
  min: "10",
3635
3749
  max: "32",
3636
3750
  onInput: n[8] ||= (e) => d("fontSize", Number(e.target.value))
3637
- }, null, 42, ro), b("span", { class: o(h(L)) }, "px", 2)])]),
3751
+ }, null, 42, so), b("span", { class: o(h(L)) }, "px", 2)])]),
3638
3752
  _: 1
3639
3753
  }, 8, ["label"]),
3640
3754
  p(A, {
@@ -3678,7 +3792,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3678
3792
  }, 8, ["label"])
3679
3793
  ], 64));
3680
3794
  }
3681
- }), ao = ["value"], oo = { value: 1 }, so = { value: 2 }, co = { value: 3 }, lo = { value: 4 }, uo = ["value"], fo = { value: "" }, po = ["value"], mo = /* @__PURE__ */ D({
3795
+ }), lo = ["value"], uo = { value: 1 }, fo = { value: 2 }, po = { value: 3 }, mo = { value: 4 }, ho = ["value"], go = { value: "" }, _o = ["value"], vo = /* @__PURE__ */ D({
3682
3796
  __name: "TitleToolbar",
3683
3797
  props: {
3684
3798
  block: {},
@@ -3701,11 +3815,11 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3701
3815
  value: e.block.level,
3702
3816
  onChange: n[0] ||= (e) => c("level", Number(e.target.value))
3703
3817
  }, [
3704
- b("option", oo, r(h(i).title.heading1), 1),
3705
- b("option", so, r(h(i).title.heading2), 1),
3706
- b("option", co, r(h(i).title.heading3), 1),
3707
- b("option", lo, r(h(i).title.heading4), 1)
3708
- ], 42, ao)]),
3818
+ b("option", uo, r(h(i).title.heading1), 1),
3819
+ b("option", fo, r(h(i).title.heading2), 1),
3820
+ b("option", po, r(h(i).title.heading3), 1),
3821
+ b("option", mo, r(h(i).title.heading4), 1)
3822
+ ], 42, lo)]),
3709
3823
  _: 1
3710
3824
  }, 8, ["label"]),
3711
3825
  p(A, {
@@ -3717,10 +3831,10 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3717
3831
  class: o(h(B)),
3718
3832
  value: h($e)(e.block.fontFamily),
3719
3833
  onChange: n[1] ||= (e) => c("fontFamily", e.target.value || void 0)
3720
- }, [b("option", fo, r(h(i).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3834
+ }, [b("option", go, r(h(i).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3721
3835
  key: e.value,
3722
3836
  value: e.value
3723
- }, r(e.label), 9, po))), 128))], 42, uo)]),
3837
+ }, r(e.label), 9, _o))), 128))], 42, ho)]),
3724
3838
  _: 1
3725
3839
  }, 8, ["label"]),
3726
3840
  p(A, {
@@ -3764,17 +3878,17 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3764
3878
  }, 8, ["label"])
3765
3879
  ], 64));
3766
3880
  }
3767
- }), ho = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, go = [
3881
+ }), yo = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bo = [
3768
3882
  "value",
3769
3883
  "placeholder",
3770
3884
  "title"
3771
- ], _o = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, vo = ["value"], yo = { value: "full" }, bo = { value: "custom" }, xo = {
3885
+ ], xo = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, So = ["value"], Co = { value: "full" }, wo = { value: "custom" }, To = {
3772
3886
  key: 0,
3773
3887
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
3774
- }, So = ["value"], Co = ["value"], wo = { value: "auto" }, To = { value: "custom" }, Eo = {
3888
+ }, Eo = ["value"], Do = ["value"], Oo = { value: "auto" }, ko = { value: "custom" }, Ao = {
3775
3889
  key: 0,
3776
3890
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
3777
- }, Do = ["value"], Oo = 350, ko = 200, Ao = /* @__PURE__ */ D({
3891
+ }, jo = ["value"], Mo = 350, No = 200, Po = /* @__PURE__ */ D({
3778
3892
  __name: "VideoToolbar",
3779
3893
  props: { block: {} },
3780
3894
  emits: ["update"],
@@ -3795,7 +3909,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3795
3909
  function M(e) {
3796
3910
  if (e === "custom") {
3797
3911
  let e = n.block.width;
3798
- (typeof e != "number" || f.includes(e)) && j("width", Oo);
3912
+ (typeof e != "number" || f.includes(e)) && j("width", Mo);
3799
3913
  } else j("width", e === "full" ? "full" : Number(e));
3800
3914
  }
3801
3915
  function F(e) {
@@ -3803,7 +3917,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3803
3917
  !Number.isFinite(t) || t <= 0 || j("width", t);
3804
3918
  }
3805
3919
  function I(e) {
3806
- j("height", e === "custom" ? ko : void 0);
3920
+ j("height", e === "custom" ? No : void 0);
3807
3921
  }
3808
3922
  function ee(e) {
3809
3923
  let t = Number(e);
@@ -3850,7 +3964,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3850
3964
  class: "tpl:mb-3.5",
3851
3965
  path: "placeholderUrl"
3852
3966
  }, {
3853
- label: u(() => [y(r(h(s).video.placeholderUrl) + " ", 1), b("span", ho, r(h(s).video.optional), 1)]),
3967
+ label: u(() => [y(r(h(s).video.placeholderUrl) + " ", 1), b("span", yo, r(h(s).video.optional), 1)]),
3854
3968
  default: u(() => [b("input", {
3855
3969
  type: "url",
3856
3970
  class: o(h(B)),
@@ -3858,14 +3972,14 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3858
3972
  placeholder: h(s).video.placeholderUrlPlaceholder,
3859
3973
  title: h(s).video.placeholderUrlTooltip,
3860
3974
  onInput: n[2] ||= (e) => j("placeholderUrl", e.target.value)
3861
- }, null, 42, go)]),
3975
+ }, null, 42, bo)]),
3862
3976
  _: 1
3863
3977
  })) : g("", !0),
3864
3978
  p(A, {
3865
3979
  class: "tpl:mb-3.5",
3866
3980
  path: "thumbnailUrl"
3867
3981
  }, {
3868
- label: u(() => [y(r(h(s).video.customThumbnail) + " ", 1), b("span", _o, r(h(s).video.optional), 1)]),
3982
+ label: u(() => [y(r(h(s).video.customThumbnail) + " ", 1), b("span", xo, r(h(s).video.optional), 1)]),
3869
3983
  default: u(() => [p(N, {
3870
3984
  "model-value": e.block.thumbnailUrl,
3871
3985
  type: "url",
@@ -3915,19 +4029,19 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3915
4029
  value: T.value,
3916
4030
  onChange: n[5] ||= (e) => M(e.target.value)
3917
4031
  }, [
3918
- b("option", yo, r(h(s).video.fullWidth), 1),
4032
+ b("option", Co, r(h(s).video.fullWidth), 1),
3919
4033
  n[10] ||= b("option", { value: "300" }, "300px", -1),
3920
4034
  n[11] ||= b("option", { value: "400" }, "400px", -1),
3921
4035
  n[12] ||= b("option", { value: "500" }, "500px", -1),
3922
- b("option", bo, r(h(s).video.widthCustom), 1)
3923
- ], 42, vo), T.value === "custom" ? (a(), v("div", xo, [b("input", {
4036
+ b("option", wo, r(h(s).video.widthCustom), 1)
4037
+ ], 42, So), T.value === "custom" ? (a(), v("div", To, [b("input", {
3924
4038
  type: "number",
3925
4039
  "data-testid": "video-width-input",
3926
4040
  class: o(h(z)),
3927
4041
  value: e.block.width,
3928
4042
  min: "20",
3929
4043
  onInput: n[6] ||= (e) => F(e.target.value)
3930
- }, null, 42, So), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
4044
+ }, null, 42, Eo), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
3931
4045
  _: 1
3932
4046
  }, 8, ["label"]),
3933
4047
  p(A, {
@@ -3940,14 +4054,14 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3940
4054
  "data-testid": "video-height-mode",
3941
4055
  value: D.value,
3942
4056
  onChange: n[7] ||= (e) => I(e.target.value)
3943
- }, [b("option", wo, r(h(s).video.heightAuto), 1), b("option", To, r(h(s).video.heightCustom), 1)], 42, Co), D.value === "custom" ? (a(), v("div", Eo, [b("input", {
4057
+ }, [b("option", Oo, r(h(s).video.heightAuto), 1), b("option", ko, r(h(s).video.heightCustom), 1)], 42, Do), D.value === "custom" ? (a(), v("div", Ao, [b("input", {
3944
4058
  type: "number",
3945
4059
  "data-testid": "video-height-input",
3946
4060
  class: o(h(z)),
3947
4061
  value: e.block.height,
3948
4062
  min: "20",
3949
4063
  onInput: n[8] ||= (e) => ee(e.target.value)
3950
- }, null, 42, Do), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
4064
+ }, null, 42, jo), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
3951
4065
  _: 1
3952
4066
  }, 8, ["label"]),
3953
4067
  p(A, {
@@ -3977,7 +4091,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3977
4091
  }, 8, ["label"])
3978
4092
  ], 64));
3979
4093
  }
3980
- }), jo = ["aria-label"], Mo = ["disabled", "inert"], 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" }, Po = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Fo = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Io = { class: "tpl:flex tpl:gap-1" }, Lo = ["title"], Ro = ["title"], zo = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Bo = /*@__PURE__*/ D({
4094
+ }), Fo = ["aria-label"], Io = ["disabled", "inert"], Lo = { 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)]" }, zo = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Bo = { class: "tpl:flex tpl:gap-1" }, Vo = ["title"], Ho = ["title"], Uo = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Wo = /*@__PURE__*/ D({
3981
4095
  __name: "Toolbar",
3982
4096
  props: { block: {} },
3983
4097
  emits: [
@@ -3986,7 +4100,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
3986
4100
  "duplicate"
3987
4101
  ],
3988
4102
  setup(e, { emit: t }) {
3989
- let n = T(() => import("./CountdownToolbar-CNqYDevp.js")), o = e, s = t, { t: c } = W(), l = dt(), u = Ne(ke, "Toolbar"), d = E(Ae, []), f = m(() => o.block.type), _ = m(() => ue(o.block)), y = m(() => {
4103
+ let n = T(() => import("./CountdownToolbar-BQdhVNaK.js")), o = e, s = t, { t: c } = W(), l = dt(), u = Ne(ke, "Toolbar"), d = E(Ae, []), f = m(() => o.block.type), _ = m(() => ue(o.block)), y = m(() => {
3990
4104
  if (_.value) return d.find((e) => e.type === o.block.customType);
3991
4105
  }), x = m(() => _.value ? y.value?.name ?? o.block.customType : Re(f.value, c)), S = m(() => Qe(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
3992
4106
  function C(e) {
@@ -4000,7 +4114,7 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
4000
4114
  disabled: !h(l),
4001
4115
  inert: !h(l),
4002
4116
  class: "tpl:contents"
4003
- }, [b("div", No, [b("div", Po, [h(nt)[f.value] ? (a(), w(i(h(nt)[f.value]), {
4117
+ }, [b("div", Lo, [b("div", Ro, [h(nt)[f.value] ? (a(), w(i(h(nt)[f.value]), {
4004
4118
  key: 0,
4005
4119
  size: 16,
4006
4120
  "stroke-width": 1.5
@@ -4008,74 +4122,74 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
4008
4122
  key: 1,
4009
4123
  size: 16,
4010
4124
  "stroke-width": 1.5
4011
- })) : g("", !0), b("h3", Fo, r(x.value), 1)]), b("div", Io, [b("button", {
4125
+ })) : g("", !0), b("h3", zo, r(x.value), 1)]), b("div", Bo, [b("button", {
4012
4126
  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)]",
4013
4127
  title: h(c).toolbar.duplicate,
4014
4128
  onClick: o[0] ||= (e) => s("duplicate")
4015
- }, [p(h(bt), {
4129
+ }, [p(h(xt), {
4016
4130
  size: 14,
4017
4131
  "stroke-width": 2
4018
- })], 8, Lo), b("button", {
4132
+ })], 8, Vo), b("button", {
4019
4133
  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)]",
4020
4134
  title: h(c).toolbar.delete,
4021
4135
  onClick: o[1] ||= (e) => s("delete")
4022
4136
  }, [p(h(pt), {
4023
4137
  size: 14,
4024
4138
  "stroke-width": 2
4025
- })], 8, Ro)])]), b("div", zo, [_.value ? (a(), w(di, {
4139
+ })], 8, Ho)])]), b("div", Uo, [_.value ? (a(), w(fi, {
4026
4140
  key: 0,
4027
4141
  block: e.block,
4028
4142
  onUpdateFieldValues: o[2] ||= (e) => s("update", { fieldValues: e }),
4029
4143
  onUpdateDataSourceFetched: o[3] ||= (e) => s("update", { dataSourceFetched: e })
4030
- }, null, 8, ["block"])) : f.value === "section" ? (a(), w(fa, {
4144
+ }, null, 8, ["block"])) : f.value === "section" ? (a(), w(pa, {
4031
4145
  key: 1,
4032
4146
  block: e.block,
4033
4147
  onUpdate: C
4034
- }, null, 8, ["block"])) : f.value === "title" ? (a(), w(mo, {
4148
+ }, null, 8, ["block"])) : f.value === "title" ? (a(), w(vo, {
4035
4149
  key: 2,
4036
4150
  block: e.block,
4037
4151
  "font-families": S.value,
4038
4152
  onUpdate: C
4039
- }, null, 8, ["block", "font-families"])) : f.value === "paragraph" ? (a(), w(ta, {
4153
+ }, null, 8, ["block", "font-families"])) : f.value === "paragraph" ? (a(), w(na, {
4040
4154
  key: 3,
4041
4155
  block: e.block,
4042
4156
  onUpdate: C
4043
- }, null, 8, ["block"])) : f.value === "image" ? (a(), w(Vi, {
4157
+ }, null, 8, ["block"])) : f.value === "image" ? (a(), w(Hi, {
4044
4158
  key: 4,
4045
4159
  block: e.block,
4046
4160
  onUpdate: C
4047
- }, null, 8, ["block"])) : f.value === "video" ? (a(), w(Ao, {
4161
+ }, null, 8, ["block"])) : f.value === "video" ? (a(), w(Po, {
4048
4162
  key: 5,
4049
4163
  block: e.block,
4050
4164
  onUpdate: C
4051
- }, null, 8, ["block"])) : f.value === "button" ? (a(), w(Qt, {
4165
+ }, null, 8, ["block"])) : f.value === "button" ? (a(), w($t, {
4052
4166
  key: 6,
4053
4167
  block: e.block,
4054
4168
  "font-families": S.value,
4055
4169
  onUpdate: C
4056
- }, null, 8, ["block", "font-families"])) : f.value === "divider" ? (a(), w(mi, {
4170
+ }, null, 8, ["block", "font-families"])) : f.value === "divider" ? (a(), w(hi, {
4057
4171
  key: 7,
4058
4172
  block: e.block,
4059
4173
  onUpdate: C
4060
- }, null, 8, ["block"])) : f.value === "social" ? (a(), w(Ma, {
4174
+ }, null, 8, ["block"])) : f.value === "social" ? (a(), w(Ia, {
4061
4175
  key: 8,
4062
4176
  block: e.block,
4063
4177
  onUpdate: C
4064
- }, null, 8, ["block"])) : f.value === "menu" ? (a(), w(Qi, {
4178
+ }, null, 8, ["block"])) : f.value === "menu" ? (a(), w($i, {
4065
4179
  key: 9,
4066
4180
  block: e.block,
4067
4181
  "font-families": S.value,
4068
4182
  onUpdate: C
4069
- }, null, 8, ["block", "font-families"])) : f.value === "table" ? (a(), w(io, {
4183
+ }, null, 8, ["block", "font-families"])) : f.value === "table" ? (a(), w(co, {
4070
4184
  key: 10,
4071
4185
  block: e.block,
4072
4186
  "font-families": S.value,
4073
4187
  onUpdate: C
4074
- }, null, 8, ["block", "font-families"])) : f.value === "spacer" ? (a(), w(Ia, {
4188
+ }, null, 8, ["block", "font-families"])) : f.value === "spacer" ? (a(), w(Ba, {
4075
4189
  key: 11,
4076
4190
  block: e.block,
4077
4191
  onUpdate: C
4078
- }, null, 8, ["block"])) : f.value === "html" ? (a(), w(_i, {
4192
+ }, null, 8, ["block"])) : f.value === "html" ? (a(), w(vi, {
4079
4193
  key: 12,
4080
4194
  block: e.block,
4081
4195
  onUpdate: C
@@ -4084,11 +4198,11 @@ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
4084
4198
  block: e.block,
4085
4199
  "font-families": S.value,
4086
4200
  onUpdate: C
4087
- }, null, 8, ["block", "font-families"])) : g("", !0), p(Tr, {
4201
+ }, null, 8, ["block", "font-families"])) : g("", !0), p(Er, {
4088
4202
  block: e.block,
4089
4203
  "is-first-section": f.value === "paragraph",
4090
4204
  onUpdate: C
4091
- }, null, 8, ["block", "is-first-section"])])], 8, Mo)], 8, jo));
4205
+ }, null, 8, ["block", "is-first-section"])])], 8, Io)], 8, Fo));
4092
4206
  }
4093
- }), Vo = /* @__PURE__ */ e({ default: () => Ho }), Ho = /*#__PURE__*/ rt(Bo, [["__scopeId", "data-v-206f038f"]]);
4094
- export { Ho as default, Ot as n, $ as r, Vo as t };
4207
+ }), Go = /* @__PURE__ */ e({ default: () => Ko }), Ko = /*#__PURE__*/ rt(Wo, [["__scopeId", "data-v-206f038f"]]);
4208
+ export { Ko as default, kt as n, $ as r, Go as t };