@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,32 +1,33 @@
1
1
  import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
2
2
  import { $ as t, B as n, C as r, F as i, G as a, H as o, K as s, L as c, O as l, Q as u, R as d, S as f, _ as p, b as m, ct as h, dt as g, g as _, h as v, it as y, m as b, mt as x, o as S, p as C, pt as w, s as T, tt as E, u as D, v as O, x as k } from "./draggable-IRVFEZ-b.js";
3
- import { n as A, t as j } from "./MergeTagTextarea-DJbWTYVH.js";
4
- import { c as M } from "./LogicTagInsertButton-CQ8RiOou.js";
5
- import { t as N } from "./MergeTagInput-D7FZ0ca0.js";
3
+ import { n as A, t as j } from "./MergeTagTextarea-BRiaRBr_.js";
4
+ import { c as M } from "./LogicTagInsertButton-B4wuPoMa.js";
5
+ import { t as N } from "./MergeTagInput-DZD-p4nR.js";
6
6
  import { t as P } from "./ToggleSwitch-C0w0srN_.js";
7
7
  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";
8
- import { $ as re, At as ie, Bt as ae, Ft as oe, H as U, Mt as se, O as ce, R as le, _ as ue, _t as de, c as fe, et as W, f as G, gt as K, h as q, it as J, lt as Y, rt as X, t as pe, v as Z } from "./icons-BJ6AtVgu.js";
8
+ import { $ as re, At as ie, Bt as ae, Ft as oe, H as U, Mt as se, O as ce, R as le, _ as ue, _t as de, c as fe, et as W, f as G, gt as K, h as q, it as J, lt as Y, rt as X, t as pe, v as Z } from "./icons-CWEBTtbR.js";
9
9
  import { t as Q } from "./useI18n-DPg6rPbu.js";
10
- import { Bt as me, Cn as he, Dn as ge, H as _e, Ht as ve, I as ye, Jt as be, Mn as xe, Nn as Se, Sn as Ce, Ut as we, Vt as Te, W as Ee, Wt as De, Yt as Oe, bn as ke, g as Ae, kn as je, qt as Me, tn as Ne, wn as Pe, xn as Fe, yt as Ie } from "./src-BHgVGOTi.js";
11
- import { n as Le } from "./useLocalizedDisplay-C3lIetmX.js";
10
+ import { Bt as me, Cn as he, Dn as ge, H as _e, Ht as ve, I as ye, Jt as be, Mn as xe, Nn as Se, Sn as Ce, Ut as we, Vt as Te, W as Ee, Wt as De, Yt as Oe, bn as ke, g as Ae, kn as je, qt as Me, tn as Ne, wn as Pe, xn as Fe, yt as Ie } from "./src-A0kzK-pR.js";
11
+ import { n as Le } from "./useLocalizedDisplay-Brdkp3KH.js";
12
12
  import { $ as Re, B as ze, C as Be, H as Ve, O as He, T as Ue, W as We, _ as Ge, b as Ke, h as qe, p as Je, r as Ye, ut as Xe, v as Ze } from "./keys-ywH4jHJ2.js";
13
- import { F as Qe, T as $e, _ as et, b as tt, d as nt, f as rt, g as it, h as at, i as ot, l as st, m as ct, p as lt, r as ut, s as dt, u as ft, v as pt } from "./socialIcons-Df9dNe7I.js";
14
- import { n as mt, t as ht } from "./withCurrentFont-ufGLu2Vt.js";
13
+ import { F as Qe, T as $e, _ as et, b as tt, d as nt, f as rt, g as it, h as at, i as ot, l as st, m as ct, p as lt, r as ut, s as dt, u as ft, v as pt } from "./socialIcons-DMelHF3p.js";
14
+ import { n as mt, t as ht } from "./withCurrentFont-C4pIesdB.js";
15
15
  import { t as gt } from "./languageName-DEEOhDWI.js";
16
16
  import { t as _t } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
17
17
  import { t as vt } from "./logger-CqQTfJGx.js";
18
18
  import { c as yt, r as bt } from "./usePopoverPosition-CBp9uwjV.js";
19
19
  import { _ as xt } from "./dist-BtWMy7UQ.js";
20
- import { t as St } from "./blockTypeIcons-DBoP1HkR.js";
20
+ import { t as St } from "./useMergeTag-Dwy3U0PI.js";
21
+ import { t as Ct } from "./blockTypeIcons-BOonB9gK.js";
21
22
  // src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
22
- var Ct = [
23
+ var wt = [
23
24
  "aria-checked",
24
25
  "aria-label",
25
26
  "disabled",
26
27
  "aria-disabled",
27
28
  "title",
28
29
  "onClick"
29
- ], wt = { key: 1 }, $ = /* @__PURE__ */ r({
30
+ ], Tt = { key: 1 }, $ = /* @__PURE__ */ r({
30
31
  __name: "SlidingPillSelect",
31
32
  props: {
32
33
  options: {},
@@ -71,14 +72,14 @@ var Ct = [
71
72
  key: 0,
72
73
  size: 14,
73
74
  "stroke-width": 2
74
- })) : (i(), p("span", wt, x(t.label), 1))], 12, Ct))), 128))], 4));
75
+ })) : (i(), p("span", Tt, x(t.label), 1))], 12, wt))), 128))], 4));
75
76
  }
76
- }), Tt = { class: "tpl:flex tpl:items-stretch" }, Et = [
77
+ }), Et = { class: "tpl:flex tpl:items-stretch" }, Dt = [
77
78
  "data-testid",
78
79
  "value",
79
80
  "min",
80
81
  "max"
81
- ], Dt = /* @__PURE__ */ r({
82
+ ], Ot = /* @__PURE__ */ r({
82
83
  __name: "NumberWithSuffix",
83
84
  props: {
84
85
  modelValue: {},
@@ -94,7 +95,7 @@ var Ct = [
94
95
  let t = e.target;
95
96
  t.validity?.badInput || n("update:modelValue", Number(t.value));
96
97
  }
97
- return (t, n) => (i(), p("div", Tt, [b("input", {
98
+ return (t, n) => (i(), p("div", Et, [b("input", {
98
99
  type: "number",
99
100
  "data-testid": e.testid,
100
101
  class: g(h(z)),
@@ -102,14 +103,14 @@ var Ct = [
102
103
  min: e.min,
103
104
  max: e.max,
104
105
  onInput: r
105
- }, null, 42, Et), b("span", { class: g(h(L)) }, x(e.suffix), 3)]));
106
+ }, null, 42, Dt), b("span", { class: g(h(L)) }, x(e.suffix), 3)]));
106
107
  }
107
- }), Ot = [
108
+ }), kt = [
108
109
  "aria-pressed",
109
110
  "aria-label",
110
111
  "title",
111
112
  "data-testid"
112
- ], kt = /* @__PURE__ */ r({
113
+ ], At = /* @__PURE__ */ r({
113
114
  __name: "LinkToggle",
114
115
  props: {
115
116
  linked: { type: Boolean },
@@ -136,12 +137,12 @@ var Ct = [
136
137
  key: 1,
137
138
  size: 14,
138
139
  "stroke-width": 2
139
- }))], 10, Ot));
140
+ }))], 10, kt));
140
141
  }
141
- }), At = {
142
+ }), jt = {
142
143
  key: 0,
143
144
  class: "tpl:mb-3.5"
144
- }, jt = { class: "tpl:mb-3.5" }, Mt = { class: "tpl:mb-3.5" }, Nt = /* @__PURE__ */ r({
145
+ }, Mt = { class: "tpl:mb-3.5" }, Nt = { class: "tpl:mb-3.5" }, Pt = /* @__PURE__ */ r({
145
146
  __name: "BorderControl",
146
147
  props: {
147
148
  path: {},
@@ -208,7 +209,7 @@ var Ct = [
208
209
  path: e.path,
209
210
  label: h(s).blockSettings.border
210
211
  }, {
211
- "label-actions": a(() => [k(kt, {
212
+ "label-actions": a(() => [k(At, {
212
213
  linked: d.value,
213
214
  "link-label": h(s).blockSettings.linkSides,
214
215
  "unlink-label": h(s).blockSettings.unlinkSides,
@@ -221,19 +222,19 @@ var Ct = [
221
222
  "testid"
222
223
  ])]),
223
224
  default: a(() => [
224
- d.value ? _("", !0) : (i(), p("div", At, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderSide), 3), k($, {
225
+ d.value ? _("", !0) : (i(), p("div", jt, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderSide), 3), k($, {
225
226
  options: j.value,
226
227
  "model-value": f.value,
227
228
  "onUpdate:modelValue": n[0] ||= (e) => f.value = e
228
229
  }, null, 8, ["options", "model-value"])])),
229
- b("div", jt, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderWidth), 3), k(Dt, {
230
+ b("div", Mt, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderWidth), 3), k(Ot, {
230
231
  "model-value": m.value.width,
231
232
  min: 0,
232
233
  suffix: "px",
233
234
  testid: `${e.testidPrefix}-border-width-input`,
234
235
  "onUpdate:modelValue": w
235
236
  }, null, 8, ["model-value", "testid"])]),
236
- m.value.width > 0 ? (i(), p(D, { key: 1 }, [b("div", Mt, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderStyle), 3), k($, {
237
+ m.value.width > 0 ? (i(), p(D, { key: 1 }, [b("div", Nt, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderStyle), 3), k($, {
237
238
  options: [
238
239
  {
239
240
  value: "solid",
@@ -258,10 +259,10 @@ var Ct = [
258
259
  _: 1
259
260
  }, 8, ["path", "label"]));
260
261
  }
261
- }), Pt = {
262
+ }), Ft = {
262
263
  key: 1,
263
264
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
264
- }, Ft = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, It = /* @__PURE__ */ r({
265
+ }, It = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Lt = /* @__PURE__ */ r({
265
266
  __name: "RadiusControl",
266
267
  props: {
267
268
  path: {},
@@ -313,7 +314,7 @@ var Ct = [
313
314
  path: e.path,
314
315
  label: e.label
315
316
  }, {
316
- "label-actions": a(() => [k(kt, {
317
+ "label-actions": a(() => [k(At, {
317
318
  linked: m.value,
318
319
  "link-label": h(s).blockSettings.linkCorners,
319
320
  "unlink-label": h(s).blockSettings.unlinkCorners,
@@ -325,7 +326,7 @@ var Ct = [
325
326
  "unlink-label",
326
327
  "testid"
327
328
  ])]),
328
- default: a(() => [m.value ? (i(), v(Dt, {
329
+ default: a(() => [m.value ? (i(), v(Ot, {
329
330
  key: 0,
330
331
  "model-value": d.value.topLeft,
331
332
  min: 0,
@@ -337,7 +338,7 @@ var Ct = [
337
338
  "model-value",
338
339
  "max",
339
340
  "testid"
340
- ])) : (i(), p("div", Pt, [(i(), p(D, null, c(u, (t) => b("div", { key: t }, [b("label", Ft, x(h(s).blockSettings[l[t]]), 1), k(Dt, {
341
+ ])) : (i(), p("div", Ft, [(i(), p(D, null, c(u, (t) => b("div", { key: t }, [b("label", It, x(h(s).blockSettings[l[t]]), 1), k(Ot, {
341
342
  "model-value": d.value[t],
342
343
  min: 0,
343
344
  max: e.max,
@@ -353,14 +354,14 @@ var Ct = [
353
354
  _: 1
354
355
  }, 8, ["path", "label"]));
355
356
  }
356
- }), Lt = ["value"], Rt = { value: "" }, zt = ["value"], Bt = { class: "tpl:flex tpl:items-stretch" }, Vt = ["value"], Ht = ["value"], Ut = ["value"], Wt = ["value"], Gt = { value: "auto" }, Kt = { value: "full" }, qt = { value: "custom" }, Jt = {
357
+ }), 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 = {
357
358
  key: 0,
358
359
  class: "tpl:mt-2 tpl:flex tpl:items-stretch tpl:gap-2"
359
- }, Yt = [
360
+ }, Xt = [
360
361
  "value",
361
362
  "min",
362
363
  "max"
363
- ], Xt = 200, Zt = /* @__PURE__ */ r({
364
+ ], Zt = 200, Qt = /* @__PURE__ */ r({
364
365
  __name: "ButtonToolbar",
365
366
  props: {
366
367
  block: {},
@@ -373,7 +374,7 @@ var Ct = [
373
374
  r("update", { [e]: t });
374
375
  }
375
376
  function T(e) {
376
- e === "full" ? w("width", "full") : e === "custom" ? w("width", typeof n.block.width == "number" ? n.block.width : Xt) : w("width", void 0);
377
+ e === "full" ? w("width", "full") : e === "custom" ? w("width", typeof n.block.width == "number" ? n.block.width : Zt) : w("width", void 0);
377
378
  }
378
379
  let E = C(() => String(je(n.block))), O = C(() => {
379
380
  let e = E.value;
@@ -406,7 +407,7 @@ var Ct = [
406
407
  return;
407
408
  }
408
409
  let i = Fe(t);
409
- r === null ? w("width", Xt) : w("width", Math.max(1, Math.round(r * i / 100)));
410
+ r === null ? w("width", Zt) : w("width", Math.max(1, Math.round(r * i / 100)));
410
411
  }
411
412
  return (t, n) => (i(), p(D, null, [
412
413
  k(A, {
@@ -418,10 +419,10 @@ var Ct = [
418
419
  class: g(h(B)),
419
420
  value: h(ht)(e.block.fontFamily),
420
421
  onChange: n[0] ||= (e) => w("fontFamily", e.target.value || void 0)
421
- }, [b("option", Rt, x(h(o).button.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
422
+ }, [b("option", zt, x(h(o).button.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
422
423
  key: e.value,
423
424
  value: e.value
424
- }, x(e.label), 9, zt))), 128))], 42, Lt)]),
425
+ }, x(e.label), 9, Bt))), 128))], 42, Rt)]),
425
426
  _: 1
426
427
  }, 8, ["label"]),
427
428
  k(A, {
@@ -490,13 +491,13 @@ var Ct = [
490
491
  }, null, 8, ["model-value"])]),
491
492
  _: 1
492
493
  }, 8, ["label"]),
493
- k(Nt, {
494
+ k(Pt, {
494
495
  path: "border",
495
496
  "model-value": e.block.border,
496
497
  "testid-prefix": "button",
497
498
  "onUpdate:modelValue": n[6] ||= (e) => w("border", e)
498
499
  }, null, 8, ["model-value"]),
499
- k(It, {
500
+ k(Lt, {
500
501
  path: "borderRadius",
501
502
  "model-value": e.block.borderRadius,
502
503
  label: h(o).button.borderRadius,
@@ -509,14 +510,14 @@ var Ct = [
509
510
  class: "tpl:mb-3.5",
510
511
  path: "fontSize"
511
512
  }, {
512
- default: a(() => [b("div", Bt, [b("input", {
513
+ default: a(() => [b("div", Vt, [b("input", {
513
514
  type: "number",
514
515
  class: g(h(z)),
515
516
  value: e.block.fontSize,
516
517
  min: "10",
517
518
  max: "36",
518
519
  onInput: n[8] ||= (e) => w("fontSize", Number(e.target.value))
519
- }, null, 42, Vt), b("span", { class: g(h(L)) }, "px", 2)])]),
520
+ }, null, 42, Ht), b("span", { class: g(h(L)) }, "px", 2)])]),
520
521
  _: 1
521
522
  }, 8, ["label"]),
522
523
  k(A, {
@@ -531,7 +532,7 @@ var Ct = [
531
532
  }, [(i(!0), p(D, null, c(O.value, (e) => (i(), p("option", {
532
533
  key: e,
533
534
  value: e
534
- }, x(e), 9, Ut))), 128))], 42, Ht)]),
535
+ }, x(e), 9, Wt))), 128))], 42, Ut)]),
535
536
  _: 1
536
537
  }, 8, ["label"]),
537
538
  k(A, {
@@ -569,17 +570,17 @@ var Ct = [
569
570
  value: f.value,
570
571
  onChange: n[10] ||= (e) => T(e.target.value)
571
572
  }, [
572
- b("option", Gt, x(h(o).button.widthAuto), 1),
573
- b("option", Kt, x(h(o).button.fullWidth), 1),
574
- b("option", qt, x(h(o).button.widthCustom), 1)
575
- ], 42, Wt), f.value === "custom" ? (i(), p("div", Jt, [b("input", {
573
+ b("option", Kt, x(h(o).button.widthAuto), 1),
574
+ b("option", qt, x(h(o).button.fullWidth), 1),
575
+ b("option", Jt, x(h(o).button.widthCustom), 1)
576
+ ], 42, Gt), f.value === "custom" ? (i(), p("div", Yt, [b("input", {
576
577
  type: "number",
577
578
  class: g([h(B), "tpl:min-w-0 tpl:flex-1"]),
578
579
  value: y.value,
579
580
  min: m.value === "%" ? 1 : 20,
580
581
  max: m.value === "%" ? 100 : void 0,
581
582
  onInput: n[11] ||= (e) => I(e.target.value)
582
- }, null, 42, Yt), k($, {
583
+ }, null, 42, Xt), k($, {
583
584
  class: "tpl:w-24 tpl:shrink-0",
584
585
  "aria-label": h(o).button.widthUnit,
585
586
  options: [{
@@ -621,7 +622,7 @@ var Ct = [
621
622
  }, 8, ["label"])
622
623
  ], 64));
623
624
  }
624
- }), Qt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, $t = { class: "tpl:flex tpl:items-center" }, en = ["aria-label"], tn = ["value", "aria-label"], nn = ["aria-label"], rn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, an = { class: "tpl:flex tpl:items-center" }, on = ["aria-label"], sn = ["value", "aria-label"], cn = ["aria-label"], ln = ["aria-label", "title"], un = { class: "tpl:flex tpl:items-center" }, dn = ["aria-label"], fn = ["value", "aria-label"], pn = ["aria-label"], mn = { class: "tpl:flex tpl:items-center" }, hn = ["aria-label"], gn = ["value", "aria-label"], _n = ["aria-label"], vn = "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)]", yn = "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)]", bn = /*#__PURE__*/ _t(/* @__PURE__ */ r({
625
+ }), $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__*/ _t(/* @__PURE__ */ r({
625
626
  __name: "SpacingControl",
626
627
  props: {
627
628
  path: {},
@@ -674,59 +675,59 @@ var Ct = [
674
675
  path: e.path,
675
676
  label: e.label
676
677
  }, {
677
- default: a(() => [b("div", Qt, [
678
- b("div", $t, [
678
+ default: a(() => [b("div", $t, [
679
+ b("div", en, [
679
680
  b("button", {
680
681
  "aria-label": h(s).spacingControl.decreaseTop,
681
- class: g([vn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
682
+ class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
682
683
  onClick: n[0] ||= (e) => u("top", -1)
683
684
  }, [k(h(W), {
684
685
  size: 12,
685
686
  "stroke-width": 2
686
- })], 10, en),
687
+ })], 10, tn),
687
688
  b("input", {
688
689
  type: "number",
689
- class: g(yn),
690
+ class: g(bn),
690
691
  value: e.modelValue.top,
691
692
  "aria-label": h(s).spacingControl.top,
692
693
  min: "0",
693
694
  onInput: n[1] ||= (e) => d("top", Number(e.target.value))
694
- }, null, 40, tn),
695
+ }, null, 40, nn),
695
696
  b("button", {
696
697
  "aria-label": h(s).spacingControl.increaseTop,
697
- class: g([vn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
698
+ class: g([yn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
698
699
  onClick: n[2] ||= (e) => u("top", 1)
699
700
  }, [k(h(U), {
700
701
  size: 12,
701
702
  "stroke-width": 2
702
- })], 10, nn)
703
+ })], 10, rn)
703
704
  ]),
704
- b("div", rn, [
705
- b("div", an, [
705
+ b("div", an, [
706
+ b("div", on, [
706
707
  b("button", {
707
708
  "aria-label": h(s).spacingControl.decreaseLeft,
708
- class: g([vn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
709
+ class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
709
710
  onClick: n[3] ||= (e) => u("left", -1)
710
711
  }, [k(h(W), {
711
712
  size: 12,
712
713
  "stroke-width": 2
713
- })], 10, on),
714
+ })], 10, sn),
714
715
  b("input", {
715
716
  type: "number",
716
- class: g(yn),
717
+ class: g(bn),
717
718
  value: e.modelValue.left,
718
719
  "aria-label": h(s).spacingControl.left,
719
720
  min: "0",
720
721
  onInput: n[4] ||= (e) => d("left", Number(e.target.value))
721
- }, null, 40, sn),
722
+ }, null, 40, cn),
722
723
  b("button", {
723
724
  "aria-label": h(s).spacingControl.increaseLeft,
724
- class: g([vn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
725
+ class: g([yn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
725
726
  onClick: n[5] ||= (e) => u("left", 1)
726
727
  }, [k(h(U), {
727
728
  size: 12,
728
729
  "stroke-width": 2
729
- })], 10, cn)
730
+ })], 10, ln)
730
731
  ]),
731
732
  b("button", {
732
733
  class: g(["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)]"]),
@@ -741,59 +742,59 @@ var Ct = [
741
742
  key: 1,
742
743
  size: 14,
743
744
  "stroke-width": 2
744
- }))], 10, ln),
745
- b("div", un, [
745
+ }))], 10, un),
746
+ b("div", dn, [
746
747
  b("button", {
747
748
  "aria-label": h(s).spacingControl.decreaseRight,
748
- class: g([vn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
749
+ class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
749
750
  onClick: n[6] ||= (e) => u("right", -1)
750
751
  }, [k(h(W), {
751
752
  size: 12,
752
753
  "stroke-width": 2
753
- })], 10, dn),
754
+ })], 10, fn),
754
755
  b("input", {
755
756
  type: "number",
756
- class: g(yn),
757
+ class: g(bn),
757
758
  value: e.modelValue.right,
758
759
  "aria-label": h(s).spacingControl.right,
759
760
  min: "0",
760
761
  onInput: n[7] ||= (e) => d("right", Number(e.target.value))
761
- }, null, 40, fn),
762
+ }, null, 40, pn),
762
763
  b("button", {
763
764
  "aria-label": h(s).spacingControl.increaseRight,
764
- class: g([vn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
765
+ class: g([yn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
765
766
  onClick: n[8] ||= (e) => u("right", 1)
766
767
  }, [k(h(U), {
767
768
  size: 12,
768
769
  "stroke-width": 2
769
- })], 10, pn)
770
+ })], 10, mn)
770
771
  ])
771
772
  ]),
772
- b("div", mn, [
773
+ b("div", hn, [
773
774
  b("button", {
774
775
  "aria-label": h(s).spacingControl.decreaseBottom,
775
- class: g([vn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
776
+ class: g([yn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
776
777
  onClick: n[9] ||= (e) => u("bottom", -1)
777
778
  }, [k(h(W), {
778
779
  size: 12,
779
780
  "stroke-width": 2
780
- })], 10, hn),
781
+ })], 10, gn),
781
782
  b("input", {
782
783
  type: "number",
783
- class: g(yn),
784
+ class: g(bn),
784
785
  value: e.modelValue.bottom,
785
786
  "aria-label": h(s).spacingControl.bottom,
786
787
  min: "0",
787
788
  onInput: n[10] ||= (e) => d("bottom", Number(e.target.value))
788
- }, null, 40, gn),
789
+ }, null, 40, _n),
789
790
  b("button", {
790
791
  "aria-label": h(s).spacingControl.increaseBottom,
791
- class: g([vn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
792
+ class: g([yn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
792
793
  onClick: n[11] ||= (e) => u("bottom", 1)
793
794
  }, [k(h(U), {
794
795
  size: 12,
795
796
  "stroke-width": 2
796
- })], 10, _n)
797
+ })], 10, vn)
797
798
  ])
798
799
  ])]),
799
800
  _: 1
@@ -801,7 +802,7 @@ var Ct = [
801
802
  }
802
803
  }), [["__scopeId", "data-v-94c2e6ff"]]);
803
804
  // src/composables/useNaturalImageSize.ts
804
- function xn(e) {
805
+ function Sn(e) {
805
806
  let t = E(null), n = () => {};
806
807
  return o(e, (e) => {
807
808
  n(), t.value = null, e && (n = lt(e, (e) => {
@@ -809,11 +810,11 @@ function xn(e) {
809
810
  }));
810
811
  }, { immediate: !0 }), t;
811
812
  }
812
- function Sn() {
813
+ function Cn() {
813
814
  let e = l(Be, null);
814
- return async (t) => ct(e ? await Cn(e, t) : t);
815
+ return async (t) => ct(e ? await wn(e, t) : t);
815
816
  }
816
- function Cn(e, t) {
817
+ function wn(e, t) {
817
818
  let n = (e) => typeof e == "string" && e.length > 0 ? e : t;
818
819
  e.lookup(t);
819
820
  let r = e.get(t);
@@ -824,13 +825,13 @@ function Cn(e, t) {
824
825
  }) : Promise.resolve(n(r));
825
826
  }
826
827
  // src/components/toolbar/BackgroundImageControl.vue?vue&type=script&setup=true&lang.ts
827
- var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"], Dn = ["data-testid"], On = ["aria-label", "data-testid"], kn = [
828
+ var Tn = { class: "tpl:space-y-3.5" }, En = ["data-testid"], Dn = ["data-testid"], On = ["data-testid"], kn = ["aria-label", "data-testid"], An = [
828
829
  "aria-label",
829
830
  "title",
830
831
  "aria-pressed",
831
832
  "data-testid",
832
833
  "onClick"
833
- ], An = ["data-testid"], jn = /* @__PURE__ */ r({
834
+ ], jn = ["data-testid"], Mn = /* @__PURE__ */ r({
834
835
  __name: "BackgroundImageControl",
835
836
  props: {
836
837
  hideLabel: { type: Boolean },
@@ -841,7 +842,7 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
841
842
  },
842
843
  emits: ["update:modelValue"],
843
844
  setup(e, { emit: t }) {
844
- let n = e, r = t, { t: a } = Q(), o = l(ze, _e.liquid), s = C(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = C(() => s.value.trim() !== ""), f = Sn(), y;
845
+ let n = e, r = t, { t: a } = Q(), o = l(ze, _e.liquid), s = C(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = C(() => s.value.trim() !== ""), f = Cn(), y;
845
846
  u(() => clearTimeout(y));
846
847
  function S(e) {
847
848
  n.measure && !Ee(e, o) && (y = setTimeout(async () => {
@@ -903,10 +904,11 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
903
904
  }
904
905
  let F = E(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = ft({
905
906
  target: F,
907
+ value: s,
906
908
  blocked: () => Ee(s.value, o),
907
909
  apply: (e) => w(e.url, et(e.width, e.height))
908
910
  });
909
- return (t, n) => (i(), p("div", wn, [b("div", null, [e.hideLabel ? _("", !0) : (i(), p("label", {
911
+ return (t, n) => (i(), p("div", Tn, [b("div", null, [e.hideLabel ? _("", !0) : (i(), p("label", {
910
912
  key: 0,
911
913
  class: g(h(V))
912
914
  }, x(h(a).blockSettings.backgroundImage), 3)), b("div", {
@@ -939,8 +941,8 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
939
941
  }, [k(h(de), {
940
942
  size: 14,
941
943
  "stroke-width": 1.5
942
- }), m(" " + x(h(a).image.browseMedia), 1)], 8, En)) : _("", !0)
943
- ], 8, Tn)]), d.value && e.modelValue ? (i(), p(D, { key: 0 }, [
944
+ }), m(" " + x(h(a).image.browseMedia), 1)], 8, Dn)) : _("", !0)
945
+ ], 8, En)]), d.value && e.modelValue ? (i(), p(D, { key: 0 }, [
944
946
  e.heroMode ? _("", !0) : (i(), p("div", {
945
947
  key: 0,
946
948
  "data-testid": `${e.testidPrefix}-bg-size`
@@ -948,7 +950,7 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
948
950
  options: O.value,
949
951
  "model-value": e.modelValue.size,
950
952
  "onUpdate:modelValue": n[1] ||= (e) => T({ size: e })
951
- }, null, 8, ["options", "model-value"])], 8, Dn)),
953
+ }, null, 8, ["options", "model-value"])], 8, On)),
952
954
  b("div", null, [b("label", { class: g(h(V)) }, x(h(a).blockSettings.backgroundPosition), 3), b("div", {
953
955
  role: "group",
954
956
  "aria-label": h(a).blockSettings.backgroundPosition,
@@ -966,7 +968,7 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
966
968
  x: t.x,
967
969
  y: t.y
968
970
  } })
969
- }, [b("span", { class: g(["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, kn))), 128))], 8, On)]),
971
+ }, [b("span", { class: g(["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)]),
970
972
  e.heroMode ? _("", !0) : (i(), p("div", {
971
973
  key: 1,
972
974
  "data-testid": `${e.testidPrefix}-bg-repeat`
@@ -975,10 +977,10 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
975
977
  "model-value": e.modelValue.repeat,
976
978
  label: h(a).blockSettings.backgroundRepeat,
977
979
  "onUpdate:modelValue": n[2] ||= (e) => T({ repeat: e })
978
- }, null, 8, ["model-value", "label"])], 8, An))
980
+ }, null, 8, ["model-value", "label"])], 8, jn))
979
981
  ], 64)) : _("", !0)]));
980
982
  }
981
- }), Mn = ["data-testid"], Nn = ["data-testid"], Pn = /* @__PURE__ */ r({
983
+ }), Nn = ["data-testid"], Pn = ["data-testid"], Fn = /* @__PURE__ */ r({
982
984
  __name: "CollapsibleSection",
983
985
  props: {
984
986
  title: {},
@@ -997,29 +999,29 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
997
999
  class: g(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
998
1000
  size: 12,
999
1001
  "stroke-width": 2
1000
- }, null, 8, ["class"]), b("span", null, x(e.title), 1)], 8, Mn), s(b("div", {
1002
+ }, null, 8, ["class"]), b("span", null, x(e.title), 1)], 8, Nn), s(b("div", {
1001
1003
  class: "tpl:mt-3",
1002
1004
  "data-testid": e.headerTestId ? `${e.headerTestId}-content` : void 0
1003
- }, [d(t.$slots, "default")], 8, Nn), [[T, e.open]])], 2));
1005
+ }, [d(t.$slots, "default")], 8, Pn), [[T, e.open]])], 2));
1004
1006
  }
1005
- }), Fn = {
1007
+ }), In = {
1006
1008
  key: 0,
1007
1009
  "data-testid": "section-hero-columns-note",
1008
1010
  class: "tpl:mt-3.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1009
- }, In = {
1011
+ }, Ln = {
1010
1012
  key: 1,
1011
1013
  "data-testid": "section-hero",
1012
1014
  class: "tpl:mt-3.5 tpl:space-y-3.5"
1013
- }, Ln = { "data-testid": "section-hero-height" }, Rn = {
1015
+ }, Rn = { "data-testid": "section-hero-height" }, zn = {
1014
1016
  key: 0,
1015
1017
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1016
- }, zn = {
1018
+ }, Bn = {
1017
1019
  key: 1,
1018
1020
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1019
- }, Bn = {
1021
+ }, Vn = {
1020
1022
  key: 1,
1021
1023
  "data-testid": "section-hero-align"
1022
- }, Vn = 300, Hn = /* @__PURE__ */ r({
1024
+ }, Hn = 300, Un = /* @__PURE__ */ r({
1023
1025
  __name: "HeroControl",
1024
1026
  props: { section: {} },
1025
1027
  emits: ["update"],
@@ -1027,7 +1029,7 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
1027
1029
  function n(e) {
1028
1030
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1029
1031
  }
1030
- let r = e, a = t, { t: o } = Q(), s = l(ze, _e.liquid), c = l(Ze, null), u = l(Ue, void 0), d = Sn(), f = C(() => typeof r.section.backgroundImage?.url == "string" ? r.section.backgroundImage.url : ""), m = C(() => f.value.trim() !== ""), y = C(() => Ee(f.value, s)), S = C(() => r.section.hero), w = C(() => r.section.columns === "1"), T = C(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), E = C(() => n(S.value?.height) ? S.value.height : Vn), D = C(() => [
1032
+ let r = e, a = t, { t: o } = Q(), s = l(ze, _e.liquid), c = l(Ze, null), u = l(Ue, void 0), d = Cn(), f = C(() => typeof r.section.backgroundImage?.url == "string" ? r.section.backgroundImage.url : ""), m = C(() => f.value.trim() !== ""), y = C(() => Ee(f.value, s)), S = C(() => r.section.hero), w = C(() => r.section.columns === "1"), T = C(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), E = C(() => n(S.value?.height) ? S.value.height : Hn), D = C(() => [
1031
1033
  {
1032
1034
  value: "fit",
1033
1035
  label: o.blockSettings.heroHeightFit
@@ -1072,7 +1074,7 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
1072
1074
  a("update", { hero: void 0 });
1073
1075
  return;
1074
1076
  }
1075
- let n = me(r.section.backgroundImage), i = n === null ? Vn : Math.round(j() * n);
1077
+ let n = me(r.section.backgroundImage), i = n === null ? Hn : Math.round(j() * n);
1076
1078
  a("update", { hero: {
1077
1079
  height: i,
1078
1080
  verticalAlign: t
@@ -1099,17 +1101,17 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
1099
1101
  verticalAlign: e
1100
1102
  } });
1101
1103
  }
1102
- return (e, t) => !w.value && S.value ? (i(), p("p", Fn, x(h(o).section.heroNeedsOneColumn), 1)) : w.value && (m.value || S.value) ? (i(), p("div", In, [
1103
- b("div", Ln, [
1104
+ return (e, t) => !w.value && S.value ? (i(), p("p", In, x(h(o).section.heroNeedsOneColumn), 1)) : w.value && (m.value || S.value) ? (i(), p("div", Ln, [
1105
+ b("div", Rn, [
1104
1106
  b("label", { class: g(h(V)) }, x(h(o).blockSettings.heroHeight), 3),
1105
1107
  k($, {
1106
1108
  options: D.value,
1107
1109
  "model-value": T.value,
1108
1110
  "onUpdate:modelValue": M
1109
1111
  }, null, 8, ["options", "model-value"]),
1110
- y.value ? (i(), p("p", Rn, x(h(o).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (i(), p("p", zn, x(h(o).blockSettings.heroSizeUnknown), 1)) : _("", !0)
1112
+ y.value ? (i(), p("p", zn, x(h(o).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (i(), p("p", Bn, x(h(o).blockSettings.heroSizeUnknown), 1)) : _("", !0)
1111
1113
  ]),
1112
- T.value === "fixed" ? (i(), v(Dt, {
1114
+ T.value === "fixed" ? (i(), v(Ot, {
1113
1115
  key: 0,
1114
1116
  "model-value": E.value,
1115
1117
  min: 1,
@@ -1117,24 +1119,24 @@ var wn = { class: "tpl:space-y-3.5" }, Tn = ["data-testid"], En = ["data-testid"
1117
1119
  testid: "section-hero-height-px",
1118
1120
  "onUpdate:modelValue": P
1119
1121
  }, null, 8, ["model-value"])) : _("", !0),
1120
- S.value ? (i(), p("div", Bn, [b("label", { class: g(h(V)) }, x(h(o).blockSettings.heroAlign), 3), k($, {
1122
+ S.value ? (i(), p("div", Vn, [b("label", { class: g(h(V)) }, x(h(o).blockSettings.heroAlign), 3), k($, {
1121
1123
  options: O.value,
1122
1124
  "model-value": S.value.verticalAlign,
1123
1125
  "onUpdate:modelValue": F
1124
1126
  }, null, 8, ["options", "model-value"])])) : _("", !0)
1125
1127
  ])) : _("", !0);
1126
1128
  }
1127
- }), Un = /* @__PURE__ */ new Set([
1129
+ }), Wn = /* @__PURE__ */ new Set([
1128
1130
  "fullWidth",
1129
1131
  "backgroundColor",
1130
1132
  "backgroundImage",
1131
1133
  "padding",
1132
1134
  "borderRadius"
1133
1135
  ]);
1134
- function Wn(e) {
1136
+ function Gn(e) {
1135
1137
  return typeof e == "string" && e !== "";
1136
1138
  }
1137
- function Gn(e) {
1139
+ function Kn(e) {
1138
1140
  return e ? [
1139
1141
  e.top,
1140
1142
  e.right,
@@ -1142,40 +1144,40 @@ function Gn(e) {
1142
1144
  e.left
1143
1145
  ].some((e) => e !== 0) : !1;
1144
1146
  }
1145
- function Kn(e) {
1146
- return Wn(e.styles.backgroundColor) || !!e.backgroundImage;
1147
- }
1148
1147
  function qn(e) {
1149
- return e.fullWidth !== !0 || Gn(e.padding) || xe(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Un.has(e));
1148
+ return Gn(e.styles.backgroundColor) || !!e.backgroundImage;
1150
1149
  }
1151
- function Jn(e, t = {}) {
1150
+ function Jn(e) {
1151
+ return e.fullWidth !== !0 || Kn(e.padding) || xe(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Wn.has(e));
1152
+ }
1153
+ function Yn(e, t = {}) {
1152
1154
  return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && Ae(t.layout);
1153
1155
  }
1154
- function Yn(e) {
1156
+ function Xn(e) {
1155
1157
  let t = {};
1156
- return Wn(e.styles.backgroundColor) && (t.backgroundColor = e.styles.backgroundColor), e.backgroundImage && (t.backgroundImage = e.backgroundImage), t;
1158
+ return Gn(e.styles.backgroundColor) && (t.backgroundColor = e.styles.backgroundColor), e.backgroundImage && (t.backgroundImage = e.backgroundImage), t;
1157
1159
  }
1158
- function Xn(e) {
1160
+ function Zn(e) {
1159
1161
  let t = { ...e.styles };
1160
1162
  return delete t.backgroundColor, t;
1161
1163
  }
1162
- function Zn(e, t) {
1164
+ function Qn(e, t) {
1163
1165
  if (t) return e.wrapper ? { wrapper: {
1164
1166
  ...e.wrapper,
1165
1167
  fullWidth: !0
1166
1168
  } } : {
1167
1169
  wrapper: {
1168
1170
  fullWidth: !0,
1169
- ...Yn(e)
1171
+ ...Xn(e)
1170
1172
  },
1171
- styles: Xn(e),
1173
+ styles: Zn(e),
1172
1174
  backgroundImage: void 0
1173
1175
  };
1174
1176
  let n = e.wrapper;
1175
1177
  if (!n) return {};
1176
- if (qn(n) && !Kn(e)) {
1178
+ if (Jn(n) && !qn(e)) {
1177
1179
  let t = { ...e.styles };
1178
- return Wn(n.backgroundColor) && (t.backgroundColor = n.backgroundColor), {
1180
+ return Gn(n.backgroundColor) && (t.backgroundColor = n.backgroundColor), {
1179
1181
  wrapper: void 0,
1180
1182
  styles: t,
1181
1183
  backgroundImage: n.backgroundImage
@@ -1186,33 +1188,33 @@ function Zn(e, t) {
1186
1188
  fullWidth: !1
1187
1189
  } };
1188
1190
  }
1189
- function Qn(e) {
1191
+ function $n(e) {
1190
1192
  let t = e.wrapper;
1191
- return t && qn(t) && !Kn(e) ? Zn(e, !1) : { wrapper: void 0 };
1193
+ return t && Jn(t) && !qn(e) ? Qn(e, !1) : { wrapper: void 0 };
1192
1194
  }
1193
1195
  // src/components/toolbar/CommonBlockSettings.vue?vue&type=script&setup=true&lang.ts
1194
- var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tpl:gap-2" }, tr = {
1196
+ var er = { class: "tpl:space-y-2" }, tr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, nr = {
1195
1197
  key: 0,
1196
1198
  class: "tpl:space-y-2"
1197
- }, nr = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, rr = {
1199
+ }, rr = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ir = {
1198
1200
  key: 0,
1199
1201
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1200
- }, ir = { class: "tpl:flex tpl:gap-2" }, ar = ["disabled"], or = ["disabled"], sr = ["disabled"], cr = {
1202
+ }, ar = { class: "tpl:flex tpl:gap-2" }, or = ["disabled"], sr = ["disabled"], cr = ["disabled"], lr = {
1201
1203
  key: 1,
1202
1204
  class: "tpl:space-y-2"
1203
- }, lr = ["value"], ur = { value: "" }, dr = ["label"], fr = ["value"], pr = ["value"], mr = {
1205
+ }, ur = ["value"], dr = { value: "" }, fr = ["label"], pr = ["value"], mr = ["value"], hr = {
1204
1206
  key: 0,
1205
1207
  value: "__custom__"
1206
- }, hr = {
1208
+ }, gr = {
1207
1209
  key: 0,
1208
1210
  class: "tpl:space-y-2"
1209
- }, gr = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, _r = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, vr = { class: "tpl:flex tpl:justify-end" }, yr = ["disabled"], br = {
1211
+ }, _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 = {
1210
1212
  key: 0,
1211
1213
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1212
- }, xr = { class: "tpl:space-y-1" }, Sr = { 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)]" }, Cr = {
1214
+ }, 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 = {
1213
1215
  key: 0,
1214
1216
  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)]"
1215
- }, wr = /* @__PURE__ */ r({
1217
+ }, Tr = /* @__PURE__ */ r({
1216
1218
  __name: "CommonBlockSettings",
1217
1219
  props: {
1218
1220
  block: {},
@@ -1220,12 +1222,12 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1220
1222
  },
1221
1223
  emits: ["update"],
1222
1224
  setup(e, { emit: r }) {
1223
- let u = e, d = r, { t: f, format: w } = Q(), T = l(Ze, null), O = l(He, void 0), j = C(() => T?.activeLocale?.value), N = C(() => !!(j.value && T?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = l(Ge, []), L = l(Ye, !1), R = l(Ue, void 0), z = l(Re, void 0), B = C(() => u.block.type === "section" || u.block.type === "wrapper"), te = C(() => u.block.type === "wrapper" ? u.block.fullWidth === !0 : u.block.type === "section" && u.block.wrapper?.fullWidth === !0), ne = C(() => u.block.type === "section" && Jn(u.block, {
1225
+ let u = e, d = r, { t: f, format: w } = Q(), T = l(Ze, null), O = l(He, void 0), j = C(() => T?.activeLocale?.value), N = C(() => !!(j.value && T?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = l(Ge, []), L = l(Ye, !1), R = l(Ue, void 0), z = l(Re, void 0), B = C(() => u.block.type === "section" || u.block.type === "wrapper"), te = C(() => u.block.type === "wrapper" ? u.block.fullWidth === !0 : u.block.type === "section" && u.block.wrapper?.fullWidth === !0), ne = C(() => u.block.type === "section" && Yn(u.block, {
1224
1226
  sectionWrapper: z,
1225
1227
  layout: R
1226
1228
  })), V = C(() => u.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1227
1229
  function ie(e) {
1228
- u.block.type === "wrapper" ? d("update", { fullWidth: e }) : u.block.type === "section" && d("update", Zn(u.block, e));
1230
+ u.block.type === "wrapper" ? d("update", { fullWidth: e }) : u.block.type === "section" && d("update", Qn(u.block, e));
1229
1231
  }
1230
1232
  let ae = C(() => u.block.type === "section" && u.block.wrapper?.fullWidth === !0), oe = C(() => ae.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), U = C(() => ae.value ? "wrapper.backgroundImage" : "backgroundImage"), se = C(() => {
1231
1233
  let e = u.block;
@@ -1336,13 +1338,13 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1336
1338
  t[e] = !t[e], d("update", { visibility: t });
1337
1339
  }
1338
1340
  return (t, r) => (i(), p("div", { class: g(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1339
- k(Pn, {
1341
+ k(Fn, {
1340
1342
  title: h(f).blockSettings.spacing,
1341
1343
  open: q.has("spacing"),
1342
1344
  "no-border": e.isFirstSection,
1343
1345
  onToggle: r[1] ||= (e) => Z("spacing")
1344
1346
  }, {
1345
- default: a(() => [k(bn, {
1347
+ default: a(() => [k(xn, {
1346
1348
  path: "styles.padding",
1347
1349
  label: h(f).blockSettings.padding,
1348
1350
  "model-value": e.block.styles.padding,
@@ -1354,7 +1356,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1354
1356
  "open",
1355
1357
  "no-border"
1356
1358
  ]),
1357
- k(Pn, {
1359
+ k(Fn, {
1358
1360
  title: h(f).blockSettings.background,
1359
1361
  open: q.has("bg"),
1360
1362
  "header-test-id": "block-settings-background",
@@ -1400,7 +1402,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1400
1402
  path: U.value,
1401
1403
  label: h(f).blockSettings.backgroundImage
1402
1404
  }, {
1403
- default: a(() => [k(jn, {
1405
+ default: a(() => [k(Mn, {
1404
1406
  "hide-label": "",
1405
1407
  class: "tpl:mt-3.5",
1406
1408
  "model-value": le.value,
@@ -1429,7 +1431,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1429
1431
  path: "hero",
1430
1432
  label: h(f).blocks.hero
1431
1433
  }, {
1432
- default: a(() => [k(Hn, {
1434
+ default: a(() => [k(Un, {
1433
1435
  section: e.block,
1434
1436
  onUpdate: r[3] ||= (e) => d("update", e)
1435
1437
  }, null, 8, ["section"])]),
@@ -1438,12 +1440,12 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1438
1440
  ]),
1439
1441
  _: 1
1440
1442
  }, 8, ["title", "open"]),
1441
- k(Pn, {
1443
+ k(Fn, {
1442
1444
  title: h(f).blockSettings.display,
1443
1445
  open: q.has("display"),
1444
1446
  onToggle: r[6] ||= (e) => Z("display")
1445
1447
  }, {
1446
- default: a(() => [b("div", $n, [j.value && h(O) ? (i(), v(P, {
1448
+ default: a(() => [b("div", er, [j.value && h(O) ? (i(), v(P, {
1447
1449
  key: 0,
1448
1450
  "data-testid": "locale-hide",
1449
1451
  disabled: !h(O).locales.includes(j.value),
@@ -1459,7 +1461,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1459
1461
  path: `visibility.${e.key}`,
1460
1462
  label: h(f).blockSettings[e.labelKey]
1461
1463
  }, {
1462
- label: a(() => [b("span", er, [(i(), v(n(e.icon), {
1464
+ label: a(() => [b("span", tr, [(i(), v(n(e.icon), {
1463
1465
  size: 14,
1464
1466
  "stroke-width": 1.5
1465
1467
  })), m(" " + x(h(f).blockSettings[e.labelKey]), 1)])]),
@@ -1480,29 +1482,29 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1480
1482
  }, 1032, ["path", "label"])), 64))])]),
1481
1483
  _: 1
1482
1484
  }, 8, ["title", "open"]),
1483
- me.value ? (i(), v(Pn, {
1485
+ me.value ? (i(), v(Fn, {
1484
1486
  key: 0,
1485
1487
  "header-test-id": "display-condition-section",
1486
1488
  title: h(f).blockSettings.displayCondition,
1487
1489
  open: q.has("condition"),
1488
1490
  onToggle: r[11] ||= (e) => Z("condition")
1489
1491
  }, {
1490
- default: a(() => [h(W) ? (i(), p("div", tr, [e.block.displayCondition ? (i(), p(D, { key: 0 }, [
1491
- b("p", nr, x(e.block.displayCondition.label), 1),
1492
- e.block.displayCondition.description ? (i(), p("p", rr, x(e.block.displayCondition.description), 1)) : _("", !0),
1493
- b("div", ir, [b("button", {
1492
+ default: a(() => [h(W) ? (i(), p("div", nr, [e.block.displayCondition ? (i(), p(D, { key: 0 }, [
1493
+ b("p", rr, x(e.block.displayCondition.label), 1),
1494
+ e.block.displayCondition.description ? (i(), p("p", ir, x(e.block.displayCondition.description), 1)) : _("", !0),
1495
+ b("div", ar, [b("button", {
1494
1496
  type: "button",
1495
1497
  "data-testid": "display-condition-edit",
1496
1498
  class: g(h(F)),
1497
1499
  disabled: K.value,
1498
1500
  onClick: _e
1499
- }, x(h(f).blockSettings.editCondition), 11, ar), b("button", {
1501
+ }, x(h(f).blockSettings.editCondition), 11, or), b("button", {
1500
1502
  type: "button",
1501
1503
  "data-testid": "display-condition-remove",
1502
1504
  class: g(h(F)),
1503
1505
  disabled: K.value,
1504
1506
  onClick: r[7] ||= (e) => d("update", { displayCondition: void 0 })
1505
- }, x(h(f).blockSettings.removeCondition), 11, or)])
1507
+ }, x(h(f).blockSettings.removeCondition), 11, sr)])
1506
1508
  ], 64)) : (i(), p("button", {
1507
1509
  key: 1,
1508
1510
  type: "button",
@@ -1510,7 +1512,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1510
1512
  class: g(h(F)),
1511
1513
  disabled: K.value,
1512
1514
  onClick: _e
1513
- }, x(h(f).blockSettings.addCondition), 11, sr))])) : (i(), p("div", cr, [k(A, {
1515
+ }, x(h(f).blockSettings.addCondition), 11, cr))])) : (i(), p("div", lr, [k(A, {
1514
1516
  path: "displayCondition",
1515
1517
  label: h(f).blockSettings.displayCondition
1516
1518
  }, {
@@ -1532,43 +1534,43 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1532
1534
  n && d("update", { displayCondition: n });
1533
1535
  }
1534
1536
  }, [
1535
- b("option", ur, x(h(f).blockSettings.noCondition), 1),
1537
+ b("option", dr, x(h(f).blockSettings.noCondition), 1),
1536
1538
  (i(!0), p(D, null, c(xe.value, (e, t) => (i(), p(D, { key: t }, [t ? (i(), p("optgroup", {
1537
1539
  key: 0,
1538
1540
  label: String(t)
1539
1541
  }, [(i(!0), p(D, null, c(e, (e) => (i(), p("option", {
1540
1542
  key: e.label,
1541
1543
  value: e.label
1542
- }, x(e.label), 9, fr))), 128))], 8, dr)) : (i(!0), p(D, { key: 1 }, c(e, (e) => (i(), p("option", {
1544
+ }, x(e.label), 9, pr))), 128))], 8, fr)) : (i(!0), p(D, { key: 1 }, c(e, (e) => (i(), p("option", {
1543
1545
  key: e.label,
1544
1546
  value: e.label
1545
- }, x(e.label), 9, pr))), 128))], 64))), 128)),
1546
- h(L) ? (i(), p("option", mr, x(h(f).blockSettings.customCondition), 1)) : _("", !0)
1547
- ], 42, lr)]),
1547
+ }, x(e.label), 9, mr))), 128))], 64))), 128)),
1548
+ h(L) ? (i(), p("option", hr, x(h(f).blockSettings.customCondition), 1)) : _("", !0)
1549
+ ], 42, ur)]),
1548
1550
  _: 1
1549
- }, 8, ["label"]), J.value || ve.value ? (i(), p("div", hr, [
1550
- b("div", null, [b("label", gr, x(h(f).blockSettings.customConditionBefore), 1), s(b("textarea", {
1551
+ }, 8, ["label"]), J.value || ve.value ? (i(), p("div", gr, [
1552
+ b("div", null, [b("label", _r, x(h(f).blockSettings.customConditionBefore), 1), s(b("textarea", {
1551
1553
  "onUpdate:modelValue": r[9] ||= (e) => Y.value = e,
1552
1554
  rows: "2",
1553
1555
  class: g(h(H))
1554
1556
  }, null, 2), [[S, Y.value]])]),
1555
- b("div", null, [b("label", _r, x(h(f).blockSettings.customConditionAfter), 1), s(b("textarea", {
1557
+ b("div", null, [b("label", vr, x(h(f).blockSettings.customConditionAfter), 1), s(b("textarea", {
1556
1558
  "onUpdate:modelValue": r[10] ||= (e) => X.value = e,
1557
1559
  rows: "2",
1558
1560
  class: g(h(H))
1559
1561
  }, null, 2), [[S, X.value]])]),
1560
- b("div", vr, [b("button", {
1562
+ b("div", yr, [b("button", {
1561
1563
  type: "button",
1562
1564
  class: g(h(ee)),
1563
1565
  disabled: !Y.value.trim(),
1564
1566
  onClick: be
1565
- }, x(h(f).blockSettings.applyCondition), 11, yr)])
1566
- ])) : e.block.displayCondition && !ve.value ? (i(), p(D, { key: 1 }, [e.block.displayCondition.description ? (i(), p("p", br, x(e.block.displayCondition.description), 1)) : _("", !0), b("div", xr, [b("pre", Sr, x(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (i(), p("pre", Cr, x(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)]))]),
1567
+ }, x(h(f).blockSettings.applyCondition), 11, br)])
1568
+ ])) : e.block.displayCondition && !ve.value ? (i(), p(D, { key: 1 }, [e.block.displayCondition.description ? (i(), p("p", xr, x(e.block.displayCondition.description), 1)) : _("", !0), b("div", Sr, [b("pre", Cr, x(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (i(), p("pre", wr, x(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)]))]),
1567
1569
  _: 1
1568
1570
  }, 8, ["title", "open"])) : _("", !0)
1569
1571
  ], 2));
1570
1572
  }
1571
- }), Tr = ["title"], Er = { class: "tpl-sr-only" }, Dr = ["title"], Or = { class: "tpl-sr-only" }, kr = /* @__PURE__ */ r({
1573
+ }), Er = ["title"], Dr = { class: "tpl-sr-only" }, Or = ["title"], kr = { class: "tpl-sr-only" }, Ar = /* @__PURE__ */ r({
1572
1574
  __name: "FieldLabel",
1573
1575
  props: {
1574
1576
  label: {},
@@ -1586,15 +1588,15 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1586
1588
  size: 12,
1587
1589
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1588
1590
  "aria-hidden": "true"
1589
- }), b("span", Er, x(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Tr)) : _("", !0),
1591
+ }), b("span", Dr, x(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Er)) : _("", !0),
1590
1592
  e.required ? (i(), p("span", {
1591
1593
  key: 1,
1592
1594
  class: "tpl:text-[var(--tpl-danger)]",
1593
1595
  title: h(t).customBlocks.fields.required
1594
- }, [r[0] ||= b("span", { "aria-hidden": "true" }, "*", -1), b("span", Or, x(h(t).customBlocks.fields.required), 1)], 8, Dr)) : _("", !0)
1596
+ }, [r[0] ||= b("span", { "aria-hidden": "true" }, "*", -1), b("span", kr, x(h(t).customBlocks.fields.required), 1)], 8, Or)) : _("", !0)
1595
1597
  ]));
1596
1598
  }
1597
- }), Ar = ["title"], jr = /* @__PURE__ */ r({
1599
+ }), jr = ["title"], Mr = /* @__PURE__ */ r({
1598
1600
  __name: "BooleanField",
1599
1601
  props: {
1600
1602
  field: {},
@@ -1632,9 +1634,9 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1632
1634
  "label",
1633
1635
  "required",
1634
1636
  "disabled"
1635
- ])], 8, Ar));
1637
+ ])], 8, jr));
1636
1638
  }
1637
- }), Mr = { class: "tpl:mb-3.5" }, Nr = /* @__PURE__ */ r({
1639
+ }), Nr = { class: "tpl:mb-3.5" }, Pr = /* @__PURE__ */ r({
1638
1640
  __name: "FieldWrapper",
1639
1641
  props: {
1640
1642
  label: {},
@@ -1643,10 +1645,10 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1643
1645
  readOnly: { type: Boolean }
1644
1646
  },
1645
1647
  setup(e) {
1646
- return (t, n) => (i(), p("div", Mr, [e.hideLabel ? _("", !0) : (i(), p("label", {
1648
+ return (t, n) => (i(), p("div", Nr, [e.hideLabel ? _("", !0) : (i(), p("label", {
1647
1649
  key: 0,
1648
1650
  class: g(h(V))
1649
- }, [k(kr, {
1651
+ }, [k(Ar, {
1650
1652
  label: e.label,
1651
1653
  required: e.required,
1652
1654
  "read-only": e.readOnly
@@ -1656,7 +1658,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1656
1658
  "read-only"
1657
1659
  ])], 2)), d(t.$slots, "default")]));
1658
1660
  }
1659
- }), Pr = /* @__PURE__ */ r({
1661
+ }), Fr = /* @__PURE__ */ r({
1660
1662
  __name: "ColorField",
1661
1663
  props: {
1662
1664
  field: {},
@@ -1667,7 +1669,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1667
1669
  emits: ["update:modelValue"],
1668
1670
  setup(e, { emit: t }) {
1669
1671
  let n = e, r = t, { t: o } = Q(), s = l(Je, bt), c = C(() => pt(n.field, s));
1670
- return (t, n) => (i(), v(Nr, {
1672
+ return (t, n) => (i(), v(Pr, {
1671
1673
  "hide-label": e.hideLabel,
1672
1674
  label: e.field.label,
1673
1675
  required: e.field.required,
@@ -1697,11 +1699,11 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1697
1699
  "read-only"
1698
1700
  ]));
1699
1701
  }
1700
- }), Fr = [
1702
+ }), Ir = [
1701
1703
  "value",
1702
1704
  "placeholder",
1703
1705
  "title"
1704
- ], Ir = ["value", "placeholder"], Lr = /* @__PURE__ */ r({
1706
+ ], Lr = ["value", "placeholder"], Rr = /* @__PURE__ */ r({
1705
1707
  __name: "ImageField",
1706
1708
  props: {
1707
1709
  field: {},
@@ -1713,10 +1715,11 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1713
1715
  setup(e, { emit: t }) {
1714
1716
  let n = e, r = t, { t: o } = Q(), s = E(), { canBrowse: c, isUploading: l, showOverlay: u, openMediaBrowser: d } = ft({
1715
1717
  target: s,
1718
+ value: () => n.modelValue,
1716
1719
  blocked: () => !!n.readOnly,
1717
1720
  apply: (e) => r("update:modelValue", e.url)
1718
1721
  });
1719
- return (t, n) => (i(), v(Nr, {
1722
+ return (t, n) => (i(), v(Pr, {
1720
1723
  "hide-label": e.hideLabel,
1721
1724
  label: e.field.label,
1722
1725
  required: e.field.required,
@@ -1739,14 +1742,14 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1739
1742
  placeholder: e.field.placeholder || "https://...",
1740
1743
  disabled: "",
1741
1744
  title: h(o).customBlocks.dataSource.readOnlyTooltip
1742
- }, null, 10, Fr)) : (i(), p("input", {
1745
+ }, null, 10, Ir)) : (i(), p("input", {
1743
1746
  key: 2,
1744
1747
  type: "url",
1745
1748
  class: g(h(B)),
1746
1749
  value: e.modelValue,
1747
1750
  placeholder: e.field.placeholder || "https://...",
1748
1751
  onInput: n[0] ||= (e) => r("update:modelValue", e.target.value)
1749
- }, null, 42, Ir)),
1752
+ }, null, 42, Lr)),
1750
1753
  h(c) && !e.readOnly ? (i(), p("button", {
1751
1754
  key: 3,
1752
1755
  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)]",
@@ -1764,7 +1767,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1764
1767
  "read-only"
1765
1768
  ]));
1766
1769
  }
1767
- }), Rr = [
1770
+ }), zr = [
1768
1771
  "value",
1769
1772
  "placeholder",
1770
1773
  "min",
@@ -1772,7 +1775,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1772
1775
  "step",
1773
1776
  "disabled",
1774
1777
  "title"
1775
- ], zr = /* @__PURE__ */ r({
1778
+ ], Br = /* @__PURE__ */ r({
1776
1779
  __name: "NumberField",
1777
1780
  props: {
1778
1781
  field: {},
@@ -1783,7 +1786,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1783
1786
  emits: ["update:modelValue"],
1784
1787
  setup(e, { emit: t }) {
1785
1788
  let n = t, { t: r } = Q();
1786
- return (t, o) => (i(), v(Nr, {
1789
+ return (t, o) => (i(), v(Pr, {
1787
1790
  "hide-label": e.hideLabel,
1788
1791
  label: e.field.label,
1789
1792
  required: e.field.required,
@@ -1800,7 +1803,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1800
1803
  disabled: e.readOnly,
1801
1804
  title: e.readOnly ? h(r).customBlocks.dataSource.readOnlyTooltip : void 0,
1802
1805
  onInput: o[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
1803
- }, null, 42, Rr)]),
1806
+ }, null, 42, zr)]),
1804
1807
  _: 1
1805
1808
  }, 8, [
1806
1809
  "hide-label",
@@ -1809,13 +1812,13 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1809
1812
  "read-only"
1810
1813
  ]));
1811
1814
  }
1812
- }), Br = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Vr = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Hr = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Ur = ["title", "onClick"], Wr = {
1815
+ }), 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 = {
1813
1816
  key: 1,
1814
1817
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1815
- }, Gr = {
1818
+ }, Kr = {
1816
1819
  key: 2,
1817
1820
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1818
- }, Kr = /* @__PURE__ */ r({
1821
+ }, qr = /* @__PURE__ */ r({
1819
1822
  __name: "RepeatableField",
1820
1823
  props: {
1821
1824
  field: {},
@@ -1844,17 +1847,17 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1844
1847
  } : r);
1845
1848
  o("update:modelValue", r);
1846
1849
  }
1847
- return (t, r) => (i(), v(Nr, {
1850
+ return (t, r) => (i(), v(Pr, {
1848
1851
  "hide-label": e.hideLabel,
1849
1852
  label: e.field.label,
1850
1853
  required: e.field.required,
1851
1854
  "read-only": e.readOnly
1852
1855
  }, {
1853
- default: a(() => [b("div", Br, [
1856
+ default: a(() => [b("div", Vr, [
1854
1857
  (i(!0), p(D, null, c(u.value, (t, r) => (i(), p("div", {
1855
1858
  key: `${e.field.key}-${r}`,
1856
1859
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
1857
- }, [b("div", Vr, [b("span", Hr, " #" + x(r + 1), 1), f.value && !e.readOnly ? (i(), p("button", {
1860
+ }, [b("div", Hr, [b("span", Ur, " #" + x(r + 1), 1), f.value && !e.readOnly ? (i(), p("button", {
1858
1861
  key: 0,
1859
1862
  type: "button",
1860
1863
  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)]",
@@ -1863,7 +1866,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1863
1866
  }, [k(h(G), {
1864
1867
  size: 12,
1865
1868
  "stroke-width": 2
1866
- })], 8, Ur)) : _("", !0)]), (i(!0), p(D, null, c(e.field.fields, (a) => (i(), v(n(h(ti)(a.type)), {
1869
+ })], 8, Wr)) : _("", !0)]), (i(!0), p(D, null, c(e.field.fields, (a) => (i(), v(n(h(ni)(a.type)), {
1867
1870
  key: a.key,
1868
1871
  field: a,
1869
1872
  "model-value": t[a.key],
@@ -1884,8 +1887,8 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1884
1887
  size: 14,
1885
1888
  "stroke-width": 2
1886
1889
  }), m(" " + x(h(s).customBlocks.fields.addItem), 1)], 2)) : _("", !0),
1887
- !d.value && !e.readOnly ? (i(), p("p", Wr, x(h(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
1888
- !f.value && !e.readOnly ? (i(), p("p", Gr, x(h(l)(h(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
1890
+ !d.value && !e.readOnly ? (i(), p("p", Gr, x(h(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
1891
+ !f.value && !e.readOnly ? (i(), p("p", Kr, x(h(l)(h(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
1889
1892
  ])]),
1890
1893
  _: 1
1891
1894
  }, 8, [
@@ -1895,11 +1898,11 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1895
1898
  "read-only"
1896
1899
  ]));
1897
1900
  }
1898
- }), qr = [
1901
+ }), Jr = [
1899
1902
  "value",
1900
1903
  "disabled",
1901
1904
  "title"
1902
- ], Jr = ["value"], Yr = /* @__PURE__ */ r({
1905
+ ], Yr = ["value"], Xr = /* @__PURE__ */ r({
1903
1906
  __name: "SelectField",
1904
1907
  props: {
1905
1908
  field: {},
@@ -1910,7 +1913,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1910
1913
  emits: ["update:modelValue"],
1911
1914
  setup(e, { emit: t }) {
1912
1915
  let n = t, { t: r } = Q();
1913
- return (t, o) => (i(), v(Nr, {
1916
+ return (t, o) => (i(), v(Pr, {
1914
1917
  "hide-label": e.hideLabel,
1915
1918
  label: e.field.label,
1916
1919
  required: e.field.required,
@@ -1925,7 +1928,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1925
1928
  }, [(i(!0), p(D, null, c(e.field.options, (e) => (i(), p("option", {
1926
1929
  key: e.value,
1927
1930
  value: e.value
1928
- }, x(e.label), 9, Jr))), 128))], 42, qr)]),
1931
+ }, x(e.label), 9, Yr))), 128))], 42, Jr)]),
1929
1932
  _: 1
1930
1933
  }, 8, [
1931
1934
  "hide-label",
@@ -1934,11 +1937,11 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1934
1937
  "read-only"
1935
1938
  ]));
1936
1939
  }
1937
- }), Xr = [
1940
+ }), Zr = [
1938
1941
  "value",
1939
1942
  "placeholder",
1940
1943
  "title"
1941
- ], Zr = /* @__PURE__ */ r({
1944
+ ], Qr = /* @__PURE__ */ r({
1942
1945
  __name: "TextField",
1943
1946
  props: {
1944
1947
  field: {},
@@ -1949,7 +1952,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1949
1952
  emits: ["update:modelValue"],
1950
1953
  setup(e, { emit: t }) {
1951
1954
  let n = t, { t: r } = Q();
1952
- return (t, o) => (i(), v(Nr, {
1955
+ return (t, o) => (i(), v(Pr, {
1953
1956
  "hide-label": e.hideLabel,
1954
1957
  label: e.field.label,
1955
1958
  required: e.field.required,
@@ -1963,7 +1966,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1963
1966
  placeholder: e.field.placeholder,
1964
1967
  disabled: "",
1965
1968
  title: h(r).customBlocks.dataSource.readOnlyTooltip
1966
- }, null, 10, Xr)) : (i(), v(N, {
1969
+ }, null, 10, Zr)) : (i(), v(N, {
1967
1970
  key: 1,
1968
1971
  "model-value": e.modelValue,
1969
1972
  placeholder: e.field.placeholder,
@@ -1977,12 +1980,12 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1977
1980
  "read-only"
1978
1981
  ]));
1979
1982
  }
1980
- }), Qr = [
1983
+ }), $r = [
1981
1984
  "value",
1982
1985
  "placeholder",
1983
1986
  "title"
1984
- ], $r = "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", ei = {
1985
- text: Zr,
1987
+ ], 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 = {
1988
+ text: Qr,
1986
1989
  textarea: /* @__PURE__ */ r({
1987
1990
  __name: "TextareaField",
1988
1991
  props: {
@@ -1994,7 +1997,7 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
1994
1997
  emits: ["update:modelValue"],
1995
1998
  setup(e, { emit: t }) {
1996
1999
  let n = t, { t: r } = Q();
1997
- return (t, o) => (i(), v(Nr, {
2000
+ return (t, o) => (i(), v(Pr, {
1998
2001
  "hide-label": e.hideLabel,
1999
2002
  label: e.field.label,
2000
2003
  required: e.field.required,
@@ -2007,8 +2010,8 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
2007
2010
  rows: "3",
2008
2011
  disabled: "",
2009
2012
  title: h(r).customBlocks.dataSource.readOnlyTooltip,
2010
- class: g($r)
2011
- }, null, 8, Qr)) : (i(), v(j, {
2013
+ class: g(ei)
2014
+ }, null, 8, $r)) : (i(), v(j, {
2012
2015
  key: 1,
2013
2016
  "model-value": e.modelValue,
2014
2017
  placeholder: e.field.placeholder,
@@ -2023,36 +2026,36 @@ var $n = { class: "tpl:space-y-2" }, er = { class: "tpl:flex tpl:items-center tp
2023
2026
  ]));
2024
2027
  }
2025
2028
  }),
2026
- image: Lr,
2027
- color: Pr,
2028
- number: zr,
2029
- select: Yr,
2030
- boolean: jr,
2031
- repeatable: Kr
2029
+ image: Rr,
2030
+ color: Fr,
2031
+ number: Br,
2032
+ select: Xr,
2033
+ boolean: Mr,
2034
+ repeatable: qr
2032
2035
  };
2033
- function ti(e) {
2034
- return ei[e] ?? Zr;
2036
+ function ni(e) {
2037
+ return ti[e] ?? Qr;
2035
2038
  }
2036
2039
  // src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
2037
- var ni = {
2040
+ var ri = {
2038
2041
  key: 0,
2039
2042
  class: "tpl:p-4"
2040
- }, ri = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, ii = { key: 1 }, ai = {
2043
+ }, ii = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, ai = { key: 1 }, oi = {
2041
2044
  key: 0,
2042
2045
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
2043
- }, oi = {
2046
+ }, si = {
2044
2047
  key: 1,
2045
2048
  class: "tpl:mb-4"
2046
- }, si = {
2049
+ }, ci = {
2047
2050
  key: 1,
2048
2051
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
2049
- }, ci = {
2052
+ }, li = {
2050
2053
  key: 0,
2051
2054
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2052
- }, li = {
2055
+ }, ui = {
2053
2056
  key: 2,
2054
2057
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
2055
- }, ui = /* @__PURE__ */ r({
2058
+ }, di = /* @__PURE__ */ r({
2056
2059
  __name: "CustomBlockToolbar",
2057
2060
  props: { block: {} },
2058
2061
  emits: ["updateFieldValues", "updateDataSourceFetched"],
@@ -2073,19 +2076,19 @@ var ni = {
2073
2076
  [e]: t
2074
2077
  });
2075
2078
  }
2076
- return (t, r) => d.value ? (i(), p("div", ii, [
2077
- d.value.description ? (i(), p("p", ai, x(d.value.description), 1)) : _("", !0),
2078
- h(w) ? (i(), p("div", oi, [h(T) && !h(g) ? (i(), p("button", {
2079
+ return (t, r) => d.value ? (i(), p("div", ai, [
2080
+ d.value.description ? (i(), p("p", oi, x(d.value.description), 1)) : _("", !0),
2081
+ h(w) ? (i(), p("div", si, [h(T) && !h(g) ? (i(), p("button", {
2079
2082
  key: 0,
2080
2083
  type: "button",
2081
2084
  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)]",
2082
2085
  onClick: r[0] ||= (...e) => h(S) && h(S)(...e)
2083
- }, x(d.value?.dataSource?.label || h(s).customBlocks.dataSource.fetchButton), 1)) : (i(), p("div", si, [h(g) ? (i(), p("div", ci, x(h(s).customBlocks.dataSource.fetching), 1)) : (i(), p("button", {
2086
+ }, x(d.value?.dataSource?.label || h(s).customBlocks.dataSource.fetchButton), 1)) : (i(), p("div", ci, [h(g) ? (i(), p("div", li, x(h(s).customBlocks.dataSource.fetching), 1)) : (i(), p("button", {
2084
2087
  key: 1,
2085
2088
  type: "button",
2086
2089
  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)]",
2087
2090
  onClick: r[1] ||= (...e) => h(S) && h(S)(...e)
2088
- }, [k(h(le), { size: 12 }), m(" " + x(h(s).customBlocks.dataSource.changeButton), 1)]))])), h(y) ? (i(), p("p", li, [k(h(oe), {
2091
+ }, [k(h(le), { size: 12 }), m(" " + x(h(s).customBlocks.dataSource.changeButton), 1)]))])), h(y) ? (i(), p("p", ui, [k(h(oe), {
2089
2092
  size: 14,
2090
2093
  class: "tpl:shrink-0"
2091
2094
  }), m(" " + x(h(s).customBlocks.dataSource.fetchError), 1)])) : _("", !0)])) : _("", !0),
@@ -2094,7 +2097,7 @@ var ni = {
2094
2097
  path: `fieldValues.${t.key}`,
2095
2098
  label: t.label
2096
2099
  }, {
2097
- label: a(() => [k(kr, {
2100
+ label: a(() => [k(Ar, {
2098
2101
  label: t.label,
2099
2102
  required: t.required,
2100
2103
  "read-only": E(t)
@@ -2103,7 +2106,7 @@ var ni = {
2103
2106
  "required",
2104
2107
  "read-only"
2105
2108
  ])]),
2106
- default: a(({ controlId: r }) => [(i(), v(n(h(ti)(t.type)), {
2109
+ default: a(({ controlId: r }) => [(i(), v(n(h(ni)(t.type)), {
2107
2110
  "control-id": t.type === "boolean" ? r : void 0,
2108
2111
  field: t,
2109
2112
  "hide-label": "",
@@ -2119,9 +2122,9 @@ var ni = {
2119
2122
  ]))]),
2120
2123
  _: 2
2121
2124
  }, 1032, ["path", "label"]))), 128))
2122
- ])) : (i(), p("div", ni, [b("p", ri, x(h(s).customBlocks.toolbar.noDefinition), 1)]));
2125
+ ])) : (i(), p("div", ri, [b("p", ii, x(h(s).customBlocks.toolbar.noDefinition), 1)]));
2123
2126
  }
2124
- }), di = { class: "tpl:flex tpl:items-stretch" }, fi = ["value"], pi = /* @__PURE__ */ r({
2127
+ }), fi = { class: "tpl:flex tpl:items-stretch" }, pi = ["value"], mi = /* @__PURE__ */ r({
2125
2128
  __name: "DividerToolbar",
2126
2129
  props: { block: {} },
2127
2130
  emits: ["update"],
@@ -2172,19 +2175,19 @@ var ni = {
2172
2175
  class: "tpl:mb-3.5",
2173
2176
  path: "thickness"
2174
2177
  }, {
2175
- default: a(() => [b("div", di, [b("input", {
2178
+ default: a(() => [b("div", fi, [b("input", {
2176
2179
  type: "number",
2177
2180
  class: g(h(z)),
2178
2181
  value: e.block.thickness,
2179
2182
  min: "1",
2180
2183
  max: "10",
2181
2184
  onInput: n[2] ||= (e) => o("thickness", Number(e.target.value))
2182
- }, null, 42, fi), b("span", { class: g(h(L)) }, "px", 2)])]),
2185
+ }, null, 42, pi), b("span", { class: g(h(L)) }, "px", 2)])]),
2183
2186
  _: 1
2184
2187
  }, 8, ["label"])
2185
2188
  ], 64));
2186
2189
  }
2187
- }), mi = ["value"], hi = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, gi = /* @__PURE__ */ r({
2190
+ }), 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__ */ r({
2188
2191
  __name: "HtmlToolbar",
2189
2192
  props: { block: {} },
2190
2193
  emits: ["update"],
@@ -2201,7 +2204,7 @@ var ni = {
2201
2204
  rows: "10",
2202
2205
  class: g(h(H)),
2203
2206
  onInput: o[0] ||= (e) => n("update", { content: e.target.value })
2204
- }, null, 42, mi), b("p", hi, [k(h(K), {
2207
+ }, null, 42, hi), b("p", gi, [k(h(K), {
2205
2208
  size: 12,
2206
2209
  class: "tpl:mt-0.5 tpl:shrink-0"
2207
2210
  }), m(" " + x(h(r).html.sanitizationHint), 1)])]),
@@ -2210,7 +2213,7 @@ var ni = {
2210
2213
  }
2211
2214
  });
2212
2215
  // src/composables/useImageAspectLock.ts
2213
- function _i(e) {
2216
+ function vi(e) {
2214
2217
  let t = E(!1), n = E(null);
2215
2218
  o(() => e.block().id, () => {
2216
2219
  t.value = !1, n.value = null;
@@ -2270,22 +2273,22 @@ function _i(e) {
2270
2273
  };
2271
2274
  }
2272
2275
  // src/components/toolbar/ImageToolbar.vue?vue&type=script&setup=true&lang.ts
2273
- var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2276
+ var yi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, bi = [
2274
2277
  "value",
2275
2278
  "placeholder",
2276
2279
  "title"
2277
- ], bi = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, xi = ["value"], Si = { value: "full" }, Ci = { value: "custom" }, wi = {
2280
+ ], xi = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Si = ["value"], Ci = { value: "full" }, wi = { value: "custom" }, Ti = {
2278
2281
  key: 0,
2279
2282
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2280
- }, Ti = ["value"], Ei = ["value"], Di = { value: "auto" }, Oi = { value: "always" }, ki = { value: "never" }, Ai = { class: "tpl:flex tpl:items-stretch" }, ji = ["value"], Mi = {
2283
+ }, Ei = ["value"], Di = ["value"], Oi = { value: "auto" }, ki = { value: "always" }, Ai = { value: "never" }, ji = { class: "tpl:flex tpl:items-stretch" }, Mi = ["value"], Ni = {
2281
2284
  key: 0,
2282
2285
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
2283
2286
  role: "status",
2284
2287
  "data-testid": "image-height-capped"
2285
- }, Ni = ["value"], Pi = { value: "auto" }, Fi = { value: "custom" }, Ii = {
2288
+ }, Pi = ["value"], Fi = { value: "auto" }, Ii = { value: "custom" }, Li = {
2286
2289
  key: 2,
2287
2290
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2288
- }, Li = ["value"], Ri = 350, zi = 200, Bi = /* @__PURE__ */ r({
2291
+ }, Ri = ["value"], zi = 350, Bi = 200, Vi = /* @__PURE__ */ r({
2289
2292
  __name: "ImageToolbar",
2290
2293
  props: { block: {} },
2291
2294
  emits: ["update"],
@@ -2306,11 +2309,11 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2306
2309
  function ee(e) {
2307
2310
  if (e === "custom") {
2308
2311
  let e = n.block.width;
2309
- (typeof e != "number" || T.includes(e)) && r("update", G.widthUpdates(Ri));
2312
+ (typeof e != "number" || T.includes(e)) && r("update", G.widthUpdates(zi));
2310
2313
  } else r("update", G.widthUpdates(e === "full" ? "full" : Number(e)));
2311
2314
  }
2312
2315
  function R(e) {
2313
- I("height", e === "custom" ? zi : void 0);
2316
+ I("height", e === "custom" ? Bi : void 0);
2314
2317
  }
2315
2318
  function te(e) {
2316
2319
  I("fluidOnMobile", e === "always" || e !== "never" && void 0);
@@ -2340,9 +2343,10 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2340
2343
  }
2341
2344
  let ae = E(), oe = C(() => Ee(n.block.src, c)), { canBrowse: U, isUploading: se, showOverlay: ce, openMediaBrowser: le } = ft({
2342
2345
  target: ae,
2346
+ value: () => n.block.src,
2343
2347
  blocked: oe,
2344
2348
  apply: ie
2345
- }), ue = $e(() => oe.value || !n.block.src || it(n.block) ? void 0 : n.block.src), fe = xn(() => ue.value), W = C(() => d ? ot(d.content.value, n.block.id, f) : null), G = _i({
2349
+ }), ue = $e(() => oe.value || !n.block.src || it(n.block) ? void 0 : n.block.src), fe = Sn(() => ue.value), W = C(() => d ? ot(d.content.value, n.block.id, f) : null), G = vi({
2346
2350
  block: () => n.block,
2347
2351
  room: () => W.value,
2348
2352
  measured: () => fe.value
@@ -2404,7 +2408,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2404
2408
  class: "tpl:mb-3.5",
2405
2409
  path: "placeholderUrl"
2406
2410
  }, {
2407
- label: a(() => [m(x(h(o).image.placeholderUrl) + " ", 1), b("span", vi, x(h(o).image.optional), 1)]),
2411
+ label: a(() => [m(x(h(o).image.placeholderUrl) + " ", 1), b("span", yi, x(h(o).image.optional), 1)]),
2408
2412
  default: a(() => [b("input", {
2409
2413
  type: "url",
2410
2414
  class: g(h(B)),
@@ -2412,7 +2416,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2412
2416
  placeholder: h(o).image.placeholderUrlPlaceholder,
2413
2417
  title: h(o).image.placeholderUrlTooltip,
2414
2418
  onInput: n[2] ||= (e) => I("placeholderUrl", e.target.value)
2415
- }, null, 42, yi)]),
2419
+ }, null, 42, bi)]),
2416
2420
  _: 1
2417
2421
  })) : _("", !0),
2418
2422
  k(A, {
@@ -2436,7 +2440,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2436
2440
  path: "decorative",
2437
2441
  label: h(o).image.decorative
2438
2442
  }, {
2439
- label: a(() => [b("span", null, [m(x(h(o).image.decorative) + " ", 1), b("span", bi, x(h(o).image.decorativeHint), 1)])]),
2443
+ label: a(() => [b("span", null, [m(x(h(o).image.decorative) + " ", 1), b("span", xi, x(h(o).image.decorativeHint), 1)])]),
2440
2444
  "label-actions": a(({ controlId: t }) => [k(P, {
2441
2445
  "control-id": t,
2442
2446
  "hide-label": "",
@@ -2464,19 +2468,19 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2464
2468
  value: j.value,
2465
2469
  onChange: n[5] ||= (e) => ee(e.target.value)
2466
2470
  }, [
2467
- b("option", Si, x(h(o).image.fullWidth), 1),
2471
+ b("option", Ci, x(h(o).image.fullWidth), 1),
2468
2472
  n[16] ||= b("option", { value: "300" }, "300px", -1),
2469
2473
  n[17] ||= b("option", { value: "400" }, "400px", -1),
2470
2474
  n[18] ||= b("option", { value: "500" }, "500px", -1),
2471
- b("option", Ci, x(h(o).image.widthCustom), 1)
2472
- ], 42, xi), j.value === "custom" ? (i(), p("div", wi, [b("input", {
2475
+ b("option", wi, x(h(o).image.widthCustom), 1)
2476
+ ], 42, Si), j.value === "custom" ? (i(), p("div", Ti, [b("input", {
2473
2477
  type: "number",
2474
2478
  "data-testid": "image-width-input",
2475
2479
  class: g(h(z)),
2476
- value: typeof e.block.width == "number" ? e.block.width : Ri,
2480
+ value: typeof e.block.width == "number" ? e.block.width : zi,
2477
2481
  min: "20",
2478
2482
  onInput: n[6] ||= (e) => H(e.target.value)
2479
- }, null, 42, Ti), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
2483
+ }, null, 42, Ei), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
2480
2484
  _: 1
2481
2485
  }, 8, ["label"]),
2482
2486
  k(A, {
@@ -2490,10 +2494,10 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2490
2494
  value: F.value,
2491
2495
  onChange: n[7] ||= (e) => te(e.target.value)
2492
2496
  }, [
2493
- b("option", Di, x(h(o).image.fluidOnMobileAuto), 1),
2494
- b("option", Oi, x(h(o).image.fluidOnMobileAlways), 1),
2495
- b("option", ki, x(h(o).image.fluidOnMobileNever), 1)
2496
- ], 42, Ei)]),
2497
+ b("option", Oi, x(h(o).image.fluidOnMobileAuto), 1),
2498
+ b("option", ki, x(h(o).image.fluidOnMobileAlways), 1),
2499
+ b("option", Ai, x(h(o).image.fluidOnMobileNever), 1)
2500
+ ], 42, Di)]),
2497
2501
  _: 1
2498
2502
  }, 8, ["label"]),
2499
2503
  k(A, {
@@ -2502,7 +2506,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2502
2506
  label: h(o).image.height
2503
2507
  }, O({
2504
2508
  default: a(() => [
2505
- h(q) ? (i(), p(D, { key: 0 }, [b("div", Ai, [b("input", {
2509
+ h(q) ? (i(), p(D, { key: 0 }, [b("div", ji, [b("input", {
2506
2510
  type: "number",
2507
2511
  "data-testid": "image-locked-height-input",
2508
2512
  class: g(h(z)),
@@ -2510,27 +2514,27 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2510
2514
  min: "1",
2511
2515
  onInput: n[8] ||= (e) => Z(e.target.value),
2512
2516
  onBlur: n[9] ||= (e) => pe.value = null
2513
- }, null, 42, ji), b("span", { class: g(h(L)) }, "px", 2)]), h(Y) === null ? _("", !0) : (i(), p("p", Mi, x(h(s)(h(o).image.heightCapped, { height: h(Y) })), 1))], 64)) : _("", !0),
2517
+ }, null, 42, Mi), b("span", { class: g(h(L)) }, "px", 2)]), h(Y) === null ? _("", !0) : (i(), p("p", Ni, x(h(s)(h(o).image.heightCapped, { height: h(Y) })), 1))], 64)) : _("", !0),
2514
2518
  h(q) ? _("", !0) : (i(), p("select", {
2515
2519
  key: 1,
2516
2520
  class: g(h(B)),
2517
2521
  "data-testid": "image-height-mode",
2518
2522
  value: M.value,
2519
2523
  onChange: n[10] ||= (e) => R(e.target.value)
2520
- }, [b("option", Pi, x(h(o).image.heightAuto), 1), b("option", Fi, x(h(o).image.heightCustom), 1)], 42, Ni)),
2521
- !h(q) && M.value === "custom" ? (i(), p("div", Ii, [b("input", {
2524
+ }, [b("option", Fi, x(h(o).image.heightAuto), 1), b("option", Ii, x(h(o).image.heightCustom), 1)], 42, Pi)),
2525
+ !h(q) && M.value === "custom" ? (i(), p("div", Li, [b("input", {
2522
2526
  type: "number",
2523
2527
  "data-testid": "image-height-input",
2524
2528
  class: g(h(z)),
2525
2529
  value: e.block.height,
2526
2530
  min: "20",
2527
2531
  onInput: n[11] ||= (e) => ne(e.target.value)
2528
- }, null, 42, Li), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)
2532
+ }, null, 42, Ri), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)
2529
2533
  ]),
2530
2534
  _: 2
2531
2535
  }, [h(K) ? {
2532
2536
  name: "label-actions",
2533
- fn: a(() => [k(kt, {
2537
+ fn: a(() => [k(At, {
2534
2538
  linked: h(q),
2535
2539
  "link-label": h(o).image.lockAspectRatio,
2536
2540
  "unlink-label": h(o).image.unlockAspectRatio,
@@ -2543,14 +2547,14 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2543
2547
  ])]),
2544
2548
  key: "0"
2545
2549
  } : void 0]), 1032, ["label"]),
2546
- k(It, {
2550
+ k(Lt, {
2547
2551
  path: "borderRadius",
2548
2552
  "model-value": e.block.borderRadius,
2549
2553
  label: h(o).image.borderRadius,
2550
2554
  "testid-prefix": "image",
2551
2555
  "onUpdate:modelValue": V
2552
2556
  }, null, 8, ["model-value", "label"]),
2553
- k(Nt, {
2557
+ k(Pt, {
2554
2558
  path: "border",
2555
2559
  "model-value": e.block.border,
2556
2560
  "testid-prefix": "image",
@@ -2614,11 +2618,11 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2614
2618
  }, 8, ["label"])
2615
2619
  ], 64));
2616
2620
  }
2617
- }), Vi = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Hi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ui = [
2621
+ }), Hi = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ui = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Wi = [
2618
2622
  "value",
2619
2623
  "placeholder",
2620
2624
  "onInput"
2621
- ], Wi = ["title", "onClick"], Gi = { 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)]" }, Ki = { class: "tpl:flex tpl:items-center tpl:gap-2" }, qi = ["value"], Ji = { value: "" }, Yi = ["value"], Xi = ["value"], Zi = /* @__PURE__ */ r({
2625
+ ], 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__ */ r({
2622
2626
  __name: "MenuToolbar",
2623
2627
  props: {
2624
2628
  block: {},
@@ -2682,11 +2686,11 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2682
2686
  }
2683
2687
  return (t, n) => (i(), p(D, null, [
2684
2688
  k(A, { label: h(o).menu.items }, {
2685
- default: a(() => [b("div", Vi, [(i(!0), p(D, null, c(e.block.items, (t) => (i(), p("div", {
2689
+ default: a(() => [b("div", Hi, [(i(!0), p(D, null, c(e.block.items, (t) => (i(), p("div", {
2686
2690
  key: t.id,
2687
2691
  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"
2688
2692
  }, [
2689
- b("div", Hi, [k(A, {
2693
+ b("div", Ui, [k(A, {
2690
2694
  path: t.id.includes(".") ? void 0 : `items.${t.id}.text`,
2691
2695
  label: h(o).menu.text
2692
2696
  }, {
@@ -2696,7 +2700,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2696
2700
  value: t.text,
2697
2701
  placeholder: h(o).menu.text,
2698
2702
  onInput: (e) => f(t.id, "text", e.target.value)
2699
- }, null, 42, Ui)]),
2703
+ }, null, 42, Wi)]),
2700
2704
  _: 2
2701
2705
  }, 1032, ["path", "label"]), b("button", {
2702
2706
  class: g(h(I)),
@@ -2705,7 +2709,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2705
2709
  }, [k(h(pe), {
2706
2710
  size: 14,
2707
2711
  "stroke-width": 2
2708
- })], 10, Wi)]),
2712
+ })], 10, Gi)]),
2709
2713
  k(A, {
2710
2714
  path: t.id.includes(".") ? void 0 : `items.${t.id}.url`,
2711
2715
  label: h(o).button.url
@@ -2722,7 +2726,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2722
2726
  ])]),
2723
2727
  _: 2
2724
2728
  }, 1032, ["path", "label"]),
2725
- b("div", Gi, [(i(!0), p(D, null, c(s.value, (e) => (i(), v(A, {
2729
+ b("div", Ki, [(i(!0), p(D, null, c(s.value, (e) => (i(), v(A, {
2726
2730
  key: e.key,
2727
2731
  path: t.id.includes(".") ? void 0 : `items.${t.id}.${e.key}`,
2728
2732
  label: e.label
@@ -2741,7 +2745,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2741
2745
  ])]),
2742
2746
  _: 2
2743
2747
  }, 1032, ["path", "label"]))), 128))]),
2744
- b("div", Ki, [k(A, {
2748
+ b("div", qi, [k(A, {
2745
2749
  path: t.id.includes(".") ? void 0 : `items.${t.id}.color`,
2746
2750
  label: h(o).menu.color
2747
2751
  }, {
@@ -2769,17 +2773,17 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2769
2773
  class: g(h(B)),
2770
2774
  value: h(ht)(e.block.fontFamily),
2771
2775
  onChange: n[0] ||= (e) => u("fontFamily", e.target.value || void 0)
2772
- }, [b("option", Ji, x(h(o).title.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
2776
+ }, [b("option", Yi, x(h(o).title.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
2773
2777
  key: e.value,
2774
2778
  value: e.value
2775
- }, x(e.label), 9, Yi))), 128))], 42, qi)]),
2779
+ }, x(e.label), 9, Xi))), 128))], 42, Ji)]),
2776
2780
  _: 1
2777
2781
  }, 8, ["label"]),
2778
2782
  k(A, {
2779
2783
  path: "fontSize",
2780
2784
  label: h(o).menu.fontSize
2781
2785
  }, {
2782
- default: a(() => [k(Dt, {
2786
+ default: a(() => [k(Ot, {
2783
2787
  "model-value": e.block.fontSize,
2784
2788
  min: 8,
2785
2789
  max: 48,
@@ -2828,7 +2832,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2828
2832
  class: g(h(B)),
2829
2833
  value: e.block.separator,
2830
2834
  onInput: n[5] ||= (e) => u("separator", e.target.value)
2831
- }, null, 42, Xi)]),
2835
+ }, null, 42, Zi)]),
2832
2836
  _: 1
2833
2837
  }, 8, ["label"]),
2834
2838
  k(A, {
@@ -2845,7 +2849,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2845
2849
  path: "spacing",
2846
2850
  label: h(o).menu.spacing
2847
2851
  }, {
2848
- default: a(() => [k(Dt, {
2852
+ default: a(() => [k(Ot, {
2849
2853
  "model-value": e.block.spacing,
2850
2854
  min: 0,
2851
2855
  max: 50,
@@ -2856,7 +2860,7 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2856
2860
  }, 8, ["label"])
2857
2861
  ], 64));
2858
2862
  }
2859
- }), Qi = { class: "tpl:flex tpl:items-stretch" }, $i = ["value"], ea = /* @__PURE__ */ r({
2863
+ }), $i = { class: "tpl:flex tpl:items-stretch" }, ea = ["value"], ta = /* @__PURE__ */ r({
2860
2864
  __name: "ParagraphToolbar",
2861
2865
  props: { block: {} },
2862
2866
  emits: ["update"],
@@ -2868,20 +2872,20 @@ var vi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yi = [
2868
2872
  "data-testid": "paragraph-spacing",
2869
2873
  path: "paragraphSpacing"
2870
2874
  }, {
2871
- default: a(() => [b("div", Qi, [b("input", {
2875
+ default: a(() => [b("div", $i, [b("input", {
2872
2876
  type: "number",
2873
2877
  class: g(h(z)),
2874
2878
  value: e.block.paragraphSpacing ?? h(ge).paragraphGap,
2875
2879
  min: "0",
2876
2880
  max: "64",
2877
2881
  onInput: o[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
2878
- }, null, 42, $i), b("span", { class: g(h(L)) }, "px", 2)])]),
2882
+ }, null, 42, ea), b("span", { class: g(h(L)) }, "px", 2)])]),
2879
2883
  _: 1
2880
2884
  }, 8, ["label"]));
2881
2885
  }
2882
2886
  });
2883
2887
  // src/utils/rebalanceColumnChildren.ts
2884
- function ta(e, t) {
2888
+ function na(e, t) {
2885
2889
  let n = Ne(t);
2886
2890
  if (e.length === n) return e;
2887
2891
  if (e.length < n) {
@@ -2892,23 +2896,23 @@ function ta(e, t) {
2892
2896
  return [...r.slice(0, n - 1), a];
2893
2897
  }
2894
2898
  // src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
2895
- var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
2899
+ var ra = { class: "tpl:mb-3.5" }, ia = ["value"], aa = ["value"], oa = {
2896
2900
  key: 0,
2897
2901
  value: "custom"
2898
- }, oa = { class: "tpl:flex tpl:gap-2" }, sa = [
2902
+ }, sa = { class: "tpl:flex tpl:gap-2" }, ca = [
2899
2903
  "value",
2900
2904
  "aria-label",
2901
2905
  "onChange"
2902
- ], ca = {
2906
+ ], la = {
2903
2907
  key: 3,
2904
2908
  class: "tpl:mb-3.5"
2905
- }, la = {
2909
+ }, ua = {
2906
2910
  key: 0,
2907
2911
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2908
- }, ua = {
2912
+ }, da = {
2909
2913
  key: 1,
2910
2914
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
2911
- }, da = /* @__PURE__ */ r({
2915
+ }, fa = /* @__PURE__ */ r({
2912
2916
  __name: "SectionToolbar",
2913
2917
  props: { block: {} },
2914
2918
  emits: ["update"],
@@ -2954,7 +2958,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
2954
2958
  function N(e) {
2955
2959
  let t = e.target.value;
2956
2960
  if (t === "custom") return;
2957
- let i = t, a = ta(n.block.children, i);
2961
+ let i = t, a = na(n.block.children, i);
2958
2962
  r("update", {
2959
2963
  columns: i,
2960
2964
  children: a,
@@ -2988,10 +2992,10 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
2988
2992
  right: 20,
2989
2993
  bottom: 20,
2990
2994
  left: 20
2991
- } } }) : r("update", Qn(n.block));
2995
+ } } }) : r("update", $n(n.block));
2992
2996
  }
2993
2997
  function ne(e) {
2994
- r("update", Zn(n.block, e));
2998
+ r("update", Qn(n.block, e));
2995
2999
  }
2996
3000
  function H(e) {
2997
3001
  r("update", { wrapper: {
@@ -3006,20 +3010,20 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3006
3010
  H({ borderRadius: e });
3007
3011
  }
3008
3012
  return (t, n) => (i(), p(D, null, [
3009
- b("div", na, [b("label", { class: g(h(V)) }, x(h(o).section.columns), 3), b("select", {
3013
+ b("div", ra, [b("label", { class: g(h(V)) }, x(h(o).section.columns), 3), b("select", {
3010
3014
  class: g(h(B)),
3011
3015
  value: j.value,
3012
3016
  onChange: N
3013
3017
  }, [(i(!0), p(D, null, c(T.value, (e) => (i(), p("option", {
3014
3018
  key: e.value,
3015
3019
  value: e.value
3016
- }, x(e.label), 9, ia))), 128)), O.value ? (i(), p("option", aa, x(h(o).section.columnsCustom), 1)) : _("", !0)], 42, ra)]),
3020
+ }, x(e.label), 9, aa))), 128)), O.value ? (i(), p("option", oa, x(h(o).section.columnsCustom), 1)) : _("", !0)], 42, ia)]),
3017
3021
  E.value.length > 1 ? (i(), v(A, {
3018
3022
  key: 0,
3019
3023
  path: "columnWidths",
3020
3024
  label: h(o).section.columnWidths
3021
3025
  }, {
3022
- default: a(() => [b("div", oa, [(i(!0), p(D, null, c(E.value, (e, t) => (i(), p("div", {
3026
+ default: a(() => [b("div", sa, [(i(!0), p(D, null, c(E.value, (e, t) => (i(), p("div", {
3023
3027
  key: t,
3024
3028
  class: "tpl:flex tpl:min-w-0 tpl:flex-1 tpl:items-stretch"
3025
3029
  }, [b("input", {
@@ -3029,7 +3033,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3029
3033
  value: e,
3030
3034
  "aria-label": h(s)(h(o).section.columnWidthAria, { index: t + 1 }),
3031
3035
  onChange: (e) => I(t, e)
3032
- }, null, 42, sa), b("span", { class: g(h(L)) }, "%", 2)]))), 128))])]),
3036
+ }, null, 42, ca), b("span", { class: g(h(L)) }, "%", 2)]))), 128))])]),
3033
3037
  _: 1
3034
3038
  }, 8, ["label"])) : _("", !0),
3035
3039
  e.block.columns === "1" ? _("", !0) : (i(), v(A, {
@@ -3052,7 +3056,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3052
3056
  ])]),
3053
3057
  _: 1
3054
3058
  }, 8, ["label"])),
3055
- k(It, {
3059
+ k(Lt, {
3056
3060
  path: "borderRadius",
3057
3061
  "model-value": e.block.borderRadius,
3058
3062
  label: h(o).section.borderRadius,
@@ -3060,14 +3064,14 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3060
3064
  "testid-prefix": "section",
3061
3065
  "onUpdate:modelValue": R
3062
3066
  }, null, 8, ["model-value", "label"]),
3063
- w.value ? _("", !0) : (i(), v(Nt, {
3067
+ w.value ? _("", !0) : (i(), v(Pt, {
3064
3068
  key: 2,
3065
3069
  path: "border",
3066
3070
  "model-value": e.block.border,
3067
3071
  "testid-prefix": "section",
3068
3072
  "onUpdate:modelValue": n[1] ||= (e) => r("update", { border: e })
3069
3073
  }, null, 8, ["model-value"])),
3070
- m.value ? (i(), p("div", ca, [
3074
+ m.value ? (i(), p("div", la, [
3071
3075
  k(A, {
3072
3076
  path: "wrapper",
3073
3077
  label: h(o).section.wrapperEnable
@@ -3088,8 +3092,8 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3088
3092
  ])]),
3089
3093
  _: 1
3090
3094
  }, 8, ["label"]),
3091
- S.value ? (i(), p("p", la, x(h(o).section.wrapperLayoutConflict), 1)) : _("", !0),
3092
- e.block.wrapper ? (i(), p("div", ua, [
3095
+ S.value ? (i(), p("p", ua, x(h(o).section.wrapperLayoutConflict), 1)) : _("", !0),
3096
+ e.block.wrapper ? (i(), p("div", da, [
3093
3097
  k(A, {
3094
3098
  path: "wrapper.fullWidth",
3095
3099
  label: h(o).blockSettings.fullWidthBackground
@@ -3124,7 +3128,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3124
3128
  path: "wrapper.backgroundImage",
3125
3129
  label: h(o).blockSettings.backgroundImage
3126
3130
  }, {
3127
- default: a(() => [k(jn, {
3131
+ default: a(() => [k(Mn, {
3128
3132
  "hide-label": "",
3129
3133
  "model-value": e.block.wrapper.backgroundImage,
3130
3134
  "testid-prefix": "section-wrapper",
@@ -3132,7 +3136,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3132
3136
  }, null, 8, ["model-value"])]),
3133
3137
  _: 1
3134
3138
  }, 8, ["label"]),
3135
- k(bn, {
3139
+ k(xn, {
3136
3140
  path: "wrapper.padding",
3137
3141
  label: h(o).blockSettings.padding,
3138
3142
  "model-value": e.block.wrapper.padding ?? {
@@ -3143,7 +3147,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3143
3147
  },
3144
3148
  "onUpdate:modelValue": re
3145
3149
  }, null, 8, ["label", "model-value"]),
3146
- k(It, {
3150
+ k(Lt, {
3147
3151
  path: "wrapper.borderRadius",
3148
3152
  "model-value": e.block.wrapper.borderRadius,
3149
3153
  label: h(o).section.borderRadius,
@@ -3155,7 +3159,91 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3155
3159
  ])) : _("", !0)
3156
3160
  ], 64));
3157
3161
  }
3158
- }), fa = { class: "tpl:mb-3.5" }, pa = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ma = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ha = ["value", "onChange"], ga = ["value"], _a = ["title", "onClick"], va = ["value"], ya = { value: "solid" }, ba = { value: "outlined" }, xa = { value: "rounded" }, Sa = { value: "square" }, Ca = { value: "circle" }, wa = { value: "plain" }, Ta = ["value"], Ea = { value: "brand" }, Da = { value: "dark" }, Oa = { value: "light" }, ka = { class: "tpl:flex tpl:items-stretch" }, Aa = ["value"], ja = /* @__PURE__ */ r({
3162
+ }), pa = /* @__PURE__ */ r({
3163
+ __name: "SocialCustomIconFields",
3164
+ props: { icon: {} },
3165
+ emits: ["update"],
3166
+ setup(e, { emit: t }) {
3167
+ let n = e, r = t, { t: o } = Q(), { syntax: s } = St(), c = E(), l = C(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), u = C(() => Ee(l.value, s));
3168
+ function d(e) {
3169
+ return n.icon.id.includes(".") ? void 0 : `icons.${n.icon.id}.${e}`;
3170
+ }
3171
+ function f(e) {
3172
+ e !== l.value && r("update", {
3173
+ ...n.icon,
3174
+ imageUrl: e
3175
+ });
3176
+ }
3177
+ function g(e) {
3178
+ r("update", {
3179
+ ...n.icon,
3180
+ alt: e
3181
+ });
3182
+ }
3183
+ function y(e) {
3184
+ let t = {
3185
+ ...n.icon,
3186
+ imageUrl: e.url
3187
+ };
3188
+ e.alt && (t.alt = e.alt), r("update", t);
3189
+ }
3190
+ let { canBrowse: S, isUploading: w, showOverlay: T, openMediaBrowser: O } = ft({
3191
+ target: c,
3192
+ value: l,
3193
+ blocked: u,
3194
+ apply: y
3195
+ });
3196
+ return (t, n) => (i(), p(D, null, [k(A, {
3197
+ path: d("imageUrl"),
3198
+ label: h(o).image.imageUrl
3199
+ }, {
3200
+ default: a(() => [b("div", {
3201
+ ref_key: "dropZoneRef",
3202
+ ref: c,
3203
+ class: "tpl:relative"
3204
+ }, [
3205
+ h(T) ? (i(), v(rt, {
3206
+ key: 0,
3207
+ uploading: h(w)
3208
+ }, null, 8, ["uploading"])) : _("", !0),
3209
+ k(N, {
3210
+ "model-value": l.value,
3211
+ type: "url",
3212
+ placeholder: h(o).image.imageUrlPlaceholder,
3213
+ "onUpdate:modelValue": f
3214
+ }, null, 8, ["model-value", "placeholder"]),
3215
+ h(S) ? (i(), p("button", {
3216
+ key: 1,
3217
+ 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",
3218
+ style: {
3219
+ "border-color": "var(--tpl-border)",
3220
+ color: "var(--tpl-primary)",
3221
+ "background-color": "var(--tpl-bg)"
3222
+ },
3223
+ onClick: n[0] ||= (...e) => h(O) && h(O)(...e)
3224
+ }, [k(h(de), {
3225
+ size: 14,
3226
+ "stroke-width": 1.5
3227
+ }), m(" " + x(h(o).image.browseMedia), 1)])) : _("", !0)
3228
+ ], 512)]),
3229
+ _: 1
3230
+ }, 8, ["path", "label"]), k(A, {
3231
+ path: d("alt"),
3232
+ label: h(o).image.altText
3233
+ }, {
3234
+ default: a(() => [k(N, {
3235
+ "model-value": e.icon.alt ?? "",
3236
+ type: "text",
3237
+ placeholder: h(o).image.altTextPlaceholder,
3238
+ "onUpdate:modelValue": g
3239
+ }, null, 8, ["model-value", "placeholder"])]),
3240
+ _: 1
3241
+ }, 8, ["path", "label"])], 64));
3242
+ }
3243
+ }), ma = { class: "tpl:mb-3.5" }, ha = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ga = { class: "tpl:flex tpl:items-center tpl:gap-2" }, _a = ["value", "onChange"], va = ["value"], ya = { value: "custom" }, ba = ["title", "onClick"], xa = {
3244
+ key: 1,
3245
+ class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
3246
+ }, Sa = ["value"], Ca = { value: "solid" }, wa = { value: "outlined" }, Ta = { value: "rounded" }, Ea = { value: "square" }, Da = { value: "circle" }, Oa = { value: "plain" }, ka = ["value"], Aa = { value: "brand" }, ja = { value: "dark" }, Ma = { value: "light" }, Na = { class: "tpl:flex tpl:items-stretch" }, Pa = ["value"], Fa = /* @__PURE__ */ r({
3159
3247
  __name: "SocialToolbar",
3160
3248
  props: { block: {} },
3161
3249
  emits: ["update"],
@@ -3172,57 +3260,83 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3172
3260
  };
3173
3261
  r("update", { icons: [...n.block.icons, e] });
3174
3262
  }
3175
- function u(e, t, i) {
3176
- let a = n.block.icons.map((n) => n.id === e ? {
3263
+ function u(e) {
3264
+ r("update", { icons: n.block.icons.map((t) => t.id === e.id ? e : t) });
3265
+ }
3266
+ function d(e, t, i) {
3267
+ r("update", { icons: n.block.icons.map((n) => n.id === e ? {
3177
3268
  ...n,
3178
3269
  [t]: i
3179
- } : n);
3180
- r("update", { icons: a });
3270
+ } : n) });
3181
3271
  }
3182
- function d(e) {
3272
+ function f(e) {
3273
+ return e.platform === "custom";
3274
+ }
3275
+ function y(e, t) {
3276
+ t !== e.platform && u(t === "custom" ? {
3277
+ id: e.id,
3278
+ platform: "custom",
3279
+ url: e.url,
3280
+ imageUrl: ""
3281
+ } : {
3282
+ id: e.id,
3283
+ platform: t,
3284
+ url: e.url
3285
+ });
3286
+ }
3287
+ function S(e) {
3183
3288
  r("update", { icons: n.block.icons.filter((t) => t.id !== e) });
3184
3289
  }
3185
3290
  return (t, n) => (i(), p(D, null, [
3186
- b("div", fa, [b("label", { class: g(h(V)) }, x(h(o).social.icons), 3), b("div", pa, [(i(!0), p(D, null, c(e.block.icons, (e) => (i(), p("div", {
3291
+ b("div", ma, [b("label", { class: g(h(V)) }, x(h(o).social.icons), 3), b("div", ha, [(i(!0), p(D, null, c(e.block.icons, (e) => (i(), p("div", {
3187
3292
  key: e.id,
3188
3293
  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"
3189
- }, [b("div", ma, [k(A, {
3190
- path: e.id.includes(".") ? void 0 : `icons.${e.id}.platform`,
3191
- label: h(o).social.icons
3192
- }, {
3193
- default: a(() => [b("select", {
3194
- "data-testid": "social-platform-select",
3195
- class: g([h(B), "tpl:flex-1"]),
3196
- value: e.platform,
3197
- onChange: (t) => u(e.id, "platform", t.target.value)
3198
- }, [(i(!0), p(D, null, c(h(ut), (e) => (i(), p("option", {
3199
- key: e,
3200
- value: e
3201
- }, x(h(o).social.platforms[e]), 9, ga))), 128))], 42, ha)]),
3202
- _: 2
3203
- }, 1032, ["path", "label"]), b("button", {
3204
- class: g(h(I)),
3205
- title: h(o).social.removeIcon,
3206
- onClick: (t) => d(e.id)
3207
- }, [k(h(pe), {
3208
- size: 14,
3209
- "stroke-width": 2
3210
- })], 10, _a)]), k(A, {
3211
- path: e.id.includes(".") ? void 0 : `icons.${e.id}.url`,
3212
- label: h(o).button.url
3213
- }, {
3214
- default: a(() => [k(N, {
3215
- "model-value": e.url,
3216
- type: "url",
3217
- placeholder: h(o).social.urlPlaceholder,
3218
- "onUpdate:modelValue": (t) => u(e.id, "url", t)
3219
- }, null, 8, [
3220
- "model-value",
3221
- "placeholder",
3222
- "onUpdate:modelValue"
3223
- ])]),
3224
- _: 2
3225
- }, 1032, ["path", "label"])]))), 128)), b("button", {
3294
+ }, [
3295
+ b("div", ga, [k(A, {
3296
+ path: e.id.includes(".") ? void 0 : `icons.${e.id}.platform`,
3297
+ label: h(o).social.icons
3298
+ }, {
3299
+ default: a(() => [b("select", {
3300
+ "data-testid": "social-platform-select",
3301
+ class: g([h(B), "tpl:flex-1"]),
3302
+ value: e.platform,
3303
+ onChange: (t) => y(e, t.target.value)
3304
+ }, [(i(!0), p(D, null, c(h(ut), (e) => (i(), p("option", {
3305
+ key: e,
3306
+ value: e
3307
+ }, x(h(o).social.platforms[e]), 9, va))), 128)), b("option", ya, x(h(o).social.platforms.custom), 1)], 42, _a)]),
3308
+ _: 2
3309
+ }, 1032, ["path", "label"]), b("button", {
3310
+ class: g(h(I)),
3311
+ title: h(o).social.removeIcon,
3312
+ onClick: (t) => S(e.id)
3313
+ }, [k(h(pe), {
3314
+ size: 14,
3315
+ "stroke-width": 2
3316
+ })], 10, ba)]),
3317
+ f(e) ? (i(), v(pa, {
3318
+ key: 0,
3319
+ icon: e,
3320
+ onUpdate: u
3321
+ }, null, 8, ["icon"])) : _("", !0),
3322
+ k(A, {
3323
+ path: e.id.includes(".") ? void 0 : `icons.${e.id}.url`,
3324
+ label: h(o).button.url
3325
+ }, {
3326
+ default: a(() => [k(N, {
3327
+ "model-value": e.url,
3328
+ type: "url",
3329
+ placeholder: h(o).social.urlPlaceholder,
3330
+ "onUpdate:modelValue": (t) => d(e.id, "url", t)
3331
+ }, null, 8, [
3332
+ "model-value",
3333
+ "placeholder",
3334
+ "onUpdate:modelValue"
3335
+ ])]),
3336
+ _: 2
3337
+ }, 1032, ["path", "label"]),
3338
+ f(e) ? (i(), p("p", xa, x(h(o).social.customIconHint), 1)) : _("", !0)
3339
+ ]))), 128)), b("button", {
3226
3340
  class: g(h(R)),
3227
3341
  onClick: l
3228
3342
  }, [k(h(U), {
@@ -3239,13 +3353,13 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3239
3353
  value: e.block.iconStyle,
3240
3354
  onChange: n[0] ||= (e) => s("iconStyle", e.target.value)
3241
3355
  }, [
3242
- b("option", ya, x(h(o).social.styleSolid), 1),
3243
- b("option", ba, x(h(o).social.styleOutlined), 1),
3244
- b("option", xa, x(h(o).social.styleRounded), 1),
3245
- b("option", Sa, x(h(o).social.styleSquare), 1),
3246
- b("option", Ca, x(h(o).social.styleCircle), 1),
3247
- b("option", wa, x(h(o).social.stylePlain), 1)
3248
- ], 42, va)]),
3356
+ b("option", Ca, x(h(o).social.styleSolid), 1),
3357
+ b("option", wa, x(h(o).social.styleOutlined), 1),
3358
+ b("option", Ta, x(h(o).social.styleRounded), 1),
3359
+ b("option", Ea, x(h(o).social.styleSquare), 1),
3360
+ b("option", Da, x(h(o).social.styleCircle), 1),
3361
+ b("option", Oa, x(h(o).social.stylePlain), 1)
3362
+ ], 42, Sa)]),
3249
3363
  _: 1
3250
3364
  }, 8, ["label"]),
3251
3365
  k(A, {
@@ -3259,10 +3373,10 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3259
3373
  value: e.block.iconTone ?? "brand",
3260
3374
  onChange: n[1] ||= (e) => s("iconTone", e.target.value)
3261
3375
  }, [
3262
- b("option", Ea, x(h(o).social.colorBrand), 1),
3263
- b("option", Da, x(h(o).social.colorDark), 1),
3264
- b("option", Oa, x(h(o).social.colorLight), 1)
3265
- ], 42, Ta)]),
3376
+ b("option", Aa, x(h(o).social.colorBrand), 1),
3377
+ b("option", ja, x(h(o).social.colorDark), 1),
3378
+ b("option", Ma, x(h(o).social.colorLight), 1)
3379
+ ], 42, ka)]),
3266
3380
  _: 1
3267
3381
  }, 8, ["label"]),
3268
3382
  k(A, {
@@ -3295,14 +3409,14 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3295
3409
  class: "tpl:mb-3.5",
3296
3410
  path: "spacing"
3297
3411
  }, {
3298
- default: a(() => [b("div", ka, [b("input", {
3412
+ default: a(() => [b("div", Na, [b("input", {
3299
3413
  type: "number",
3300
3414
  class: g(h(z)),
3301
3415
  value: e.block.spacing,
3302
3416
  min: "0",
3303
3417
  max: "50",
3304
3418
  onInput: n[3] ||= (e) => s("spacing", Number(e.target.value))
3305
- }, null, 42, Aa), b("span", { class: g(h(L)) }, "px", 2)])]),
3419
+ }, null, 42, Pa), b("span", { class: g(h(L)) }, "px", 2)])]),
3306
3420
  _: 1
3307
3421
  }, 8, ["label"]),
3308
3422
  k(A, {
@@ -3335,7 +3449,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3335
3449
  }, 8, ["label"])
3336
3450
  ], 64));
3337
3451
  }
3338
- }), Ma = { class: "tpl:flex tpl:items-stretch" }, Na = ["value"], Pa = ["value"], Fa = /* @__PURE__ */ r({
3452
+ }), Ia = { class: "tpl:flex tpl:items-stretch" }, La = ["value"], Ra = ["value"], za = /* @__PURE__ */ r({
3339
3453
  __name: "SpacerToolbar",
3340
3454
  props: { block: {} },
3341
3455
  emits: ["update"],
@@ -3346,25 +3460,25 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3346
3460
  class: "tpl:mb-3.5",
3347
3461
  path: "height"
3348
3462
  }, {
3349
- default: a(() => [b("div", Ma, [b("input", {
3463
+ default: a(() => [b("div", Ia, [b("input", {
3350
3464
  type: "number",
3351
3465
  class: g(h(z)),
3352
3466
  value: e.block.height,
3353
3467
  min: "10",
3354
3468
  max: "100",
3355
3469
  onInput: o[0] ||= (e) => n("update", { height: Number(e.target.value) })
3356
- }, null, 42, Na), b("span", { class: g(h(L)) }, "px", 2)]), b("input", {
3470
+ }, null, 42, La), b("span", { class: g(h(L)) }, "px", 2)]), b("input", {
3357
3471
  type: "range",
3358
3472
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
3359
3473
  value: e.block.height,
3360
3474
  min: "10",
3361
3475
  max: "100",
3362
3476
  onInput: o[1] ||= (e) => n("update", { height: Number(e.target.value) })
3363
- }, null, 40, Pa)]),
3477
+ }, null, 40, Ra)]),
3364
3478
  _: 1
3365
3479
  }, 8, ["label"]));
3366
3480
  }
3367
- }), Ia = { class: "tpl:mb-3.5" }, La = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ra = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, za = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ba = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Va = ["disabled"], Ha = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, 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:items-stretch" }, Ya = ["value"], Xa = { class: "tpl:flex tpl:items-stretch" }, Za = ["value"], Qa = ["value"], $a = { value: "" }, eo = ["value"], to = { class: "tpl:flex tpl:items-stretch" }, no = ["value"], ro = /* @__PURE__ */ r({
3481
+ }), Ba = { class: "tpl:mb-3.5" }, Va = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ha = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ua = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Wa = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ga = ["disabled"], Ka = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, qa = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ja = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ya = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Xa = ["disabled"], Za = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Qa = { class: "tpl:flex tpl:items-stretch" }, $a = ["value"], eo = { class: "tpl:flex tpl:items-stretch" }, to = ["value"], no = ["value"], ro = { value: "" }, io = ["value"], ao = { class: "tpl:flex tpl:items-stretch" }, oo = ["value"], so = /* @__PURE__ */ r({
3368
3482
  __name: "TableToolbar",
3369
3483
  props: {
3370
3484
  block: {},
@@ -3407,7 +3521,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3407
3521
  r("update", { rows: t });
3408
3522
  }
3409
3523
  return (t, n) => (i(), p(D, null, [
3410
- b("div", Ia, [b("label", { class: g(h(V)) }, x(h(o).table.dimensions), 3), b("div", La, [b("div", Ra, [b("span", za, x(h(o).table.rows), 1), b("div", Ba, [
3524
+ b("div", Ba, [b("label", { class: g(h(V)) }, x(h(o).table.dimensions), 3), b("div", Va, [b("div", Ha, [b("span", Ua, x(h(o).table.rows), 1), b("div", Wa, [
3411
3525
  b("button", {
3412
3526
  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",
3413
3527
  disabled: e.block.rows.length <= 1,
@@ -3415,8 +3529,8 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3415
3529
  }, [k(h(W), {
3416
3530
  size: 12,
3417
3531
  "stroke-width": 2
3418
- })], 8, Va),
3419
- b("span", Ha, x(e.block.rows.length), 1),
3532
+ })], 8, Ga),
3533
+ b("span", Ka, x(e.block.rows.length), 1),
3420
3534
  b("button", {
3421
3535
  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)]",
3422
3536
  onClick: u
@@ -3424,7 +3538,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3424
3538
  size: 12,
3425
3539
  "stroke-width": 2
3426
3540
  })])
3427
- ])]), b("div", Ua, [b("span", Wa, x(h(o).table.columns), 1), b("div", Ga, [
3541
+ ])]), b("div", qa, [b("span", Ja, x(h(o).table.columns), 1), b("div", Ya, [
3428
3542
  b("button", {
3429
3543
  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",
3430
3544
  disabled: s.value <= 1,
@@ -3432,8 +3546,8 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3432
3546
  }, [k(h(W), {
3433
3547
  size: 12,
3434
3548
  "stroke-width": 2
3435
- })], 8, Ka),
3436
- b("span", qa, x(s.value), 1),
3549
+ })], 8, Xa),
3550
+ b("span", Za, x(s.value), 1),
3437
3551
  b("button", {
3438
3552
  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)]",
3439
3553
  onClick: f
@@ -3495,14 +3609,14 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3495
3609
  class: "tpl:mb-3.5",
3496
3610
  path: "borderWidth"
3497
3611
  }, {
3498
- default: a(() => [b("div", Ja, [b("input", {
3612
+ default: a(() => [b("div", Qa, [b("input", {
3499
3613
  type: "number",
3500
3614
  class: g(h(z)),
3501
3615
  value: e.block.borderWidth,
3502
3616
  min: "0",
3503
3617
  max: "10",
3504
3618
  onInput: n[5] ||= (e) => l("borderWidth", Number(e.target.value))
3505
- }, null, 42, Ya), b("span", { class: g(h(L)) }, "px", 2)])]),
3619
+ }, null, 42, $a), b("span", { class: g(h(L)) }, "px", 2)])]),
3506
3620
  _: 1
3507
3621
  }, 8, ["label"]),
3508
3622
  k(A, {
@@ -3510,14 +3624,14 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3510
3624
  class: "tpl:mb-3.5",
3511
3625
  path: "cellPadding"
3512
3626
  }, {
3513
- default: a(() => [b("div", Xa, [b("input", {
3627
+ default: a(() => [b("div", eo, [b("input", {
3514
3628
  type: "number",
3515
3629
  class: g(h(z)),
3516
3630
  value: e.block.cellPadding,
3517
3631
  min: "0",
3518
3632
  max: "30",
3519
3633
  onInput: n[6] ||= (e) => l("cellPadding", Number(e.target.value))
3520
- }, null, 42, Za), b("span", { class: g(h(L)) }, "px", 2)])]),
3634
+ }, null, 42, to), b("span", { class: g(h(L)) }, "px", 2)])]),
3521
3635
  _: 1
3522
3636
  }, 8, ["label"]),
3523
3637
  k(A, {
@@ -3529,10 +3643,10 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3529
3643
  class: g(h(B)),
3530
3644
  value: h(ht)(e.block.fontFamily),
3531
3645
  onChange: n[7] ||= (e) => l("fontFamily", e.target.value || void 0)
3532
- }, [b("option", $a, x(h(o).title.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
3646
+ }, [b("option", ro, x(h(o).title.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
3533
3647
  key: e.value,
3534
3648
  value: e.value
3535
- }, x(e.label), 9, eo))), 128))], 42, Qa)]),
3649
+ }, x(e.label), 9, io))), 128))], 42, no)]),
3536
3650
  _: 1
3537
3651
  }, 8, ["label"]),
3538
3652
  k(A, {
@@ -3540,14 +3654,14 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3540
3654
  class: "tpl:mb-3.5",
3541
3655
  path: "fontSize"
3542
3656
  }, {
3543
- default: a(() => [b("div", to, [b("input", {
3657
+ default: a(() => [b("div", ao, [b("input", {
3544
3658
  type: "number",
3545
3659
  class: g(h(z)),
3546
3660
  value: e.block.fontSize,
3547
3661
  min: "10",
3548
3662
  max: "32",
3549
3663
  onInput: n[8] ||= (e) => l("fontSize", Number(e.target.value))
3550
- }, null, 42, no), b("span", { class: g(h(L)) }, "px", 2)])]),
3664
+ }, null, 42, oo), b("span", { class: g(h(L)) }, "px", 2)])]),
3551
3665
  _: 1
3552
3666
  }, 8, ["label"]),
3553
3667
  k(A, {
@@ -3591,7 +3705,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3591
3705
  }, 8, ["label"])
3592
3706
  ], 64));
3593
3707
  }
3594
- }), io = ["value"], ao = { value: 1 }, oo = { value: 2 }, so = { value: 3 }, co = { value: 4 }, lo = ["value"], uo = { value: "" }, fo = ["value"], po = /* @__PURE__ */ r({
3708
+ }), co = ["value"], lo = { value: 1 }, uo = { value: 2 }, fo = { value: 3 }, po = { value: 4 }, mo = ["value"], ho = { value: "" }, go = ["value"], _o = /* @__PURE__ */ r({
3595
3709
  __name: "TitleToolbar",
3596
3710
  props: {
3597
3711
  block: {},
@@ -3614,11 +3728,11 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3614
3728
  value: e.block.level,
3615
3729
  onChange: n[0] ||= (e) => o("level", Number(e.target.value))
3616
3730
  }, [
3617
- b("option", ao, x(h(r).title.heading1), 1),
3618
- b("option", oo, x(h(r).title.heading2), 1),
3619
- b("option", so, x(h(r).title.heading3), 1),
3620
- b("option", co, x(h(r).title.heading4), 1)
3621
- ], 42, io)]),
3731
+ b("option", lo, x(h(r).title.heading1), 1),
3732
+ b("option", uo, x(h(r).title.heading2), 1),
3733
+ b("option", fo, x(h(r).title.heading3), 1),
3734
+ b("option", po, x(h(r).title.heading4), 1)
3735
+ ], 42, co)]),
3622
3736
  _: 1
3623
3737
  }, 8, ["label"]),
3624
3738
  k(A, {
@@ -3630,10 +3744,10 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3630
3744
  class: g(h(B)),
3631
3745
  value: h(ht)(e.block.fontFamily),
3632
3746
  onChange: n[1] ||= (e) => o("fontFamily", e.target.value || void 0)
3633
- }, [b("option", uo, x(h(r).title.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
3747
+ }, [b("option", ho, x(h(r).title.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
3634
3748
  key: e.value,
3635
3749
  value: e.value
3636
- }, x(e.label), 9, fo))), 128))], 42, lo)]),
3750
+ }, x(e.label), 9, go))), 128))], 42, mo)]),
3637
3751
  _: 1
3638
3752
  }, 8, ["label"]),
3639
3753
  k(A, {
@@ -3677,17 +3791,17 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3677
3791
  }, 8, ["label"])
3678
3792
  ], 64));
3679
3793
  }
3680
- }), mo = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ho = [
3794
+ }), vo = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, yo = [
3681
3795
  "value",
3682
3796
  "placeholder",
3683
3797
  "title"
3684
- ], go = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, _o = ["value"], vo = { value: "full" }, yo = { value: "custom" }, bo = {
3798
+ ], bo = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xo = ["value"], So = { value: "full" }, Co = { value: "custom" }, wo = {
3685
3799
  key: 0,
3686
3800
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
3687
- }, xo = ["value"], So = ["value"], Co = { value: "auto" }, wo = { value: "custom" }, To = {
3801
+ }, To = ["value"], Eo = ["value"], Do = { value: "auto" }, Oo = { value: "custom" }, ko = {
3688
3802
  key: 0,
3689
3803
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
3690
- }, Eo = ["value"], Do = 350, Oo = 200, ko = /* @__PURE__ */ r({
3804
+ }, Ao = ["value"], jo = 350, Mo = 200, No = /* @__PURE__ */ r({
3691
3805
  __name: "VideoToolbar",
3692
3806
  props: { block: {} },
3693
3807
  emits: ["update"],
@@ -3708,7 +3822,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3708
3822
  function M(e) {
3709
3823
  if (e === "custom") {
3710
3824
  let e = n.block.width;
3711
- (typeof e != "number" || d.includes(e)) && j("width", Do);
3825
+ (typeof e != "number" || d.includes(e)) && j("width", jo);
3712
3826
  } else j("width", e === "full" ? "full" : Number(e));
3713
3827
  }
3714
3828
  function F(e) {
@@ -3716,7 +3830,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3716
3830
  !Number.isFinite(t) || t <= 0 || j("width", t);
3717
3831
  }
3718
3832
  function I(e) {
3719
- j("height", e === "custom" ? Oo : void 0);
3833
+ j("height", e === "custom" ? Mo : void 0);
3720
3834
  }
3721
3835
  function ee(e) {
3722
3836
  let t = Number(e);
@@ -3763,7 +3877,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3763
3877
  class: "tpl:mb-3.5",
3764
3878
  path: "placeholderUrl"
3765
3879
  }, {
3766
- label: a(() => [m(x(h(o).video.placeholderUrl) + " ", 1), b("span", mo, x(h(o).video.optional), 1)]),
3880
+ label: a(() => [m(x(h(o).video.placeholderUrl) + " ", 1), b("span", vo, x(h(o).video.optional), 1)]),
3767
3881
  default: a(() => [b("input", {
3768
3882
  type: "url",
3769
3883
  class: g(h(B)),
@@ -3771,14 +3885,14 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3771
3885
  placeholder: h(o).video.placeholderUrlPlaceholder,
3772
3886
  title: h(o).video.placeholderUrlTooltip,
3773
3887
  onInput: n[2] ||= (e) => j("placeholderUrl", e.target.value)
3774
- }, null, 42, ho)]),
3888
+ }, null, 42, yo)]),
3775
3889
  _: 1
3776
3890
  })) : _("", !0),
3777
3891
  k(A, {
3778
3892
  class: "tpl:mb-3.5",
3779
3893
  path: "thumbnailUrl"
3780
3894
  }, {
3781
- label: a(() => [m(x(h(o).video.customThumbnail) + " ", 1), b("span", go, x(h(o).video.optional), 1)]),
3895
+ label: a(() => [m(x(h(o).video.customThumbnail) + " ", 1), b("span", bo, x(h(o).video.optional), 1)]),
3782
3896
  default: a(() => [k(N, {
3783
3897
  "model-value": e.block.thumbnailUrl,
3784
3898
  type: "url",
@@ -3828,19 +3942,19 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3828
3942
  value: S.value,
3829
3943
  onChange: n[5] ||= (e) => M(e.target.value)
3830
3944
  }, [
3831
- b("option", vo, x(h(o).video.fullWidth), 1),
3945
+ b("option", So, x(h(o).video.fullWidth), 1),
3832
3946
  n[10] ||= b("option", { value: "300" }, "300px", -1),
3833
3947
  n[11] ||= b("option", { value: "400" }, "400px", -1),
3834
3948
  n[12] ||= b("option", { value: "500" }, "500px", -1),
3835
- b("option", yo, x(h(o).video.widthCustom), 1)
3836
- ], 42, _o), S.value === "custom" ? (i(), p("div", bo, [b("input", {
3949
+ b("option", Co, x(h(o).video.widthCustom), 1)
3950
+ ], 42, xo), S.value === "custom" ? (i(), p("div", wo, [b("input", {
3837
3951
  type: "number",
3838
3952
  "data-testid": "video-width-input",
3839
3953
  class: g(h(z)),
3840
3954
  value: e.block.width,
3841
3955
  min: "20",
3842
3956
  onInput: n[6] ||= (e) => F(e.target.value)
3843
- }, null, 42, xo), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
3957
+ }, null, 42, To), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
3844
3958
  _: 1
3845
3959
  }, 8, ["label"]),
3846
3960
  k(A, {
@@ -3853,14 +3967,14 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3853
3967
  "data-testid": "video-height-mode",
3854
3968
  value: w.value,
3855
3969
  onChange: n[7] ||= (e) => I(e.target.value)
3856
- }, [b("option", Co, x(h(o).video.heightAuto), 1), b("option", wo, x(h(o).video.heightCustom), 1)], 42, So), w.value === "custom" ? (i(), p("div", To, [b("input", {
3970
+ }, [b("option", Do, x(h(o).video.heightAuto), 1), b("option", Oo, x(h(o).video.heightCustom), 1)], 42, Eo), w.value === "custom" ? (i(), p("div", ko, [b("input", {
3857
3971
  type: "number",
3858
3972
  "data-testid": "video-height-input",
3859
3973
  class: g(h(z)),
3860
3974
  value: e.block.height,
3861
3975
  min: "20",
3862
3976
  onInput: n[8] ||= (e) => ee(e.target.value)
3863
- }, null, 42, Eo), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
3977
+ }, null, 42, Ao), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
3864
3978
  _: 1
3865
3979
  }, 8, ["label"]),
3866
3980
  k(A, {
@@ -3890,7 +4004,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3890
4004
  }, 8, ["label"])
3891
4005
  ], 64));
3892
4006
  }
3893
- }), Ao = ["aria-label"], jo = ["disabled", "inert"], Mo = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, No = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Po = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Fo = { class: "tpl:flex tpl:gap-1" }, Io = ["title"], Lo = ["title"], Ro = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, zo = /*@__PURE__*/ r({
4007
+ }), Po = ["aria-label"], Fo = ["disabled", "inert"], Io = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Lo = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Ro = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, zo = { class: "tpl:flex tpl:gap-1" }, Bo = ["title"], Vo = ["title"], Ho = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Uo = /*@__PURE__*/ r({
3894
4008
  __name: "Toolbar",
3895
4009
  props: { block: {} },
3896
4010
  emits: [
@@ -3899,7 +4013,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3899
4013
  "duplicate"
3900
4014
  ],
3901
4015
  setup(e, { emit: t }) {
3902
- let r = f(() => import("./CountdownToolbar-BOyk_4k7.js")), a = e, o = t, { t: s } = Q(), c = yt(), u = Xe(Ke, "Toolbar"), d = l(qe, []), m = C(() => a.block.type), g = C(() => Ie(a.block)), y = C(() => {
4016
+ let r = f(() => import("./CountdownToolbar-D16RWxkh.js")), a = e, o = t, { t: s } = Q(), c = yt(), u = Xe(Ke, "Toolbar"), d = l(qe, []), m = C(() => a.block.type), g = C(() => Ie(a.block)), y = C(() => {
3903
4017
  if (g.value) return d.find((e) => e.type === a.block.customType);
3904
4018
  }), S = C(() => g.value ? y.value?.name ?? a.block.customType : tt(m.value, s)), w = C(() => mt(u.fonts.value, "fontFamily" in a.block ? a.block.fontFamily : void 0));
3905
4019
  function T(e) {
@@ -3913,7 +4027,7 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3913
4027
  disabled: !h(c),
3914
4028
  inert: !h(c),
3915
4029
  class: "tpl:contents"
3916
- }, [b("div", Mo, [b("div", No, [h(St)[m.value] ? (i(), v(n(h(St)[m.value]), {
4030
+ }, [b("div", Io, [b("div", Lo, [h(Ct)[m.value] ? (i(), v(n(h(Ct)[m.value]), {
3917
4031
  key: 0,
3918
4032
  size: 16,
3919
4033
  "stroke-width": 1.5
@@ -3921,74 +4035,74 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3921
4035
  key: 1,
3922
4036
  size: 16,
3923
4037
  "stroke-width": 1.5
3924
- })) : _("", !0), b("h3", Po, x(S.value), 1)]), b("div", Fo, [b("button", {
4038
+ })) : _("", !0), b("h3", Ro, x(S.value), 1)]), b("div", zo, [b("button", {
3925
4039
  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)]",
3926
4040
  title: h(s).toolbar.duplicate,
3927
4041
  onClick: a[0] ||= (e) => o("duplicate")
3928
4042
  }, [k(h(ie), {
3929
4043
  size: 14,
3930
4044
  "stroke-width": 2
3931
- })], 8, Io), b("button", {
4045
+ })], 8, Bo), b("button", {
3932
4046
  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)]",
3933
4047
  title: h(s).toolbar.delete,
3934
4048
  onClick: a[1] ||= (e) => o("delete")
3935
4049
  }, [k(h(G), {
3936
4050
  size: 14,
3937
4051
  "stroke-width": 2
3938
- })], 8, Lo)])]), b("div", Ro, [g.value ? (i(), v(ui, {
4052
+ })], 8, Vo)])]), b("div", Ho, [g.value ? (i(), v(di, {
3939
4053
  key: 0,
3940
4054
  block: e.block,
3941
4055
  onUpdateFieldValues: a[2] ||= (e) => o("update", { fieldValues: e }),
3942
4056
  onUpdateDataSourceFetched: a[3] ||= (e) => o("update", { dataSourceFetched: e })
3943
- }, null, 8, ["block"])) : m.value === "section" ? (i(), v(da, {
4057
+ }, null, 8, ["block"])) : m.value === "section" ? (i(), v(fa, {
3944
4058
  key: 1,
3945
4059
  block: e.block,
3946
4060
  onUpdate: T
3947
- }, null, 8, ["block"])) : m.value === "title" ? (i(), v(po, {
4061
+ }, null, 8, ["block"])) : m.value === "title" ? (i(), v(_o, {
3948
4062
  key: 2,
3949
4063
  block: e.block,
3950
4064
  "font-families": w.value,
3951
4065
  onUpdate: T
3952
- }, null, 8, ["block", "font-families"])) : m.value === "paragraph" ? (i(), v(ea, {
4066
+ }, null, 8, ["block", "font-families"])) : m.value === "paragraph" ? (i(), v(ta, {
3953
4067
  key: 3,
3954
4068
  block: e.block,
3955
4069
  onUpdate: T
3956
- }, null, 8, ["block"])) : m.value === "image" ? (i(), v(Bi, {
4070
+ }, null, 8, ["block"])) : m.value === "image" ? (i(), v(Vi, {
3957
4071
  key: 4,
3958
4072
  block: e.block,
3959
4073
  onUpdate: T
3960
- }, null, 8, ["block"])) : m.value === "video" ? (i(), v(ko, {
4074
+ }, null, 8, ["block"])) : m.value === "video" ? (i(), v(No, {
3961
4075
  key: 5,
3962
4076
  block: e.block,
3963
4077
  onUpdate: T
3964
- }, null, 8, ["block"])) : m.value === "button" ? (i(), v(Zt, {
4078
+ }, null, 8, ["block"])) : m.value === "button" ? (i(), v(Qt, {
3965
4079
  key: 6,
3966
4080
  block: e.block,
3967
4081
  "font-families": w.value,
3968
4082
  onUpdate: T
3969
- }, null, 8, ["block", "font-families"])) : m.value === "divider" ? (i(), v(pi, {
4083
+ }, null, 8, ["block", "font-families"])) : m.value === "divider" ? (i(), v(mi, {
3970
4084
  key: 7,
3971
4085
  block: e.block,
3972
4086
  onUpdate: T
3973
- }, null, 8, ["block"])) : m.value === "social" ? (i(), v(ja, {
4087
+ }, null, 8, ["block"])) : m.value === "social" ? (i(), v(Fa, {
3974
4088
  key: 8,
3975
4089
  block: e.block,
3976
4090
  onUpdate: T
3977
- }, null, 8, ["block"])) : m.value === "menu" ? (i(), v(Zi, {
4091
+ }, null, 8, ["block"])) : m.value === "menu" ? (i(), v(Qi, {
3978
4092
  key: 9,
3979
4093
  block: e.block,
3980
4094
  "font-families": w.value,
3981
4095
  onUpdate: T
3982
- }, null, 8, ["block", "font-families"])) : m.value === "table" ? (i(), v(ro, {
4096
+ }, null, 8, ["block", "font-families"])) : m.value === "table" ? (i(), v(so, {
3983
4097
  key: 10,
3984
4098
  block: e.block,
3985
4099
  "font-families": w.value,
3986
4100
  onUpdate: T
3987
- }, null, 8, ["block", "font-families"])) : m.value === "spacer" ? (i(), v(Fa, {
4101
+ }, null, 8, ["block", "font-families"])) : m.value === "spacer" ? (i(), v(za, {
3988
4102
  key: 11,
3989
4103
  block: e.block,
3990
4104
  onUpdate: T
3991
- }, null, 8, ["block"])) : m.value === "html" ? (i(), v(gi, {
4105
+ }, null, 8, ["block"])) : m.value === "html" ? (i(), v(_i, {
3992
4106
  key: 12,
3993
4107
  block: e.block,
3994
4108
  onUpdate: T
@@ -3997,13 +4111,13 @@ var na = { class: "tpl:mb-3.5" }, ra = ["value"], ia = ["value"], aa = {
3997
4111
  block: e.block,
3998
4112
  "font-families": w.value,
3999
4113
  onUpdate: T
4000
- }, null, 8, ["block", "font-families"])) : _("", !0), k(wr, {
4114
+ }, null, 8, ["block", "font-families"])) : _("", !0), k(Tr, {
4001
4115
  block: e.block,
4002
4116
  "is-first-section": m.value === "paragraph",
4003
4117
  onUpdate: T
4004
- }, null, 8, ["block", "is-first-section"])])], 8, jo)], 8, Ao));
4118
+ }, null, 8, ["block", "is-first-section"])])], 8, Fo)], 8, Po));
4005
4119
  }
4006
- }), Bo = /* @__PURE__ */ e({ default: () => Vo }), Vo = /*#__PURE__*/ _t(zo, [["__scopeId", "data-v-206f038f"]]);
4007
- export { Vo as default, Dt as n, $ as r, Bo as t };
4120
+ }), Wo = /* @__PURE__ */ e({ default: () => Go }), Go = /*#__PURE__*/ _t(Uo, [["__scopeId", "data-v-206f038f"]]);
4121
+ export { Go as default, Ot as n, $ as r, Wo as t };
4008
4122
 
4009
- //# sourceMappingURL=Toolbar-DbqkKRXy.js.map
4123
+ //# sourceMappingURL=Toolbar-czJfutfE.js.map