@templatical/editor 0.55.0 → 0.56.1

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 (299) hide show
  1. package/dist/{AiAltTextPopover-D5QosKvB.js → AiAltTextPopover-CpZ7UeAZ.js} +4 -4
  2. package/dist/{AiAltTextReview-D1W_lrI_.js → AiAltTextReview-LYxvn7Qe.js} +4 -4
  3. package/dist/{AiChatPanel-C8SeEJRP.js → AiChatPanel-Cy05P-iO.js} +56 -56
  4. package/dist/{AiPanels-CR6zphjP.js → AiPanels-CwKmXzyr.js} +1 -1
  5. package/dist/{AiRewriteMenu-BwztoMov.js → AiRewriteMenu-DgqJHnza.js} +13 -13
  6. package/dist/{BlockIssueBadge-DaPTq1RE.js → BlockIssueBadge-CxHJmuOh.js} +5 -5
  7. package/dist/BlockPreviewCanvas-DEmNZkEG.js +154 -0
  8. package/dist/{CloudHeaderExtras-XpjJjn3o.js → CloudHeaderExtras-Cqhw-jMz.js} +1 -1
  9. package/dist/{CloudPanels-Baoaj6Xf.js → CloudPanels-Bmlf05Il.js} +12 -12
  10. package/dist/{CollaborationNotices-Cnx0XHzZ.js → CollaborationNotices-C27GCMvK.js} +8 -8
  11. package/dist/{CollaboratorBar-BaBoNhwB.js → CollaboratorBar-CLQjksX-.js} +2 -2
  12. package/dist/{CommentsPanel-Ck3QmqiC.js → CommentsPanel-B5NqPMmY.js} +1 -1
  13. package/dist/{CommentsSidebar-CHknhOar.js → CommentsSidebar-BDrcrDxS.js} +42 -42
  14. package/dist/{CountdownBlock-BMezkFbJ.js → CountdownBlock-D8dqjm3F.js} +6 -6
  15. package/dist/{CountdownToolbar-CA_gDIdZ.js → CountdownToolbar-IjpCOjCd.js} +30 -30
  16. package/dist/{IssuesPanel-nmFhWG1p.js → IssuesPanel-uwuzeMSW.js} +89 -89
  17. package/dist/LanguageMenu-C-eQ0lFy.js +403 -0
  18. package/dist/{LocaleNotices-WzsYtBRs.js → LocaleNotices-CDK_9D7P.js} +10 -10
  19. package/dist/{LogicTagInsertButton-qZ82VMFx.js → LogicTagInsertButton-BSolF7Fd.js} +24 -24
  20. package/dist/{MediaEditModal-C3U9Mi31.js → MediaEditModal-C8yc9dxt.js} +7 -7
  21. package/dist/{MediaPanels-CGmk9ufe.js → MediaPanels-FI4I8asn.js} +1 -1
  22. package/dist/{MergeTagInput-JJeZbFkD.js → MergeTagInput-B1nl2ZMT.js} +12 -12
  23. package/dist/{MergeTagModeToggle-DDucd1eC.js → MergeTagModeToggle-DXvb80OE.js} +6 -6
  24. package/dist/{MergeTagTextarea-dQ2LRrNB.js → MergeTagTextarea-DJlf3VbS.js} +5 -5
  25. package/dist/{ParagraphEditor-VXYwGoz_.js → ParagraphEditor-Dqco128s.js} +173 -173
  26. package/dist/{RestoreVersionDialog-BibNvAaJ.js → RestoreVersionDialog-hqLCuGV5.js} +12 -12
  27. package/dist/{RichTextEditorContent-CU5EOlM_.js → RichTextEditorContent-xIEF0Y3Z.js} +8 -8
  28. package/dist/{SaveBlockDialog-S9aFi0cy.js → SaveBlockDialog-CQlCP_XC.js} +47 -47
  29. package/dist/{SavedBlocksBrowserModal-DIdn6B0J.js → SavedBlocksBrowserModal-BXA32Fx6.js} +24 -24
  30. package/dist/{SavedBlocksPanels-Cme2M6u8.js → SavedBlocksPanels-BKUzbamj.js} +1 -1
  31. package/dist/{SavedBlocksPickBar-BDmA7r3m.js → SavedBlocksPickBar-BlvF-4UF.js} +9 -9
  32. package/dist/{TemplateSettings-C_LHLm5M.js → TemplateSettings-CYFtR8zv.js} +41 -41
  33. package/dist/{TestEmailModal-CLIRn7eL.js → TestEmailModal-BbaL17HO.js} +20 -20
  34. package/dist/{TestEmailPanel-frdtjC8h.js → TestEmailPanel-DhB1CSpg.js} +1 -1
  35. package/dist/{TitleEditor-D5kC56Jl.js → TitleEditor-3BRl8u5l.js} +22 -22
  36. package/dist/{Toolbar-D904Yw_R.js → Toolbar-pzNIakGM.js} +1090 -856
  37. package/dist/{TplModal-BBdotDf1.js → TplModal-WNuWhHZm.js} +4 -4
  38. package/dist/{VersionHistoryMenu-BnP0EyLl.js → VersionHistoryMenu--T-Qp_mH.js} +17 -17
  39. package/dist/{VersionHistoryPanels-DhagEgOk.js → VersionHistoryPanels-BPubvYIE.js} +1 -1
  40. package/dist/{VersionPreviewBanner-BPP939cD.js → VersionPreviewBanner-ClL3Wkln.js} +7 -7
  41. package/dist/WrapperBlock-CjfCPceb.js +56 -0
  42. package/dist/{blockTypeIcons-CoRQV_hP.js → blockTypeIcons-12OMwVyN.js} +3 -3
  43. package/dist/bundle-stats.json +6 -6
  44. package/dist/{ca-DIkMxYCN.js → ca-BJn8lcJx.js} +8 -0
  45. package/dist/cdn/chunks/{AiAltTextPopover-CUGOPuRo.js → AiAltTextPopover-PFjTrl0y.js} +5 -5
  46. package/dist/cdn/chunks/{AiAltTextPopover-CUGOPuRo.js.map → AiAltTextPopover-PFjTrl0y.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiAltTextReview-B9vm_L-8.js → AiAltTextReview-BMjzvApH.js} +5 -5
  48. package/dist/cdn/chunks/{AiAltTextReview-B9vm_L-8.js.map → AiAltTextReview-BMjzvApH.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiChatPanel-By8Uo1nH.js → AiChatPanel-C2gpq4kP.js} +107 -107
  50. package/dist/cdn/chunks/{AiChatPanel-By8Uo1nH.js.map → AiChatPanel-C2gpq4kP.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiPanels-BblCSkQy.js → AiPanels-Cx3PE2mE.js} +2 -2
  52. package/dist/cdn/chunks/{AiPanels-BblCSkQy.js.map → AiPanels-Cx3PE2mE.js.map} +1 -1
  53. package/dist/cdn/chunks/{AiRewriteMenu-BvV_7tNZ.js → AiRewriteMenu-CnkyjPEu.js} +13 -13
  54. package/dist/cdn/chunks/{AiRewriteMenu-BvV_7tNZ.js.map → AiRewriteMenu-CnkyjPEu.js.map} +1 -1
  55. package/dist/cdn/chunks/{BlockIssueBadge-D3Plo_wt.js → BlockIssueBadge-DncZ-HDf.js} +5 -5
  56. package/dist/cdn/chunks/{BlockIssueBadge-D3Plo_wt.js.map → BlockIssueBadge-DncZ-HDf.js.map} +1 -1
  57. package/dist/cdn/chunks/BlockPreviewCanvas-CCSEzL46.js +156 -0
  58. package/dist/cdn/chunks/BlockPreviewCanvas-CCSEzL46.js.map +1 -0
  59. package/dist/cdn/chunks/{CloudHeaderExtras-BtqdN777.js → CloudHeaderExtras-uUJYJFJ6.js} +2 -2
  60. package/dist/cdn/chunks/{CloudHeaderExtras-BtqdN777.js.map → CloudHeaderExtras-uUJYJFJ6.js.map} +1 -1
  61. package/dist/cdn/chunks/{CloudPanels-CQ0vNgsH.js → CloudPanels-CRztnw4M.js} +4 -4
  62. package/dist/cdn/chunks/{CloudPanels-CQ0vNgsH.js.map → CloudPanels-CRztnw4M.js.map} +1 -1
  63. package/dist/cdn/chunks/{CollaborationNotices-DraFUhyo.js → CollaborationNotices-IuLYT2x7.js} +9 -9
  64. package/dist/cdn/chunks/{CollaborationNotices-DraFUhyo.js.map → CollaborationNotices-IuLYT2x7.js.map} +1 -1
  65. package/dist/cdn/chunks/{CollaboratorBar-0OEH3hrj.js → CollaboratorBar-C1ZI2xwa.js} +3 -3
  66. package/dist/cdn/chunks/{CollaboratorBar-0OEH3hrj.js.map → CollaboratorBar-C1ZI2xwa.js.map} +1 -1
  67. package/dist/cdn/chunks/{CommentsPanel-tZZswofV.js → CommentsPanel-lgjJNrrY.js} +2 -2
  68. package/dist/cdn/chunks/{CommentsPanel-tZZswofV.js.map → CommentsPanel-lgjJNrrY.js.map} +1 -1
  69. package/dist/cdn/chunks/{CommentsSidebar-7Hfl3Hdj.js → CommentsSidebar-DTold7iy.js} +214 -214
  70. package/dist/cdn/chunks/{CommentsSidebar-7Hfl3Hdj.js.map → CommentsSidebar-DTold7iy.js.map} +1 -1
  71. package/dist/cdn/chunks/{CountdownBlock-CjMhMhnv.js → CountdownBlock-8aPSExrv.js} +7 -7
  72. package/dist/cdn/chunks/{CountdownBlock-CjMhMhnv.js.map → CountdownBlock-8aPSExrv.js.map} +1 -1
  73. package/dist/cdn/chunks/{CountdownToolbar-BxW-J7DX.js → CountdownToolbar-CnWQEW5g.js} +50 -50
  74. package/dist/cdn/chunks/{CountdownToolbar-BxW-J7DX.js.map → CountdownToolbar-CnWQEW5g.js.map} +1 -1
  75. package/dist/cdn/chunks/{IssuesPanel-BoHeIjvw.js → IssuesPanel-CrplCzo8.js} +13 -13
  76. package/dist/cdn/chunks/{IssuesPanel-BoHeIjvw.js.map → IssuesPanel-CrplCzo8.js.map} +1 -1
  77. package/dist/cdn/chunks/{LanguageMenu-BnYN5N1h.js → LanguageMenu-B6MNInCL.js} +57 -57
  78. package/dist/cdn/chunks/{LanguageMenu-BnYN5N1h.js.map → LanguageMenu-B6MNInCL.js.map} +1 -1
  79. package/dist/cdn/chunks/{LocaleNotices-8J2DRWeg.js → LocaleNotices-TxeAl8Iq.js} +10 -10
  80. package/dist/cdn/chunks/{LocaleNotices-8J2DRWeg.js.map → LocaleNotices-TxeAl8Iq.js.map} +1 -1
  81. package/dist/cdn/chunks/{LogicTagInsertButton-Bt2PXbQ0.js → LogicTagInsertButton-DvSVx2DB.js} +30 -30
  82. package/dist/cdn/chunks/LogicTagInsertButton-DvSVx2DB.js.map +1 -0
  83. package/dist/cdn/chunks/{MediaEditModal-Dz972UFx.js → MediaEditModal-tGK6htBl.js} +8 -8
  84. package/dist/cdn/chunks/{MediaEditModal-Dz972UFx.js.map → MediaEditModal-tGK6htBl.js.map} +1 -1
  85. package/dist/cdn/chunks/{MediaPanels-C6Hqtp1H.js → MediaPanels-BVrQYz2C.js} +2 -2
  86. package/dist/cdn/chunks/{MediaPanels-C6Hqtp1H.js.map → MediaPanels-BVrQYz2C.js.map} +1 -1
  87. package/dist/cdn/chunks/{MergeTagInput-BELdMRni.js → MergeTagInput-DeuNH3re.js} +13 -13
  88. package/dist/cdn/chunks/{MergeTagInput-BELdMRni.js.map → MergeTagInput-DeuNH3re.js.map} +1 -1
  89. package/dist/cdn/chunks/{MergeTagModeToggle-DKfMDIEF.js → MergeTagModeToggle-D7maMGIM.js} +5 -5
  90. package/dist/cdn/chunks/{MergeTagModeToggle-DKfMDIEF.js.map → MergeTagModeToggle-D7maMGIM.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagTextarea-w6xen3Xh.js → MergeTagTextarea-B2xxIU3e.js} +6 -6
  92. package/dist/cdn/chunks/{MergeTagTextarea-w6xen3Xh.js.map → MergeTagTextarea-B2xxIU3e.js.map} +1 -1
  93. package/dist/cdn/chunks/{ParagraphEditor-Cal9hY3U.js → ParagraphEditor-Bx_Hlw8d.js} +106 -106
  94. package/dist/cdn/chunks/{ParagraphEditor-Cal9hY3U.js.map → ParagraphEditor-Bx_Hlw8d.js.map} +1 -1
  95. package/dist/cdn/chunks/{RestoreVersionDialog-f_ulmASY.js → RestoreVersionDialog-CPrrWTsT.js} +12 -12
  96. package/dist/cdn/chunks/{RestoreVersionDialog-f_ulmASY.js.map → RestoreVersionDialog-CPrrWTsT.js.map} +1 -1
  97. package/dist/cdn/chunks/{RichTextEditorContent-C_v0kS4A.js → RichTextEditorContent-Dze4C9VI.js} +8 -8
  98. package/dist/cdn/chunks/{RichTextEditorContent-C_v0kS4A.js.map → RichTextEditorContent-Dze4C9VI.js.map} +1 -1
  99. package/dist/cdn/chunks/{SaveBlockDialog-C6N9RFls.js → SaveBlockDialog-CXVwnfsy.js} +51 -51
  100. package/dist/cdn/chunks/{SaveBlockDialog-C6N9RFls.js.map → SaveBlockDialog-CXVwnfsy.js.map} +1 -1
  101. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Bl2sl09D.js → SavedBlocksBrowserModal-BDTmenOE.js} +23 -23
  102. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Bl2sl09D.js.map → SavedBlocksBrowserModal-BDTmenOE.js.map} +1 -1
  103. package/dist/cdn/chunks/{SavedBlocksPanels-DqVcmEUK.js → SavedBlocksPanels-B41Rk_v1.js} +2 -2
  104. package/dist/cdn/chunks/{SavedBlocksPanels-DqVcmEUK.js.map → SavedBlocksPanels-B41Rk_v1.js.map} +1 -1
  105. package/dist/cdn/chunks/{SavedBlocksPickBar-DE-J1JVL.js → SavedBlocksPickBar-B97z_rFH.js} +11 -11
  106. package/dist/cdn/chunks/{SavedBlocksPickBar-DE-J1JVL.js.map → SavedBlocksPickBar-B97z_rFH.js.map} +1 -1
  107. package/dist/cdn/chunks/{TemplateSettings-CpoKZ8oV.js → TemplateSettings-YwwRbxPc.js} +102 -102
  108. package/dist/cdn/chunks/{TemplateSettings-CpoKZ8oV.js.map → TemplateSettings-YwwRbxPc.js.map} +1 -1
  109. package/dist/cdn/chunks/{TestEmailModal-DI3z__Bd.js → TestEmailModal-BiFP2Cbx.js} +20 -20
  110. package/dist/cdn/chunks/{TestEmailModal-DI3z__Bd.js.map → TestEmailModal-BiFP2Cbx.js.map} +1 -1
  111. package/dist/cdn/chunks/{TestEmailPanel-Cp5d2YGn.js → TestEmailPanel-BrivPMk2.js} +2 -2
  112. package/dist/cdn/chunks/{TestEmailPanel-Cp5d2YGn.js.map → TestEmailPanel-BrivPMk2.js.map} +1 -1
  113. package/dist/cdn/chunks/{TitleEditor-C2syRLdZ.js → TitleEditor-CzPkkL2s.js} +19 -19
  114. package/dist/cdn/chunks/{TitleEditor-C2syRLdZ.js.map → TitleEditor-CzPkkL2s.js.map} +1 -1
  115. package/dist/cdn/chunks/{Toolbar-NEE8qxYh.js → Toolbar-VH07SzX7.js} +1153 -919
  116. package/dist/cdn/chunks/Toolbar-VH07SzX7.js.map +1 -0
  117. package/dist/cdn/chunks/{TplModal-B1MgvtX8.js → TplModal-DMe6J811.js} +6 -6
  118. package/dist/cdn/chunks/{TplModal-B1MgvtX8.js.map → TplModal-DMe6J811.js.map} +1 -1
  119. package/dist/cdn/chunks/{VersionHistoryMenu-CZury5gU.js → VersionHistoryMenu-DkwbKhBl.js} +16 -16
  120. package/dist/cdn/chunks/{VersionHistoryMenu-CZury5gU.js.map → VersionHistoryMenu-DkwbKhBl.js.map} +1 -1
  121. package/dist/cdn/chunks/{VersionHistoryPanels-Cefd8i_e.js → VersionHistoryPanels-CgxhMRAl.js} +2 -2
  122. package/dist/cdn/chunks/{VersionHistoryPanels-Cefd8i_e.js.map → VersionHistoryPanels-CgxhMRAl.js.map} +1 -1
  123. package/dist/cdn/chunks/{VersionPreviewBanner-C4Ji8nu4.js → VersionPreviewBanner-WVBDBrwQ.js} +8 -8
  124. package/dist/cdn/chunks/{VersionPreviewBanner-C4Ji8nu4.js.map → VersionPreviewBanner-WVBDBrwQ.js.map} +1 -1
  125. package/dist/cdn/chunks/WrapperBlock-CCCIcqe2.js +58 -0
  126. package/dist/cdn/chunks/WrapperBlock-CCCIcqe2.js.map +1 -0
  127. package/dist/cdn/chunks/{blockTypeIcons-Cc6RJ27V.js → blockTypeIcons-CzYA5DF9.js} +2 -2
  128. package/dist/cdn/chunks/{blockTypeIcons-Cc6RJ27V.js.map → blockTypeIcons-CzYA5DF9.js.map} +1 -1
  129. package/dist/cdn/chunks/{ca-DIkMxYCN.js → ca-BJn8lcJx.js} +9 -1
  130. package/dist/cdn/chunks/ca-BJn8lcJx.js.map +1 -0
  131. package/dist/cdn/chunks/composables-D3lsO7Io.js +3101 -0
  132. package/dist/cdn/chunks/composables-D3lsO7Io.js.map +1 -0
  133. package/dist/cdn/chunks/{createCloudRuntime-DJkDGKQ_.js → createCloudRuntime-CE79GB1H.js} +16 -16
  134. package/dist/cdn/chunks/{createCloudRuntime-DJkDGKQ_.js.map → createCloudRuntime-CE79GB1H.js.map} +1 -1
  135. package/dist/{de-Cc6Ue0UD.js → cdn/chunks/de-BLFp3nWx.js} +10 -0
  136. package/dist/cdn/chunks/de-BLFp3nWx.js.map +1 -0
  137. package/dist/cdn/chunks/dist-Cf1pSluo.js +405 -0
  138. package/dist/cdn/chunks/{dist-DqGgijFI.js.map → dist-Cf1pSluo.js.map} +1 -1
  139. package/dist/cdn/chunks/{editor-modal-erQEOHZN.js → editor-modal-CN69NlOK.js} +187 -187
  140. package/dist/cdn/chunks/{editor-modal-erQEOHZN.js.map → editor-modal-CN69NlOK.js.map} +1 -1
  141. package/dist/cdn/chunks/en-Bcz4gS9U.js +1 -0
  142. package/dist/cdn/chunks/{en-BX4FujAQ.js → en-DGGQJGbm.js} +9 -1
  143. package/dist/cdn/chunks/en-DGGQJGbm.js.map +1 -0
  144. package/dist/cdn/chunks/{es-Do5b-MKU.js → es-DTY9qgLv.js} +9 -1
  145. package/dist/cdn/chunks/es-DTY9qgLv.js.map +1 -0
  146. package/dist/cdn/chunks/{extensions-BcwkOjVq.js → extensions-8dlM-fU4.js} +112 -112
  147. package/dist/cdn/chunks/extensions-8dlM-fU4.js.map +1 -0
  148. package/dist/{fr-S1n2Ebzp.js → cdn/chunks/fr-L4FqO9Gp.js} +10 -0
  149. package/dist/cdn/chunks/{fr-S1n2Ebzp.js.map → fr-L4FqO9Gp.js.map} +1 -1
  150. package/dist/cdn/chunks/{icons-Da9GKjPx.js → icons-DHExFLlT.js} +43 -43
  151. package/dist/cdn/chunks/{icons-Da9GKjPx.js.map → icons-DHExFLlT.js.map} +1 -1
  152. package/dist/cdn/chunks/{ja-DLwcq4bA.js → ja-6uOXkh4v.js} +9 -1
  153. package/dist/cdn/chunks/ja-6uOXkh4v.js.map +1 -0
  154. package/dist/cdn/chunks/{keys-CoQtCqNv.js → keys-BUmIvYy3.js} +4 -4
  155. package/dist/cdn/chunks/keys-BUmIvYy3.js.map +1 -0
  156. package/dist/{nl-0JSWaZpT.js → cdn/chunks/nl-DCxuxwNq.js} +10 -0
  157. package/dist/cdn/chunks/nl-DCxuxwNq.js.map +1 -0
  158. package/dist/cdn/chunks/{normalizeMergeTagMarkup-BrGw5jxk.js → normalizeMergeTagMarkup-aWjkotui.js} +67 -67
  159. package/dist/cdn/chunks/normalizeMergeTagMarkup-aWjkotui.js.map +1 -0
  160. package/dist/cdn/chunks/{preRenderCustomBlocks-Cj0XYwuh.js → preRenderCustomBlocks-Dn6dFUwx.js} +4 -4
  161. package/dist/cdn/chunks/{preRenderCustomBlocks-Cj0XYwuh.js.map → preRenderCustomBlocks-Dn6dFUwx.js.map} +1 -1
  162. package/dist/{pt-BR-D3VlIMDZ.js → cdn/chunks/pt-BR-CBkcrebr.js} +10 -0
  163. package/dist/cdn/chunks/pt-BR-CBkcrebr.js.map +1 -0
  164. package/dist/cdn/chunks/{sanitizeHtml-GxJCxKcP.js → sanitizeHtml-B3njfkSy.js} +11 -11
  165. package/dist/cdn/chunks/{sanitizeHtml-GxJCxKcP.js.map → sanitizeHtml-B3njfkSy.js.map} +1 -1
  166. package/dist/cdn/chunks/{socialIcons-B5zrrV8-.js → socialIcons-BFgc3qqJ.js} +354 -341
  167. package/dist/cdn/chunks/{socialIcons-B5zrrV8-.js.map → socialIcons-BFgc3qqJ.js.map} +1 -1
  168. package/dist/cdn/chunks/{src-Diw9SLIe.js → src-C9JWWxAk.js} +419 -423
  169. package/dist/cdn/chunks/src-C9JWWxAk.js.map +1 -0
  170. package/dist/cdn/chunks/src-GgKlXNxy.js +710 -0
  171. package/dist/cdn/chunks/src-GgKlXNxy.js.map +1 -0
  172. package/dist/cdn/chunks/{src-v47QHNmB.js → src-mXG-Of9A.js} +669 -662
  173. package/dist/cdn/chunks/src-mXG-Of9A.js.map +1 -0
  174. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js → tiptap-C940SvId.js} +3 -3
  175. package/dist/cdn/chunks/{tiptap-Dipw_zOQ.js.map → tiptap-C940SvId.js.map} +1 -1
  176. package/dist/cdn/chunks/{useCloudI18n-Cc5NZqiI.js → useCloudI18n-Xsih9yRH.js} +2 -2
  177. package/dist/cdn/chunks/{useCloudI18n-Cc5NZqiI.js.map → useCloudI18n-Xsih9yRH.js.map} +1 -1
  178. package/dist/cdn/chunks/{useEditorRoot-D_LuZ_hE.js → useEditorRoot-Beau2Z_T.js} +2 -2
  179. package/dist/cdn/chunks/{useEditorRoot-D_LuZ_hE.js.map → useEditorRoot-Beau2Z_T.js.map} +1 -1
  180. package/dist/cdn/chunks/{useI18n-BnJYydPv.js → useI18n-D8s7HtTn.js} +2 -2
  181. package/dist/cdn/chunks/{useI18n-BnJYydPv.js.map → useI18n-D8s7HtTn.js.map} +1 -1
  182. package/dist/cdn/chunks/{useLocalizedDisplay-DekV8qar.js → useLocalizedDisplay-Bgg4qpev.js} +6 -6
  183. package/dist/cdn/chunks/{useLocalizedDisplay-DekV8qar.js.map → useLocalizedDisplay-Bgg4qpev.js.map} +1 -1
  184. package/dist/cdn/chunks/{useLogicTag-Cbp3I7UN.js → useLogicTag-B0PDeDxl.js} +5 -5
  185. package/dist/cdn/chunks/{useLogicTag-Cbp3I7UN.js.map → useLogicTag-B0PDeDxl.js.map} +1 -1
  186. package/dist/cdn/chunks/{useMergeTag-1lrpNyR5.js → useMergeTag-BSU75bKk.js} +8 -8
  187. package/dist/cdn/chunks/{useMergeTag-1lrpNyR5.js.map → useMergeTag-BSU75bKk.js.map} +1 -1
  188. package/dist/cdn/chunks/{usePopoverPosition-BWAXWeBv.js → usePopoverPosition-esO6wjvU.js} +5 -5
  189. package/dist/cdn/chunks/{usePopoverPosition-BWAXWeBv.js.map → usePopoverPosition-esO6wjvU.js.map} +1 -1
  190. package/dist/cdn/chunks/{useScrollToBlock-Ct1AwLD-.js → useScrollToBlock-CJuUu7Xj.js} +2 -2
  191. package/dist/cdn/chunks/{useScrollToBlock-Ct1AwLD-.js.map → useScrollToBlock-CJuUu7Xj.js.map} +1 -1
  192. package/dist/cdn/chunks/{withCurrentFont-DZfmiv8V.js → withCurrentFont-QqBilClC.js} +2 -2
  193. package/dist/cdn/chunks/{withCurrentFont-DZfmiv8V.js.map → withCurrentFont-QqBilClC.js.map} +1 -1
  194. package/dist/cdn/editor.css +1 -1
  195. package/dist/cdn/editor.js +814 -817
  196. package/dist/cdn/editor.js.map +1 -1
  197. package/dist/{check-XMnOOIEC.js → check-CcuCoJDh.js} +1 -1
  198. package/dist/{chevron-down-DmamTEWQ.js → chevron-down-BfYIbFbC.js} +1 -1
  199. package/dist/{chevron-right-BEFXOH27.js → chevron-right-DyjFqY35.js} +1 -1
  200. package/dist/{chevron-up-Dw7woXj8.js → chevron-up-BHEIxuS-.js} +1 -1
  201. package/dist/{circle-alert-BTKC9vkq.js → circle-alert-Tq7kAh9S.js} +1 -1
  202. package/dist/{clock-BVT5u2uG.js → clock-Df0ZiXwQ.js} +1 -1
  203. package/dist/{composables-DPgNn9GZ.js → composables-DreAt_0A.js} +1660 -1620
  204. package/dist/{createCloudRuntime-Bw8TLmQ8.js → createCloudRuntime-CL4tUlDC.js} +15 -15
  205. package/dist/{createLucideIcon-CgDE3xAR.js → createLucideIcon-CfBdtoUw.js} +5 -5
  206. package/dist/{cdn/chunks/de-Cc6Ue0UD.js → de-BLFp3nWx.js} +8 -2
  207. package/dist/{dist-ChOb5XHW.js → dist-0GWMyHtM.js} +1 -1
  208. package/dist/{dist-CBdk1Vcb.js → dist-BMUUt3zJ.js} +284 -277
  209. package/dist/{dist-6DU0me3E.js → dist-B_0FPmoy.js} +1 -1
  210. package/dist/{dist-B8dY8drK.js → dist-BjzK1g4Z.js} +1 -1
  211. package/dist/{dist-54VCNoC0.js → dist-BsumKKh9.js} +1 -1
  212. package/dist/{dist-BWflWcpW.js → dist-C3avsUq9.js} +2 -2
  213. package/dist/{dist-fqSers8_.js → dist-CCLRTtJP.js} +197 -197
  214. package/dist/dist-CiYotUR8.js +406 -0
  215. package/dist/{dist-C3hu_C3w.js → dist-Cr1CLCmx.js} +1 -1
  216. package/dist/{dist-D_XrUEET.js → dist-CsknfjrZ.js} +3 -3
  217. package/dist/{dist-TAv500j6.js → dist-DDytHU_6.js} +1 -1
  218. package/dist/{dist-CcOn7WCo.js → dist-DKV9m4Uu.js} +1 -1
  219. package/dist/{dist-B9a7iVye.js → dist-Dq9VnANT.js} +1 -1
  220. package/dist/{dist-DZ3X-uB8.js → dist-ZrT0vAB6.js} +1 -1
  221. package/dist/{editor-modal-BeX6otLk.js → editor-modal-BD32TXws.js} +107 -107
  222. package/dist/{en-BX4FujAQ.js → en-DGGQJGbm.js} +8 -0
  223. package/dist/en-Dgs_-NBw.js +1 -0
  224. package/dist/{es-Do5b-MKU.js → es-DTY9qgLv.js} +8 -0
  225. package/dist/{extensions-QFAARrjF.js → extensions-DKxHlSd7.js} +385 -385
  226. package/dist/{eye-ByMgHeA_.js → eye-B3psrAqd.js} +1 -1
  227. package/dist/{cdn/chunks/fr-S1n2Ebzp.js → fr-L4FqO9Gp.js} +8 -2
  228. package/dist/{image-Ch8tR35K.js → image-C3yuPDxx.js} +1 -1
  229. package/dist/index.d.ts +60 -12
  230. package/dist/{info-DzSD-Wpk.js → info-DKja7A68.js} +1 -1
  231. package/dist/{ja-DLwcq4bA.js → ja-6uOXkh4v.js} +8 -0
  232. package/dist/{keys-BCqskl51.js → keys-w_VRjoMu.js} +3 -3
  233. package/dist/{link-oDn9AR2w.js → link-DhzPI4Hn.js} +1 -1
  234. package/dist/{list-C5t07dp8.js → list-DVGn7Ik2.js} +1 -1
  235. package/dist/{loader-circle-k6xvKgUB.js → loader-circle-DqKWsMHO.js} +1 -1
  236. package/dist/{message-circle-C23R6OJR.js → message-circle-C4TonoBs.js} +1 -1
  237. package/dist/{cdn/chunks/nl-0JSWaZpT.js → nl-DCxuxwNq.js} +8 -2
  238. package/dist/{normalizeMergeTagMarkup-BS0nRvhq.js → normalizeMergeTagMarkup-Da9JAgx7.js} +75 -75
  239. package/dist/{package-C90eQ7NU.js → package-9OkiEO4S.js} +1 -1
  240. package/dist/{pencil-BK7GrQuA.js → pencil-M9vkOB7C.js} +1 -1
  241. package/dist/{plus-Cr0Mis63.js → plus-DxZiv9YC.js} +1 -1
  242. package/dist/{preRenderCustomBlocks-CiKvKd8V.js → preRenderCustomBlocks-CdqSp2P7.js} +4 -4
  243. package/dist/{cdn/chunks/pt-BR-D3VlIMDZ.js → pt-BR-CBkcrebr.js} +8 -2
  244. package/dist/{refresh-cw-_ZLOIEvA.js → refresh-cw-UY8_sdFG.js} +1 -1
  245. package/dist/{rotate-ccw-CB5wsHwv.js → rotate-ccw-BFTGCpHn.js} +1 -1
  246. package/dist/{sanitizeHtml-USjTyALR.js → sanitizeHtml-wBibnBF4.js} +6 -6
  247. package/dist/{search-BmrQNox8.js → search-RuGJnMEn.js} +1 -1
  248. package/dist/{send-blAsIBBg.js → send-DGB1ar02.js} +1 -1
  249. package/dist/{smartphone-BPpWYrwV.js → smartphone-CVA29CU_.js} +1 -1
  250. package/dist/{socialIcons-NvIg5ahU.js → socialIcons-oo4uL16Y.js} +427 -414
  251. package/dist/{sparkles-OqIxrNp-.js → sparkles-IHfEwEcd.js} +1 -1
  252. package/dist/{square-BP-V7iT-.js → square-_Cl44UU6.js} +1 -1
  253. package/dist/style.css +1 -1
  254. package/dist/templatical-editor.js +922 -925
  255. package/dist/{text-align-start-4mwX2o-F.js → text-align-start-Dqk2Xt_Q.js} +13 -13
  256. package/dist/{trash-B99WixTA.js → trash-Cr7rD5Hh.js} +1 -1
  257. package/dist/{triangle-alert-CHMiDkHa.js → triangle-alert-CKcpwtUj.js} +1 -1
  258. package/dist/{upload-Cp8o-hrN.js → upload-DR9pqVON.js} +1 -1
  259. package/dist/{useCloudI18n-Dh2iydo1.js → useCloudI18n-BczJoFf4.js} +1 -1
  260. package/dist/{useEditorRoot-DY3mgcHm.js → useEditorRoot-BcXKhM_8.js} +1 -1
  261. package/dist/{useI18n-CgtvtF4C.js → useI18n-zeWYtWSv.js} +1 -1
  262. package/dist/useLocalizedDisplay-Cbhx208c.js +31 -0
  263. package/dist/{useLogicTag-D8zgkXfb.js → useLogicTag-B4Zpk3eo.js} +4 -4
  264. package/dist/{useMergeTag-k7Kr0nMd.js → useMergeTag-B5qlq8px.js} +8 -8
  265. package/dist/{usePopoverPosition-VDQjyX_A.js → usePopoverPosition-Br3zt_MQ.js} +4 -4
  266. package/dist/{useScrollToBlock-B35ObCGK.js → useScrollToBlock-BfOzc1Z6.js} +2 -2
  267. package/dist/{withCurrentFont-Bzeg_gfH.js → withCurrentFont-m_PHcOD0.js} +1 -1
  268. package/dist/{x-BIBStNMS.js → x-DZSFHafL.js} +1 -1
  269. package/package.json +10 -10
  270. package/dist/BlockPreviewCanvas-C23A6FRm.js +0 -140
  271. package/dist/LanguageMenu-DcABUYop.js +0 -403
  272. package/dist/WrapperBlock-BAT3T0Cz.js +0 -44
  273. package/dist/cdn/chunks/BlockPreviewCanvas-Dr-xGq6v.js +0 -142
  274. package/dist/cdn/chunks/BlockPreviewCanvas-Dr-xGq6v.js.map +0 -1
  275. package/dist/cdn/chunks/LogicTagInsertButton-Bt2PXbQ0.js.map +0 -1
  276. package/dist/cdn/chunks/Toolbar-NEE8qxYh.js.map +0 -1
  277. package/dist/cdn/chunks/WrapperBlock-DFY-7YSs.js +0 -46
  278. package/dist/cdn/chunks/WrapperBlock-DFY-7YSs.js.map +0 -1
  279. package/dist/cdn/chunks/ca-DIkMxYCN.js.map +0 -1
  280. package/dist/cdn/chunks/composables-nyxwrM27.js +0 -3061
  281. package/dist/cdn/chunks/composables-nyxwrM27.js.map +0 -1
  282. package/dist/cdn/chunks/de-Cc6Ue0UD.js.map +0 -1
  283. package/dist/cdn/chunks/dist-DqGgijFI.js +0 -405
  284. package/dist/cdn/chunks/en-B6tLGRHq.js +0 -1
  285. package/dist/cdn/chunks/en-BX4FujAQ.js.map +0 -1
  286. package/dist/cdn/chunks/es-Do5b-MKU.js.map +0 -1
  287. package/dist/cdn/chunks/extensions-BcwkOjVq.js.map +0 -1
  288. package/dist/cdn/chunks/ja-DLwcq4bA.js.map +0 -1
  289. package/dist/cdn/chunks/keys-CoQtCqNv.js.map +0 -1
  290. package/dist/cdn/chunks/nl-0JSWaZpT.js.map +0 -1
  291. package/dist/cdn/chunks/normalizeMergeTagMarkup-BrGw5jxk.js.map +0 -1
  292. package/dist/cdn/chunks/pt-BR-D3VlIMDZ.js.map +0 -1
  293. package/dist/cdn/chunks/src-Diw9SLIe.js.map +0 -1
  294. package/dist/cdn/chunks/src-UR3AQocX.js +0 -683
  295. package/dist/cdn/chunks/src-UR3AQocX.js.map +0 -1
  296. package/dist/cdn/chunks/src-v47QHNmB.js.map +0 -1
  297. package/dist/dist-0alKVRc_.js +0 -406
  298. package/dist/en-Do0SU6tR.js +0 -1
  299. package/dist/useLocalizedDisplay-LdjosX4w.js +0 -31
@@ -1,31 +1,32 @@
1
1
  import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
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, m as y, mt as b, o as x, p as S, pt as C, s as w, tt as T, u as E, v as D, x as O } from "./draggable-DepKdldn.js";
3
- import { Cn as k, H as A, I as j, Lt as M, Sn as N, U as P, _t as F, cn as I, dn as ee, fn as L, g as te, gn as R, hn as ne, ln as re, un as ie, vn as ae } from "./src-v47QHNmB.js";
4
- import { F as oe, T as se, _ as ce, b as le, d as ue, f as de, g as fe, h as pe, i as me, l as he, m as ge, p as _e, r as ve, s as ye, u as be, v as xe } from "./socialIcons-B5zrrV8-.js";
5
- import { t as z } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
6
- import { $ as Se, At as Ce, Bt as we, H as B, It as Te, Mt as Ee, O as De, R as Oe, _ as ke, _t as Ae, c as je, et as Me, f as Ne, gt as Pe, h as Fe, it as Ie, lt as Le, rt as Re, t as ze, v as Be } from "./icons-Da9GKjPx.js";
7
- import { B as Ve, C as He, O as Ue, T as We, U as Ge, X as Ke, _ as qe, b as Je, h as Ye, ot as Xe, p as Ze, r as Qe, v as $e } from "./keys-CoQtCqNv.js";
8
- import { t as V } from "./useI18n-BnJYydPv.js";
9
- import { n as et } from "./useLocalizedDisplay-DekV8qar.js";
10
- import { t as tt } from "./languageName-DEEOhDWI.js";
11
- import { S as nt, _ as H, b as rt, c as it, g as U, h as W, r as at, v as G, y as ot } from "./styleConstants-CgiNKdnc.js";
12
- import { _ as st } from "./dist-BzXULHvI.js";
13
- import { c as ct, r as lt } from "./usePopoverPosition-BWAXWeBv.js";
14
- import { t as ut } from "./blockTypeIcons-Cc6RJ27V.js";
15
- import { n as K, t as dt } from "./MergeTagTextarea-w6xen3Xh.js";
16
- import { c as q } from "./LogicTagInsertButton-Bt2PXbQ0.js";
17
- import { t as J } from "./ToggleSwitch-BSkySwA1.js";
18
- import { n as ft, t as pt } from "./withCurrentFont-DZfmiv8V.js";
19
- import { t as Y } from "./MergeTagInput-BELdMRni.js";
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-DepKdldn.js";
3
+ import { n as A, t as j } from "./MergeTagTextarea-B2xxIU3e.js";
4
+ import { c as M } from "./LogicTagInsertButton-DvSVx2DB.js";
5
+ import { t as N } from "./MergeTagInput-DeuNH3re.js";
6
+ import { t as P } from "./ToggleSwitch-BSkySwA1.js";
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, v as V, y as ne } from "./styleConstants-CgiNKdnc.js";
8
+ import { $ as re, At as ie, Bt as ae, H, It as oe, Mt as se, O as ce, R as le, _ as ue, _t as de, c as fe, et as U, f as pe, gt as W, h as G, it as K, lt as q, rt as J, t as Y, v as X } from "./icons-DHExFLlT.js";
9
+ import { t as Z } from "./useI18n-D8s7HtTn.js";
10
+ import { Cn as me, H as he, I as ge, Rt as _e, W as ve, _n as Q, dn as ye, fn as be, g as xe, gn as Se, ln as Ce, pn as we, rn as Te, un as Ee, vt as De, wn as Oe, yn as ke } from "./src-mXG-Of9A.js";
11
+ import { n as Ae, t as je } from "./withCurrentFont-QqBilClC.js";
12
+ import { t as Me } from "./languageName-DEEOhDWI.js";
13
+ import { t as Ne } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
14
+ import { F as Pe, T as Fe, _ as Ie, b as Le, d as Re, f as ze, g as Be, h as Ve, i as He, l as Ue, m as We, p as Ge, r as Ke, s as qe, u as Je, v as Ye } from "./socialIcons-BFgc3qqJ.js";
15
+ import { B as Xe, C as Ze, H as Qe, O as $e, T as et, W as tt, Z as nt, _ as rt, b as it, h as at, p as ot, r as st, st as ct, v as lt } from "./keys-BUmIvYy3.js";
16
+ import { t as ut } from "./logger-CqQTfJGx.js";
17
+ import { c as dt, r as ft } from "./usePopoverPosition-esO6wjvU.js";
18
+ import { n as pt } from "./useLocalizedDisplay-Bgg4qpev.js";
19
+ import { _ as mt } from "./dist-BzXULHvI.js";
20
+ import { t as ht } from "./blockTypeIcons-CzYA5DF9.js";
20
21
  // src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
21
- var mt = [
22
+ var gt = [
22
23
  "aria-checked",
23
24
  "aria-label",
24
25
  "disabled",
25
26
  "aria-disabled",
26
27
  "title",
27
28
  "onClick"
28
- ], ht = { key: 1 }, X = /* @__PURE__ */ r({
29
+ ], _t = { key: 1 }, $ = /* @__PURE__ */ r({
29
30
  __name: "SlidingPillSelect",
30
31
  props: {
31
32
  options: {},
@@ -33,18 +34,18 @@ var mt = [
33
34
  },
34
35
  emits: ["update:modelValue"],
35
36
  setup(e, { emit: t }) {
36
- let r = e, a = t, o = S(() => r.options.findIndex((e) => e.value === r.modelValue)), s = S(() => `translateX(${Math.max(o.value, 0) * 100}%)`);
37
+ let r = e, a = t, o = C(() => r.options.findIndex((e) => e.value === r.modelValue)), s = C(() => `translateX(${Math.max(o.value, 0) * 100}%)`);
37
38
  return (t, r) => (i(), p("div", {
38
39
  role: "radiogroup",
39
40
  class: "tpl:relative tpl:grid tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1",
40
- style: C({
41
+ style: w({
41
42
  gridTemplateColumns: `repeat(${e.options.length}, 1fr)`,
42
43
  backgroundColor: "var(--tpl-bg-hover)"
43
44
  })
44
45
  }, [o.value >= 0 ? (i(), p("div", {
45
46
  key: 0,
46
47
  class: "tpl:absolute tpl:inset-y-1 tpl:rounded-[var(--tpl-radius-sm)]",
47
- style: C({
48
+ style: w({
48
49
  left: "4px",
49
50
  width: `calc((100% - 8px) / ${e.options.length})`,
50
51
  transform: s.value,
@@ -52,7 +53,7 @@ var mt = [
52
53
  boxShadow: "var(--tpl-shadow)",
53
54
  transition: "transform 120ms cubic-bezier(0.16, 1, 0.3, 1)"
54
55
  })
55
- }, null, 4)) : _("", !0), (i(!0), p(E, null, c(e.options, (t) => (i(), p("button", {
56
+ }, null, 4)) : _("", !0), (i(!0), p(D, null, c(e.options, (t) => (i(), p("button", {
56
57
  key: t.value,
57
58
  role: "radio",
58
59
  "aria-checked": e.modelValue === t.value,
@@ -60,7 +61,7 @@ var mt = [
60
61
  disabled: t.disabled,
61
62
  "aria-disabled": t.disabled ? "true" : void 0,
62
63
  class: "tpl:relative tpl:z-10 tpl:flex tpl:cursor-pointer tpl:disabled:cursor-not-allowed tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:py-[5px] tpl:text-xs tpl:font-medium",
63
- style: C({
64
+ style: w({
64
65
  color: t.disabled ? "var(--tpl-text-dim)" : e.modelValue === t.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
65
66
  transition: "color 120ms cubic-bezier(0.16, 1, 0.3, 1)"
66
67
  }),
@@ -70,14 +71,14 @@ var mt = [
70
71
  key: 0,
71
72
  size: 14,
72
73
  "stroke-width": 2
73
- })) : (i(), p("span", ht, b(t.label), 1))], 12, mt))), 128))], 4));
74
+ })) : (i(), p("span", _t, x(t.label), 1))], 12, gt))), 128))], 4));
74
75
  }
75
- }), gt = { class: "tpl:flex tpl:items-stretch" }, _t = [
76
+ }), vt = { class: "tpl:flex tpl:items-stretch" }, yt = [
76
77
  "data-testid",
77
78
  "value",
78
79
  "min",
79
80
  "max"
80
- ], Z = /* @__PURE__ */ r({
81
+ ], bt = /* @__PURE__ */ r({
81
82
  __name: "NumberWithSuffix",
82
83
  props: {
83
84
  modelValue: {},
@@ -93,22 +94,22 @@ var mt = [
93
94
  let t = e.target;
94
95
  t.validity?.badInput || n("update:modelValue", Number(t.value));
95
96
  }
96
- return (t, n) => (i(), p("div", gt, [y("input", {
97
+ return (t, n) => (i(), p("div", vt, [b("input", {
97
98
  type: "number",
98
99
  "data-testid": e.testid,
99
- class: g(h(U)),
100
+ class: g(h(z)),
100
101
  value: e.modelValue,
101
102
  min: e.min,
102
103
  max: e.max,
103
104
  onInput: r
104
- }, null, 42, _t), y("span", { class: g(h(H)) }, b(e.suffix), 3)]));
105
+ }, null, 42, yt), b("span", { class: g(h(L)) }, x(e.suffix), 3)]));
105
106
  }
106
- }), vt = [
107
+ }), xt = [
107
108
  "aria-pressed",
108
109
  "aria-label",
109
110
  "title",
110
111
  "data-testid"
111
- ], yt = /* @__PURE__ */ r({
112
+ ], St = /* @__PURE__ */ r({
112
113
  __name: "LinkToggle",
113
114
  props: {
114
115
  linked: { type: Boolean },
@@ -127,20 +128,20 @@ var mt = [
127
128
  title: e.linked ? e.unlinkLabel : e.linkLabel,
128
129
  "data-testid": e.testid,
129
130
  onClick: r[0] ||= (e) => n("toggle")
130
- }, [e.linked ? (i(), v(h(Le), {
131
+ }, [e.linked ? (i(), v(h(q), {
131
132
  key: 0,
132
133
  size: 14,
133
134
  "stroke-width": 2
134
- })) : (i(), v(h(je), {
135
+ })) : (i(), v(h(fe), {
135
136
  key: 1,
136
137
  size: 14,
137
138
  "stroke-width": 2
138
- }))], 10, vt));
139
+ }))], 10, xt));
139
140
  }
140
- }), bt = {
141
+ }), Ct = {
141
142
  key: 0,
142
143
  class: "tpl:mb-3.5"
143
- }, xt = { class: "tpl:mb-3.5" }, St = { class: "tpl:mb-3.5" }, Ct = /* @__PURE__ */ r({
144
+ }, wt = { class: "tpl:mb-3.5" }, Tt = { class: "tpl:mb-3.5" }, Et = /* @__PURE__ */ r({
144
145
  __name: "BorderControl",
145
146
  props: {
146
147
  path: {},
@@ -149,7 +150,7 @@ var mt = [
149
150
  },
150
151
  emits: ["update:modelValue"],
151
152
  setup(e, { emit: t }) {
152
- let n = e, r = t, { t: s } = V(), c = {
153
+ let n = e, r = t, { t: s } = Z(), c = {
153
154
  width: 0,
154
155
  style: "solid",
155
156
  color: "#000000"
@@ -157,38 +158,38 @@ var mt = [
157
158
  function l(e, t) {
158
159
  return e.width === t.width && e.style === t.style && e.color === t.color;
159
160
  }
160
- let u = S(() => {
161
+ let u = C(() => {
161
162
  let e = n.modelValue;
162
- return !e || R.every((t) => l(e[t], e.top));
163
- }), d = T(u.value);
163
+ return !e || Q.every((t) => l(e[t], e.top));
164
+ }), d = E(u.value);
164
165
  o(u, (e) => {
165
166
  !e && d.value && (d.value = !1);
166
167
  });
167
- let f = T("top"), m = S(() => n.modelValue?.[d.value ? "top" : f.value] ?? c), x = (e) => !!e && e.width > 0;
168
- function C(e) {
168
+ let f = E("top"), m = C(() => n.modelValue?.[d.value ? "top" : f.value] ?? c), y = (e) => !!e && e.width > 0;
169
+ function S(e) {
169
170
  if (d.value) {
170
- r("update:modelValue", x(e) ? k(e) : void 0);
171
+ r("update:modelValue", y(e) ? Oe(e) : void 0);
171
172
  return;
172
173
  }
173
174
  let t = {
174
- ...n.modelValue ?? k(c),
175
+ ...n.modelValue ?? Oe(c),
175
176
  [f.value]: e
176
- }, i = R.some((e) => x(t[e]));
177
+ }, i = Q.some((e) => y(t[e]));
177
178
  r("update:modelValue", i ? t : void 0);
178
179
  }
179
180
  function w(e) {
180
- C({
181
+ S({
181
182
  ...m.value,
182
183
  width: e > 0 ? e : 0
183
184
  });
184
185
  }
185
- function D(e) {
186
- C({
186
+ function T(e) {
187
+ S({
187
188
  ...m.value,
188
189
  ...e
189
190
  });
190
191
  }
191
- function A() {
192
+ function O() {
192
193
  if (d.value) {
193
194
  d.value = !1;
194
195
  return;
@@ -196,23 +197,23 @@ var mt = [
196
197
  d.value = !0;
197
198
  let e = n.modelValue;
198
199
  if (!e) return;
199
- let t = x(e[f.value]) ? e[f.value] : R.map((t) => e[t]).find(x);
200
- r("update:modelValue", t ? k(t) : void 0);
200
+ let t = y(e[f.value]) ? e[f.value] : Q.map((t) => e[t]).find(y);
201
+ r("update:modelValue", t ? Oe(t) : void 0);
201
202
  }
202
- let j = S(() => R.map((e) => ({
203
+ let j = C(() => Q.map((e) => ({
203
204
  value: e,
204
205
  label: s.spacingControl[e]
205
206
  })));
206
- return (t, n) => (i(), v(K, {
207
+ return (t, n) => (i(), v(A, {
207
208
  path: e.path,
208
209
  label: h(s).blockSettings.border
209
210
  }, {
210
- "label-actions": a(() => [O(yt, {
211
+ "label-actions": a(() => [k(St, {
211
212
  linked: d.value,
212
213
  "link-label": h(s).blockSettings.linkSides,
213
214
  "unlink-label": h(s).blockSettings.unlinkSides,
214
215
  testid: `${e.testidPrefix}-border-link`,
215
- onToggle: A
216
+ onToggle: O
216
217
  }, null, 8, [
217
218
  "linked",
218
219
  "link-label",
@@ -220,19 +221,19 @@ var mt = [
220
221
  "testid"
221
222
  ])]),
222
223
  default: a(() => [
223
- d.value ? _("", !0) : (i(), p("div", bt, [y("label", { class: g(h(G)) }, b(h(s).blockSettings.borderSide), 3), O(X, {
224
+ d.value ? _("", !0) : (i(), p("div", Ct, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderSide), 3), k($, {
224
225
  options: j.value,
225
226
  "model-value": f.value,
226
227
  "onUpdate:modelValue": n[0] ||= (e) => f.value = e
227
228
  }, null, 8, ["options", "model-value"])])),
228
- y("div", xt, [y("label", { class: g(h(G)) }, b(h(s).blockSettings.borderWidth), 3), O(Z, {
229
+ b("div", wt, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderWidth), 3), k(bt, {
229
230
  "model-value": m.value.width,
230
231
  min: 0,
231
232
  suffix: "px",
232
233
  testid: `${e.testidPrefix}-border-width-input`,
233
234
  "onUpdate:modelValue": w
234
235
  }, null, 8, ["model-value", "testid"])]),
235
- m.value.width > 0 ? (i(), p(E, { key: 1 }, [y("div", St, [y("label", { class: g(h(G)) }, b(h(s).blockSettings.borderStyle), 3), O(X, {
236
+ m.value.width > 0 ? (i(), p(D, { key: 1 }, [b("div", Tt, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderStyle), 3), k($, {
236
237
  options: [
237
238
  {
238
239
  value: "solid",
@@ -248,19 +249,19 @@ var mt = [
248
249
  }
249
250
  ],
250
251
  "model-value": m.value.style,
251
- "onUpdate:modelValue": n[1] ||= (e) => D({ style: e })
252
- }, null, 8, ["options", "model-value"])]), y("div", null, [y("label", { class: g(h(G)) }, b(h(s).blockSettings.borderColor), 3), O(q, {
252
+ "onUpdate:modelValue": n[1] ||= (e) => T({ style: e })
253
+ }, null, 8, ["options", "model-value"])]), b("div", null, [b("label", { class: g(h(V)) }, x(h(s).blockSettings.borderColor), 3), k(M, {
253
254
  "model-value": m.value.color,
254
- "onUpdate:modelValue": n[2] ||= (e) => D({ color: e })
255
+ "onUpdate:modelValue": n[2] ||= (e) => T({ color: e })
255
256
  }, null, 8, ["model-value"])])], 64)) : _("", !0)
256
257
  ]),
257
258
  _: 1
258
259
  }, 8, ["path", "label"]));
259
260
  }
260
- }), wt = {
261
+ }), Dt = {
261
262
  key: 1,
262
263
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
263
- }, Tt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Et = /* @__PURE__ */ r({
264
+ }, Ot = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, kt = /* @__PURE__ */ r({
264
265
  __name: "RadiusControl",
265
266
  props: {
266
267
  path: {},
@@ -271,7 +272,7 @@ var mt = [
271
272
  },
272
273
  emits: ["update:modelValue"],
273
274
  setup(e, { emit: t }) {
274
- let n = e, r = t, { t: s } = V(), l = {
275
+ let n = e, r = t, { t: s } = Z(), l = {
275
276
  topLeft: "cornerTopLeft",
276
277
  topRight: "cornerTopRight",
277
278
  bottomRight: "cornerBottomRight",
@@ -281,7 +282,7 @@ var mt = [
281
282
  "topRight",
282
283
  "bottomLeft",
283
284
  "bottomRight"
284
- ], d = S(() => {
285
+ ], d = C(() => {
285
286
  let e = n.modelValue ?? 0;
286
287
  return typeof e == "number" ? {
287
288
  topLeft: e,
@@ -289,7 +290,7 @@ var mt = [
289
290
  bottomRight: e,
290
291
  bottomLeft: e
291
292
  } : e;
292
- }), f = S(() => ne.every((e) => d.value[e] === d.value.topLeft)), m = T(f.value);
293
+ }), f = C(() => Se.every((e) => d.value[e] === d.value.topLeft)), m = E(f.value);
293
294
  o(f, (e) => {
294
295
  !e && m.value && (m.value = !1);
295
296
  });
@@ -299,32 +300,32 @@ var mt = [
299
300
  function _(e) {
300
301
  g(e) && r("update:modelValue", e);
301
302
  }
302
- function x(e, t) {
303
+ function y(e, t) {
303
304
  g(t) && r("update:modelValue", {
304
305
  ...d.value,
305
306
  [e]: t
306
307
  });
307
308
  }
308
- function C() {
309
+ function S() {
309
310
  m.value = !m.value, m.value && r("update:modelValue", d.value.topLeft);
310
311
  }
311
- return (t, n) => (i(), v(K, {
312
+ return (t, n) => (i(), v(A, {
312
313
  path: e.path,
313
314
  label: e.label
314
315
  }, {
315
- "label-actions": a(() => [O(yt, {
316
+ "label-actions": a(() => [k(St, {
316
317
  linked: m.value,
317
318
  "link-label": h(s).blockSettings.linkCorners,
318
319
  "unlink-label": h(s).blockSettings.unlinkCorners,
319
320
  testid: `${e.testidPrefix}-border-radius-link`,
320
- onToggle: C
321
+ onToggle: S
321
322
  }, null, 8, [
322
323
  "linked",
323
324
  "link-label",
324
325
  "unlink-label",
325
326
  "testid"
326
327
  ])]),
327
- default: a(() => [m.value ? (i(), v(Z, {
328
+ default: a(() => [m.value ? (i(), v(bt, {
328
329
  key: 0,
329
330
  "model-value": d.value.topLeft,
330
331
  min: 0,
@@ -336,13 +337,13 @@ var mt = [
336
337
  "model-value",
337
338
  "max",
338
339
  "testid"
339
- ])) : (i(), p("div", wt, [(i(), p(E, null, c(u, (t) => y("div", { key: t }, [y("label", Tt, b(h(s).blockSettings[l[t]]), 1), O(Z, {
340
+ ])) : (i(), p("div", Dt, [(i(), p(D, null, c(u, (t) => b("div", { key: t }, [b("label", Ot, x(h(s).blockSettings[l[t]]), 1), k(bt, {
340
341
  "model-value": d.value[t],
341
342
  min: 0,
342
343
  max: e.max,
343
344
  suffix: "px",
344
345
  testid: `${e.testidPrefix}-border-radius-${t}-input`,
345
- "onUpdate:modelValue": (e) => x(t, e)
346
+ "onUpdate:modelValue": (e) => y(t, e)
346
347
  }, null, 8, [
347
348
  "model-value",
348
349
  "max",
@@ -352,10 +353,10 @@ var mt = [
352
353
  _: 1
353
354
  }, 8, ["path", "label"]));
354
355
  }
355
- }), Dt = ["value"], Ot = { value: "" }, kt = ["value"], At = { class: "tpl:flex tpl:items-stretch" }, jt = ["value"], Mt = ["value"], Nt = { value: "auto" }, Pt = { value: "full" }, Ft = { value: "custom" }, It = {
356
+ }), At = ["value"], jt = { value: "" }, Mt = ["value"], Nt = { class: "tpl:flex tpl:items-stretch" }, Pt = ["value"], Ft = ["value"], It = { value: "auto" }, Lt = { value: "full" }, Rt = { value: "custom" }, zt = {
356
357
  key: 0,
357
358
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
358
- }, Lt = ["value"], Rt = 200, zt = /* @__PURE__ */ r({
359
+ }, Bt = ["value"], Vt = 200, Ht = /* @__PURE__ */ r({
359
360
  __name: "ButtonToolbar",
360
361
  props: {
361
362
  block: {},
@@ -363,12 +364,12 @@ var mt = [
363
364
  },
364
365
  emits: ["update"],
365
366
  setup(e, { emit: t }) {
366
- let n = e, r = t, { t: o } = V(), s = S(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
367
+ let n = e, r = t, { t: o } = Z(), s = C(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
367
368
  function l(e, t) {
368
369
  r("update", { [e]: t });
369
370
  }
370
371
  function u(e) {
371
- e === "full" ? l("width", "full") : e === "custom" ? l("width", typeof n.block.width == "number" ? n.block.width : Rt) : l("width", void 0);
372
+ e === "full" ? l("width", "full") : e === "custom" ? l("width", typeof n.block.width == "number" ? n.block.width : Vt) : l("width", void 0);
372
373
  }
373
374
  function d(e) {
374
375
  l("fontWeight", e === "bold" ? void 0 : e);
@@ -377,50 +378,50 @@ var mt = [
377
378
  let t = Number(e);
378
379
  !Number.isFinite(t) || t <= 0 || l("width", t);
379
380
  }
380
- return (t, n) => (i(), p(E, null, [
381
- O(K, {
381
+ return (t, n) => (i(), p(D, null, [
382
+ k(A, {
382
383
  label: h(o).button.fontFamily,
383
384
  class: "tpl:mb-3.5",
384
385
  path: "fontFamily"
385
386
  }, {
386
- default: a(() => [y("select", {
387
- class: g(h(W)),
388
- value: h(pt)(e.block.fontFamily),
387
+ default: a(() => [b("select", {
388
+ class: g(h(B)),
389
+ value: h(je)(e.block.fontFamily),
389
390
  onChange: n[0] ||= (e) => l("fontFamily", e.target.value || void 0)
390
- }, [y("option", Ot, b(h(o).button.inheritFont), 1), (i(!0), p(E, null, c(e.fontFamilies, (e) => (i(), p("option", {
391
+ }, [b("option", jt, x(h(o).button.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
391
392
  key: e.value,
392
393
  value: e.value
393
- }, b(e.label), 9, kt))), 128))], 42, Dt)]),
394
+ }, x(e.label), 9, Mt))), 128))], 42, At)]),
394
395
  _: 1
395
396
  }, 8, ["label"]),
396
- O(K, {
397
+ k(A, {
397
398
  label: h(o).button.text,
398
399
  class: "tpl:mb-3.5",
399
400
  path: "text"
400
401
  }, {
401
- default: a(() => [O(Y, {
402
+ default: a(() => [k(N, {
402
403
  "model-value": e.block.text,
403
404
  type: "text",
404
405
  "onUpdate:modelValue": n[1] ||= (e) => l("text", e)
405
406
  }, null, 8, ["model-value"])]),
406
407
  _: 1
407
408
  }, 8, ["label"]),
408
- O(K, {
409
+ k(A, {
409
410
  label: h(o).button.url,
410
411
  class: "tpl:mb-3.5",
411
412
  path: "url"
412
413
  }, {
413
- default: a(() => [O(Y, {
414
+ default: a(() => [k(N, {
414
415
  "model-value": e.block.url,
415
416
  type: "url",
416
417
  placeholder: h(o).button.urlPlaceholder,
417
418
  "onUpdate:modelValue": n[2] ||= (e) => l("url", e)
418
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (i(), v(K, {
419
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (i(), v(A, {
419
420
  key: 0,
420
421
  path: "openInNewTab",
421
422
  label: h(o).button.openInNewTab
422
423
  }, {
423
- "label-actions": a(({ controlId: t }) => [O(J, {
424
+ "label-actions": a(({ controlId: t }) => [k(P, {
424
425
  "control-id": t,
425
426
  "hide-label": "",
426
427
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -436,36 +437,36 @@ var mt = [
436
437
  }, 8, ["label"])) : _("", !0)]),
437
438
  _: 1
438
439
  }, 8, ["label"]),
439
- O(K, {
440
+ k(A, {
440
441
  label: h(o).button.background,
441
442
  class: "tpl:mb-3.5",
442
443
  path: "backgroundColor"
443
444
  }, {
444
- default: a(() => [O(q, {
445
+ default: a(() => [k(M, {
445
446
  "model-value": e.block.backgroundColor,
446
447
  "allow-transparent": "",
447
448
  "onUpdate:modelValue": n[4] ||= (e) => l("backgroundColor", e)
448
449
  }, null, 8, ["model-value"])]),
449
450
  _: 1
450
451
  }, 8, ["label"]),
451
- O(K, {
452
+ k(A, {
452
453
  label: h(o).button.textColor,
453
454
  class: "tpl:mb-3.5",
454
455
  path: "textColor"
455
456
  }, {
456
- default: a(() => [O(q, {
457
+ default: a(() => [k(M, {
457
458
  "model-value": e.block.textColor,
458
459
  "onUpdate:modelValue": n[5] ||= (e) => l("textColor", e)
459
460
  }, null, 8, ["model-value"])]),
460
461
  _: 1
461
462
  }, 8, ["label"]),
462
- O(Ct, {
463
+ k(Et, {
463
464
  path: "border",
464
465
  "model-value": e.block.border,
465
466
  "testid-prefix": "button",
466
467
  "onUpdate:modelValue": n[6] ||= (e) => l("border", e)
467
468
  }, null, 8, ["model-value"]),
468
- O(Et, {
469
+ k(kt, {
469
470
  path: "borderRadius",
470
471
  "model-value": e.block.borderRadius,
471
472
  label: h(o).button.borderRadius,
@@ -473,27 +474,27 @@ var mt = [
473
474
  "testid-prefix": "button",
474
475
  "onUpdate:modelValue": n[7] ||= (e) => l("borderRadius", e)
475
476
  }, null, 8, ["model-value", "label"]),
476
- O(K, {
477
+ k(A, {
477
478
  label: h(o).button.fontSize,
478
479
  class: "tpl:mb-3.5",
479
480
  path: "fontSize"
480
481
  }, {
481
- default: a(() => [y("div", At, [y("input", {
482
+ default: a(() => [b("div", Nt, [b("input", {
482
483
  type: "number",
483
- class: g(h(U)),
484
+ class: g(h(z)),
484
485
  value: e.block.fontSize,
485
486
  min: "10",
486
487
  max: "36",
487
488
  onInput: n[8] ||= (e) => l("fontSize", Number(e.target.value))
488
- }, null, 42, jt), y("span", { class: g(h(H)) }, "px", 2)])]),
489
+ }, null, 42, Pt), b("span", { class: g(h(L)) }, "px", 2)])]),
489
490
  _: 1
490
491
  }, 8, ["label"]),
491
- O(K, {
492
+ k(A, {
492
493
  label: h(o).button.fontWeight,
493
494
  class: "tpl:mb-3.5",
494
495
  path: "fontWeight"
495
496
  }, {
496
- default: a(() => [O(X, {
497
+ default: a(() => [k($, {
497
498
  options: [
498
499
  {
499
500
  value: "regular",
@@ -513,34 +514,34 @@ var mt = [
513
514
  }, null, 8, ["options", "model-value"])]),
514
515
  _: 1
515
516
  }, 8, ["label"]),
516
- O(K, {
517
+ k(A, {
517
518
  label: h(o).button.width,
518
519
  class: "tpl:mb-3.5",
519
520
  path: "width"
520
521
  }, {
521
- default: a(() => [y("select", {
522
- class: g(h(W)),
522
+ default: a(() => [b("select", {
523
+ class: g(h(B)),
523
524
  value: s.value,
524
525
  onChange: n[9] ||= (e) => u(e.target.value)
525
526
  }, [
526
- y("option", Nt, b(h(o).button.widthAuto), 1),
527
- y("option", Pt, b(h(o).button.fullWidth), 1),
528
- y("option", Ft, b(h(o).button.widthCustom), 1)
529
- ], 42, Mt), s.value === "custom" ? (i(), p("div", It, [y("input", {
527
+ b("option", It, x(h(o).button.widthAuto), 1),
528
+ b("option", Lt, x(h(o).button.fullWidth), 1),
529
+ b("option", Rt, x(h(o).button.widthCustom), 1)
530
+ ], 42, Ft), s.value === "custom" ? (i(), p("div", zt, [b("input", {
530
531
  type: "number",
531
- class: g(h(U)),
532
- value: typeof e.block.width == "number" ? e.block.width : Rt,
532
+ class: g(h(z)),
533
+ value: typeof e.block.width == "number" ? e.block.width : Vt,
533
534
  min: "20",
534
535
  onInput: n[10] ||= (e) => f(e.target.value)
535
- }, null, 42, Lt), y("span", { class: g(h(H)) }, "px", 2)])) : _("", !0)]),
536
+ }, null, 42, Bt), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
536
537
  _: 1
537
538
  }, 8, ["label"]),
538
- O(K, {
539
+ k(A, {
539
540
  label: h(o).title.align,
540
541
  class: "tpl:mb-3.5",
541
542
  path: "align"
542
543
  }, {
543
- default: a(() => [O(X, {
544
+ default: a(() => [k($, {
544
545
  options: [
545
546
  {
546
547
  value: "left",
@@ -562,7 +563,7 @@ var mt = [
562
563
  }, 8, ["label"])
563
564
  ], 64));
564
565
  }
565
- }), Bt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Vt = { class: "tpl:flex tpl:items-center" }, Ht = ["aria-label"], Ut = ["value", "aria-label"], Wt = ["aria-label"], Gt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Kt = { class: "tpl:flex tpl:items-center" }, qt = ["aria-label"], Jt = ["value", "aria-label"], Yt = ["aria-label"], Xt = ["aria-label", "title"], Zt = { class: "tpl:flex tpl:items-center" }, Qt = ["aria-label"], $t = ["value", "aria-label"], en = ["aria-label"], tn = { class: "tpl:flex tpl:items-center" }, nn = ["aria-label"], rn = ["value", "aria-label"], an = ["aria-label"], Q = "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)]", on = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", sn = /*#__PURE__*/ z(/* @__PURE__ */ r({
566
+ }), Ut = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Wt = { class: "tpl:flex tpl:items-center" }, Gt = ["aria-label"], Kt = ["value", "aria-label"], qt = ["aria-label"], Jt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Yt = { class: "tpl:flex tpl:items-center" }, Xt = ["aria-label"], Zt = ["value", "aria-label"], Qt = ["aria-label"], $t = ["aria-label", "title"], en = { class: "tpl:flex tpl:items-center" }, tn = ["aria-label"], nn = ["value", "aria-label"], rn = ["aria-label"], an = { class: "tpl:flex tpl:items-center" }, on = ["aria-label"], sn = ["value", "aria-label"], cn = ["aria-label"], ln = "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)]", un = "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)]", dn = /*#__PURE__*/ Ne(/* @__PURE__ */ r({
566
567
  __name: "SpacingControl",
567
568
  props: {
568
569
  path: {},
@@ -571,7 +572,7 @@ var mt = [
571
572
  },
572
573
  emits: ["update:modelValue"],
573
574
  setup(e, { emit: t }) {
574
- let n = e, r = t, { t: s } = V(), c = S(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), l = T(c.value);
575
+ let n = e, r = t, { t: s } = Z(), c = C(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), l = E(c.value);
575
576
  o(c, (e) => {
576
577
  !e && l.value && (l.value = !1);
577
578
  });
@@ -610,131 +611,131 @@ var mt = [
610
611
  });
611
612
  }
612
613
  }
613
- return (t, n) => (i(), v(K, {
614
+ return (t, n) => (i(), v(A, {
614
615
  class: "spacing-control",
615
616
  path: e.path,
616
617
  label: e.label
617
618
  }, {
618
- default: a(() => [y("div", Bt, [
619
- y("div", Vt, [
620
- y("button", {
619
+ default: a(() => [b("div", Ut, [
620
+ b("div", Wt, [
621
+ b("button", {
621
622
  "aria-label": h(s).spacingControl.decreaseTop,
622
- class: g([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
623
+ class: g([ln, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
623
624
  onClick: n[0] ||= (e) => u("top", -1)
624
- }, [O(h(Me), {
625
+ }, [k(h(U), {
625
626
  size: 12,
626
627
  "stroke-width": 2
627
- })], 10, Ht),
628
- y("input", {
628
+ })], 10, Gt),
629
+ b("input", {
629
630
  type: "number",
630
- class: g(on),
631
+ class: g(un),
631
632
  value: e.modelValue.top,
632
633
  "aria-label": h(s).spacingControl.top,
633
634
  min: "0",
634
635
  onInput: n[1] ||= (e) => d("top", Number(e.target.value))
635
- }, null, 40, Ut),
636
- y("button", {
636
+ }, null, 40, Kt),
637
+ b("button", {
637
638
  "aria-label": h(s).spacingControl.increaseTop,
638
- class: g([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
639
+ class: g([ln, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
639
640
  onClick: n[2] ||= (e) => u("top", 1)
640
- }, [O(h(B), {
641
+ }, [k(h(H), {
641
642
  size: 12,
642
643
  "stroke-width": 2
643
- })], 10, Wt)
644
+ })], 10, qt)
644
645
  ]),
645
- y("div", Gt, [
646
- y("div", Kt, [
647
- y("button", {
646
+ b("div", Jt, [
647
+ b("div", Yt, [
648
+ b("button", {
648
649
  "aria-label": h(s).spacingControl.decreaseLeft,
649
- class: g([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
650
+ class: g([ln, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
650
651
  onClick: n[3] ||= (e) => u("left", -1)
651
- }, [O(h(Me), {
652
+ }, [k(h(U), {
652
653
  size: 12,
653
654
  "stroke-width": 2
654
- })], 10, qt),
655
- y("input", {
655
+ })], 10, Xt),
656
+ b("input", {
656
657
  type: "number",
657
- class: g(on),
658
+ class: g(un),
658
659
  value: e.modelValue.left,
659
660
  "aria-label": h(s).spacingControl.left,
660
661
  min: "0",
661
662
  onInput: n[4] ||= (e) => d("left", Number(e.target.value))
662
- }, null, 40, Jt),
663
- y("button", {
663
+ }, null, 40, Zt),
664
+ b("button", {
664
665
  "aria-label": h(s).spacingControl.increaseLeft,
665
- class: g([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
666
+ class: g([ln, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
666
667
  onClick: n[5] ||= (e) => u("left", 1)
667
- }, [O(h(B), {
668
+ }, [k(h(H), {
668
669
  size: 12,
669
670
  "stroke-width": 2
670
- })], 10, Yt)
671
+ })], 10, Qt)
671
672
  ]),
672
- y("button", {
673
+ b("button", {
673
674
  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)]"]),
674
675
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
675
676
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
676
677
  onClick: f
677
- }, [l.value ? (i(), v(h(Re), {
678
+ }, [l.value ? (i(), v(h(J), {
678
679
  key: 0,
679
680
  size: 14,
680
681
  "stroke-width": 2
681
- })) : (i(), v(h(Ie), {
682
+ })) : (i(), v(h(K), {
682
683
  key: 1,
683
684
  size: 14,
684
685
  "stroke-width": 2
685
- }))], 10, Xt),
686
- y("div", Zt, [
687
- y("button", {
686
+ }))], 10, $t),
687
+ b("div", en, [
688
+ b("button", {
688
689
  "aria-label": h(s).spacingControl.decreaseRight,
689
- class: g([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
690
+ class: g([ln, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
690
691
  onClick: n[6] ||= (e) => u("right", -1)
691
- }, [O(h(Me), {
692
+ }, [k(h(U), {
692
693
  size: 12,
693
694
  "stroke-width": 2
694
- })], 10, Qt),
695
- y("input", {
695
+ })], 10, tn),
696
+ b("input", {
696
697
  type: "number",
697
- class: g(on),
698
+ class: g(un),
698
699
  value: e.modelValue.right,
699
700
  "aria-label": h(s).spacingControl.right,
700
701
  min: "0",
701
702
  onInput: n[7] ||= (e) => d("right", Number(e.target.value))
702
- }, null, 40, $t),
703
- y("button", {
703
+ }, null, 40, nn),
704
+ b("button", {
704
705
  "aria-label": h(s).spacingControl.increaseRight,
705
- class: g([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
706
+ class: g([ln, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
706
707
  onClick: n[8] ||= (e) => u("right", 1)
707
- }, [O(h(B), {
708
+ }, [k(h(H), {
708
709
  size: 12,
709
710
  "stroke-width": 2
710
- })], 10, en)
711
+ })], 10, rn)
711
712
  ])
712
713
  ]),
713
- y("div", tn, [
714
- y("button", {
714
+ b("div", an, [
715
+ b("button", {
715
716
  "aria-label": h(s).spacingControl.decreaseBottom,
716
- class: g([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
717
+ class: g([ln, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
717
718
  onClick: n[9] ||= (e) => u("bottom", -1)
718
- }, [O(h(Me), {
719
+ }, [k(h(U), {
719
720
  size: 12,
720
721
  "stroke-width": 2
721
- })], 10, nn),
722
- y("input", {
722
+ })], 10, on),
723
+ b("input", {
723
724
  type: "number",
724
- class: g(on),
725
+ class: g(un),
725
726
  value: e.modelValue.bottom,
726
727
  "aria-label": h(s).spacingControl.bottom,
727
728
  min: "0",
728
729
  onInput: n[10] ||= (e) => d("bottom", Number(e.target.value))
729
- }, null, 40, rn),
730
- y("button", {
730
+ }, null, 40, sn),
731
+ b("button", {
731
732
  "aria-label": h(s).spacingControl.increaseBottom,
732
- class: g([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
733
+ class: g([ln, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
733
734
  onClick: n[11] ||= (e) => u("bottom", 1)
734
- }, [O(h(B), {
735
+ }, [k(h(H), {
735
736
  size: 12,
736
737
  "stroke-width": 2
737
- })], 10, an)
738
+ })], 10, cn)
738
739
  ])
739
740
  ])]),
740
741
  _: 1
@@ -742,19 +743,19 @@ var mt = [
742
743
  }
743
744
  }), [["__scopeId", "data-v-94c2e6ff"]]);
744
745
  // src/composables/useNaturalImageSize.ts
745
- function cn(e) {
746
- let t = T(null), n = () => {};
746
+ function fn(e) {
747
+ let t = E(null), n = () => {};
747
748
  return o(e, (e) => {
748
- n(), t.value = null, e && (n = _e(e, (e) => {
749
+ n(), t.value = null, e && (n = Ge(e, (e) => {
749
750
  t.value = e;
750
751
  }));
751
752
  }, { immediate: !0 }), t;
752
753
  }
753
- function ln() {
754
- let e = l(He, null);
755
- return async (t) => ge(e ? await un(e, t) : t);
754
+ function pn() {
755
+ let e = l(Ze, null);
756
+ return async (t) => We(e ? await mn(e, t) : t);
756
757
  }
757
- function un(e, t) {
758
+ function mn(e, t) {
758
759
  let n = (e) => typeof e == "string" && e.length > 0 ? e : t;
759
760
  e.lookup(t);
760
761
  let r = e.get(t);
@@ -765,13 +766,13 @@ function un(e, t) {
765
766
  }) : Promise.resolve(n(r));
766
767
  }
767
768
  // src/components/toolbar/BackgroundImageControl.vue?vue&type=script&setup=true&lang.ts
768
- var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"], mn = ["data-testid"], hn = ["aria-label", "data-testid"], gn = [
769
+ var hn = { class: "tpl:space-y-3.5" }, gn = ["data-testid"], _n = ["data-testid"], vn = ["data-testid"], yn = ["aria-label", "data-testid"], bn = [
769
770
  "aria-label",
770
771
  "title",
771
772
  "aria-pressed",
772
773
  "data-testid",
773
774
  "onClick"
774
- ], _n = ["data-testid"], vn = /* @__PURE__ */ r({
775
+ ], xn = ["data-testid"], Sn = /* @__PURE__ */ r({
775
776
  __name: "BackgroundImageControl",
776
777
  props: {
777
778
  hideLabel: { type: Boolean },
@@ -782,36 +783,36 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
782
783
  },
783
784
  emits: ["update:modelValue"],
784
785
  setup(e, { emit: t }) {
785
- let n = e, r = t, { t: a } = V(), o = l(Ve, A.liquid), s = S(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = S(() => s.value.trim() !== ""), f = ln(), x;
786
- u(() => clearTimeout(x));
787
- function C(e) {
788
- n.measure && !P(e, o) && (x = setTimeout(async () => {
786
+ let n = e, r = t, { t: a } = Z(), o = l(Xe, he.liquid), s = C(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = C(() => s.value.trim() !== ""), f = pn(), y;
787
+ u(() => clearTimeout(y));
788
+ function S(e) {
789
+ n.measure && !ve(e, o) && (y = setTimeout(async () => {
789
790
  let t = await f(e), i = n.modelValue;
790
791
  t && i?.url === e && r("update:modelValue", {
791
792
  ...i,
792
- ...pe(t)
793
+ ...Ve(t)
793
794
  });
794
795
  }, 300));
795
796
  }
796
797
  function w(e, t = null) {
797
- if (clearTimeout(x), e.trim() === "") {
798
+ if (clearTimeout(y), e.trim() === "") {
798
799
  r("update:modelValue", void 0);
799
800
  return;
800
801
  }
801
- let { naturalWidth: i, naturalHeight: a, ...o } = n.modelValue ?? L(e), s = n.measure ? t : null;
802
+ let { naturalWidth: i, naturalHeight: a, ...o } = n.modelValue ?? we(e), s = n.measure ? t : null;
802
803
  r("update:modelValue", {
803
804
  ...o,
804
805
  url: e,
805
- ...s ? pe(s) : {}
806
- }), s || C(e);
806
+ ...s ? Ve(s) : {}
807
+ }), s || S(e);
807
808
  }
808
- function D(e) {
809
+ function T(e) {
809
810
  n.modelValue && r("update:modelValue", {
810
811
  ...n.modelValue,
811
812
  ...e
812
813
  });
813
814
  }
814
- let k = S(() => [
815
+ let O = C(() => [
815
816
  {
816
817
  value: "cover",
817
818
  label: a.blockSettings.backgroundSizeCover
@@ -824,7 +825,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
824
825
  value: "auto",
825
826
  label: a.blockSettings.backgroundSizeAuto
826
827
  }
827
- ]), j = S(() => ({
828
+ ]), A = C(() => ({
828
829
  "top-left": a.blockSettings.backgroundPositionTopLeft,
829
830
  "top-center": a.blockSettings.backgroundPositionTopCenter,
830
831
  "top-right": a.blockSettings.backgroundPositionTopRight,
@@ -834,33 +835,33 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
834
835
  "bottom-left": a.blockSettings.backgroundPositionBottomLeft,
835
836
  "bottom-center": a.blockSettings.backgroundPositionBottomCenter,
836
837
  "bottom-right": a.blockSettings.backgroundPositionBottomRight
837
- })), M = S(() => ee.flatMap((e) => ie.map((t) => ({
838
+ })), j = C(() => be.flatMap((e) => ye.map((t) => ({
838
839
  x: t,
839
840
  y: e,
840
- label: j.value[`${e}-${t}`]
841
+ label: A.value[`${e}-${t}`]
841
842
  }))));
842
- function N(e) {
843
+ function M(e) {
843
844
  return n.modelValue?.position?.x === e.x && n.modelValue?.position?.y === e.y;
844
845
  }
845
- let F = T(), { canBrowse: I, isUploading: te, showOverlay: R, openMediaBrowser: ne } = be({
846
+ let F = E(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = Je({
846
847
  target: F,
847
- blocked: () => P(s.value, o),
848
- apply: (e) => w(e.url, ce(e.width, e.height))
848
+ blocked: () => ve(s.value, o),
849
+ apply: (e) => w(e.url, Ie(e.width, e.height))
849
850
  });
850
- return (t, n) => (i(), p("div", dn, [y("div", null, [e.hideLabel ? _("", !0) : (i(), p("label", {
851
+ return (t, n) => (i(), p("div", hn, [b("div", null, [e.hideLabel ? _("", !0) : (i(), p("label", {
851
852
  key: 0,
852
- class: g(h(G))
853
- }, b(h(a).blockSettings.backgroundImage), 3)), y("div", {
853
+ class: g(h(V))
854
+ }, x(h(a).blockSettings.backgroundImage), 3)), b("div", {
854
855
  ref_key: "dropZoneRef",
855
856
  ref: F,
856
857
  class: "tpl:relative",
857
858
  "data-testid": `${e.testidPrefix}-bg-url`
858
859
  }, [
859
- h(R) ? (i(), v(de, {
860
+ h(ee) ? (i(), v(ze, {
860
861
  key: 0,
861
- uploading: h(te)
862
+ uploading: h(L)
862
863
  }, null, 8, ["uploading"])) : _("", !0),
863
- O(Y, {
864
+ k(N, {
864
865
  "model-value": s.value,
865
866
  type: "url",
866
867
  placeholder: h(a).blockSettings.backgroundImagePlaceholder,
@@ -876,50 +877,50 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
876
877
  color: "var(--tpl-primary)",
877
878
  "background-color": "var(--tpl-bg)"
878
879
  },
879
- onClick: n[0] ||= (...e) => h(ne) && h(ne)(...e)
880
- }, [O(h(Ae), {
880
+ onClick: n[0] ||= (...e) => h(R) && h(R)(...e)
881
+ }, [k(h(de), {
881
882
  size: 14,
882
883
  "stroke-width": 1.5
883
- }), m(" " + b(h(a).image.browseMedia), 1)], 8, pn)) : _("", !0)
884
- ], 8, fn)]), d.value && e.modelValue ? (i(), p(E, { key: 0 }, [
884
+ }), m(" " + x(h(a).image.browseMedia), 1)], 8, _n)) : _("", !0)
885
+ ], 8, gn)]), d.value && e.modelValue ? (i(), p(D, { key: 0 }, [
885
886
  e.heroMode ? _("", !0) : (i(), p("div", {
886
887
  key: 0,
887
888
  "data-testid": `${e.testidPrefix}-bg-size`
888
- }, [y("label", { class: g(h(G)) }, b(h(a).blockSettings.backgroundSize), 3), O(X, {
889
- options: k.value,
889
+ }, [b("label", { class: g(h(V)) }, x(h(a).blockSettings.backgroundSize), 3), k($, {
890
+ options: O.value,
890
891
  "model-value": e.modelValue.size,
891
- "onUpdate:modelValue": n[1] ||= (e) => D({ size: e })
892
- }, null, 8, ["options", "model-value"])], 8, mn)),
893
- y("div", null, [y("label", { class: g(h(G)) }, b(h(a).blockSettings.backgroundPosition), 3), y("div", {
892
+ "onUpdate:modelValue": n[1] ||= (e) => T({ size: e })
893
+ }, null, 8, ["options", "model-value"])], 8, vn)),
894
+ b("div", null, [b("label", { class: g(h(V)) }, x(h(a).blockSettings.backgroundPosition), 3), b("div", {
894
895
  role: "group",
895
896
  "aria-label": h(a).blockSettings.backgroundPosition,
896
897
  "data-testid": `${e.testidPrefix}-bg-position`,
897
898
  class: "tpl:grid tpl:w-24 tpl:grid-cols-3 tpl:gap-1"
898
- }, [(i(!0), p(E, null, c(M.value, (t) => (i(), p("button", {
899
+ }, [(i(!0), p(D, null, c(j.value, (t) => (i(), p("button", {
899
900
  key: `${t.y}-${t.x}`,
900
901
  type: "button",
901
902
  "aria-label": t.label,
902
903
  title: t.label,
903
- "aria-pressed": N(t),
904
+ "aria-pressed": M(t),
904
905
  "data-testid": `${e.testidPrefix}-bg-position-${t.y}-${t.x}`,
905
- class: g(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", N(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
906
- onClick: (e) => D({ position: {
906
+ class: g(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", M(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
907
+ onClick: (e) => T({ position: {
907
908
  x: t.x,
908
909
  y: t.y
909
910
  } })
910
- }, [y("span", { class: g(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", N(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, gn))), 128))], 8, hn)]),
911
+ }, [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, bn))), 128))], 8, yn)]),
911
912
  e.heroMode ? _("", !0) : (i(), p("div", {
912
913
  key: 1,
913
914
  "data-testid": `${e.testidPrefix}-bg-repeat`
914
- }, [O(J, {
915
+ }, [k(P, {
915
916
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
916
917
  "model-value": e.modelValue.repeat,
917
918
  label: h(a).blockSettings.backgroundRepeat,
918
- "onUpdate:modelValue": n[2] ||= (e) => D({ repeat: e })
919
- }, null, 8, ["model-value", "label"])], 8, _n))
919
+ "onUpdate:modelValue": n[2] ||= (e) => T({ repeat: e })
920
+ }, null, 8, ["model-value", "label"])], 8, xn))
920
921
  ], 64)) : _("", !0)]));
921
922
  }
922
- }), yn = ["data-testid"], bn = { class: "tpl:mt-3" }, xn = /* @__PURE__ */ r({
923
+ }), Cn = ["data-testid"], wn = ["data-testid"], Tn = /* @__PURE__ */ r({
923
924
  __name: "CollapsibleSection",
924
925
  props: {
925
926
  title: {},
@@ -929,35 +930,38 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
929
930
  },
930
931
  emits: ["toggle"],
931
932
  setup(e) {
932
- return (t, n) => (i(), p("div", { class: g(["tpl:py-3", e.noBorder ? "" : "tpl:border-t tpl:border-[var(--tpl-border)]"]) }, [y("button", {
933
+ return (t, n) => (i(), p("div", { class: g(["tpl:py-3", e.noBorder ? "" : "tpl:border-t tpl:border-[var(--tpl-border)]"]) }, [b("button", {
933
934
  type: "button",
934
935
  "data-testid": e.headerTestId,
935
936
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
936
937
  onClick: n[0] ||= (e) => t.$emit("toggle")
937
- }, [O(h(we), {
938
+ }, [k(h(ae), {
938
939
  class: g(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
939
940
  size: 12,
940
941
  "stroke-width": 2
941
- }, null, 8, ["class"]), y("span", null, b(e.title), 1)], 8, yn), s(y("div", bn, [d(t.$slots, "default")], 512), [[w, e.open]])], 2));
942
+ }, null, 8, ["class"]), b("span", null, x(e.title), 1)], 8, Cn), s(b("div", {
943
+ class: "tpl:mt-3",
944
+ "data-testid": e.headerTestId ? `${e.headerTestId}-content` : void 0
945
+ }, [d(t.$slots, "default")], 8, wn), [[T, e.open]])], 2));
942
946
  }
943
- }), Sn = {
947
+ }), En = {
944
948
  key: 0,
945
949
  "data-testid": "section-hero-columns-note",
946
950
  class: "tpl:mt-3.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
947
- }, Cn = {
951
+ }, Dn = {
948
952
  key: 1,
949
953
  "data-testid": "section-hero",
950
954
  class: "tpl:mt-3.5 tpl:space-y-3.5"
951
- }, wn = { "data-testid": "section-hero-height" }, Tn = {
955
+ }, On = { "data-testid": "section-hero-height" }, kn = {
952
956
  key: 0,
953
957
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
954
- }, En = {
958
+ }, An = {
955
959
  key: 1,
956
960
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
957
- }, Dn = {
961
+ }, jn = {
958
962
  key: 1,
959
963
  "data-testid": "section-hero-align"
960
- }, On = 300, kn = /* @__PURE__ */ r({
964
+ }, Mn = 300, Nn = /* @__PURE__ */ r({
961
965
  __name: "HeroControl",
962
966
  props: { section: {} },
963
967
  emits: ["update"],
@@ -965,7 +969,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
965
969
  function n(e) {
966
970
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
967
971
  }
968
- let r = e, a = t, { t: o } = V(), s = l(Ve, A.liquid), c = l($e, null), u = l(We, void 0), d = ln(), f = S(() => typeof r.section.backgroundImage?.url == "string" ? r.section.backgroundImage.url : ""), m = S(() => f.value.trim() !== ""), x = S(() => P(f.value, s)), C = S(() => r.section.hero), w = S(() => r.section.columns === "1"), T = S(() => C.value ? n(C.value.height) ? "fixed" : "image" : "fit"), E = S(() => n(C.value?.height) ? C.value.height : On), D = S(() => [
972
+ let r = e, a = t, { t: o } = Z(), s = l(Xe, he.liquid), c = l(lt, null), u = l(et, void 0), d = pn(), f = C(() => typeof r.section.backgroundImage?.url == "string" ? r.section.backgroundImage.url : ""), m = C(() => f.value.trim() !== ""), y = C(() => ve(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 : Mn), D = C(() => [
969
973
  {
970
974
  value: "fit",
971
975
  label: o.blockSettings.heroHeightFit
@@ -973,13 +977,13 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
973
977
  {
974
978
  value: "image",
975
979
  label: o.blockSettings.heroHeightImage,
976
- disabled: x.value
980
+ disabled: y.value
977
981
  },
978
982
  {
979
983
  value: "fixed",
980
984
  label: o.blockSettings.heroHeightFixed
981
985
  }
982
- ]), k = S(() => [
986
+ ]), O = C(() => [
983
987
  {
984
988
  value: "top",
985
989
  label: o.blockSettings.heroAlignTop
@@ -992,17 +996,17 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
992
996
  value: "bottom",
993
997
  label: o.blockSettings.heroAlignBottom
994
998
  }
995
- ]), j = S(() => T.value === "image" && m.value && !x.value && I(r.section.backgroundImage) === null);
996
- function M() {
997
- return (c ? ye(c.content.value, r.section.id, u, c.activeLocale?.value ?? void 0) : null) ?? he(c?.state.content.settings);
999
+ ]), A = C(() => T.value === "image" && m.value && !y.value && Ce(r.section.backgroundImage) === null);
1000
+ function j() {
1001
+ return (c ? qe(c.content.value, r.section.id, u, c.activeLocale?.value ?? void 0) : null) ?? Ue(c?.state.content.settings);
998
1002
  }
999
- function N(e) {
1000
- let t = C.value?.verticalAlign ?? "middle";
1003
+ function M(e) {
1004
+ let t = S.value?.verticalAlign ?? "middle";
1001
1005
  if (e === "image") {
1002
1006
  T.value !== "image" && a("update", { hero: {
1003
1007
  height: "image",
1004
1008
  verticalAlign: t
1005
- } }), F();
1009
+ } }), N();
1006
1010
  return;
1007
1011
  }
1008
1012
  if (e === T.value) return;
@@ -1010,71 +1014,147 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1010
1014
  a("update", { hero: void 0 });
1011
1015
  return;
1012
1016
  }
1013
- let n = I(r.section.backgroundImage), i = n === null ? On : Math.round(M() * n);
1017
+ let n = Ce(r.section.backgroundImage), i = n === null ? Mn : Math.round(j() * n);
1014
1018
  a("update", { hero: {
1015
1019
  height: i,
1016
1020
  verticalAlign: t
1017
1021
  } });
1018
1022
  }
1019
- async function F() {
1023
+ async function N() {
1020
1024
  let e = r.section.backgroundImage;
1021
- if (!e || !m.value || x.value || I(e) !== null) return;
1025
+ if (!e || !m.value || y.value || Ce(e) !== null) return;
1022
1026
  let t = e.url, n = await d(t), i = r.section.backgroundImage;
1023
1027
  n && i && i.url === t && a("update", { backgroundImage: {
1024
1028
  ...i,
1025
- ...pe(n)
1029
+ ...Ve(n)
1026
1030
  } });
1027
1031
  }
1028
- function ee(e) {
1029
- !C.value || !Number.isFinite(e) || e < 1 || a("update", { hero: {
1030
- ...C.value,
1032
+ function P(e) {
1033
+ !S.value || !Number.isFinite(e) || e < 1 || a("update", { hero: {
1034
+ ...S.value,
1031
1035
  height: Math.round(e)
1032
1036
  } });
1033
1037
  }
1034
- function L(e) {
1035
- C.value && a("update", { hero: {
1036
- ...C.value,
1038
+ function F(e) {
1039
+ S.value && a("update", { hero: {
1040
+ ...S.value,
1037
1041
  verticalAlign: e
1038
1042
  } });
1039
1043
  }
1040
- return (e, t) => !w.value && C.value ? (i(), p("p", Sn, b(h(o).section.heroNeedsOneColumn), 1)) : w.value && (m.value || C.value) ? (i(), p("div", Cn, [
1041
- y("div", wn, [
1042
- y("label", { class: g(h(G)) }, b(h(o).blockSettings.heroHeight), 3),
1043
- O(X, {
1044
+ return (e, t) => !w.value && S.value ? (i(), p("p", En, x(h(o).section.heroNeedsOneColumn), 1)) : w.value && (m.value || S.value) ? (i(), p("div", Dn, [
1045
+ b("div", On, [
1046
+ b("label", { class: g(h(V)) }, x(h(o).blockSettings.heroHeight), 3),
1047
+ k($, {
1044
1048
  options: D.value,
1045
1049
  "model-value": T.value,
1046
- "onUpdate:modelValue": N
1050
+ "onUpdate:modelValue": M
1047
1051
  }, null, 8, ["options", "model-value"]),
1048
- x.value ? (i(), p("p", Tn, b(h(o).blockSettings.heroMatchImageMergeTag), 1)) : j.value ? (i(), p("p", En, b(h(o).blockSettings.heroSizeUnknown), 1)) : _("", !0)
1052
+ y.value ? (i(), p("p", kn, x(h(o).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (i(), p("p", An, x(h(o).blockSettings.heroSizeUnknown), 1)) : _("", !0)
1049
1053
  ]),
1050
- T.value === "fixed" ? (i(), v(Z, {
1054
+ T.value === "fixed" ? (i(), v(bt, {
1051
1055
  key: 0,
1052
1056
  "model-value": E.value,
1053
1057
  min: 1,
1054
1058
  suffix: "px",
1055
1059
  testid: "section-hero-height-px",
1056
- "onUpdate:modelValue": ee
1060
+ "onUpdate:modelValue": P
1057
1061
  }, null, 8, ["model-value"])) : _("", !0),
1058
- C.value ? (i(), p("div", Dn, [y("label", { class: g(h(G)) }, b(h(o).blockSettings.heroAlign), 3), O(X, {
1059
- options: k.value,
1060
- "model-value": C.value.verticalAlign,
1061
- "onUpdate:modelValue": L
1062
+ S.value ? (i(), p("div", jn, [b("label", { class: g(h(V)) }, x(h(o).blockSettings.heroAlign), 3), k($, {
1063
+ options: O.value,
1064
+ "model-value": S.value.verticalAlign,
1065
+ "onUpdate:modelValue": F
1062
1066
  }, null, 8, ["options", "model-value"])])) : _("", !0)
1063
1067
  ])) : _("", !0);
1064
1068
  }
1065
- }), An = { class: "tpl:space-y-2" }, jn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Mn = { class: "tpl:space-y-2" }, Nn = ["value"], Pn = { value: "" }, Fn = ["label"], In = ["value"], Ln = ["value"], Rn = {
1069
+ }), Pn = /* @__PURE__ */ new Set([
1070
+ "fullWidth",
1071
+ "backgroundColor",
1072
+ "backgroundImage",
1073
+ "padding",
1074
+ "borderRadius"
1075
+ ]);
1076
+ function Fn(e) {
1077
+ return typeof e == "string" && e !== "";
1078
+ }
1079
+ function In(e) {
1080
+ return e ? [
1081
+ e.top,
1082
+ e.right,
1083
+ e.bottom,
1084
+ e.left
1085
+ ].some((e) => e !== 0) : !1;
1086
+ }
1087
+ function Ln(e) {
1088
+ return Fn(e.styles.backgroundColor) || !!e.backgroundImage;
1089
+ }
1090
+ function Rn(e) {
1091
+ return e.fullWidth !== !0 || In(e.padding) || me(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Pn.has(e));
1092
+ }
1093
+ function zn(e, t = {}) {
1094
+ return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && xe(t.layout);
1095
+ }
1096
+ function Bn(e) {
1097
+ let t = {};
1098
+ return Fn(e.styles.backgroundColor) && (t.backgroundColor = e.styles.backgroundColor), e.backgroundImage && (t.backgroundImage = e.backgroundImage), t;
1099
+ }
1100
+ function Vn(e) {
1101
+ let t = { ...e.styles };
1102
+ return delete t.backgroundColor, t;
1103
+ }
1104
+ function Hn(e, t) {
1105
+ if (t) return e.wrapper ? { wrapper: {
1106
+ ...e.wrapper,
1107
+ fullWidth: !0
1108
+ } } : {
1109
+ wrapper: {
1110
+ fullWidth: !0,
1111
+ ...Bn(e)
1112
+ },
1113
+ styles: Vn(e),
1114
+ backgroundImage: void 0
1115
+ };
1116
+ let n = e.wrapper;
1117
+ if (!n) return {};
1118
+ if (Rn(n) && !Ln(e)) {
1119
+ let t = { ...e.styles };
1120
+ return Fn(n.backgroundColor) && (t.backgroundColor = n.backgroundColor), {
1121
+ wrapper: void 0,
1122
+ styles: t,
1123
+ backgroundImage: n.backgroundImage
1124
+ };
1125
+ }
1126
+ return { wrapper: {
1127
+ ...n,
1128
+ fullWidth: !1
1129
+ } };
1130
+ }
1131
+ function Un(e) {
1132
+ let t = e.wrapper;
1133
+ return t && Rn(t) && !Ln(e) ? Hn(e, !1) : { wrapper: void 0 };
1134
+ }
1135
+ // src/components/toolbar/CommonBlockSettings.vue?vue&type=script&setup=true&lang.ts
1136
+ var Wn = { class: "tpl:space-y-2" }, Gn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Kn = {
1137
+ key: 0,
1138
+ class: "tpl:space-y-2"
1139
+ }, qn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Jn = {
1140
+ key: 0,
1141
+ class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1142
+ }, Yn = { class: "tpl:flex tpl:gap-2" }, Xn = ["disabled"], Zn = ["disabled"], Qn = ["disabled"], $n = {
1143
+ key: 1,
1144
+ class: "tpl:space-y-2"
1145
+ }, er = ["value"], tr = { value: "" }, nr = ["label"], rr = ["value"], ir = ["value"], ar = {
1066
1146
  key: 0,
1067
1147
  value: "__custom__"
1068
- }, zn = {
1148
+ }, or = {
1069
1149
  key: 0,
1070
1150
  class: "tpl:space-y-2"
1071
- }, Bn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Vn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Hn = { class: "tpl:flex tpl:justify-end" }, Un = ["disabled"], Wn = {
1151
+ }, sr = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, cr = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, lr = { class: "tpl:flex tpl:justify-end" }, ur = ["disabled"], dr = {
1072
1152
  key: 0,
1073
1153
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1074
- }, Gn = { class: "tpl:space-y-1" }, Kn = { 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)]" }, qn = {
1154
+ }, fr = { class: "tpl:space-y-1" }, pr = { 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)]" }, mr = {
1075
1155
  key: 0,
1076
1156
  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)]"
1077
- }, Jn = /* @__PURE__ */ r({
1157
+ }, hr = /* @__PURE__ */ r({
1078
1158
  __name: "CommonBlockSettings",
1079
1159
  props: {
1080
1160
  block: {},
@@ -1082,76 +1162,133 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1082
1162
  },
1083
1163
  emits: ["update"],
1084
1164
  setup(e, { emit: r }) {
1085
- let u = e, d = r, { t: f, format: C } = V(), w = l($e, null), D = l(Ue, void 0), k = S(() => w?.activeLocale?.value), A = S(() => !!(k.value && w?.selectedBlock?.value?.l10n?.[k.value]?.hidden)), j = l(qe, []), M = l(Qe, !1), N = t(/* @__PURE__ */ new Set()), P = T(!1), F = T(""), I = T(""), ee = [{
1165
+ let u = e, d = r, { t: f, format: w } = Z(), T = l(lt, null), O = l($e, void 0), j = C(() => T?.activeLocale?.value), N = C(() => !!(j.value && T?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = l(rt, []), L = l(st, !1), R = l(et, void 0), z = l(nt, 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), V = C(() => u.block.type === "section" && zn(u.block, {
1166
+ sectionWrapper: z,
1167
+ layout: R
1168
+ })), ie = C(() => u.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1169
+ function ae(e) {
1170
+ u.block.type === "wrapper" ? d("update", { fullWidth: e }) : u.block.type === "section" && d("update", Hn(u.block, e));
1171
+ }
1172
+ let H = C(() => u.block.type === "section" && u.block.wrapper?.fullWidth === !0), oe = C(() => H.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), se = C(() => H.value ? "wrapper.backgroundImage" : "backgroundImage"), le = C(() => {
1173
+ let e = u.block;
1174
+ return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundColor ?? "" : e.styles.backgroundColor ?? "";
1175
+ }), ue = C(() => {
1176
+ let e = u.block;
1177
+ return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundImage : e.type === "section" ? e.backgroundImage : void 0;
1178
+ });
1179
+ function de(e, t) {
1180
+ d("update", { wrapper: {
1181
+ ...e,
1182
+ ...t
1183
+ } });
1184
+ }
1185
+ function fe(e) {
1186
+ let t = u.block;
1187
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? de(t.wrapper, { backgroundColor: e }) : Ce("backgroundColor", e);
1188
+ }
1189
+ function U(e) {
1190
+ let t = u.block;
1191
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? de(t.wrapper, { backgroundImage: e }) : d("update", { backgroundImage: e });
1192
+ }
1193
+ let pe = l(Qe, null), W = Re(), G = E(!1), K = t(/* @__PURE__ */ new Set()), q = E(!1), J = E(""), Y = E(""), X = [{
1086
1194
  key: "desktop",
1087
- icon: Se,
1195
+ icon: re,
1088
1196
  labelKey: "showOnDesktop"
1089
1197
  }, {
1090
1198
  key: "mobile",
1091
- icon: De,
1199
+ icon: ce,
1092
1200
  labelKey: "showOnMobile"
1093
1201
  }];
1094
- function L(e) {
1095
- N.has(e) ? N.delete(e) : N.add(e);
1202
+ function me(e) {
1203
+ K.has(e) ? K.delete(e) : K.add(e);
1204
+ }
1205
+ let he = C(() => !!pe || I.length > 0 || L);
1206
+ function ge(e) {
1207
+ if (typeof e != "object" || !e || Array.isArray(e)) return !1;
1208
+ let t = e;
1209
+ return typeof t.label == "string" && typeof t.before == "string" && typeof t.after == "string";
1210
+ }
1211
+ function _e(e, t) {
1212
+ let n = T?.state?.selectedBlockId;
1213
+ u.block.id === e && (n === void 0 || n === e) ? d("update", { displayCondition: t }) : T && T.findBlockLocation(e) && T.updateBlock(e, { displayCondition: t });
1214
+ }
1215
+ async function ve() {
1216
+ if (!pe || G.value) return;
1217
+ let e = u.block.id, t = T?.activeLocale?.value ?? null, n = Te(y(u.block)), r = u.block.displayCondition ? Te(y(u.block.displayCondition)) : void 0;
1218
+ G.value = !0;
1219
+ try {
1220
+ let i = await pe(r ? {
1221
+ current: r,
1222
+ block: n
1223
+ } : { block: n });
1224
+ if (!W.alive || (T?.activeLocale?.value ?? null) !== t || i === null) return;
1225
+ if (!ge(i)) {
1226
+ ut.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1227
+ return;
1228
+ }
1229
+ _e(e, Te(i));
1230
+ } finally {
1231
+ W.alive && (G.value = !1);
1232
+ }
1096
1233
  }
1097
- let te = S(() => j.length > 0 || M), R = S(() => u.block.displayCondition ? !j.some((e) => e.label === u.block.displayCondition?.label) : !1);
1098
- function ne() {
1099
- P.value = !0, R.value && u.block.displayCondition ? (F.value = u.block.displayCondition.before, I.value = u.block.displayCondition.after ?? "") : (F.value = "", I.value = "");
1234
+ let Q = C(() => u.block.displayCondition ? !I.some((e) => e.label === u.block.displayCondition?.label) : !1);
1235
+ function ye() {
1236
+ q.value = !0, Q.value && u.block.displayCondition ? (J.value = u.block.displayCondition.before, Y.value = u.block.displayCondition.after ?? "") : (J.value = "", Y.value = "");
1100
1237
  }
1101
- function ie() {
1102
- let e = F.value.trim(), t = I.value.trim();
1238
+ function be() {
1239
+ let e = J.value.trim(), t = Y.value.trim();
1103
1240
  e && (d("update", { displayCondition: {
1104
1241
  label: f.blockSettings.customCondition,
1105
1242
  before: e,
1106
1243
  after: t
1107
- } }), P.value = !1, F.value = e, I.value = t);
1244
+ } }), q.value = !1, J.value = e, Y.value = t);
1108
1245
  }
1109
1246
  o([
1110
- () => w?.state?.template?.id,
1247
+ () => T?.state?.template?.id,
1111
1248
  () => u.block.id,
1112
1249
  () => u.block.displayCondition?.label,
1113
1250
  () => u.block.displayCondition?.before,
1114
1251
  () => u.block.displayCondition?.after
1115
1252
  ], () => {
1116
1253
  let e = u.block.displayCondition;
1117
- !e || !R.value ? (P.value = !1, F.value = "", I.value = "") : (F.value = e.before, I.value = e.after ?? "");
1254
+ !e || !Q.value ? (q.value = !1, J.value = "", Y.value = "") : (J.value = e.before, Y.value = e.after ?? "");
1118
1255
  }, { immediate: !0 });
1119
- let ae = S(() => {
1256
+ let xe = C(() => {
1120
1257
  let e = {};
1121
- for (let t of j) {
1258
+ for (let t of I) {
1122
1259
  let n = t.group ?? "";
1123
1260
  e[n] || (e[n] = []), e[n].push(t);
1124
1261
  }
1125
1262
  return e;
1126
- }), oe = S(() => u.block.type === "section" && re(u.block)?.applied === !0);
1127
- function se(e, t) {
1263
+ }), Se = C(() => u.block.type === "section" && Ee(u.block)?.applied === !0);
1264
+ function Ce(e, t) {
1128
1265
  d("update", { styles: {
1129
1266
  ...u.block.styles,
1130
1267
  [e]: t
1131
1268
  } });
1132
1269
  }
1133
- function ce(e) {
1270
+ function we(e) {
1134
1271
  return u.block.visibility?.[e] !== !1;
1135
1272
  }
1136
- function le(e) {
1273
+ function De(e) {
1137
1274
  let t = {
1138
- desktop: ce("desktop"),
1139
- mobile: ce("mobile")
1275
+ desktop: we("desktop"),
1276
+ mobile: we("mobile")
1140
1277
  };
1141
1278
  t[e] = !t[e], d("update", { visibility: t });
1142
1279
  }
1143
1280
  return (t, r) => (i(), p("div", { class: g(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1144
- O(xn, {
1281
+ k(Tn, {
1145
1282
  title: h(f).blockSettings.spacing,
1146
- open: N.has("spacing"),
1283
+ open: K.has("spacing"),
1147
1284
  "no-border": e.isFirstSection,
1148
- onToggle: r[1] ||= (e) => L("spacing")
1285
+ onToggle: r[1] ||= (e) => me("spacing")
1149
1286
  }, {
1150
- default: a(() => [O(sn, {
1287
+ default: a(() => [k(dn, {
1151
1288
  path: "styles.padding",
1152
1289
  label: h(f).blockSettings.padding,
1153
1290
  "model-value": e.block.styles.padding,
1154
- "onUpdate:modelValue": r[0] ||= (e) => se("padding", e)
1291
+ "onUpdate:modelValue": r[0] ||= (e) => Ce("padding", e)
1155
1292
  }, null, 8, ["label", "model-value"])]),
1156
1293
  _: 1
1157
1294
  }, 8, [
@@ -1159,86 +1296,122 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1159
1296
  "open",
1160
1297
  "no-border"
1161
1298
  ]),
1162
- O(xn, {
1299
+ k(Tn, {
1163
1300
  title: h(f).blockSettings.background,
1164
- open: N.has("bg"),
1301
+ open: K.has("bg"),
1165
1302
  "header-test-id": "block-settings-background",
1166
- onToggle: r[5] ||= (e) => L("bg")
1303
+ onToggle: r[4] ||= (e) => me("bg")
1167
1304
  }, {
1168
1305
  default: a(() => [
1169
- O(K, {
1170
- path: "styles.backgroundColor",
1306
+ k(A, {
1307
+ path: oe.value,
1171
1308
  label: h(f).blockSettings.color
1172
1309
  }, {
1173
- default: a(() => [O(q, {
1174
- "model-value": e.block.styles.backgroundColor ?? "",
1310
+ default: a(() => [k(M, {
1311
+ "model-value": le.value,
1175
1312
  "allow-transparent": "",
1176
- "onUpdate:modelValue": r[2] ||= (e) => se("backgroundColor", e)
1313
+ "onUpdate:modelValue": fe
1177
1314
  }, null, 8, ["model-value"])]),
1178
1315
  _: 1
1179
- }, 8, ["label"]),
1180
- e.block.type === "section" ? (i(), v(K, {
1316
+ }, 8, ["path", "label"]),
1317
+ B.value ? (i(), v(A, {
1181
1318
  key: 0,
1182
- path: "backgroundImage",
1319
+ path: e.block.type === "section" ? "wrapper.fullWidth" : "fullWidth",
1320
+ label: h(f).blockSettings.fullWidthBackground
1321
+ }, {
1322
+ "label-actions": a(({ controlId: e }) => [k(P, {
1323
+ "data-testid": ie.value,
1324
+ "control-id": e,
1325
+ "hide-label": "",
1326
+ class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1327
+ "model-value": te.value,
1328
+ disabled: V.value,
1329
+ label: h(f).blockSettings.fullWidthBackground,
1330
+ "onUpdate:modelValue": ae
1331
+ }, null, 8, [
1332
+ "data-testid",
1333
+ "control-id",
1334
+ "model-value",
1335
+ "disabled",
1336
+ "label"
1337
+ ])]),
1338
+ _: 1
1339
+ }, 8, ["path", "label"])) : _("", !0),
1340
+ e.block.type === "section" ? (i(), v(A, {
1341
+ key: 1,
1342
+ path: se.value,
1183
1343
  label: h(f).blockSettings.backgroundImage
1184
1344
  }, {
1185
- default: a(() => [O(vn, {
1345
+ default: a(() => [k(Sn, {
1186
1346
  "hide-label": "",
1187
1347
  class: "tpl:mt-3.5",
1188
- "model-value": e.block.backgroundImage,
1348
+ "model-value": ue.value,
1189
1349
  "testid-prefix": "section",
1190
1350
  measure: "",
1191
- "hero-mode": oe.value,
1192
- "onUpdate:modelValue": r[3] ||= (e) => d("update", { backgroundImage: e })
1351
+ "hero-mode": Se.value,
1352
+ "onUpdate:modelValue": U
1193
1353
  }, null, 8, ["model-value", "hero-mode"])]),
1194
1354
  _: 1
1355
+ }, 8, ["path", "label"])) : _("", !0),
1356
+ H.value ? (i(), v(A, {
1357
+ key: 2,
1358
+ path: "styles.backgroundColor",
1359
+ label: h(f).blockSettings.contentBackground
1360
+ }, {
1361
+ default: a(() => [k(M, {
1362
+ "data-testid": "section-content-background",
1363
+ "model-value": e.block.styles.backgroundColor ?? "",
1364
+ "allow-transparent": "",
1365
+ "onUpdate:modelValue": r[2] ||= (e) => Ce("backgroundColor", e)
1366
+ }, null, 8, ["model-value"])]),
1367
+ _: 1
1195
1368
  }, 8, ["label"])) : _("", !0),
1196
- e.block.type === "section" ? (i(), v(K, {
1197
- key: 1,
1369
+ e.block.type === "section" ? (i(), v(A, {
1370
+ key: 3,
1198
1371
  path: "hero",
1199
1372
  label: h(f).blocks.hero
1200
1373
  }, {
1201
- default: a(() => [O(kn, {
1374
+ default: a(() => [k(Nn, {
1202
1375
  section: e.block,
1203
- onUpdate: r[4] ||= (e) => d("update", e)
1376
+ onUpdate: r[3] ||= (e) => d("update", e)
1204
1377
  }, null, 8, ["section"])]),
1205
1378
  _: 1
1206
1379
  }, 8, ["label"])) : _("", !0)
1207
1380
  ]),
1208
1381
  _: 1
1209
1382
  }, 8, ["title", "open"]),
1210
- O(xn, {
1383
+ k(Tn, {
1211
1384
  title: h(f).blockSettings.display,
1212
- open: N.has("display"),
1213
- onToggle: r[7] ||= (e) => L("display")
1385
+ open: K.has("display"),
1386
+ onToggle: r[6] ||= (e) => me("display")
1214
1387
  }, {
1215
- default: a(() => [y("div", An, [k.value && h(D) ? (i(), v(J, {
1388
+ default: a(() => [b("div", Wn, [j.value && h(O) ? (i(), v(P, {
1216
1389
  key: 0,
1217
1390
  "data-testid": "locale-hide",
1218
- disabled: !h(D).locales.includes(k.value),
1219
- "model-value": A.value,
1220
- label: h(C)(h(f).localization.hide, { language: h(tt)(k.value) }),
1221
- "onUpdate:modelValue": r[6] ||= (t) => h(w)?.setBlockHidden?.(e.block.id, t)
1391
+ disabled: !h(O).locales.includes(j.value),
1392
+ "model-value": N.value,
1393
+ label: h(w)(h(f).localization.hide, { language: h(Me)(j.value) }),
1394
+ "onUpdate:modelValue": r[5] ||= (t) => h(T)?.setBlockHidden?.(e.block.id, t)
1222
1395
  }, null, 8, [
1223
1396
  "disabled",
1224
1397
  "model-value",
1225
1398
  "label"
1226
- ])) : _("", !0), (i(), p(E, null, c(ee, (e) => O(K, {
1399
+ ])) : _("", !0), (i(), p(D, null, c(X, (e) => k(A, {
1227
1400
  key: e.key,
1228
1401
  path: `visibility.${e.key}`,
1229
1402
  label: h(f).blockSettings[e.labelKey]
1230
1403
  }, {
1231
- label: a(() => [y("span", jn, [(i(), v(n(e.icon), {
1404
+ label: a(() => [b("span", Gn, [(i(), v(n(e.icon), {
1232
1405
  size: 14,
1233
1406
  "stroke-width": 1.5
1234
- })), m(" " + b(h(f).blockSettings[e.labelKey]), 1)])]),
1235
- "label-actions": a(({ controlId: t }) => [O(J, {
1407
+ })), m(" " + x(h(f).blockSettings[e.labelKey]), 1)])]),
1408
+ "label-actions": a(({ controlId: t }) => [k(P, {
1236
1409
  "control-id": t,
1237
1410
  "hide-label": "",
1238
1411
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1239
- "model-value": ce(e.key),
1412
+ "model-value": we(e.key),
1240
1413
  label: h(f).blockSettings[e.labelKey],
1241
- "onUpdate:modelValue": (t) => le(e.key)
1414
+ "onUpdate:modelValue": (t) => De(e.key)
1242
1415
  }, null, 8, [
1243
1416
  "control-id",
1244
1417
  "model-value",
@@ -1249,72 +1422,95 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1249
1422
  }, 1032, ["path", "label"])), 64))])]),
1250
1423
  _: 1
1251
1424
  }, 8, ["title", "open"]),
1252
- te.value ? (i(), v(xn, {
1425
+ he.value ? (i(), v(Tn, {
1253
1426
  key: 0,
1254
1427
  "header-test-id": "display-condition-section",
1255
1428
  title: h(f).blockSettings.displayCondition,
1256
- open: N.has("condition"),
1257
- onToggle: r[11] ||= (e) => L("condition")
1429
+ open: K.has("condition"),
1430
+ onToggle: r[11] ||= (e) => me("condition")
1258
1431
  }, {
1259
- default: a(() => [y("div", Mn, [O(K, {
1432
+ default: a(() => [h(pe) ? (i(), p("div", Kn, [e.block.displayCondition ? (i(), p(D, { key: 0 }, [
1433
+ b("p", qn, x(e.block.displayCondition.label), 1),
1434
+ e.block.displayCondition.description ? (i(), p("p", Jn, x(e.block.displayCondition.description), 1)) : _("", !0),
1435
+ b("div", Yn, [b("button", {
1436
+ type: "button",
1437
+ "data-testid": "display-condition-edit",
1438
+ class: g(h(F)),
1439
+ disabled: G.value,
1440
+ onClick: ve
1441
+ }, x(h(f).blockSettings.editCondition), 11, Xn), b("button", {
1442
+ type: "button",
1443
+ "data-testid": "display-condition-remove",
1444
+ class: g(h(F)),
1445
+ disabled: G.value,
1446
+ onClick: r[7] ||= (e) => d("update", { displayCondition: void 0 })
1447
+ }, x(h(f).blockSettings.removeCondition), 11, Zn)])
1448
+ ], 64)) : (i(), p("button", {
1449
+ key: 1,
1450
+ type: "button",
1451
+ "data-testid": "display-condition-request",
1452
+ class: g(h(F)),
1453
+ disabled: G.value,
1454
+ onClick: ve
1455
+ }, x(h(f).blockSettings.addCondition), 11, Qn))])) : (i(), p("div", $n, [k(A, {
1260
1456
  path: "displayCondition",
1261
1457
  label: h(f).blockSettings.displayCondition
1262
1458
  }, {
1263
- default: a(() => [y("select", {
1459
+ default: a(() => [b("select", {
1264
1460
  "data-testid": "display-condition-select",
1265
1461
  class: g(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1266
- value: P.value || R.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1462
+ value: q.value || Q.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1267
1463
  onChange: r[8] ||= (e) => {
1268
1464
  let t = e.target.value;
1269
1465
  if (t === "__custom__") {
1270
- ne();
1466
+ ye();
1271
1467
  return;
1272
1468
  }
1273
- if (P.value = !1, !t) {
1469
+ if (q.value = !1, !t) {
1274
1470
  d("update", { displayCondition: void 0 });
1275
1471
  return;
1276
1472
  }
1277
- let n = h(j).find((e) => e.label === t);
1473
+ let n = h(I).find((e) => e.label === t);
1278
1474
  n && d("update", { displayCondition: n });
1279
1475
  }
1280
1476
  }, [
1281
- y("option", Pn, b(h(f).blockSettings.noCondition), 1),
1282
- (i(!0), p(E, null, c(ae.value, (e, t) => (i(), p(E, { key: t }, [t ? (i(), p("optgroup", {
1477
+ b("option", tr, x(h(f).blockSettings.noCondition), 1),
1478
+ (i(!0), p(D, null, c(xe.value, (e, t) => (i(), p(D, { key: t }, [t ? (i(), p("optgroup", {
1283
1479
  key: 0,
1284
1480
  label: String(t)
1285
- }, [(i(!0), p(E, null, c(e, (e) => (i(), p("option", {
1481
+ }, [(i(!0), p(D, null, c(e, (e) => (i(), p("option", {
1286
1482
  key: e.label,
1287
1483
  value: e.label
1288
- }, b(e.label), 9, In))), 128))], 8, Fn)) : (i(!0), p(E, { key: 1 }, c(e, (e) => (i(), p("option", {
1484
+ }, x(e.label), 9, rr))), 128))], 8, nr)) : (i(!0), p(D, { key: 1 }, c(e, (e) => (i(), p("option", {
1289
1485
  key: e.label,
1290
1486
  value: e.label
1291
- }, b(e.label), 9, Ln))), 128))], 64))), 128)),
1292
- h(M) ? (i(), p("option", Rn, b(h(f).blockSettings.customCondition), 1)) : _("", !0)
1293
- ], 42, Nn)]),
1487
+ }, x(e.label), 9, ir))), 128))], 64))), 128)),
1488
+ h(L) ? (i(), p("option", ar, x(h(f).blockSettings.customCondition), 1)) : _("", !0)
1489
+ ], 42, er)]),
1294
1490
  _: 1
1295
- }, 8, ["label"]), P.value || R.value ? (i(), p("div", zn, [
1296
- y("div", null, [y("label", Bn, b(h(f).blockSettings.customConditionBefore), 1), s(y("textarea", {
1297
- "onUpdate:modelValue": r[9] ||= (e) => F.value = e,
1491
+ }, 8, ["label"]), q.value || Q.value ? (i(), p("div", or, [
1492
+ b("div", null, [b("label", sr, x(h(f).blockSettings.customConditionBefore), 1), s(b("textarea", {
1493
+ "onUpdate:modelValue": r[9] ||= (e) => J.value = e,
1298
1494
  rows: "2",
1299
- class: g(h(ot))
1300
- }, null, 2), [[x, F.value]])]),
1301
- y("div", null, [y("label", Vn, b(h(f).blockSettings.customConditionAfter), 1), s(y("textarea", {
1302
- "onUpdate:modelValue": r[10] ||= (e) => I.value = e,
1495
+ class: g(h(ne))
1496
+ }, null, 2), [[S, J.value]])]),
1497
+ b("div", null, [b("label", cr, x(h(f).blockSettings.customConditionAfter), 1), s(b("textarea", {
1498
+ "onUpdate:modelValue": r[10] ||= (e) => Y.value = e,
1303
1499
  rows: "2",
1304
- class: g(h(ot))
1305
- }, null, 2), [[x, I.value]])]),
1306
- y("div", Hn, [y("button", {
1500
+ class: g(h(ne))
1501
+ }, null, 2), [[S, Y.value]])]),
1502
+ b("div", lr, [b("button", {
1307
1503
  type: "button",
1308
- class: g(h(rt)),
1309
- disabled: !F.value.trim(),
1310
- onClick: ie
1311
- }, b(h(f).blockSettings.applyCondition), 11, Un)])
1312
- ])) : e.block.displayCondition && !R.value ? (i(), p(E, { key: 1 }, [e.block.displayCondition.description ? (i(), p("p", Wn, b(e.block.displayCondition.description), 1)) : _("", !0), y("div", Gn, [y("pre", Kn, b(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (i(), p("pre", qn, b(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)])]),
1504
+ class: g(h(ee)),
1505
+ disabled: !J.value.trim(),
1506
+ onClick: be
1507
+ }, x(h(f).blockSettings.applyCondition), 11, ur)])
1508
+ ])) : e.block.displayCondition && !Q.value ? (i(), p(D, { key: 1 }, [e.block.displayCondition.description ? (i(), p("p", dr, x(e.block.displayCondition.description), 1)) : _("", !0), b("div", fr, [b("pre", pr, x(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (i(), p("pre", mr, x(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)]))]),
1313
1509
  _: 1
1314
1510
  }, 8, ["title", "open"])) : _("", !0)
1315
1511
  ], 2));
1316
1512
  }
1317
- }), Yn = ["title"], Xn = { class: "tpl-sr-only" }, Zn = ["title"], Qn = { class: "tpl-sr-only" }, $n = /* @__PURE__ */ r({
1513
+ }), gr = ["title"], _r = { class: "tpl-sr-only" }, vr = ["title"], yr = { class: "tpl-sr-only" }, br = /* @__PURE__ */ r({
1318
1514
  __name: "FieldLabel",
1319
1515
  props: {
1320
1516
  label: {},
@@ -1322,25 +1518,25 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1322
1518
  readOnly: { type: Boolean }
1323
1519
  },
1324
1520
  setup(e) {
1325
- let { t } = V();
1521
+ let { t } = Z();
1326
1522
  return (n, r) => (i(), p("span", null, [
1327
- m(b(e.label) + " ", 1),
1523
+ m(x(e.label) + " ", 1),
1328
1524
  e.readOnly ? (i(), p("span", {
1329
1525
  key: 0,
1330
1526
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1331
- }, [O(h(Re), {
1527
+ }, [k(h(J), {
1332
1528
  size: 12,
1333
1529
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1334
1530
  "aria-hidden": "true"
1335
- }), y("span", Xn, b(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Yn)) : _("", !0),
1531
+ }), b("span", _r, x(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, gr)) : _("", !0),
1336
1532
  e.required ? (i(), p("span", {
1337
1533
  key: 1,
1338
1534
  class: "tpl:text-[var(--tpl-danger)]",
1339
1535
  title: h(t).customBlocks.fields.required
1340
- }, [r[0] ||= y("span", { "aria-hidden": "true" }, "*", -1), y("span", Qn, b(h(t).customBlocks.fields.required), 1)], 8, Zn)) : _("", !0)
1536
+ }, [r[0] ||= b("span", { "aria-hidden": "true" }, "*", -1), b("span", yr, x(h(t).customBlocks.fields.required), 1)], 8, vr)) : _("", !0)
1341
1537
  ]));
1342
1538
  }
1343
- }), er = ["title"], tr = /* @__PURE__ */ r({
1539
+ }), xr = ["title"], Sr = /* @__PURE__ */ r({
1344
1540
  __name: "BooleanField",
1345
1541
  props: {
1346
1542
  field: {},
@@ -1351,11 +1547,11 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1351
1547
  },
1352
1548
  emits: ["update:modelValue"],
1353
1549
  setup(e, { emit: t }) {
1354
- let n = t, { t: r } = V();
1550
+ let n = t, { t: r } = Z();
1355
1551
  return (t, o) => (i(), p("div", {
1356
1552
  class: "tpl:mb-3.5",
1357
1553
  title: e.readOnly ? h(r).customBlocks.dataSource.readOnlyTooltip : void 0
1358
- }, [O(J, {
1554
+ }, [k(P, {
1359
1555
  "hide-label": e.hideLabel,
1360
1556
  "control-id": e.controlId,
1361
1557
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -1365,7 +1561,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1365
1561
  disabled: e.readOnly,
1366
1562
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1367
1563
  }, {
1368
- default: a(() => [m(b(e.field.label) + " ", 1), e.readOnly ? (i(), v(h(Re), {
1564
+ default: a(() => [m(x(e.field.label) + " ", 1), e.readOnly ? (i(), v(h(J), {
1369
1565
  key: 0,
1370
1566
  size: 12,
1371
1567
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1378,9 +1574,9 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1378
1574
  "label",
1379
1575
  "required",
1380
1576
  "disabled"
1381
- ])], 8, er));
1577
+ ])], 8, xr));
1382
1578
  }
1383
- }), nr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ r({
1579
+ }), Cr = { class: "tpl:mb-3.5" }, wr = /* @__PURE__ */ r({
1384
1580
  __name: "FieldWrapper",
1385
1581
  props: {
1386
1582
  label: {},
@@ -1389,10 +1585,10 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1389
1585
  readOnly: { type: Boolean }
1390
1586
  },
1391
1587
  setup(e) {
1392
- return (t, n) => (i(), p("div", nr, [e.hideLabel ? _("", !0) : (i(), p("label", {
1588
+ return (t, n) => (i(), p("div", Cr, [e.hideLabel ? _("", !0) : (i(), p("label", {
1393
1589
  key: 0,
1394
- class: g(h(G))
1395
- }, [O($n, {
1590
+ class: g(h(V))
1591
+ }, [k(br, {
1396
1592
  label: e.label,
1397
1593
  required: e.required,
1398
1594
  "read-only": e.readOnly
@@ -1402,7 +1598,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1402
1598
  "read-only"
1403
1599
  ])], 2)), d(t.$slots, "default")]));
1404
1600
  }
1405
- }), rr = /* @__PURE__ */ r({
1601
+ }), Tr = /* @__PURE__ */ r({
1406
1602
  __name: "ColorField",
1407
1603
  props: {
1408
1604
  field: {},
@@ -1412,14 +1608,14 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1412
1608
  },
1413
1609
  emits: ["update:modelValue"],
1414
1610
  setup(e, { emit: t }) {
1415
- let n = e, r = t, { t: o } = V(), s = l(Ze, lt), c = S(() => xe(n.field, s));
1416
- return (t, n) => (i(), v($, {
1611
+ let n = e, r = t, { t: o } = Z(), s = l(ot, ft), c = C(() => Ye(n.field, s));
1612
+ return (t, n) => (i(), v(wr, {
1417
1613
  "hide-label": e.hideLabel,
1418
1614
  label: e.field.label,
1419
1615
  required: e.field.required,
1420
1616
  "read-only": e.readOnly
1421
1617
  }, {
1422
- default: a(() => [O(q, {
1618
+ default: a(() => [k(M, {
1423
1619
  "model-value": e.modelValue,
1424
1620
  placeholder: e.field.placeholder,
1425
1621
  disabled: e.readOnly,
@@ -1443,11 +1639,11 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1443
1639
  "read-only"
1444
1640
  ]));
1445
1641
  }
1446
- }), ir = [
1642
+ }), Er = [
1447
1643
  "value",
1448
1644
  "placeholder",
1449
1645
  "title"
1450
- ], ar = ["value", "placeholder"], or = /* @__PURE__ */ r({
1646
+ ], Dr = ["value", "placeholder"], Or = /* @__PURE__ */ r({
1451
1647
  __name: "ImageField",
1452
1648
  props: {
1453
1649
  field: {},
@@ -1457,50 +1653,50 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1457
1653
  },
1458
1654
  emits: ["update:modelValue"],
1459
1655
  setup(e, { emit: t }) {
1460
- let n = e, r = t, { t: o } = V(), s = T(), { canBrowse: c, isUploading: l, showOverlay: u, openMediaBrowser: d } = be({
1656
+ let n = e, r = t, { t: o } = Z(), s = E(), { canBrowse: c, isUploading: l, showOverlay: u, openMediaBrowser: d } = Je({
1461
1657
  target: s,
1462
1658
  blocked: () => !!n.readOnly,
1463
1659
  apply: (e) => r("update:modelValue", e.url)
1464
1660
  });
1465
- return (t, n) => (i(), v($, {
1661
+ return (t, n) => (i(), v(wr, {
1466
1662
  "hide-label": e.hideLabel,
1467
1663
  label: e.field.label,
1468
1664
  required: e.field.required,
1469
1665
  "read-only": e.readOnly
1470
1666
  }, {
1471
- default: a(() => [y("div", {
1667
+ default: a(() => [b("div", {
1472
1668
  ref_key: "dropZoneRef",
1473
1669
  ref: s,
1474
1670
  class: "tpl:relative"
1475
1671
  }, [
1476
- h(u) ? (i(), v(de, {
1672
+ h(u) ? (i(), v(ze, {
1477
1673
  key: 0,
1478
1674
  uploading: h(l)
1479
1675
  }, null, 8, ["uploading"])) : _("", !0),
1480
1676
  e.readOnly ? (i(), p("input", {
1481
1677
  key: 1,
1482
1678
  type: "url",
1483
- class: g([h(W), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1679
+ class: g([h(B), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1484
1680
  value: e.modelValue,
1485
1681
  placeholder: e.field.placeholder || "https://...",
1486
1682
  disabled: "",
1487
1683
  title: h(o).customBlocks.dataSource.readOnlyTooltip
1488
- }, null, 10, ir)) : (i(), p("input", {
1684
+ }, null, 10, Er)) : (i(), p("input", {
1489
1685
  key: 2,
1490
1686
  type: "url",
1491
- class: g(h(W)),
1687
+ class: g(h(B)),
1492
1688
  value: e.modelValue,
1493
1689
  placeholder: e.field.placeholder || "https://...",
1494
1690
  onInput: n[0] ||= (e) => r("update:modelValue", e.target.value)
1495
- }, null, 42, ar)),
1691
+ }, null, 42, Dr)),
1496
1692
  h(c) && !e.readOnly ? (i(), p("button", {
1497
1693
  key: 3,
1498
1694
  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)]",
1499
1695
  onClick: n[1] ||= (e) => h(d)()
1500
- }, [O(h(Ae), {
1696
+ }, [k(h(de), {
1501
1697
  size: 14,
1502
1698
  "stroke-width": 1.5
1503
- }), m(" " + b(h(o).image.browseMedia), 1)])) : _("", !0)
1699
+ }), m(" " + x(h(o).image.browseMedia), 1)])) : _("", !0)
1504
1700
  ], 512)]),
1505
1701
  _: 1
1506
1702
  }, 8, [
@@ -1510,7 +1706,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1510
1706
  "read-only"
1511
1707
  ]));
1512
1708
  }
1513
- }), sr = [
1709
+ }), kr = [
1514
1710
  "value",
1515
1711
  "placeholder",
1516
1712
  "min",
@@ -1518,7 +1714,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1518
1714
  "step",
1519
1715
  "disabled",
1520
1716
  "title"
1521
- ], cr = /* @__PURE__ */ r({
1717
+ ], Ar = /* @__PURE__ */ r({
1522
1718
  __name: "NumberField",
1523
1719
  props: {
1524
1720
  field: {},
@@ -1528,16 +1724,16 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1528
1724
  },
1529
1725
  emits: ["update:modelValue"],
1530
1726
  setup(e, { emit: t }) {
1531
- let n = t, { t: r } = V();
1532
- return (t, o) => (i(), v($, {
1727
+ let n = t, { t: r } = Z();
1728
+ return (t, o) => (i(), v(wr, {
1533
1729
  "hide-label": e.hideLabel,
1534
1730
  label: e.field.label,
1535
1731
  required: e.field.required,
1536
1732
  "read-only": e.readOnly
1537
1733
  }, {
1538
- default: a(() => [y("input", {
1734
+ default: a(() => [b("input", {
1539
1735
  type: "number",
1540
- class: g([h(W), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1736
+ class: g([h(B), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1541
1737
  value: e.modelValue,
1542
1738
  placeholder: e.field.placeholder,
1543
1739
  min: e.field.min,
@@ -1546,7 +1742,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1546
1742
  disabled: e.readOnly,
1547
1743
  title: e.readOnly ? h(r).customBlocks.dataSource.readOnlyTooltip : void 0,
1548
1744
  onInput: o[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
1549
- }, null, 42, sr)]),
1745
+ }, null, 42, kr)]),
1550
1746
  _: 1
1551
1747
  }, 8, [
1552
1748
  "hide-label",
@@ -1555,13 +1751,13 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1555
1751
  "read-only"
1556
1752
  ]));
1557
1753
  }
1558
- }), lr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ur = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, dr = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, fr = ["title", "onClick"], pr = {
1754
+ }), jr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Mr = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Nr = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Pr = ["title", "onClick"], Fr = {
1559
1755
  key: 1,
1560
1756
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1561
- }, mr = {
1757
+ }, Ir = {
1562
1758
  key: 2,
1563
1759
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1564
- }, hr = /* @__PURE__ */ r({
1760
+ }, Lr = /* @__PURE__ */ r({
1565
1761
  __name: "RepeatableField",
1566
1762
  props: {
1567
1763
  field: {},
@@ -1571,14 +1767,14 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1571
1767
  },
1572
1768
  emits: ["update:modelValue"],
1573
1769
  setup(e, { emit: t }) {
1574
- let r = e, o = t, { t: s, format: l } = V(), u = S(() => r.modelValue || []), d = S(() => !r.field.maxItems || u.value.length < r.field.maxItems), f = S(() => !r.field.minItems || u.value.length > r.field.minItems);
1575
- function x() {
1770
+ let r = e, o = t, { t: s, format: l } = Z(), u = C(() => r.modelValue || []), d = C(() => !r.field.maxItems || u.value.length < r.field.maxItems), f = C(() => !r.field.minItems || u.value.length > r.field.minItems);
1771
+ function y() {
1576
1772
  if (!d.value || r.readOnly) return;
1577
1773
  let e = {};
1578
1774
  for (let t of r.field.fields) e[t.key] = t.default ?? "";
1579
1775
  o("update:modelValue", [...u.value, e]);
1580
1776
  }
1581
- function C(e) {
1777
+ function S(e) {
1582
1778
  if (!f.value || r.readOnly) return;
1583
1779
  let t = [...u.value];
1584
1780
  t.splice(e, 1), o("update:modelValue", t);
@@ -1590,26 +1786,26 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1590
1786
  } : r);
1591
1787
  o("update:modelValue", r);
1592
1788
  }
1593
- return (t, r) => (i(), v($, {
1789
+ return (t, r) => (i(), v(wr, {
1594
1790
  "hide-label": e.hideLabel,
1595
1791
  label: e.field.label,
1596
1792
  required: e.field.required,
1597
1793
  "read-only": e.readOnly
1598
1794
  }, {
1599
- default: a(() => [y("div", lr, [
1600
- (i(!0), p(E, null, c(u.value, (t, r) => (i(), p("div", {
1795
+ default: a(() => [b("div", jr, [
1796
+ (i(!0), p(D, null, c(u.value, (t, r) => (i(), p("div", {
1601
1797
  key: `${e.field.key}-${r}`,
1602
1798
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
1603
- }, [y("div", ur, [y("span", dr, " #" + b(r + 1), 1), f.value && !e.readOnly ? (i(), p("button", {
1799
+ }, [b("div", Mr, [b("span", Nr, " #" + x(r + 1), 1), f.value && !e.readOnly ? (i(), p("button", {
1604
1800
  key: 0,
1605
1801
  type: "button",
1606
1802
  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)]",
1607
1803
  title: h(s).customBlocks.fields.removeItem,
1608
- onClick: (e) => C(r)
1609
- }, [O(h(Ne), {
1804
+ onClick: (e) => S(r)
1805
+ }, [k(h(pe), {
1610
1806
  size: 12,
1611
1807
  "stroke-width": 2
1612
- })], 8, fr)) : _("", !0)]), (i(!0), p(E, null, c(e.field.fields, (a) => (i(), v(n(h(wr)(a.type)), {
1808
+ })], 8, Pr)) : _("", !0)]), (i(!0), p(D, null, c(e.field.fields, (a) => (i(), v(n(h(Kr)(a.type)), {
1613
1809
  key: a.key,
1614
1810
  field: a,
1615
1811
  "model-value": t[a.key],
@@ -1624,14 +1820,14 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1624
1820
  d.value && !e.readOnly ? (i(), p("button", {
1625
1821
  key: 0,
1626
1822
  type: "button",
1627
- class: g(h(it)),
1628
- onClick: x
1629
- }, [O(h(B), {
1823
+ class: g(h(R)),
1824
+ onClick: y
1825
+ }, [k(h(H), {
1630
1826
  size: 14,
1631
1827
  "stroke-width": 2
1632
- }), m(" " + b(h(s).customBlocks.fields.addItem), 1)], 2)) : _("", !0),
1633
- !d.value && !e.readOnly ? (i(), p("p", pr, b(h(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
1634
- !f.value && !e.readOnly ? (i(), p("p", mr, b(h(l)(h(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
1828
+ }), m(" " + x(h(s).customBlocks.fields.addItem), 1)], 2)) : _("", !0),
1829
+ !d.value && !e.readOnly ? (i(), p("p", Fr, x(h(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
1830
+ !f.value && !e.readOnly ? (i(), p("p", Ir, x(h(l)(h(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
1635
1831
  ])]),
1636
1832
  _: 1
1637
1833
  }, 8, [
@@ -1641,11 +1837,11 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1641
1837
  "read-only"
1642
1838
  ]));
1643
1839
  }
1644
- }), gr = [
1840
+ }), Rr = [
1645
1841
  "value",
1646
1842
  "disabled",
1647
1843
  "title"
1648
- ], _r = ["value"], vr = /* @__PURE__ */ r({
1844
+ ], zr = ["value"], Br = /* @__PURE__ */ r({
1649
1845
  __name: "SelectField",
1650
1846
  props: {
1651
1847
  field: {},
@@ -1655,23 +1851,23 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1655
1851
  },
1656
1852
  emits: ["update:modelValue"],
1657
1853
  setup(e, { emit: t }) {
1658
- let n = t, { t: r } = V();
1659
- return (t, o) => (i(), v($, {
1854
+ let n = t, { t: r } = Z();
1855
+ return (t, o) => (i(), v(wr, {
1660
1856
  "hide-label": e.hideLabel,
1661
1857
  label: e.field.label,
1662
1858
  required: e.field.required,
1663
1859
  "read-only": e.readOnly
1664
1860
  }, {
1665
- default: a(() => [y("select", {
1666
- class: g([h(W), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1861
+ default: a(() => [b("select", {
1862
+ class: g([h(B), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1667
1863
  value: e.modelValue,
1668
1864
  disabled: e.readOnly,
1669
1865
  title: e.readOnly ? h(r).customBlocks.dataSource.readOnlyTooltip : void 0,
1670
1866
  onChange: o[0] ||= (t) => !e.readOnly && n("update:modelValue", t.target.value)
1671
- }, [(i(!0), p(E, null, c(e.field.options, (e) => (i(), p("option", {
1867
+ }, [(i(!0), p(D, null, c(e.field.options, (e) => (i(), p("option", {
1672
1868
  key: e.value,
1673
1869
  value: e.value
1674
- }, b(e.label), 9, _r))), 128))], 42, gr)]),
1870
+ }, x(e.label), 9, zr))), 128))], 42, Rr)]),
1675
1871
  _: 1
1676
1872
  }, 8, [
1677
1873
  "hide-label",
@@ -1680,11 +1876,11 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1680
1876
  "read-only"
1681
1877
  ]));
1682
1878
  }
1683
- }), yr = [
1879
+ }), Vr = [
1684
1880
  "value",
1685
1881
  "placeholder",
1686
1882
  "title"
1687
- ], br = /* @__PURE__ */ r({
1883
+ ], Hr = /* @__PURE__ */ r({
1688
1884
  __name: "TextField",
1689
1885
  props: {
1690
1886
  field: {},
@@ -1694,8 +1890,8 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1694
1890
  },
1695
1891
  emits: ["update:modelValue"],
1696
1892
  setup(e, { emit: t }) {
1697
- let n = t, { t: r } = V();
1698
- return (t, o) => (i(), v($, {
1893
+ let n = t, { t: r } = Z();
1894
+ return (t, o) => (i(), v(wr, {
1699
1895
  "hide-label": e.hideLabel,
1700
1896
  label: e.field.label,
1701
1897
  required: e.field.required,
@@ -1704,12 +1900,12 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1704
1900
  default: a(() => [e.readOnly ? (i(), p("input", {
1705
1901
  key: 0,
1706
1902
  type: "text",
1707
- class: g([h(W), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1903
+ class: g([h(B), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1708
1904
  value: e.modelValue,
1709
1905
  placeholder: e.field.placeholder,
1710
1906
  disabled: "",
1711
1907
  title: h(r).customBlocks.dataSource.readOnlyTooltip
1712
- }, null, 10, yr)) : (i(), v(Y, {
1908
+ }, null, 10, Vr)) : (i(), v(N, {
1713
1909
  key: 1,
1714
1910
  "model-value": e.modelValue,
1715
1911
  placeholder: e.field.placeholder,
@@ -1723,12 +1919,12 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1723
1919
  "read-only"
1724
1920
  ]));
1725
1921
  }
1726
- }), xr = [
1922
+ }), Ur = [
1727
1923
  "value",
1728
1924
  "placeholder",
1729
1925
  "title"
1730
- ], Sr = "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", Cr = {
1731
- text: br,
1926
+ ], Wr = "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", Gr = {
1927
+ text: Hr,
1732
1928
  textarea: /* @__PURE__ */ r({
1733
1929
  __name: "TextareaField",
1734
1930
  props: {
@@ -1739,8 +1935,8 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1739
1935
  },
1740
1936
  emits: ["update:modelValue"],
1741
1937
  setup(e, { emit: t }) {
1742
- let n = t, { t: r } = V();
1743
- return (t, o) => (i(), v($, {
1938
+ let n = t, { t: r } = Z();
1939
+ return (t, o) => (i(), v(wr, {
1744
1940
  "hide-label": e.hideLabel,
1745
1941
  label: e.field.label,
1746
1942
  required: e.field.required,
@@ -1753,8 +1949,8 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1753
1949
  rows: "3",
1754
1950
  disabled: "",
1755
1951
  title: h(r).customBlocks.dataSource.readOnlyTooltip,
1756
- class: g(Sr)
1757
- }, null, 8, xr)) : (i(), v(dt, {
1952
+ class: g(Wr)
1953
+ }, null, 8, Ur)) : (i(), v(j, {
1758
1954
  key: 1,
1759
1955
  "model-value": e.modelValue,
1760
1956
  placeholder: e.field.placeholder,
@@ -1769,93 +1965,93 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1769
1965
  ]));
1770
1966
  }
1771
1967
  }),
1772
- image: or,
1773
- color: rr,
1774
- number: cr,
1775
- select: vr,
1776
- boolean: tr,
1777
- repeatable: hr
1968
+ image: Or,
1969
+ color: Tr,
1970
+ number: Ar,
1971
+ select: Br,
1972
+ boolean: Sr,
1973
+ repeatable: Lr
1778
1974
  };
1779
- function wr(e) {
1780
- return Cr[e] ?? br;
1975
+ function Kr(e) {
1976
+ return Gr[e] ?? Hr;
1781
1977
  }
1782
1978
  // src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
1783
- var Tr = {
1979
+ var qr = {
1784
1980
  key: 0,
1785
1981
  class: "tpl:p-4"
1786
- }, Er = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Dr = { key: 1 }, Or = {
1982
+ }, Jr = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Yr = { key: 1 }, Xr = {
1787
1983
  key: 0,
1788
1984
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1789
- }, kr = {
1985
+ }, Zr = {
1790
1986
  key: 1,
1791
1987
  class: "tpl:mb-4"
1792
- }, Ar = {
1988
+ }, Qr = {
1793
1989
  key: 1,
1794
1990
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
1795
- }, jr = {
1991
+ }, $r = {
1796
1992
  key: 0,
1797
1993
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1798
- }, Mr = {
1994
+ }, ei = {
1799
1995
  key: 2,
1800
1996
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
1801
- }, Nr = /* @__PURE__ */ r({
1997
+ }, ti = /* @__PURE__ */ r({
1802
1998
  __name: "CustomBlockToolbar",
1803
1999
  props: { block: {} },
1804
2000
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1805
2001
  setup(e, { emit: t }) {
1806
- let r = e, o = t, { t: s } = V(), u = l(Ye, []), d = S(() => u.find((e) => e.type === r.block.customType)), f = S(() => r.block), { isFetching: g, fetchError: x, fetch: C, hasDataSource: w, needsFetch: T } = oe({
2002
+ let r = e, o = t, { t: s } = Z(), u = l(at, []), d = C(() => u.find((e) => e.type === r.block.customType)), f = C(() => r.block), { isFetching: g, fetchError: y, fetch: S, hasDataSource: w, needsFetch: T } = Pe({
1807
2003
  definition: d,
1808
2004
  block: f,
1809
2005
  onUpdate: (e, t) => {
1810
2006
  o("updateFieldValues", e), o("updateDataSourceFetched", t);
1811
2007
  }
1812
2008
  });
1813
- function D(e) {
2009
+ function E(e) {
1814
2010
  return e.readOnly === !0 && w.value && !!r.block.dataSourceFetched;
1815
2011
  }
1816
- function k(e, t) {
2012
+ function O(e, t) {
1817
2013
  o("updateFieldValues", {
1818
2014
  ...r.block.fieldValues,
1819
2015
  [e]: t
1820
2016
  });
1821
2017
  }
1822
- return (t, r) => d.value ? (i(), p("div", Dr, [
1823
- d.value.description ? (i(), p("p", Or, b(d.value.description), 1)) : _("", !0),
1824
- h(w) ? (i(), p("div", kr, [h(T) && !h(g) ? (i(), p("button", {
2018
+ return (t, r) => d.value ? (i(), p("div", Yr, [
2019
+ d.value.description ? (i(), p("p", Xr, x(d.value.description), 1)) : _("", !0),
2020
+ h(w) ? (i(), p("div", Zr, [h(T) && !h(g) ? (i(), p("button", {
1825
2021
  key: 0,
1826
2022
  type: "button",
1827
2023
  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)]",
1828
- onClick: r[0] ||= (...e) => h(C) && h(C)(...e)
1829
- }, b(d.value?.dataSource?.label || h(s).customBlocks.dataSource.fetchButton), 1)) : (i(), p("div", Ar, [h(g) ? (i(), p("div", jr, b(h(s).customBlocks.dataSource.fetching), 1)) : (i(), p("button", {
2024
+ onClick: r[0] ||= (...e) => h(S) && h(S)(...e)
2025
+ }, x(d.value?.dataSource?.label || h(s).customBlocks.dataSource.fetchButton), 1)) : (i(), p("div", Qr, [h(g) ? (i(), p("div", $r, x(h(s).customBlocks.dataSource.fetching), 1)) : (i(), p("button", {
1830
2026
  key: 1,
1831
2027
  type: "button",
1832
2028
  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)]",
1833
- onClick: r[1] ||= (...e) => h(C) && h(C)(...e)
1834
- }, [O(h(Oe), { size: 12 }), m(" " + b(h(s).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (i(), p("p", Mr, [O(h(Te), {
2029
+ onClick: r[1] ||= (...e) => h(S) && h(S)(...e)
2030
+ }, [k(h(le), { size: 12 }), m(" " + x(h(s).customBlocks.dataSource.changeButton), 1)]))])), h(y) ? (i(), p("p", ei, [k(h(oe), {
1835
2031
  size: 14,
1836
2032
  class: "tpl:shrink-0"
1837
- }), m(" " + b(h(s).customBlocks.dataSource.fetchError), 1)])) : _("", !0)])) : _("", !0),
1838
- (i(!0), p(E, null, c(d.value.fields, (t) => (i(), v(K, {
2033
+ }), m(" " + x(h(s).customBlocks.dataSource.fetchError), 1)])) : _("", !0)])) : _("", !0),
2034
+ (i(!0), p(D, null, c(d.value.fields, (t) => (i(), v(A, {
1839
2035
  key: t.key,
1840
2036
  path: `fieldValues.${t.key}`,
1841
2037
  label: t.label
1842
2038
  }, {
1843
- label: a(() => [O($n, {
2039
+ label: a(() => [k(br, {
1844
2040
  label: t.label,
1845
2041
  required: t.required,
1846
- "read-only": D(t)
2042
+ "read-only": E(t)
1847
2043
  }, null, 8, [
1848
2044
  "label",
1849
2045
  "required",
1850
2046
  "read-only"
1851
2047
  ])]),
1852
- default: a(({ controlId: r }) => [(i(), v(n(h(wr)(t.type)), {
2048
+ default: a(({ controlId: r }) => [(i(), v(n(h(Kr)(t.type)), {
1853
2049
  "control-id": t.type === "boolean" ? r : void 0,
1854
2050
  field: t,
1855
2051
  "hide-label": "",
1856
2052
  "model-value": e.block.fieldValues[t.key],
1857
- "read-only": D(t),
1858
- "onUpdate:modelValue": (e) => k(t.key, e)
2053
+ "read-only": E(t),
2054
+ "onUpdate:modelValue": (e) => O(t.key, e)
1859
2055
  }, null, 8, [
1860
2056
  "control-id",
1861
2057
  "field",
@@ -1865,24 +2061,24 @@ var Tr = {
1865
2061
  ]))]),
1866
2062
  _: 2
1867
2063
  }, 1032, ["path", "label"]))), 128))
1868
- ])) : (i(), p("div", Tr, [y("p", Er, b(h(s).customBlocks.toolbar.noDefinition), 1)]));
2064
+ ])) : (i(), p("div", qr, [b("p", Jr, x(h(s).customBlocks.toolbar.noDefinition), 1)]));
1869
2065
  }
1870
- }), Pr = { class: "tpl:flex tpl:items-stretch" }, Fr = ["value"], Ir = /* @__PURE__ */ r({
2066
+ }), ni = { class: "tpl:flex tpl:items-stretch" }, ri = ["value"], ii = /* @__PURE__ */ r({
1871
2067
  __name: "DividerToolbar",
1872
2068
  props: { block: {} },
1873
2069
  emits: ["update"],
1874
2070
  setup(e, { emit: t }) {
1875
- let n = t, { t: r } = V();
2071
+ let n = t, { t: r } = Z();
1876
2072
  function o(e, t) {
1877
2073
  n("update", { [e]: t });
1878
2074
  }
1879
- return (t, n) => (i(), p(E, null, [
1880
- O(K, {
2075
+ return (t, n) => (i(), p(D, null, [
2076
+ k(A, {
1881
2077
  label: h(r).divider.style,
1882
2078
  class: "tpl:mb-3.5",
1883
2079
  path: "lineStyle"
1884
2080
  }, {
1885
- default: a(() => [O(X, {
2081
+ default: a(() => [k($, {
1886
2082
  options: [
1887
2083
  {
1888
2084
  value: "solid",
@@ -1902,79 +2098,79 @@ var Tr = {
1902
2098
  }, null, 8, ["options", "model-value"])]),
1903
2099
  _: 1
1904
2100
  }, 8, ["label"]),
1905
- O(K, {
2101
+ k(A, {
1906
2102
  label: h(r).divider.color,
1907
2103
  class: "tpl:mb-3.5",
1908
2104
  path: "color"
1909
2105
  }, {
1910
- default: a(() => [O(q, {
2106
+ default: a(() => [k(M, {
1911
2107
  "model-value": e.block.color,
1912
2108
  "onUpdate:modelValue": n[1] ||= (e) => o("color", e)
1913
2109
  }, null, 8, ["model-value"])]),
1914
2110
  _: 1
1915
2111
  }, 8, ["label"]),
1916
- O(K, {
2112
+ k(A, {
1917
2113
  label: h(r).divider.thickness,
1918
2114
  class: "tpl:mb-3.5",
1919
2115
  path: "thickness"
1920
2116
  }, {
1921
- default: a(() => [y("div", Pr, [y("input", {
2117
+ default: a(() => [b("div", ni, [b("input", {
1922
2118
  type: "number",
1923
- class: g(h(U)),
2119
+ class: g(h(z)),
1924
2120
  value: e.block.thickness,
1925
2121
  min: "1",
1926
2122
  max: "10",
1927
2123
  onInput: n[2] ||= (e) => o("thickness", Number(e.target.value))
1928
- }, null, 42, Fr), y("span", { class: g(h(H)) }, "px", 2)])]),
2124
+ }, null, 42, ri), b("span", { class: g(h(L)) }, "px", 2)])]),
1929
2125
  _: 1
1930
2126
  }, 8, ["label"])
1931
2127
  ], 64));
1932
2128
  }
1933
- }), Lr = ["value"], Rr = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, zr = /* @__PURE__ */ r({
2129
+ }), ai = ["value"], oi = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, si = /* @__PURE__ */ r({
1934
2130
  __name: "HtmlToolbar",
1935
2131
  props: { block: {} },
1936
2132
  emits: ["update"],
1937
2133
  setup(e, { emit: t }) {
1938
- let n = t, { t: r } = V();
1939
- return (t, o) => (i(), v(K, {
2134
+ let n = t, { t: r } = Z();
2135
+ return (t, o) => (i(), v(A, {
1940
2136
  label: h(r).html.content,
1941
2137
  class: "tpl:mb-3.5",
1942
2138
  path: "content"
1943
2139
  }, {
1944
- default: a(() => [y("textarea", {
2140
+ default: a(() => [b("textarea", {
1945
2141
  value: e.block.content,
1946
2142
  placeholder: "<div>...</div>",
1947
2143
  rows: "10",
1948
- class: g(h(ot)),
2144
+ class: g(h(ne)),
1949
2145
  onInput: o[0] ||= (e) => n("update", { content: e.target.value })
1950
- }, null, 42, Lr), y("p", Rr, [O(h(Pe), {
2146
+ }, null, 42, ai), b("p", oi, [k(h(W), {
1951
2147
  size: 12,
1952
2148
  class: "tpl:mt-0.5 tpl:shrink-0"
1953
- }), m(" " + b(h(r).html.sanitizationHint), 1)])]),
2149
+ }), m(" " + x(h(r).html.sanitizationHint), 1)])]),
1954
2150
  _: 1
1955
2151
  }, 8, ["label"]));
1956
2152
  }
1957
2153
  });
1958
2154
  // src/composables/useImageAspectLock.ts
1959
- function Br(e) {
1960
- let t = T(!1), n = T(null);
2155
+ function ci(e) {
2156
+ let t = E(!1), n = E(null);
1961
2157
  o(() => e.block().id, () => {
1962
2158
  t.value = !1, n.value = null;
1963
2159
  });
1964
- let r = S(() => fe(e.block()) ?? e.measured()), i = S(() => {
2160
+ let r = C(() => Be(e.block()) ?? e.measured()), i = C(() => {
1965
2161
  let t = e.block().width;
1966
2162
  return t === "full" ? e.room() : t;
1967
- }), a = S(() => {
2163
+ }), a = C(() => {
1968
2164
  let e = r.value, t = i.value;
1969
2165
  return !e || t === null ? null : Math.round(t * e.height / e.width);
1970
- }), s = S(() => r.value !== null), c = S(() => {
2166
+ }), s = C(() => r.value !== null), c = C(() => {
1971
2167
  let t = e.block().height;
1972
2168
  return t === void 0 || a.value !== null && Math.abs(a.value - t) <= 1;
1973
- }), l = S(() => s.value && !t.value && c.value);
2169
+ }), l = C(() => s.value && !t.value && c.value);
1974
2170
  function u() {
1975
- if (fe(e.block())) return {};
2171
+ if (Be(e.block())) return {};
1976
2172
  let t = e.measured();
1977
- return t ? pe(t) : {};
2173
+ return t ? Ve(t) : {};
1978
2174
  }
1979
2175
  function d(r) {
1980
2176
  if (n.value = null, !r) return t.value = !0, null;
@@ -2016,120 +2212,120 @@ function Br(e) {
2016
2212
  };
2017
2213
  }
2018
2214
  // src/components/toolbar/ImageToolbar.vue?vue&type=script&setup=true&lang.ts
2019
- var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2215
+ var li = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ui = [
2020
2216
  "value",
2021
2217
  "placeholder",
2022
2218
  "title"
2023
- ], Ur = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Wr = ["value"], Gr = { value: "full" }, Kr = { value: "custom" }, qr = {
2219
+ ], di = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, fi = ["value"], pi = { value: "full" }, mi = { value: "custom" }, hi = {
2024
2220
  key: 0,
2025
2221
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2026
- }, Jr = ["value"], Yr = ["value"], Xr = { value: "auto" }, Zr = { value: "always" }, Qr = { value: "never" }, $r = { class: "tpl:flex tpl:items-stretch" }, ei = ["value"], ti = {
2222
+ }, gi = ["value"], _i = ["value"], vi = { value: "auto" }, yi = { value: "always" }, bi = { value: "never" }, xi = { class: "tpl:flex tpl:items-stretch" }, Si = ["value"], Ci = {
2027
2223
  key: 0,
2028
2224
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
2029
2225
  role: "status",
2030
2226
  "data-testid": "image-height-capped"
2031
- }, ni = ["value"], ri = { value: "auto" }, ii = { value: "custom" }, ai = {
2227
+ }, wi = ["value"], Ti = { value: "auto" }, Ei = { value: "custom" }, Di = {
2032
2228
  key: 2,
2033
2229
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2034
- }, oi = ["value"], si = 350, ci = 200, li = /* @__PURE__ */ r({
2230
+ }, Oi = ["value"], ki = 350, Ai = 200, ji = /* @__PURE__ */ r({
2035
2231
  __name: "ImageToolbar",
2036
2232
  props: { block: {} },
2037
2233
  emits: ["update"],
2038
2234
  setup(e, { emit: t }) {
2039
- let n = e, r = t, { t: o, format: s } = V(), c = l(Ve, A.liquid), u = l($e, null), d = u ? et(u) : null, f = l(We, void 0), x = T(!1), C = T(!1), { start: w } = st(() => {
2040
- x.value = !1, C.value = !1;
2041
- }, 1e3, { immediate: !1 }), k = [
2235
+ let n = e, r = t, { t: o, format: s } = Z(), c = l(Xe, he.liquid), u = l(lt, null), d = u ? pt(u) : null, f = l(et, void 0), y = E(!1), S = E(!1), { start: w } = mt(() => {
2236
+ y.value = !1, S.value = !1;
2237
+ }, 1e3, { immediate: !1 }), T = [
2042
2238
  300,
2043
2239
  400,
2044
2240
  500
2045
- ], j = S(() => {
2241
+ ], j = C(() => {
2046
2242
  let e = n.block.width;
2047
- return e === "full" ? "full" : k.includes(e) ? String(e) : "custom";
2048
- }), M = S(() => typeof n.block.height == "number" ? "custom" : "auto"), F = S(() => n.block.fluidOnMobile === !0 ? "always" : n.block.fluidOnMobile === !1 ? "never" : "auto");
2243
+ return e === "full" ? "full" : T.includes(e) ? String(e) : "custom";
2244
+ }), M = C(() => typeof n.block.height == "number" ? "custom" : "auto"), F = C(() => n.block.fluidOnMobile === !0 ? "always" : n.block.fluidOnMobile === !1 ? "never" : "auto");
2049
2245
  function I(e, t) {
2050
2246
  r("update", { [e]: t });
2051
2247
  }
2052
2248
  function ee(e) {
2053
2249
  if (e === "custom") {
2054
2250
  let e = n.block.width;
2055
- (typeof e != "number" || k.includes(e)) && r("update", z.widthUpdates(si));
2056
- } else r("update", z.widthUpdates(e === "full" ? "full" : Number(e)));
2251
+ (typeof e != "number" || T.includes(e)) && r("update", W.widthUpdates(ki));
2252
+ } else r("update", W.widthUpdates(e === "full" ? "full" : Number(e)));
2057
2253
  }
2058
- function L(e) {
2059
- I("height", e === "custom" ? ci : void 0);
2254
+ function R(e) {
2255
+ I("height", e === "custom" ? Ai : void 0);
2060
2256
  }
2061
2257
  function te(e) {
2062
2258
  I("fluidOnMobile", e === "always" || e !== "never" && void 0);
2063
2259
  }
2064
- function R(e) {
2260
+ function V(e) {
2065
2261
  let t = Number(e);
2066
2262
  !Number.isFinite(t) || t <= 0 || I("height", t);
2067
2263
  }
2068
2264
  function ne(e) {
2069
- I("borderRadius", N(e) === null ? void 0 : e);
2265
+ I("borderRadius", me(e) === null ? void 0 : e);
2070
2266
  }
2071
2267
  function re(e) {
2072
2268
  let t = Number(e);
2073
- !Number.isFinite(t) || t <= 0 || r("update", z.widthUpdates(t));
2269
+ !Number.isFinite(t) || t <= 0 || r("update", W.widthUpdates(t));
2074
2270
  }
2075
2271
  function ie(e) {
2076
2272
  e !== n.block.src && r("update", {
2077
2273
  src: e,
2078
- ...pe(null)
2274
+ ...Ve(null)
2079
2275
  });
2080
2276
  }
2081
2277
  function ae(e) {
2082
2278
  r("update", {
2083
2279
  src: e.url,
2084
- ...pe(ce(e.width, e.height))
2085
- }), e.alt && (I("alt", e.alt), C.value = !0), x.value = !0, w();
2280
+ ...Ve(Ie(e.width, e.height))
2281
+ }), e.alt && (I("alt", e.alt), S.value = !0), y.value = !0, w();
2086
2282
  }
2087
- let oe = T(), le = S(() => P(n.block.src, c)), { canBrowse: ue, isUploading: he, showOverlay: ge, openMediaBrowser: _e } = be({
2088
- target: oe,
2089
- blocked: le,
2283
+ let H = E(), oe = C(() => ve(n.block.src, c)), { canBrowse: se, isUploading: ce, showOverlay: le, openMediaBrowser: ue } = Je({
2284
+ target: H,
2285
+ blocked: oe,
2090
2286
  apply: ae
2091
- }), ve = se(() => le.value || !n.block.src || fe(n.block) ? void 0 : n.block.src), ye = cn(() => ve.value), xe = S(() => d ? me(d.content.value, n.block.id, f) : null), z = Br({
2287
+ }), fe = Fe(() => oe.value || !n.block.src || Be(n.block) ? void 0 : n.block.src), U = fn(() => fe.value), pe = C(() => d ? He(d.content.value, n.block.id, f) : null), W = ci({
2092
2288
  block: () => n.block,
2093
- room: () => xe.value,
2094
- measured: () => ye.value
2095
- }), { available: Se, locked: Ce, derivedHeight: we, cappedHeight: B } = z;
2096
- function Te() {
2097
- let e = z.setLocked(!Ce.value);
2289
+ room: () => pe.value,
2290
+ measured: () => U.value
2291
+ }), { available: G, locked: K, derivedHeight: q, cappedHeight: J } = W;
2292
+ function Y() {
2293
+ let e = W.setLocked(!K.value);
2098
2294
  e && r("update", e);
2099
2295
  }
2100
- let Ee = T(null);
2101
- function De(e) {
2102
- Ee.value = e;
2103
- let t = z.heightUpdates(Number(e));
2296
+ let X = E(null);
2297
+ function ge(e) {
2298
+ X.value = e;
2299
+ let t = W.heightUpdates(Number(e));
2104
2300
  t && r("update", t);
2105
2301
  }
2106
- return (t, n) => (i(), p(E, null, [
2107
- O(K, {
2302
+ return (t, n) => (i(), p(D, null, [
2303
+ k(A, {
2108
2304
  label: h(o).image.imageUrl,
2109
2305
  class: "tpl:mb-3.5",
2110
2306
  path: "src"
2111
2307
  }, {
2112
- default: a(() => [y("div", {
2308
+ default: a(() => [b("div", {
2113
2309
  ref_key: "dropZoneRef",
2114
- ref: oe,
2310
+ ref: H,
2115
2311
  class: "tpl:relative"
2116
2312
  }, [
2117
- h(ge) ? (i(), v(de, {
2313
+ h(le) ? (i(), v(ze, {
2118
2314
  key: 0,
2119
- uploading: h(he)
2315
+ uploading: h(ce)
2120
2316
  }, null, 8, ["uploading"])) : _("", !0),
2121
- O(Y, {
2317
+ k(N, {
2122
2318
  "model-value": e.block.src,
2123
2319
  type: "url",
2124
2320
  placeholder: h(o).image.imageUrlPlaceholder,
2125
- pulse: x.value,
2321
+ pulse: y.value,
2126
2322
  "onUpdate:modelValue": n[0] ||= (e) => ie(e)
2127
2323
  }, null, 8, [
2128
2324
  "model-value",
2129
2325
  "placeholder",
2130
2326
  "pulse"
2131
2327
  ]),
2132
- h(ue) ? (i(), p("button", {
2328
+ h(se) ? (i(), p("button", {
2133
2329
  key: 1,
2134
2330
  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",
2135
2331
  style: {
@@ -2137,40 +2333,40 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2137
2333
  color: "var(--tpl-primary)",
2138
2334
  "background-color": "var(--tpl-bg)"
2139
2335
  },
2140
- onClick: n[1] ||= (...e) => h(_e) && h(_e)(...e)
2141
- }, [O(h(Ae), {
2336
+ onClick: n[1] ||= (...e) => h(ue) && h(ue)(...e)
2337
+ }, [k(h(de), {
2142
2338
  size: 14,
2143
2339
  "stroke-width": 1.5
2144
- }), m(" " + b(h(o).image.browseMedia), 1)])) : _("", !0)
2340
+ }), m(" " + x(h(o).image.browseMedia), 1)])) : _("", !0)
2145
2341
  ], 512)]),
2146
2342
  _: 1
2147
2343
  }, 8, ["label"]),
2148
- h(P)(e.block.src, h(c)) ? (i(), v(K, {
2344
+ h(ve)(e.block.src, h(c)) ? (i(), v(A, {
2149
2345
  key: 0,
2150
2346
  class: "tpl:mb-3.5",
2151
2347
  path: "placeholderUrl"
2152
2348
  }, {
2153
- label: a(() => [m(b(h(o).image.placeholderUrl) + " ", 1), y("span", Vr, b(h(o).image.optional), 1)]),
2154
- default: a(() => [y("input", {
2349
+ label: a(() => [m(x(h(o).image.placeholderUrl) + " ", 1), b("span", li, x(h(o).image.optional), 1)]),
2350
+ default: a(() => [b("input", {
2155
2351
  type: "url",
2156
- class: g(h(W)),
2352
+ class: g(h(B)),
2157
2353
  value: e.block.placeholderUrl || "",
2158
2354
  placeholder: h(o).image.placeholderUrlPlaceholder,
2159
2355
  title: h(o).image.placeholderUrlTooltip,
2160
2356
  onInput: n[2] ||= (e) => I("placeholderUrl", e.target.value)
2161
- }, null, 42, Hr)]),
2357
+ }, null, 42, ui)]),
2162
2358
  _: 1
2163
2359
  })) : _("", !0),
2164
- O(K, {
2360
+ k(A, {
2165
2361
  label: h(o).image.altText,
2166
2362
  class: "tpl:mb-3.5",
2167
2363
  path: "alt"
2168
2364
  }, {
2169
- default: a(() => [O(Y, {
2365
+ default: a(() => [k(N, {
2170
2366
  "model-value": e.block.alt,
2171
2367
  type: "text",
2172
2368
  placeholder: h(o).image.altTextPlaceholder,
2173
- pulse: C.value,
2369
+ pulse: S.value,
2174
2370
  disabled: e.block.decorative === !0,
2175
2371
  "onUpdate:modelValue": n[3] ||= (e) => I("alt", e)
2176
2372
  }, null, 8, [
@@ -2178,12 +2374,12 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2178
2374
  "placeholder",
2179
2375
  "pulse",
2180
2376
  "disabled"
2181
- ]), O(K, {
2377
+ ]), k(A, {
2182
2378
  path: "decorative",
2183
2379
  label: h(o).image.decorative
2184
2380
  }, {
2185
- label: a(() => [y("span", null, [m(b(h(o).image.decorative) + " ", 1), y("span", Ur, b(h(o).image.decorativeHint), 1)])]),
2186
- "label-actions": a(({ controlId: t }) => [O(J, {
2381
+ label: a(() => [b("span", null, [m(x(h(o).image.decorative) + " ", 1), b("span", di, x(h(o).image.decorativeHint), 1)])]),
2382
+ "label-actions": a(({ controlId: t }) => [k(P, {
2187
2383
  "control-id": t,
2188
2384
  "hide-label": "",
2189
2385
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -2199,89 +2395,89 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2199
2395
  }, 8, ["label"])]),
2200
2396
  _: 1
2201
2397
  }, 8, ["label"]),
2202
- O(K, {
2398
+ k(A, {
2203
2399
  label: h(o).image.width,
2204
2400
  class: "tpl:mb-3.5",
2205
2401
  path: "width"
2206
2402
  }, {
2207
- default: a(() => [y("select", {
2208
- class: g(h(W)),
2403
+ default: a(() => [b("select", {
2404
+ class: g(h(B)),
2209
2405
  "data-testid": "image-width-mode",
2210
2406
  value: j.value,
2211
2407
  onChange: n[5] ||= (e) => ee(e.target.value)
2212
2408
  }, [
2213
- y("option", Gr, b(h(o).image.fullWidth), 1),
2214
- n[16] ||= y("option", { value: "300" }, "300px", -1),
2215
- n[17] ||= y("option", { value: "400" }, "400px", -1),
2216
- n[18] ||= y("option", { value: "500" }, "500px", -1),
2217
- y("option", Kr, b(h(o).image.widthCustom), 1)
2218
- ], 42, Wr), j.value === "custom" ? (i(), p("div", qr, [y("input", {
2409
+ b("option", pi, x(h(o).image.fullWidth), 1),
2410
+ n[16] ||= b("option", { value: "300" }, "300px", -1),
2411
+ n[17] ||= b("option", { value: "400" }, "400px", -1),
2412
+ n[18] ||= b("option", { value: "500" }, "500px", -1),
2413
+ b("option", mi, x(h(o).image.widthCustom), 1)
2414
+ ], 42, fi), j.value === "custom" ? (i(), p("div", hi, [b("input", {
2219
2415
  type: "number",
2220
2416
  "data-testid": "image-width-input",
2221
- class: g(h(U)),
2222
- value: typeof e.block.width == "number" ? e.block.width : si,
2417
+ class: g(h(z)),
2418
+ value: typeof e.block.width == "number" ? e.block.width : ki,
2223
2419
  min: "20",
2224
2420
  onInput: n[6] ||= (e) => re(e.target.value)
2225
- }, null, 42, Jr), y("span", { class: g(h(H)) }, "px", 2)])) : _("", !0)]),
2421
+ }, null, 42, gi), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
2226
2422
  _: 1
2227
2423
  }, 8, ["label"]),
2228
- O(K, {
2424
+ k(A, {
2229
2425
  label: h(o).image.fluidOnMobile,
2230
2426
  class: "tpl:mb-3.5",
2231
2427
  path: "fluidOnMobile"
2232
2428
  }, {
2233
- default: a(() => [y("select", {
2234
- class: g(h(W)),
2429
+ default: a(() => [b("select", {
2430
+ class: g(h(B)),
2235
2431
  "data-testid": "image-fluid-on-mobile",
2236
2432
  value: F.value,
2237
2433
  onChange: n[7] ||= (e) => te(e.target.value)
2238
2434
  }, [
2239
- y("option", Xr, b(h(o).image.fluidOnMobileAuto), 1),
2240
- y("option", Zr, b(h(o).image.fluidOnMobileAlways), 1),
2241
- y("option", Qr, b(h(o).image.fluidOnMobileNever), 1)
2242
- ], 42, Yr)]),
2435
+ b("option", vi, x(h(o).image.fluidOnMobileAuto), 1),
2436
+ b("option", yi, x(h(o).image.fluidOnMobileAlways), 1),
2437
+ b("option", bi, x(h(o).image.fluidOnMobileNever), 1)
2438
+ ], 42, _i)]),
2243
2439
  _: 1
2244
2440
  }, 8, ["label"]),
2245
- O(K, {
2441
+ k(A, {
2246
2442
  class: "tpl:mb-3.5",
2247
2443
  path: "height",
2248
2444
  label: h(o).image.height
2249
- }, D({
2445
+ }, O({
2250
2446
  default: a(() => [
2251
- h(Ce) ? (i(), p(E, { key: 0 }, [y("div", $r, [y("input", {
2447
+ h(K) ? (i(), p(D, { key: 0 }, [b("div", xi, [b("input", {
2252
2448
  type: "number",
2253
2449
  "data-testid": "image-locked-height-input",
2254
- class: g(h(U)),
2255
- value: Ee.value ?? h(we) ?? "",
2450
+ class: g(h(z)),
2451
+ value: X.value ?? h(q) ?? "",
2256
2452
  min: "1",
2257
- onInput: n[8] ||= (e) => De(e.target.value),
2258
- onBlur: n[9] ||= (e) => Ee.value = null
2259
- }, null, 42, ei), y("span", { class: g(h(H)) }, "px", 2)]), h(B) === null ? _("", !0) : (i(), p("p", ti, b(h(s)(h(o).image.heightCapped, { height: h(B) })), 1))], 64)) : _("", !0),
2260
- h(Ce) ? _("", !0) : (i(), p("select", {
2453
+ onInput: n[8] ||= (e) => ge(e.target.value),
2454
+ onBlur: n[9] ||= (e) => X.value = null
2455
+ }, null, 42, Si), b("span", { class: g(h(L)) }, "px", 2)]), h(J) === null ? _("", !0) : (i(), p("p", Ci, x(h(s)(h(o).image.heightCapped, { height: h(J) })), 1))], 64)) : _("", !0),
2456
+ h(K) ? _("", !0) : (i(), p("select", {
2261
2457
  key: 1,
2262
- class: g(h(W)),
2458
+ class: g(h(B)),
2263
2459
  "data-testid": "image-height-mode",
2264
2460
  value: M.value,
2265
- onChange: n[10] ||= (e) => L(e.target.value)
2266
- }, [y("option", ri, b(h(o).image.heightAuto), 1), y("option", ii, b(h(o).image.heightCustom), 1)], 42, ni)),
2267
- !h(Ce) && M.value === "custom" ? (i(), p("div", ai, [y("input", {
2461
+ onChange: n[10] ||= (e) => R(e.target.value)
2462
+ }, [b("option", Ti, x(h(o).image.heightAuto), 1), b("option", Ei, x(h(o).image.heightCustom), 1)], 42, wi)),
2463
+ !h(K) && M.value === "custom" ? (i(), p("div", Di, [b("input", {
2268
2464
  type: "number",
2269
2465
  "data-testid": "image-height-input",
2270
- class: g(h(U)),
2466
+ class: g(h(z)),
2271
2467
  value: e.block.height,
2272
2468
  min: "20",
2273
- onInput: n[11] ||= (e) => R(e.target.value)
2274
- }, null, 42, oi), y("span", { class: g(h(H)) }, "px", 2)])) : _("", !0)
2469
+ onInput: n[11] ||= (e) => V(e.target.value)
2470
+ }, null, 42, Oi), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)
2275
2471
  ]),
2276
2472
  _: 2
2277
- }, [h(Se) ? {
2473
+ }, [h(G) ? {
2278
2474
  name: "label-actions",
2279
- fn: a(() => [O(yt, {
2280
- linked: h(Ce),
2475
+ fn: a(() => [k(St, {
2476
+ linked: h(K),
2281
2477
  "link-label": h(o).image.lockAspectRatio,
2282
2478
  "unlink-label": h(o).image.unlockAspectRatio,
2283
2479
  testid: "image-aspect-lock",
2284
- onToggle: Te
2480
+ onToggle: Y
2285
2481
  }, null, 8, [
2286
2482
  "linked",
2287
2483
  "link-label",
@@ -2289,25 +2485,25 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2289
2485
  ])]),
2290
2486
  key: "0"
2291
2487
  } : void 0]), 1032, ["label"]),
2292
- O(Et, {
2488
+ k(kt, {
2293
2489
  path: "borderRadius",
2294
2490
  "model-value": e.block.borderRadius,
2295
2491
  label: h(o).image.borderRadius,
2296
2492
  "testid-prefix": "image",
2297
2493
  "onUpdate:modelValue": ne
2298
2494
  }, null, 8, ["model-value", "label"]),
2299
- O(Ct, {
2495
+ k(Et, {
2300
2496
  path: "border",
2301
2497
  "model-value": e.block.border,
2302
2498
  "testid-prefix": "image",
2303
2499
  "onUpdate:modelValue": n[12] ||= (e) => I("border", e)
2304
2500
  }, null, 8, ["model-value"]),
2305
- O(K, {
2501
+ k(A, {
2306
2502
  label: h(o).title.align,
2307
2503
  class: "tpl:mb-3.5",
2308
2504
  path: "align"
2309
2505
  }, {
2310
- default: a(() => [O(X, {
2506
+ default: a(() => [k($, {
2311
2507
  options: [
2312
2508
  {
2313
2509
  value: "left",
@@ -2327,22 +2523,22 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2327
2523
  }, null, 8, ["options", "model-value"])]),
2328
2524
  _: 1
2329
2525
  }, 8, ["label"]),
2330
- O(K, {
2526
+ k(A, {
2331
2527
  label: h(o).image.linkUrl,
2332
2528
  class: "tpl:mb-3.5",
2333
2529
  path: "linkUrl"
2334
2530
  }, {
2335
- default: a(() => [O(Y, {
2531
+ default: a(() => [k(N, {
2336
2532
  "model-value": e.block.linkUrl || "",
2337
2533
  type: "url",
2338
2534
  placeholder: h(o).image.imageUrlPlaceholder,
2339
2535
  "onUpdate:modelValue": n[14] ||= (e) => I("linkUrl", e)
2340
- }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (i(), v(K, {
2536
+ }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (i(), v(A, {
2341
2537
  key: 0,
2342
2538
  path: "linkOpenInNewTab",
2343
2539
  label: h(o).image.openInNewTab
2344
2540
  }, {
2345
- "label-actions": a(({ controlId: t }) => [O(J, {
2541
+ "label-actions": a(({ controlId: t }) => [k(P, {
2346
2542
  "control-id": t,
2347
2543
  "hide-label": "",
2348
2544
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -2360,11 +2556,11 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2360
2556
  }, 8, ["label"])
2361
2557
  ], 64));
2362
2558
  }
2363
- }), ui = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, di = { class: "tpl:flex tpl:items-center tpl:gap-2" }, fi = [
2559
+ }), Mi = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ni = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Pi = [
2364
2560
  "value",
2365
2561
  "placeholder",
2366
2562
  "onInput"
2367
- ], pi = ["title", "onClick"], mi = { 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)]" }, hi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, gi = ["value"], _i = { value: "" }, vi = ["value"], yi = ["value"], bi = /* @__PURE__ */ r({
2563
+ ], Fi = ["title", "onClick"], Ii = { 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)]" }, Li = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ri = ["value"], zi = { value: "" }, Bi = ["value"], Vi = ["value"], Hi = /* @__PURE__ */ r({
2368
2564
  __name: "MenuToolbar",
2369
2565
  props: {
2370
2566
  block: {},
@@ -2372,7 +2568,7 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2372
2568
  },
2373
2569
  emits: ["update"],
2374
2570
  setup(e, { emit: t }) {
2375
- let n = e, r = t, { t: o } = V(), s = S(() => [
2571
+ let n = e, r = t, { t: o } = Z(), s = C(() => [
2376
2572
  {
2377
2573
  key: "openInNewTab",
2378
2574
  label: o.menu.openInNewTab
@@ -2385,21 +2581,21 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2385
2581
  key: "underline",
2386
2582
  label: o.menu.underline
2387
2583
  }
2388
- ]), l = S(() => [
2584
+ ]), l = C(() => [
2389
2585
  {
2390
2586
  value: "left",
2391
2587
  label: o.title.alignLeft,
2392
- icon: Fe
2588
+ icon: G
2393
2589
  },
2394
2590
  {
2395
2591
  value: "center",
2396
2592
  label: o.title.alignCenter,
2397
- icon: ke
2593
+ icon: X
2398
2594
  },
2399
2595
  {
2400
2596
  value: "right",
2401
2597
  label: o.title.alignRight,
2402
- icon: Be
2598
+ icon: ue
2403
2599
  }
2404
2600
  ]);
2405
2601
  function u(e, t) {
@@ -2407,7 +2603,7 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2407
2603
  }
2408
2604
  function d() {
2409
2605
  let e = {
2410
- id: j(),
2606
+ id: ge(),
2411
2607
  text: "",
2412
2608
  url: "",
2413
2609
  openInNewTab: !1,
@@ -2426,37 +2622,37 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2426
2622
  function _(e) {
2427
2623
  r("update", { items: n.block.items.filter((t) => t.id !== e) });
2428
2624
  }
2429
- return (t, n) => (i(), p(E, null, [
2430
- O(K, { label: h(o).menu.items }, {
2431
- default: a(() => [y("div", ui, [(i(!0), p(E, null, c(e.block.items, (t) => (i(), p("div", {
2625
+ return (t, n) => (i(), p(D, null, [
2626
+ k(A, { label: h(o).menu.items }, {
2627
+ default: a(() => [b("div", Mi, [(i(!0), p(D, null, c(e.block.items, (t) => (i(), p("div", {
2432
2628
  key: t.id,
2433
2629
  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"
2434
2630
  }, [
2435
- y("div", di, [O(K, {
2631
+ b("div", Ni, [k(A, {
2436
2632
  path: t.id.includes(".") ? void 0 : `items.${t.id}.text`,
2437
2633
  label: h(o).menu.text
2438
2634
  }, {
2439
- default: a(() => [y("input", {
2635
+ default: a(() => [b("input", {
2440
2636
  type: "text",
2441
- class: g([h(W), "tpl:flex-1"]),
2637
+ class: g([h(B), "tpl:flex-1"]),
2442
2638
  value: t.text,
2443
2639
  placeholder: h(o).menu.text,
2444
2640
  onInput: (e) => f(t.id, "text", e.target.value)
2445
- }, null, 42, fi)]),
2641
+ }, null, 42, Pi)]),
2446
2642
  _: 2
2447
- }, 1032, ["path", "label"]), y("button", {
2448
- class: g(h(nt)),
2643
+ }, 1032, ["path", "label"]), b("button", {
2644
+ class: g(h(I)),
2449
2645
  title: h(o).menu.removeItem,
2450
2646
  onClick: (e) => _(t.id)
2451
- }, [O(h(ze), {
2647
+ }, [k(h(Y), {
2452
2648
  size: 14,
2453
2649
  "stroke-width": 2
2454
- })], 10, pi)]),
2455
- O(K, {
2650
+ })], 10, Fi)]),
2651
+ k(A, {
2456
2652
  path: t.id.includes(".") ? void 0 : `items.${t.id}.url`,
2457
2653
  label: h(o).button.url
2458
2654
  }, {
2459
- default: a(() => [O(Y, {
2655
+ default: a(() => [k(N, {
2460
2656
  "model-value": t.url,
2461
2657
  type: "url",
2462
2658
  placeholder: h(o).menu.urlPlaceholder,
@@ -2468,12 +2664,12 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2468
2664
  ])]),
2469
2665
  _: 2
2470
2666
  }, 1032, ["path", "label"]),
2471
- y("div", mi, [(i(!0), p(E, null, c(s.value, (e) => (i(), v(K, {
2667
+ b("div", Ii, [(i(!0), p(D, null, c(s.value, (e) => (i(), v(A, {
2472
2668
  key: e.key,
2473
2669
  path: t.id.includes(".") ? void 0 : `items.${t.id}.${e.key}`,
2474
2670
  label: e.label
2475
2671
  }, {
2476
- "label-actions": a(({ controlId: n }) => [O(J, {
2672
+ "label-actions": a(({ controlId: n }) => [k(P, {
2477
2673
  "control-id": n,
2478
2674
  "hide-label": "",
2479
2675
  "model-value": t[e.key],
@@ -2487,45 +2683,45 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2487
2683
  ])]),
2488
2684
  _: 2
2489
2685
  }, 1032, ["path", "label"]))), 128))]),
2490
- y("div", hi, [O(K, {
2686
+ b("div", Li, [k(A, {
2491
2687
  path: t.id.includes(".") ? void 0 : `items.${t.id}.color`,
2492
2688
  label: h(o).menu.color
2493
2689
  }, {
2494
- default: a(() => [O(q, {
2690
+ default: a(() => [k(M, {
2495
2691
  "swatch-only": "",
2496
2692
  "model-value": t.color || e.block.linkColor || e.block.color || "",
2497
2693
  "onUpdate:modelValue": (e) => f(t.id, "color", e)
2498
2694
  }, null, 8, ["model-value", "onUpdate:modelValue"])]),
2499
2695
  _: 2
2500
2696
  }, 1032, ["path", "label"])])
2501
- ]))), 128)), y("button", {
2502
- class: g(h(it)),
2697
+ ]))), 128)), b("button", {
2698
+ class: g(h(R)),
2503
2699
  onClick: d
2504
- }, [O(h(B), {
2700
+ }, [k(h(H), {
2505
2701
  size: 14,
2506
2702
  "stroke-width": 2
2507
- }), m(" " + b(h(o).menu.addItem), 1)], 2)])]),
2703
+ }), m(" " + x(h(o).menu.addItem), 1)], 2)])]),
2508
2704
  _: 1
2509
2705
  }, 8, ["label"]),
2510
- O(K, {
2706
+ k(A, {
2511
2707
  path: "fontFamily",
2512
2708
  label: h(o).menu.fontFamily
2513
2709
  }, {
2514
- default: a(() => [y("select", {
2515
- class: g(h(W)),
2516
- value: h(pt)(e.block.fontFamily),
2710
+ default: a(() => [b("select", {
2711
+ class: g(h(B)),
2712
+ value: h(je)(e.block.fontFamily),
2517
2713
  onChange: n[0] ||= (e) => u("fontFamily", e.target.value || void 0)
2518
- }, [y("option", _i, b(h(o).title.inheritFont), 1), (i(!0), p(E, null, c(e.fontFamilies, (e) => (i(), p("option", {
2714
+ }, [b("option", zi, x(h(o).title.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
2519
2715
  key: e.value,
2520
2716
  value: e.value
2521
- }, b(e.label), 9, vi))), 128))], 42, gi)]),
2717
+ }, x(e.label), 9, Bi))), 128))], 42, Ri)]),
2522
2718
  _: 1
2523
2719
  }, 8, ["label"]),
2524
- O(K, {
2720
+ k(A, {
2525
2721
  path: "fontSize",
2526
2722
  label: h(o).menu.fontSize
2527
2723
  }, {
2528
- default: a(() => [O(Z, {
2724
+ default: a(() => [k(bt, {
2529
2725
  "model-value": e.block.fontSize,
2530
2726
  min: 8,
2531
2727
  max: 48,
@@ -2534,64 +2730,64 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2534
2730
  }, null, 8, ["model-value"])]),
2535
2731
  _: 1
2536
2732
  }, 8, ["label"]),
2537
- O(K, {
2733
+ k(A, {
2538
2734
  path: "color",
2539
2735
  label: h(o).menu.color
2540
2736
  }, {
2541
- default: a(() => [O(q, {
2737
+ default: a(() => [k(M, {
2542
2738
  "model-value": e.block.color ?? "",
2543
2739
  "onUpdate:modelValue": n[2] ||= (e) => u("color", e || void 0)
2544
2740
  }, null, 8, ["model-value"])]),
2545
2741
  _: 1
2546
2742
  }, 8, ["label"]),
2547
- O(K, {
2743
+ k(A, {
2548
2744
  path: "linkColor",
2549
2745
  label: h(o).menu.linkColor
2550
2746
  }, {
2551
- default: a(() => [O(q, {
2747
+ default: a(() => [k(M, {
2552
2748
  "model-value": e.block.linkColor || e.block.color || "",
2553
2749
  "onUpdate:modelValue": n[3] ||= (e) => u("linkColor", e || void 0)
2554
2750
  }, null, 8, ["model-value"])]),
2555
2751
  _: 1
2556
2752
  }, 8, ["label"]),
2557
- O(K, {
2753
+ k(A, {
2558
2754
  path: "textAlign",
2559
2755
  label: h(o).menu.textAlign
2560
2756
  }, {
2561
- default: a(() => [O(X, {
2757
+ default: a(() => [k($, {
2562
2758
  options: l.value,
2563
2759
  "model-value": e.block.textAlign,
2564
2760
  "onUpdate:modelValue": n[4] ||= (e) => u("textAlign", e)
2565
2761
  }, null, 8, ["options", "model-value"])]),
2566
2762
  _: 1
2567
2763
  }, 8, ["label"]),
2568
- O(K, {
2764
+ k(A, {
2569
2765
  path: "separator",
2570
2766
  label: h(o).menu.separator
2571
2767
  }, {
2572
- default: a(() => [y("input", {
2768
+ default: a(() => [b("input", {
2573
2769
  type: "text",
2574
- class: g(h(W)),
2770
+ class: g(h(B)),
2575
2771
  value: e.block.separator,
2576
2772
  onInput: n[5] ||= (e) => u("separator", e.target.value)
2577
- }, null, 42, yi)]),
2773
+ }, null, 42, Vi)]),
2578
2774
  _: 1
2579
2775
  }, 8, ["label"]),
2580
- O(K, {
2776
+ k(A, {
2581
2777
  path: "separatorColor",
2582
2778
  label: h(o).menu.separatorColor
2583
2779
  }, {
2584
- default: a(() => [O(q, {
2780
+ default: a(() => [k(M, {
2585
2781
  "model-value": e.block.separatorColor,
2586
2782
  "onUpdate:modelValue": n[6] ||= (e) => u("separatorColor", e)
2587
2783
  }, null, 8, ["model-value"])]),
2588
2784
  _: 1
2589
2785
  }, 8, ["label"]),
2590
- O(K, {
2786
+ k(A, {
2591
2787
  path: "spacing",
2592
2788
  label: h(o).menu.spacing
2593
2789
  }, {
2594
- default: a(() => [O(Z, {
2790
+ default: a(() => [k(bt, {
2595
2791
  "model-value": e.block.spacing,
2596
2792
  min: 0,
2597
2793
  max: 50,
@@ -2602,33 +2798,33 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2602
2798
  }, 8, ["label"])
2603
2799
  ], 64));
2604
2800
  }
2605
- }), xi = { class: "tpl:flex tpl:items-stretch" }, Si = ["value"], Ci = /* @__PURE__ */ r({
2801
+ }), Ui = { class: "tpl:flex tpl:items-stretch" }, Wi = ["value"], Gi = /* @__PURE__ */ r({
2606
2802
  __name: "ParagraphToolbar",
2607
2803
  props: { block: {} },
2608
2804
  emits: ["update"],
2609
2805
  setup(e, { emit: t }) {
2610
- let n = t, { t: r } = V();
2611
- return (t, o) => (i(), v(K, {
2806
+ let n = t, { t: r } = Z();
2807
+ return (t, o) => (i(), v(A, {
2612
2808
  label: h(r).paragraph.paragraphSpacing,
2613
2809
  class: "tpl:mb-3.5",
2614
2810
  "data-testid": "paragraph-spacing",
2615
2811
  path: "paragraphSpacing"
2616
2812
  }, {
2617
- default: a(() => [y("div", xi, [y("input", {
2813
+ default: a(() => [b("div", Ui, [b("input", {
2618
2814
  type: "number",
2619
- class: g(h(U)),
2620
- value: e.block.paragraphSpacing ?? h(ae).paragraphGap,
2815
+ class: g(h(z)),
2816
+ value: e.block.paragraphSpacing ?? h(ke).paragraphGap,
2621
2817
  min: "0",
2622
2818
  max: "64",
2623
2819
  onInput: o[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
2624
- }, null, 42, Si), y("span", { class: g(h(H)) }, "px", 2)])]),
2820
+ }, null, 42, Wi), b("span", { class: g(h(L)) }, "px", 2)])]),
2625
2821
  _: 1
2626
2822
  }, 8, ["label"]));
2627
2823
  }
2628
2824
  });
2629
2825
  // src/utils/rebalanceColumnChildren.ts
2630
- function wi(e, t) {
2631
- let n = M(t);
2826
+ function Ki(e, t) {
2827
+ let n = _e(t);
2632
2828
  if (e.length === n) return e;
2633
2829
  if (e.length < n) {
2634
2830
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2638,21 +2834,21 @@ function wi(e, t) {
2638
2834
  return [...r.slice(0, n - 1), a];
2639
2835
  }
2640
2836
  // src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
2641
- var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
2837
+ var qi = { class: "tpl:mb-3.5" }, Ji = ["value"], Yi = ["value"], Xi = {
2642
2838
  key: 2,
2643
2839
  class: "tpl:mb-3.5"
2644
- }, ki = {
2840
+ }, Zi = {
2645
2841
  key: 0,
2646
2842
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2647
- }, Ai = {
2843
+ }, Qi = {
2648
2844
  key: 1,
2649
2845
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
2650
- }, ji = /* @__PURE__ */ r({
2846
+ }, $i = /* @__PURE__ */ r({
2651
2847
  __name: "SectionToolbar",
2652
2848
  props: { block: {} },
2653
2849
  emits: ["update"],
2654
2850
  setup(e, { emit: t }) {
2655
- let n = e, r = t, { t: o } = V(), s = l(We, void 0), u = l(Ke, void 0), d = s !== void 0 && te(s), f = S(() => u !== !1 || !!n.block.wrapper), m = S(() => d && !n.block.wrapper), x = S(() => d && f.value), C = S(() => re(n.block)?.applied === !0), w = S(() => [
2851
+ let n = e, r = t, { t: o } = Z(), s = l(et, void 0), u = l(nt, void 0), d = s !== void 0 && xe(s), f = C(() => u !== !1 || !!n.block.wrapper), m = C(() => d && !n.block.wrapper), y = C(() => d && f.value), S = C(() => Ee(n.block)?.applied === !0), w = C(() => [
2656
2852
  {
2657
2853
  value: "1",
2658
2854
  label: o.section.column1
@@ -2665,6 +2861,10 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
2665
2861
  value: "3",
2666
2862
  label: o.section.column3
2667
2863
  },
2864
+ {
2865
+ value: "4",
2866
+ label: o.section.column4
2867
+ },
2668
2868
  {
2669
2869
  value: "1-2",
2670
2870
  label: o.section.ratio12
@@ -2672,63 +2872,78 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
2672
2872
  {
2673
2873
  value: "2-1",
2674
2874
  label: o.section.ratio21
2875
+ },
2876
+ {
2877
+ value: "1-3",
2878
+ label: o.section.ratio13
2879
+ },
2880
+ {
2881
+ value: "3-1",
2882
+ label: o.section.ratio31
2883
+ },
2884
+ {
2885
+ value: "1-2-1",
2886
+ label: o.section.ratio121
2675
2887
  }
2676
2888
  ]);
2677
2889
  function T(e) {
2678
- let t = e.target.value, i = wi(n.block.children, t);
2890
+ let t = e.target.value, i = Ki(n.block.children, t);
2679
2891
  r("update", {
2680
2892
  columns: t,
2681
2893
  children: i
2682
2894
  });
2683
2895
  }
2684
- function D(e) {
2896
+ function E(e) {
2685
2897
  r("update", { stackOnMobile: e });
2686
2898
  }
2687
- function k(e) {
2899
+ function O(e) {
2688
2900
  r("update", { borderRadius: e });
2689
2901
  }
2690
- function A(e) {
2691
- r("update", { wrapper: e ? { padding: {
2902
+ function j(e) {
2903
+ e ? r("update", { wrapper: { padding: {
2692
2904
  top: 20,
2693
2905
  right: 20,
2694
2906
  bottom: 20,
2695
2907
  left: 20
2696
- } } : void 0 });
2908
+ } } }) : r("update", Un(n.block));
2697
2909
  }
2698
- function j(e) {
2910
+ function N(e) {
2911
+ r("update", Hn(n.block, e));
2912
+ }
2913
+ function F(e) {
2699
2914
  r("update", { wrapper: {
2700
2915
  ...n.block.wrapper,
2701
2916
  ...e
2702
2917
  } });
2703
2918
  }
2704
- function M(e) {
2705
- j({ padding: e });
2919
+ function I(e) {
2920
+ F({ padding: e });
2706
2921
  }
2707
- function N(e) {
2708
- j({ borderRadius: e });
2922
+ function L(e) {
2923
+ F({ borderRadius: e });
2709
2924
  }
2710
- return (t, n) => (i(), p(E, null, [
2711
- y("div", Ti, [y("label", { class: g(h(G)) }, b(h(o).section.columns), 3), y("select", {
2712
- class: g(h(W)),
2925
+ return (t, n) => (i(), p(D, null, [
2926
+ b("div", qi, [b("label", { class: g(h(V)) }, x(h(o).section.columns), 3), b("select", {
2927
+ class: g(h(B)),
2713
2928
  value: e.block.columns,
2714
2929
  onChange: T
2715
- }, [(i(!0), p(E, null, c(w.value, (e) => (i(), p("option", {
2930
+ }, [(i(!0), p(D, null, c(w.value, (e) => (i(), p("option", {
2716
2931
  key: e.value,
2717
2932
  value: e.value
2718
- }, b(e.label), 9, Di))), 128))], 42, Ei)]),
2719
- e.block.columns === "1" ? _("", !0) : (i(), v(K, {
2933
+ }, x(e.label), 9, Yi))), 128))], 42, Ji)]),
2934
+ e.block.columns === "1" ? _("", !0) : (i(), v(A, {
2720
2935
  key: 0,
2721
2936
  class: "tpl:mb-3.5",
2722
2937
  path: "stackOnMobile",
2723
2938
  label: h(o).section.stackOnMobile
2724
2939
  }, {
2725
- "label-actions": a(({ controlId: t }) => [O(J, {
2940
+ "label-actions": a(({ controlId: t }) => [k(P, {
2726
2941
  "control-id": t,
2727
2942
  "hide-label": "",
2728
2943
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2729
2944
  "model-value": e.block.stackOnMobile !== !1,
2730
2945
  label: h(o).section.stackOnMobile,
2731
- "onUpdate:modelValue": n[0] ||= (e) => D(e)
2946
+ "onUpdate:modelValue": n[0] ||= (e) => E(e)
2732
2947
  }, null, 8, [
2733
2948
  "control-id",
2734
2949
  "model-value",
@@ -2736,34 +2951,34 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
2736
2951
  ])]),
2737
2952
  _: 1
2738
2953
  }, 8, ["label"])),
2739
- O(Et, {
2954
+ k(kt, {
2740
2955
  path: "borderRadius",
2741
2956
  "model-value": e.block.borderRadius,
2742
2957
  label: h(o).section.borderRadius,
2743
2958
  max: 50,
2744
2959
  "testid-prefix": "section",
2745
- "onUpdate:modelValue": k
2960
+ "onUpdate:modelValue": O
2746
2961
  }, null, 8, ["model-value", "label"]),
2747
- C.value ? _("", !0) : (i(), v(Ct, {
2962
+ S.value ? _("", !0) : (i(), v(Et, {
2748
2963
  key: 1,
2749
2964
  path: "border",
2750
2965
  "model-value": e.block.border,
2751
2966
  "testid-prefix": "section",
2752
2967
  "onUpdate:modelValue": n[1] ||= (e) => r("update", { border: e })
2753
2968
  }, null, 8, ["model-value"])),
2754
- f.value ? (i(), p("div", Oi, [
2755
- O(K, {
2969
+ f.value ? (i(), p("div", Xi, [
2970
+ k(A, {
2756
2971
  path: "wrapper",
2757
2972
  label: h(o).section.wrapperEnable
2758
2973
  }, {
2759
- "label-actions": a(({ controlId: t }) => [O(J, {
2974
+ "label-actions": a(({ controlId: t }) => [k(P, {
2760
2975
  "control-id": t,
2761
2976
  "hide-label": "",
2762
2977
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2763
2978
  "model-value": !!e.block.wrapper,
2764
2979
  label: h(o).section.wrapperEnable,
2765
2980
  disabled: m.value,
2766
- "onUpdate:modelValue": n[2] ||= (e) => A(e)
2981
+ "onUpdate:modelValue": n[2] ||= (e) => j(e)
2767
2982
  }, null, 8, [
2768
2983
  "control-id",
2769
2984
  "model-value",
@@ -2772,32 +2987,51 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
2772
2987
  ])]),
2773
2988
  _: 1
2774
2989
  }, 8, ["label"]),
2775
- x.value ? (i(), p("p", ki, b(h(o).section.wrapperLayoutConflict), 1)) : _("", !0),
2776
- e.block.wrapper ? (i(), p("div", Ai, [
2777
- y("div", null, [O(K, {
2990
+ y.value ? (i(), p("p", Zi, x(h(o).section.wrapperLayoutConflict), 1)) : _("", !0),
2991
+ e.block.wrapper ? (i(), p("div", Qi, [
2992
+ k(A, {
2993
+ path: "wrapper.fullWidth",
2994
+ label: h(o).blockSettings.fullWidthBackground
2995
+ }, {
2996
+ "label-actions": a(({ controlId: t }) => [k(P, {
2997
+ "data-testid": "section-wrapper-full-width",
2998
+ "control-id": t,
2999
+ "hide-label": "",
3000
+ class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
3001
+ "model-value": e.block.wrapper.fullWidth === !0,
3002
+ label: h(o).blockSettings.fullWidthBackground,
3003
+ "onUpdate:modelValue": N
3004
+ }, null, 8, [
3005
+ "control-id",
3006
+ "model-value",
3007
+ "label"
3008
+ ])]),
3009
+ _: 1
3010
+ }, 8, ["label"]),
3011
+ b("div", null, [k(A, {
2778
3012
  path: "wrapper.backgroundColor",
2779
3013
  label: h(o).blockSettings.color
2780
3014
  }, {
2781
- default: a(() => [O(q, {
3015
+ default: a(() => [k(M, {
2782
3016
  "model-value": e.block.wrapper.backgroundColor ?? "",
2783
3017
  "allow-transparent": "",
2784
- "onUpdate:modelValue": n[3] ||= (e) => j({ backgroundColor: e })
3018
+ "onUpdate:modelValue": n[3] ||= (e) => F({ backgroundColor: e })
2785
3019
  }, null, 8, ["model-value"])]),
2786
3020
  _: 1
2787
3021
  }, 8, ["label"])]),
2788
- O(K, {
3022
+ k(A, {
2789
3023
  path: "wrapper.backgroundImage",
2790
3024
  label: h(o).blockSettings.backgroundImage
2791
3025
  }, {
2792
- default: a(() => [O(vn, {
3026
+ default: a(() => [k(Sn, {
2793
3027
  "hide-label": "",
2794
3028
  "model-value": e.block.wrapper.backgroundImage,
2795
3029
  "testid-prefix": "section-wrapper",
2796
- "onUpdate:modelValue": n[4] ||= (e) => j({ backgroundImage: e })
3030
+ "onUpdate:modelValue": n[4] ||= (e) => F({ backgroundImage: e })
2797
3031
  }, null, 8, ["model-value"])]),
2798
3032
  _: 1
2799
3033
  }, 8, ["label"]),
2800
- O(sn, {
3034
+ k(dn, {
2801
3035
  path: "wrapper.padding",
2802
3036
  label: h(o).blockSettings.padding,
2803
3037
  "model-value": e.block.wrapper.padding ?? {
@@ -2806,32 +3040,32 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
2806
3040
  bottom: 0,
2807
3041
  left: 0
2808
3042
  },
2809
- "onUpdate:modelValue": M
3043
+ "onUpdate:modelValue": I
2810
3044
  }, null, 8, ["label", "model-value"]),
2811
- O(Et, {
3045
+ k(kt, {
2812
3046
  path: "wrapper.borderRadius",
2813
3047
  "model-value": e.block.wrapper.borderRadius,
2814
3048
  label: h(o).section.borderRadius,
2815
3049
  max: 50,
2816
3050
  "testid-prefix": "section-wrapper",
2817
- "onUpdate:modelValue": N
3051
+ "onUpdate:modelValue": L
2818
3052
  }, null, 8, ["model-value", "label"])
2819
3053
  ])) : _("", !0)
2820
3054
  ])) : _("", !0)
2821
3055
  ], 64));
2822
3056
  }
2823
- }), Mi = { class: "tpl:mb-3.5" }, Ni = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Pi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Fi = ["value", "onChange"], Ii = ["value"], Li = ["title", "onClick"], Ri = ["value"], zi = { value: "solid" }, Bi = { value: "outlined" }, Vi = { value: "rounded" }, Hi = { value: "square" }, Ui = { value: "circle" }, Wi = { value: "plain" }, Gi = ["value"], Ki = { value: "brand" }, qi = { value: "dark" }, Ji = { value: "light" }, Yi = { class: "tpl:flex tpl:items-stretch" }, Xi = ["value"], Zi = /* @__PURE__ */ r({
3057
+ }), ea = { class: "tpl:mb-3.5" }, ta = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, na = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ra = ["value", "onChange"], ia = ["value"], aa = ["title", "onClick"], oa = ["value"], sa = { value: "solid" }, ca = { value: "outlined" }, la = { value: "rounded" }, ua = { value: "square" }, da = { value: "circle" }, fa = { value: "plain" }, pa = ["value"], ma = { value: "brand" }, ha = { value: "dark" }, ga = { value: "light" }, _a = { class: "tpl:flex tpl:items-stretch" }, va = ["value"], ya = /* @__PURE__ */ r({
2824
3058
  __name: "SocialToolbar",
2825
3059
  props: { block: {} },
2826
3060
  emits: ["update"],
2827
3061
  setup(e, { emit: t }) {
2828
- let n = e, r = t, { t: o } = V();
3062
+ let n = e, r = t, { t: o } = Z();
2829
3063
  function s(e, t) {
2830
3064
  r("update", { [e]: t });
2831
3065
  }
2832
3066
  function l() {
2833
3067
  let e = {
2834
- id: j(),
3068
+ id: ge(),
2835
3069
  platform: "facebook",
2836
3070
  url: ""
2837
3071
  };
@@ -2847,36 +3081,36 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
2847
3081
  function d(e) {
2848
3082
  r("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2849
3083
  }
2850
- return (t, n) => (i(), p(E, null, [
2851
- y("div", Mi, [y("label", { class: g(h(G)) }, b(h(o).social.icons), 3), y("div", Ni, [(i(!0), p(E, null, c(e.block.icons, (e) => (i(), p("div", {
3084
+ return (t, n) => (i(), p(D, null, [
3085
+ b("div", ea, [b("label", { class: g(h(V)) }, x(h(o).social.icons), 3), b("div", ta, [(i(!0), p(D, null, c(e.block.icons, (e) => (i(), p("div", {
2852
3086
  key: e.id,
2853
3087
  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"
2854
- }, [y("div", Pi, [O(K, {
3088
+ }, [b("div", na, [k(A, {
2855
3089
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.platform`,
2856
3090
  label: h(o).social.icons
2857
3091
  }, {
2858
- default: a(() => [y("select", {
3092
+ default: a(() => [b("select", {
2859
3093
  "data-testid": "social-platform-select",
2860
- class: g([h(W), "tpl:flex-1"]),
3094
+ class: g([h(B), "tpl:flex-1"]),
2861
3095
  value: e.platform,
2862
3096
  onChange: (t) => u(e.id, "platform", t.target.value)
2863
- }, [(i(!0), p(E, null, c(h(ve), (e) => (i(), p("option", {
3097
+ }, [(i(!0), p(D, null, c(h(Ke), (e) => (i(), p("option", {
2864
3098
  key: e,
2865
3099
  value: e
2866
- }, b(h(o).social.platforms[e]), 9, Ii))), 128))], 42, Fi)]),
3100
+ }, x(h(o).social.platforms[e]), 9, ia))), 128))], 42, ra)]),
2867
3101
  _: 2
2868
- }, 1032, ["path", "label"]), y("button", {
2869
- class: g(h(nt)),
3102
+ }, 1032, ["path", "label"]), b("button", {
3103
+ class: g(h(I)),
2870
3104
  title: h(o).social.removeIcon,
2871
3105
  onClick: (t) => d(e.id)
2872
- }, [O(h(ze), {
3106
+ }, [k(h(Y), {
2873
3107
  size: 14,
2874
3108
  "stroke-width": 2
2875
- })], 10, Li)]), O(K, {
3109
+ })], 10, aa)]), k(A, {
2876
3110
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.url`,
2877
3111
  label: h(o).button.url
2878
3112
  }, {
2879
- default: a(() => [O(Y, {
3113
+ default: a(() => [k(N, {
2880
3114
  "model-value": e.url,
2881
3115
  type: "url",
2882
3116
  placeholder: h(o).social.urlPlaceholder,
@@ -2887,55 +3121,55 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
2887
3121
  "onUpdate:modelValue"
2888
3122
  ])]),
2889
3123
  _: 2
2890
- }, 1032, ["path", "label"])]))), 128)), y("button", {
2891
- class: g(h(it)),
3124
+ }, 1032, ["path", "label"])]))), 128)), b("button", {
3125
+ class: g(h(R)),
2892
3126
  onClick: l
2893
- }, [O(h(B), {
3127
+ }, [k(h(H), {
2894
3128
  size: 14,
2895
3129
  "stroke-width": 2
2896
- }), m(" " + b(h(o).social.addIcon), 1)], 2)])]),
2897
- O(K, {
3130
+ }), m(" " + x(h(o).social.addIcon), 1)], 2)])]),
3131
+ k(A, {
2898
3132
  label: h(o).social.style,
2899
3133
  class: "tpl:mb-3.5",
2900
3134
  path: "iconStyle"
2901
3135
  }, {
2902
- default: a(() => [y("select", {
2903
- class: g(h(W)),
3136
+ default: a(() => [b("select", {
3137
+ class: g(h(B)),
2904
3138
  value: e.block.iconStyle,
2905
3139
  onChange: n[0] ||= (e) => s("iconStyle", e.target.value)
2906
3140
  }, [
2907
- y("option", zi, b(h(o).social.styleSolid), 1),
2908
- y("option", Bi, b(h(o).social.styleOutlined), 1),
2909
- y("option", Vi, b(h(o).social.styleRounded), 1),
2910
- y("option", Hi, b(h(o).social.styleSquare), 1),
2911
- y("option", Ui, b(h(o).social.styleCircle), 1),
2912
- y("option", Wi, b(h(o).social.stylePlain), 1)
2913
- ], 42, Ri)]),
3141
+ b("option", sa, x(h(o).social.styleSolid), 1),
3142
+ b("option", ca, x(h(o).social.styleOutlined), 1),
3143
+ b("option", la, x(h(o).social.styleRounded), 1),
3144
+ b("option", ua, x(h(o).social.styleSquare), 1),
3145
+ b("option", da, x(h(o).social.styleCircle), 1),
3146
+ b("option", fa, x(h(o).social.stylePlain), 1)
3147
+ ], 42, oa)]),
2914
3148
  _: 1
2915
3149
  }, 8, ["label"]),
2916
- O(K, {
3150
+ k(A, {
2917
3151
  label: h(o).social.color,
2918
3152
  class: "tpl:mb-3.5",
2919
3153
  path: "iconTone"
2920
3154
  }, {
2921
- default: a(() => [y("select", {
3155
+ default: a(() => [b("select", {
2922
3156
  "data-testid": "social-tone-select",
2923
- class: g(h(W)),
3157
+ class: g(h(B)),
2924
3158
  value: e.block.iconTone ?? "brand",
2925
3159
  onChange: n[1] ||= (e) => s("iconTone", e.target.value)
2926
3160
  }, [
2927
- y("option", Ki, b(h(o).social.colorBrand), 1),
2928
- y("option", qi, b(h(o).social.colorDark), 1),
2929
- y("option", Ji, b(h(o).social.colorLight), 1)
2930
- ], 42, Gi)]),
3161
+ b("option", ma, x(h(o).social.colorBrand), 1),
3162
+ b("option", ha, x(h(o).social.colorDark), 1),
3163
+ b("option", ga, x(h(o).social.colorLight), 1)
3164
+ ], 42, pa)]),
2931
3165
  _: 1
2932
3166
  }, 8, ["label"]),
2933
- O(K, {
3167
+ k(A, {
2934
3168
  label: h(o).social.size,
2935
3169
  class: "tpl:mb-3.5",
2936
3170
  path: "iconSize"
2937
3171
  }, {
2938
- default: a(() => [O(X, {
3172
+ default: a(() => [k($, {
2939
3173
  options: [
2940
3174
  {
2941
3175
  value: "small",
@@ -2955,42 +3189,42 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
2955
3189
  }, null, 8, ["options", "model-value"])]),
2956
3190
  _: 1
2957
3191
  }, 8, ["label"]),
2958
- O(K, {
3192
+ k(A, {
2959
3193
  label: h(o).social.spacing,
2960
3194
  class: "tpl:mb-3.5",
2961
3195
  path: "spacing"
2962
3196
  }, {
2963
- default: a(() => [y("div", Yi, [y("input", {
3197
+ default: a(() => [b("div", _a, [b("input", {
2964
3198
  type: "number",
2965
- class: g(h(U)),
3199
+ class: g(h(z)),
2966
3200
  value: e.block.spacing,
2967
3201
  min: "0",
2968
3202
  max: "50",
2969
3203
  onInput: n[3] ||= (e) => s("spacing", Number(e.target.value))
2970
- }, null, 42, Xi), y("span", { class: g(h(H)) }, "px", 2)])]),
3204
+ }, null, 42, va), b("span", { class: g(h(L)) }, "px", 2)])]),
2971
3205
  _: 1
2972
3206
  }, 8, ["label"]),
2973
- O(K, {
3207
+ k(A, {
2974
3208
  label: h(o).social.align,
2975
3209
  class: "tpl:mb-3.5",
2976
3210
  path: "align"
2977
3211
  }, {
2978
- default: a(() => [O(X, {
3212
+ default: a(() => [k($, {
2979
3213
  options: [
2980
3214
  {
2981
3215
  value: "left",
2982
3216
  label: h(o).title.alignLeft,
2983
- icon: h(Fe)
3217
+ icon: h(G)
2984
3218
  },
2985
3219
  {
2986
3220
  value: "center",
2987
3221
  label: h(o).title.alignCenter,
2988
- icon: h(ke)
3222
+ icon: h(X)
2989
3223
  },
2990
3224
  {
2991
3225
  value: "right",
2992
3226
  label: h(o).title.alignRight,
2993
- icon: h(Be)
3227
+ icon: h(ue)
2994
3228
  }
2995
3229
  ],
2996
3230
  "model-value": e.block.align,
@@ -3000,36 +3234,36 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3000
3234
  }, 8, ["label"])
3001
3235
  ], 64));
3002
3236
  }
3003
- }), Qi = { class: "tpl:flex tpl:items-stretch" }, $i = ["value"], ea = ["value"], ta = /* @__PURE__ */ r({
3237
+ }), ba = { class: "tpl:flex tpl:items-stretch" }, xa = ["value"], Sa = ["value"], Ca = /* @__PURE__ */ r({
3004
3238
  __name: "SpacerToolbar",
3005
3239
  props: { block: {} },
3006
3240
  emits: ["update"],
3007
3241
  setup(e, { emit: t }) {
3008
- let n = t, { t: r } = V();
3009
- return (t, o) => (i(), v(K, {
3242
+ let n = t, { t: r } = Z();
3243
+ return (t, o) => (i(), v(A, {
3010
3244
  label: h(r).spacer.height,
3011
3245
  class: "tpl:mb-3.5",
3012
3246
  path: "height"
3013
3247
  }, {
3014
- default: a(() => [y("div", Qi, [y("input", {
3248
+ default: a(() => [b("div", ba, [b("input", {
3015
3249
  type: "number",
3016
- class: g(h(U)),
3250
+ class: g(h(z)),
3017
3251
  value: e.block.height,
3018
3252
  min: "10",
3019
3253
  max: "100",
3020
3254
  onInput: o[0] ||= (e) => n("update", { height: Number(e.target.value) })
3021
- }, null, 42, $i), y("span", { class: g(h(H)) }, "px", 2)]), y("input", {
3255
+ }, null, 42, xa), b("span", { class: g(h(L)) }, "px", 2)]), b("input", {
3022
3256
  type: "range",
3023
3257
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
3024
3258
  value: e.block.height,
3025
3259
  min: "10",
3026
3260
  max: "100",
3027
3261
  onInput: o[1] ||= (e) => n("update", { height: Number(e.target.value) })
3028
- }, null, 40, ea)]),
3262
+ }, null, 40, Sa)]),
3029
3263
  _: 1
3030
3264
  }, 8, ["label"]));
3031
3265
  }
3032
- }), na = { class: "tpl:mb-3.5" }, ra = { class: "tpl:flex tpl:items-center tpl:gap-3" }, ia = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, aa = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, oa = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, sa = ["disabled"], ca = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, la = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ua = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, da = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, fa = ["disabled"], pa = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ma = { class: "tpl:flex tpl:items-stretch" }, ha = ["value"], ga = { class: "tpl:flex tpl:items-stretch" }, _a = ["value"], va = ["value"], ya = { value: "" }, ba = ["value"], xa = { class: "tpl:flex tpl:items-stretch" }, Sa = ["value"], Ca = /* @__PURE__ */ r({
3266
+ }), wa = { class: "tpl:mb-3.5" }, Ta = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ea = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Da = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Oa = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ka = ["disabled"], Aa = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ja = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ma = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Na = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Pa = ["disabled"], Fa = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ia = { class: "tpl:flex tpl:items-stretch" }, La = ["value"], Ra = { class: "tpl:flex tpl:items-stretch" }, za = ["value"], Ba = ["value"], Va = { value: "" }, Ha = ["value"], Ua = { class: "tpl:flex tpl:items-stretch" }, Wa = ["value"], Ga = /* @__PURE__ */ r({
3033
3267
  __name: "TableToolbar",
3034
3268
  props: {
3035
3269
  block: {},
@@ -3037,15 +3271,15 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3037
3271
  },
3038
3272
  emits: ["update"],
3039
3273
  setup(e, { emit: t }) {
3040
- let n = e, r = t, { t: o } = V(), s = S(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3274
+ let n = e, r = t, { t: o } = Z(), s = C(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3041
3275
  function l(e, t) {
3042
3276
  r("update", { [e]: t });
3043
3277
  }
3044
3278
  function u() {
3045
3279
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
3046
- id: j(),
3280
+ id: ge(),
3047
3281
  cells: Array.from({ length: e }, () => ({
3048
- id: j(),
3282
+ id: ge(),
3049
3283
  content: ""
3050
3284
  }))
3051
3285
  };
@@ -3058,7 +3292,7 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3058
3292
  let e = n.block.rows.map((e) => ({
3059
3293
  ...e,
3060
3294
  cells: [...e.cells, {
3061
- id: j(),
3295
+ id: ge(),
3062
3296
  content: ""
3063
3297
  }]
3064
3298
  }));
@@ -3071,48 +3305,48 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3071
3305
  }));
3072
3306
  r("update", { rows: t });
3073
3307
  }
3074
- return (t, n) => (i(), p(E, null, [
3075
- y("div", na, [y("label", { class: g(h(G)) }, b(h(o).table.dimensions), 3), y("div", ra, [y("div", ia, [y("span", aa, b(h(o).table.rows), 1), y("div", oa, [
3076
- y("button", {
3308
+ return (t, n) => (i(), p(D, null, [
3309
+ b("div", wa, [b("label", { class: g(h(V)) }, x(h(o).table.dimensions), 3), b("div", Ta, [b("div", Ea, [b("span", Da, x(h(o).table.rows), 1), b("div", Oa, [
3310
+ b("button", {
3077
3311
  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",
3078
3312
  disabled: e.block.rows.length <= 1,
3079
3313
  onClick: n[0] ||= (t) => d(e.block.rows[e.block.rows.length - 1].id)
3080
- }, [O(h(Me), {
3314
+ }, [k(h(U), {
3081
3315
  size: 12,
3082
3316
  "stroke-width": 2
3083
- })], 8, sa),
3084
- y("span", ca, b(e.block.rows.length), 1),
3085
- y("button", {
3317
+ })], 8, ka),
3318
+ b("span", Aa, x(e.block.rows.length), 1),
3319
+ b("button", {
3086
3320
  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)]",
3087
3321
  onClick: u
3088
- }, [O(h(B), {
3322
+ }, [k(h(H), {
3089
3323
  size: 12,
3090
3324
  "stroke-width": 2
3091
3325
  })])
3092
- ])]), y("div", la, [y("span", ua, b(h(o).table.columns), 1), y("div", da, [
3093
- y("button", {
3326
+ ])]), b("div", ja, [b("span", Ma, x(h(o).table.columns), 1), b("div", Na, [
3327
+ b("button", {
3094
3328
  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",
3095
3329
  disabled: s.value <= 1,
3096
3330
  onClick: n[1] ||= (e) => m(s.value - 1)
3097
- }, [O(h(Me), {
3331
+ }, [k(h(U), {
3098
3332
  size: 12,
3099
3333
  "stroke-width": 2
3100
- })], 8, fa),
3101
- y("span", pa, b(s.value), 1),
3102
- y("button", {
3334
+ })], 8, Pa),
3335
+ b("span", Fa, x(s.value), 1),
3336
+ b("button", {
3103
3337
  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)]",
3104
3338
  onClick: f
3105
- }, [O(h(B), {
3339
+ }, [k(h(H), {
3106
3340
  size: 12,
3107
3341
  "stroke-width": 2
3108
3342
  })])
3109
3343
  ])])])]),
3110
- O(K, {
3344
+ k(A, {
3111
3345
  class: "tpl:mb-3.5",
3112
3346
  path: "hasHeaderRow",
3113
3347
  label: h(o).table.hasHeaderRow
3114
3348
  }, {
3115
- "label-actions": a(({ controlId: t }) => [O(J, {
3349
+ "label-actions": a(({ controlId: t }) => [k(P, {
3116
3350
  "control-id": t,
3117
3351
  "hide-label": "",
3118
3352
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -3126,15 +3360,15 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3126
3360
  ])]),
3127
3361
  _: 1
3128
3362
  }, 8, ["label"]),
3129
- e.block.hasHeaderRow ? (i(), v(K, {
3363
+ e.block.hasHeaderRow ? (i(), v(A, {
3130
3364
  key: 0,
3131
3365
  label: h(o).table.headerBackgroundColor,
3132
3366
  class: "tpl:mb-3.5",
3133
3367
  path: "headerBackgroundColor"
3134
3368
  }, {
3135
- default: a(() => [O(q, {
3369
+ default: a(() => [k(M, {
3136
3370
  "model-value": e.block.headerBackgroundColor ?? "",
3137
- "seed-color": h(at),
3371
+ "seed-color": h(te),
3138
3372
  placeholder: h(o).table.noHeaderBg,
3139
3373
  "onUpdate:modelValue": n[3] ||= (e) => l("headerBackgroundColor", e || null)
3140
3374
  }, null, 8, [
@@ -3144,109 +3378,109 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3144
3378
  ])]),
3145
3379
  _: 1
3146
3380
  }, 8, ["label"])) : _("", !0),
3147
- O(K, {
3381
+ k(A, {
3148
3382
  label: h(o).table.borderColor,
3149
3383
  class: "tpl:mb-3.5",
3150
3384
  path: "borderColor"
3151
3385
  }, {
3152
- default: a(() => [O(q, {
3386
+ default: a(() => [k(M, {
3153
3387
  "model-value": e.block.borderColor,
3154
3388
  "onUpdate:modelValue": n[4] ||= (e) => l("borderColor", e)
3155
3389
  }, null, 8, ["model-value"])]),
3156
3390
  _: 1
3157
3391
  }, 8, ["label"]),
3158
- O(K, {
3392
+ k(A, {
3159
3393
  label: h(o).table.borderWidth,
3160
3394
  class: "tpl:mb-3.5",
3161
3395
  path: "borderWidth"
3162
3396
  }, {
3163
- default: a(() => [y("div", ma, [y("input", {
3397
+ default: a(() => [b("div", Ia, [b("input", {
3164
3398
  type: "number",
3165
- class: g(h(U)),
3399
+ class: g(h(z)),
3166
3400
  value: e.block.borderWidth,
3167
3401
  min: "0",
3168
3402
  max: "10",
3169
3403
  onInput: n[5] ||= (e) => l("borderWidth", Number(e.target.value))
3170
- }, null, 42, ha), y("span", { class: g(h(H)) }, "px", 2)])]),
3404
+ }, null, 42, La), b("span", { class: g(h(L)) }, "px", 2)])]),
3171
3405
  _: 1
3172
3406
  }, 8, ["label"]),
3173
- O(K, {
3407
+ k(A, {
3174
3408
  label: h(o).table.cellPadding,
3175
3409
  class: "tpl:mb-3.5",
3176
3410
  path: "cellPadding"
3177
3411
  }, {
3178
- default: a(() => [y("div", ga, [y("input", {
3412
+ default: a(() => [b("div", Ra, [b("input", {
3179
3413
  type: "number",
3180
- class: g(h(U)),
3414
+ class: g(h(z)),
3181
3415
  value: e.block.cellPadding,
3182
3416
  min: "0",
3183
3417
  max: "30",
3184
3418
  onInput: n[6] ||= (e) => l("cellPadding", Number(e.target.value))
3185
- }, null, 42, _a), y("span", { class: g(h(H)) }, "px", 2)])]),
3419
+ }, null, 42, za), b("span", { class: g(h(L)) }, "px", 2)])]),
3186
3420
  _: 1
3187
3421
  }, 8, ["label"]),
3188
- O(K, {
3422
+ k(A, {
3189
3423
  label: h(o).table.fontFamily,
3190
3424
  class: "tpl:mb-3.5",
3191
3425
  path: "fontFamily"
3192
3426
  }, {
3193
- default: a(() => [y("select", {
3194
- class: g(h(W)),
3195
- value: h(pt)(e.block.fontFamily),
3427
+ default: a(() => [b("select", {
3428
+ class: g(h(B)),
3429
+ value: h(je)(e.block.fontFamily),
3196
3430
  onChange: n[7] ||= (e) => l("fontFamily", e.target.value || void 0)
3197
- }, [y("option", ya, b(h(o).title.inheritFont), 1), (i(!0), p(E, null, c(e.fontFamilies, (e) => (i(), p("option", {
3431
+ }, [b("option", Va, x(h(o).title.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
3198
3432
  key: e.value,
3199
3433
  value: e.value
3200
- }, b(e.label), 9, ba))), 128))], 42, va)]),
3434
+ }, x(e.label), 9, Ha))), 128))], 42, Ba)]),
3201
3435
  _: 1
3202
3436
  }, 8, ["label"]),
3203
- O(K, {
3437
+ k(A, {
3204
3438
  label: h(o).table.fontSize,
3205
3439
  class: "tpl:mb-3.5",
3206
3440
  path: "fontSize"
3207
3441
  }, {
3208
- default: a(() => [y("div", xa, [y("input", {
3442
+ default: a(() => [b("div", Ua, [b("input", {
3209
3443
  type: "number",
3210
- class: g(h(U)),
3444
+ class: g(h(z)),
3211
3445
  value: e.block.fontSize,
3212
3446
  min: "10",
3213
3447
  max: "32",
3214
3448
  onInput: n[8] ||= (e) => l("fontSize", Number(e.target.value))
3215
- }, null, 42, Sa), y("span", { class: g(h(H)) }, "px", 2)])]),
3449
+ }, null, 42, Wa), b("span", { class: g(h(L)) }, "px", 2)])]),
3216
3450
  _: 1
3217
3451
  }, 8, ["label"]),
3218
- O(K, {
3452
+ k(A, {
3219
3453
  label: h(o).table.color,
3220
3454
  class: "tpl:mb-3.5",
3221
3455
  path: "color"
3222
3456
  }, {
3223
- default: a(() => [O(q, {
3457
+ default: a(() => [k(M, {
3224
3458
  "model-value": e.block.color ?? "",
3225
3459
  "onUpdate:modelValue": n[9] ||= (e) => l("color", e || void 0)
3226
3460
  }, null, 8, ["model-value"])]),
3227
3461
  _: 1
3228
3462
  }, 8, ["label"]),
3229
- O(K, {
3463
+ k(A, {
3230
3464
  label: h(o).table.textAlign,
3231
3465
  class: "tpl:mb-3.5",
3232
3466
  path: "textAlign"
3233
3467
  }, {
3234
- default: a(() => [O(X, {
3468
+ default: a(() => [k($, {
3235
3469
  options: [
3236
3470
  {
3237
3471
  value: "left",
3238
3472
  label: h(o).title.alignLeft,
3239
- icon: h(Fe)
3473
+ icon: h(G)
3240
3474
  },
3241
3475
  {
3242
3476
  value: "center",
3243
3477
  label: h(o).title.alignCenter,
3244
- icon: h(ke)
3478
+ icon: h(X)
3245
3479
  },
3246
3480
  {
3247
3481
  value: "right",
3248
3482
  label: h(o).title.alignRight,
3249
- icon: h(Be)
3483
+ icon: h(ue)
3250
3484
  }
3251
3485
  ],
3252
3486
  "model-value": e.block.textAlign,
@@ -3256,7 +3490,7 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3256
3490
  }, 8, ["label"])
3257
3491
  ], 64));
3258
3492
  }
3259
- }), wa = ["value"], Ta = { value: 1 }, Ea = { value: 2 }, Da = { value: 3 }, Oa = { value: 4 }, ka = ["value"], Aa = { value: "" }, ja = ["value"], Ma = /* @__PURE__ */ r({
3493
+ }), Ka = ["value"], qa = { value: 1 }, Ja = { value: 2 }, Ya = { value: 3 }, Xa = { value: 4 }, Za = ["value"], Qa = { value: "" }, $a = ["value"], eo = /* @__PURE__ */ r({
3260
3494
  __name: "TitleToolbar",
3261
3495
  props: {
3262
3496
  block: {},
@@ -3264,75 +3498,75 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3264
3498
  },
3265
3499
  emits: ["update"],
3266
3500
  setup(e, { emit: t }) {
3267
- let n = t, { t: r } = V();
3501
+ let n = t, { t: r } = Z();
3268
3502
  function o(e, t) {
3269
3503
  n("update", { [e]: t });
3270
3504
  }
3271
- return (t, n) => (i(), p(E, null, [
3272
- O(K, {
3505
+ return (t, n) => (i(), p(D, null, [
3506
+ k(A, {
3273
3507
  label: h(r).title.level,
3274
3508
  class: "tpl:mb-3.5",
3275
3509
  path: "level"
3276
3510
  }, {
3277
- default: a(() => [y("select", {
3278
- class: g(h(W)),
3511
+ default: a(() => [b("select", {
3512
+ class: g(h(B)),
3279
3513
  value: e.block.level,
3280
3514
  onChange: n[0] ||= (e) => o("level", Number(e.target.value))
3281
3515
  }, [
3282
- y("option", Ta, b(h(r).title.heading1), 1),
3283
- y("option", Ea, b(h(r).title.heading2), 1),
3284
- y("option", Da, b(h(r).title.heading3), 1),
3285
- y("option", Oa, b(h(r).title.heading4), 1)
3286
- ], 42, wa)]),
3516
+ b("option", qa, x(h(r).title.heading1), 1),
3517
+ b("option", Ja, x(h(r).title.heading2), 1),
3518
+ b("option", Ya, x(h(r).title.heading3), 1),
3519
+ b("option", Xa, x(h(r).title.heading4), 1)
3520
+ ], 42, Ka)]),
3287
3521
  _: 1
3288
3522
  }, 8, ["label"]),
3289
- O(K, {
3523
+ k(A, {
3290
3524
  label: h(r).title.fontFamily,
3291
3525
  class: "tpl:mb-3.5",
3292
3526
  path: "fontFamily"
3293
3527
  }, {
3294
- default: a(() => [y("select", {
3295
- class: g(h(W)),
3296
- value: h(pt)(e.block.fontFamily),
3528
+ default: a(() => [b("select", {
3529
+ class: g(h(B)),
3530
+ value: h(je)(e.block.fontFamily),
3297
3531
  onChange: n[1] ||= (e) => o("fontFamily", e.target.value || void 0)
3298
- }, [y("option", Aa, b(h(r).title.inheritFont), 1), (i(!0), p(E, null, c(e.fontFamilies, (e) => (i(), p("option", {
3532
+ }, [b("option", Qa, x(h(r).title.inheritFont), 1), (i(!0), p(D, null, c(e.fontFamilies, (e) => (i(), p("option", {
3299
3533
  key: e.value,
3300
3534
  value: e.value
3301
- }, b(e.label), 9, ja))), 128))], 42, ka)]),
3535
+ }, x(e.label), 9, $a))), 128))], 42, Za)]),
3302
3536
  _: 1
3303
3537
  }, 8, ["label"]),
3304
- O(K, {
3538
+ k(A, {
3305
3539
  label: h(r).title.color,
3306
3540
  class: "tpl:mb-3.5",
3307
3541
  path: "color"
3308
3542
  }, {
3309
- default: a(() => [O(q, {
3543
+ default: a(() => [k(M, {
3310
3544
  "model-value": e.block.color ?? "",
3311
3545
  "onUpdate:modelValue": n[2] ||= (e) => o("color", e || void 0)
3312
3546
  }, null, 8, ["model-value"])]),
3313
3547
  _: 1
3314
3548
  }, 8, ["label"]),
3315
- O(K, {
3549
+ k(A, {
3316
3550
  label: h(r).title.align,
3317
3551
  class: "tpl:mb-3.5",
3318
3552
  path: "textAlign"
3319
3553
  }, {
3320
- default: a(() => [O(X, {
3554
+ default: a(() => [k($, {
3321
3555
  options: [
3322
3556
  {
3323
3557
  value: "left",
3324
3558
  label: h(r).title.alignLeft,
3325
- icon: h(Fe)
3559
+ icon: h(G)
3326
3560
  },
3327
3561
  {
3328
3562
  value: "center",
3329
3563
  label: h(r).title.alignCenter,
3330
- icon: h(ke)
3564
+ icon: h(X)
3331
3565
  },
3332
3566
  {
3333
3567
  value: "right",
3334
3568
  label: h(r).title.alignRight,
3335
- icon: h(Be)
3569
+ icon: h(ue)
3336
3570
  }
3337
3571
  ],
3338
3572
  "model-value": e.block.textAlign,
@@ -3342,30 +3576,30 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3342
3576
  }, 8, ["label"])
3343
3577
  ], 64));
3344
3578
  }
3345
- }), Na = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Pa = [
3579
+ }), to = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, no = [
3346
3580
  "value",
3347
3581
  "placeholder",
3348
3582
  "title"
3349
- ], Fa = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ia = ["value"], La = { value: "full" }, Ra = { value: "custom" }, za = {
3583
+ ], ro = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, io = ["value"], ao = { value: "full" }, oo = { value: "custom" }, so = {
3350
3584
  key: 0,
3351
3585
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
3352
- }, Ba = ["value"], Va = ["value"], Ha = { value: "auto" }, Ua = { value: "custom" }, Wa = {
3586
+ }, co = ["value"], lo = ["value"], uo = { value: "auto" }, fo = { value: "custom" }, po = {
3353
3587
  key: 0,
3354
3588
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
3355
- }, Ga = ["value"], Ka = 350, qa = 200, Ja = /* @__PURE__ */ r({
3589
+ }, mo = ["value"], ho = 350, go = 200, _o = /* @__PURE__ */ r({
3356
3590
  __name: "VideoToolbar",
3357
3591
  props: { block: {} },
3358
3592
  emits: ["update"],
3359
3593
  setup(e, { emit: t }) {
3360
- let n = e, r = t, { t: o } = V(), s = l(Ge, null), c = l(Ve, A.liquid), u = ue(), d = [
3594
+ let n = e, r = t, { t: o } = Z(), s = l(tt, null), c = l(Xe, he.liquid), u = Re(), d = [
3361
3595
  300,
3362
3596
  400,
3363
3597
  500
3364
- ], f = S(() => !!s), x = S(() => P(n.block.url, c)), C = S(() => {
3598
+ ], f = C(() => !!s), y = C(() => ve(n.block.url, c)), S = C(() => {
3365
3599
  let e = n.block.width;
3366
3600
  return e === "full" ? "full" : d.includes(e) ? String(e) : "custom";
3367
- }), w = S(() => typeof n.block.height == "number" ? "custom" : "auto"), D = T(!1), { start: k } = st(() => {
3368
- D.value = !1;
3601
+ }), w = C(() => typeof n.block.height == "number" ? "custom" : "auto"), T = E(!1), { start: O } = mt(() => {
3602
+ T.value = !1;
3369
3603
  }, 1e3, { immediate: !1 });
3370
3604
  function j(e, t) {
3371
3605
  r("update", { [e]: t });
@@ -3373,41 +3607,41 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3373
3607
  function M(e) {
3374
3608
  if (e === "custom") {
3375
3609
  let e = n.block.width;
3376
- (typeof e != "number" || d.includes(e)) && j("width", Ka);
3610
+ (typeof e != "number" || d.includes(e)) && j("width", ho);
3377
3611
  } else j("width", e === "full" ? "full" : Number(e));
3378
3612
  }
3379
- function N(e) {
3613
+ function F(e) {
3380
3614
  let t = Number(e);
3381
3615
  !Number.isFinite(t) || t <= 0 || j("width", t);
3382
3616
  }
3383
- function F(e) {
3384
- j("height", e === "custom" ? qa : void 0);
3385
- }
3386
3617
  function I(e) {
3618
+ j("height", e === "custom" ? go : void 0);
3619
+ }
3620
+ function ee(e) {
3387
3621
  let t = Number(e);
3388
3622
  !Number.isFinite(t) || t <= 0 || j("height", t);
3389
3623
  }
3390
- async function ee() {
3624
+ async function R() {
3391
3625
  let e = await s?.({ accept: ["images"] });
3392
- u.alive && e && (j("thumbnailUrl", e.url), D.value = !0, k());
3626
+ u.alive && e && (j("thumbnailUrl", e.url), T.value = !0, O());
3393
3627
  }
3394
- return (t, n) => (i(), p(E, null, [
3395
- O(K, {
3628
+ return (t, n) => (i(), p(D, null, [
3629
+ k(A, {
3396
3630
  label: h(o).video.videoUrl,
3397
3631
  class: "tpl:mb-3.5",
3398
3632
  path: "url"
3399
3633
  }, {
3400
- default: a(() => [O(Y, {
3634
+ default: a(() => [k(N, {
3401
3635
  "model-value": e.block.url,
3402
3636
  type: "url",
3403
3637
  placeholder: h(o).video.videoUrlPlaceholder,
3404
3638
  "onUpdate:modelValue": n[0] ||= (e) => j("url", e)
3405
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (i(), v(K, {
3639
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (i(), v(A, {
3406
3640
  key: 0,
3407
3641
  path: "openInNewTab",
3408
3642
  label: h(o).video.openInNewTab
3409
3643
  }, {
3410
- "label-actions": a(({ controlId: t }) => [O(J, {
3644
+ "label-actions": a(({ controlId: t }) => [k(P, {
3411
3645
  "control-id": t,
3412
3646
  "hide-label": "",
3413
3647
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -3423,32 +3657,32 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3423
3657
  }, 8, ["label"])) : _("", !0)]),
3424
3658
  _: 1
3425
3659
  }, 8, ["label"]),
3426
- x.value ? (i(), v(K, {
3660
+ y.value ? (i(), v(A, {
3427
3661
  key: 0,
3428
3662
  class: "tpl:mb-3.5",
3429
3663
  path: "placeholderUrl"
3430
3664
  }, {
3431
- label: a(() => [m(b(h(o).video.placeholderUrl) + " ", 1), y("span", Na, b(h(o).video.optional), 1)]),
3432
- default: a(() => [y("input", {
3665
+ label: a(() => [m(x(h(o).video.placeholderUrl) + " ", 1), b("span", to, x(h(o).video.optional), 1)]),
3666
+ default: a(() => [b("input", {
3433
3667
  type: "url",
3434
- class: g(h(W)),
3668
+ class: g(h(B)),
3435
3669
  value: e.block.placeholderUrl || "",
3436
3670
  placeholder: h(o).video.placeholderUrlPlaceholder,
3437
3671
  title: h(o).video.placeholderUrlTooltip,
3438
3672
  onInput: n[2] ||= (e) => j("placeholderUrl", e.target.value)
3439
- }, null, 42, Pa)]),
3673
+ }, null, 42, no)]),
3440
3674
  _: 1
3441
3675
  })) : _("", !0),
3442
- O(K, {
3676
+ k(A, {
3443
3677
  class: "tpl:mb-3.5",
3444
3678
  path: "thumbnailUrl"
3445
3679
  }, {
3446
- label: a(() => [m(b(h(o).video.customThumbnail) + " ", 1), y("span", Fa, b(h(o).video.optional), 1)]),
3447
- default: a(() => [O(Y, {
3680
+ label: a(() => [m(x(h(o).video.customThumbnail) + " ", 1), b("span", ro, x(h(o).video.optional), 1)]),
3681
+ default: a(() => [k(N, {
3448
3682
  "model-value": e.block.thumbnailUrl,
3449
3683
  type: "url",
3450
3684
  placeholder: h(o).video.thumbnailPlaceholder,
3451
- pulse: D.value,
3685
+ pulse: T.value,
3452
3686
  "onUpdate:modelValue": n[3] ||= (e) => j("thumbnailUrl", e)
3453
3687
  }, null, 8, [
3454
3688
  "model-value",
@@ -3462,19 +3696,19 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3462
3696
  color: "var(--tpl-primary)",
3463
3697
  "background-color": "var(--tpl-bg)"
3464
3698
  },
3465
- onClick: ee
3466
- }, [O(h(Ae), {
3699
+ onClick: R
3700
+ }, [k(h(de), {
3467
3701
  size: 14,
3468
3702
  "stroke-width": 1.5
3469
- }), m(" " + b(h(o).image.browseMedia), 1)])) : _("", !0)]),
3703
+ }), m(" " + x(h(o).image.browseMedia), 1)])) : _("", !0)]),
3470
3704
  _: 1
3471
3705
  }),
3472
- O(K, {
3706
+ k(A, {
3473
3707
  label: h(o).video.altText,
3474
3708
  class: "tpl:mb-3.5",
3475
3709
  path: "alt"
3476
3710
  }, {
3477
- default: a(() => [O(Y, {
3711
+ default: a(() => [k(N, {
3478
3712
  "model-value": e.block.alt,
3479
3713
  type: "text",
3480
3714
  placeholder: h(o).video.altTextPlaceholder,
@@ -3482,58 +3716,58 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3482
3716
  }, null, 8, ["model-value", "placeholder"])]),
3483
3717
  _: 1
3484
3718
  }, 8, ["label"]),
3485
- O(K, {
3719
+ k(A, {
3486
3720
  label: h(o).video.width,
3487
3721
  class: "tpl:mb-3.5",
3488
3722
  path: "width"
3489
3723
  }, {
3490
- default: a(() => [y("select", {
3491
- class: g(h(W)),
3724
+ default: a(() => [b("select", {
3725
+ class: g(h(B)),
3492
3726
  "data-testid": "video-width-mode",
3493
- value: C.value,
3727
+ value: S.value,
3494
3728
  onChange: n[5] ||= (e) => M(e.target.value)
3495
3729
  }, [
3496
- y("option", La, b(h(o).video.fullWidth), 1),
3497
- n[10] ||= y("option", { value: "300" }, "300px", -1),
3498
- n[11] ||= y("option", { value: "400" }, "400px", -1),
3499
- n[12] ||= y("option", { value: "500" }, "500px", -1),
3500
- y("option", Ra, b(h(o).video.widthCustom), 1)
3501
- ], 42, Ia), C.value === "custom" ? (i(), p("div", za, [y("input", {
3730
+ b("option", ao, x(h(o).video.fullWidth), 1),
3731
+ n[10] ||= b("option", { value: "300" }, "300px", -1),
3732
+ n[11] ||= b("option", { value: "400" }, "400px", -1),
3733
+ n[12] ||= b("option", { value: "500" }, "500px", -1),
3734
+ b("option", oo, x(h(o).video.widthCustom), 1)
3735
+ ], 42, io), S.value === "custom" ? (i(), p("div", so, [b("input", {
3502
3736
  type: "number",
3503
3737
  "data-testid": "video-width-input",
3504
- class: g(h(U)),
3738
+ class: g(h(z)),
3505
3739
  value: e.block.width,
3506
3740
  min: "20",
3507
- onInput: n[6] ||= (e) => N(e.target.value)
3508
- }, null, 42, Ba), y("span", { class: g(h(H)) }, "px", 2)])) : _("", !0)]),
3741
+ onInput: n[6] ||= (e) => F(e.target.value)
3742
+ }, null, 42, co), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
3509
3743
  _: 1
3510
3744
  }, 8, ["label"]),
3511
- O(K, {
3745
+ k(A, {
3512
3746
  label: h(o).video.height,
3513
3747
  class: "tpl:mb-3.5",
3514
3748
  path: "height"
3515
3749
  }, {
3516
- default: a(() => [y("select", {
3517
- class: g(h(W)),
3750
+ default: a(() => [b("select", {
3751
+ class: g(h(B)),
3518
3752
  "data-testid": "video-height-mode",
3519
3753
  value: w.value,
3520
- onChange: n[7] ||= (e) => F(e.target.value)
3521
- }, [y("option", Ha, b(h(o).video.heightAuto), 1), y("option", Ua, b(h(o).video.heightCustom), 1)], 42, Va), w.value === "custom" ? (i(), p("div", Wa, [y("input", {
3754
+ onChange: n[7] ||= (e) => I(e.target.value)
3755
+ }, [b("option", uo, x(h(o).video.heightAuto), 1), b("option", fo, x(h(o).video.heightCustom), 1)], 42, lo), w.value === "custom" ? (i(), p("div", po, [b("input", {
3522
3756
  type: "number",
3523
3757
  "data-testid": "video-height-input",
3524
- class: g(h(U)),
3758
+ class: g(h(z)),
3525
3759
  value: e.block.height,
3526
3760
  min: "20",
3527
- onInput: n[8] ||= (e) => I(e.target.value)
3528
- }, null, 42, Ga), y("span", { class: g(h(H)) }, "px", 2)])) : _("", !0)]),
3761
+ onInput: n[8] ||= (e) => ee(e.target.value)
3762
+ }, null, 42, mo), b("span", { class: g(h(L)) }, "px", 2)])) : _("", !0)]),
3529
3763
  _: 1
3530
3764
  }, 8, ["label"]),
3531
- O(K, {
3765
+ k(A, {
3532
3766
  label: h(o).title.align,
3533
3767
  class: "tpl:mb-3.5",
3534
3768
  path: "align"
3535
3769
  }, {
3536
- default: a(() => [O(X, {
3770
+ default: a(() => [k($, {
3537
3771
  options: [
3538
3772
  {
3539
3773
  value: "left",
@@ -3555,7 +3789,7 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3555
3789
  }, 8, ["label"])
3556
3790
  ], 64));
3557
3791
  }
3558
- }), Ya = ["aria-label"], Xa = ["disabled", "inert"], Za = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Qa = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, $a = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, eo = { class: "tpl:flex tpl:gap-1" }, to = ["title"], no = ["title"], ro = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, io = /*@__PURE__*/ r({
3792
+ }), vo = ["aria-label"], yo = ["disabled", "inert"], bo = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, xo = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, So = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Co = { class: "tpl:flex tpl:gap-1" }, wo = ["title"], To = ["title"], Eo = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Do = /*@__PURE__*/ r({
3559
3793
  __name: "Toolbar",
3560
3794
  props: { block: {} },
3561
3795
  emits: [
@@ -3564,9 +3798,9 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3564
3798
  "duplicate"
3565
3799
  ],
3566
3800
  setup(e, { emit: t }) {
3567
- let r = f(() => import("./CountdownToolbar-BxW-J7DX.js")), a = e, o = t, { t: s } = V(), c = ct(), u = Xe(Je, "Toolbar"), d = l(Ye, []), m = S(() => a.block.type), g = S(() => F(a.block)), x = S(() => {
3801
+ let r = f(() => import("./CountdownToolbar-CnWQEW5g.js")), a = e, o = t, { t: s } = Z(), c = dt(), u = ct(it, "Toolbar"), d = l(at, []), m = C(() => a.block.type), g = C(() => De(a.block)), y = C(() => {
3568
3802
  if (g.value) return d.find((e) => e.type === a.block.customType);
3569
- }), C = S(() => g.value ? x.value?.name ?? a.block.customType : le(m.value, s)), w = S(() => ft(u.fonts.value, "fontFamily" in a.block ? a.block.fontFamily : void 0));
3803
+ }), S = C(() => g.value ? y.value?.name ?? a.block.customType : Le(m.value, s)), w = C(() => Ae(u.fonts.value, "fontFamily" in a.block ? a.block.fontFamily : void 0));
3570
3804
  function T(e) {
3571
3805
  c.value && o("update", e);
3572
3806
  }
@@ -3574,86 +3808,86 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3574
3808
  "data-testid": "block-toolbar",
3575
3809
  "aria-label": h(s).landmarks.blockToolbar,
3576
3810
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
3577
- }, [y("fieldset", {
3811
+ }, [b("fieldset", {
3578
3812
  disabled: !h(c),
3579
3813
  inert: !h(c),
3580
3814
  class: "tpl:contents"
3581
- }, [y("div", Za, [y("div", Qa, [h(ut)[m.value] ? (i(), v(n(h(ut)[m.value]), {
3815
+ }, [b("div", bo, [b("div", xo, [h(ht)[m.value] ? (i(), v(n(h(ht)[m.value]), {
3582
3816
  key: 0,
3583
3817
  size: 16,
3584
3818
  "stroke-width": 1.5
3585
- })) : g.value ? (i(), v(h(Ee), {
3819
+ })) : g.value ? (i(), v(h(se), {
3586
3820
  key: 1,
3587
3821
  size: 16,
3588
3822
  "stroke-width": 1.5
3589
- })) : _("", !0), y("h3", $a, b(C.value), 1)]), y("div", eo, [y("button", {
3823
+ })) : _("", !0), b("h3", So, x(S.value), 1)]), b("div", Co, [b("button", {
3590
3824
  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)]",
3591
3825
  title: h(s).toolbar.duplicate,
3592
3826
  onClick: a[0] ||= (e) => o("duplicate")
3593
- }, [O(h(Ce), {
3827
+ }, [k(h(ie), {
3594
3828
  size: 14,
3595
3829
  "stroke-width": 2
3596
- })], 8, to), y("button", {
3830
+ })], 8, wo), b("button", {
3597
3831
  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)]",
3598
3832
  title: h(s).toolbar.delete,
3599
3833
  onClick: a[1] ||= (e) => o("delete")
3600
- }, [O(h(Ne), {
3834
+ }, [k(h(pe), {
3601
3835
  size: 14,
3602
3836
  "stroke-width": 2
3603
- })], 8, no)])]), y("div", ro, [g.value ? (i(), v(Nr, {
3837
+ })], 8, To)])]), b("div", Eo, [g.value ? (i(), v(ti, {
3604
3838
  key: 0,
3605
3839
  block: e.block,
3606
3840
  onUpdateFieldValues: a[2] ||= (e) => o("update", { fieldValues: e }),
3607
3841
  onUpdateDataSourceFetched: a[3] ||= (e) => o("update", { dataSourceFetched: e })
3608
- }, null, 8, ["block"])) : m.value === "section" ? (i(), v(ji, {
3842
+ }, null, 8, ["block"])) : m.value === "section" ? (i(), v($i, {
3609
3843
  key: 1,
3610
3844
  block: e.block,
3611
3845
  onUpdate: T
3612
- }, null, 8, ["block"])) : m.value === "title" ? (i(), v(Ma, {
3846
+ }, null, 8, ["block"])) : m.value === "title" ? (i(), v(eo, {
3613
3847
  key: 2,
3614
3848
  block: e.block,
3615
3849
  "font-families": w.value,
3616
3850
  onUpdate: T
3617
- }, null, 8, ["block", "font-families"])) : m.value === "paragraph" ? (i(), v(Ci, {
3851
+ }, null, 8, ["block", "font-families"])) : m.value === "paragraph" ? (i(), v(Gi, {
3618
3852
  key: 3,
3619
3853
  block: e.block,
3620
3854
  onUpdate: T
3621
- }, null, 8, ["block"])) : m.value === "image" ? (i(), v(li, {
3855
+ }, null, 8, ["block"])) : m.value === "image" ? (i(), v(ji, {
3622
3856
  key: 4,
3623
3857
  block: e.block,
3624
3858
  onUpdate: T
3625
- }, null, 8, ["block"])) : m.value === "video" ? (i(), v(Ja, {
3859
+ }, null, 8, ["block"])) : m.value === "video" ? (i(), v(_o, {
3626
3860
  key: 5,
3627
3861
  block: e.block,
3628
3862
  onUpdate: T
3629
- }, null, 8, ["block"])) : m.value === "button" ? (i(), v(zt, {
3863
+ }, null, 8, ["block"])) : m.value === "button" ? (i(), v(Ht, {
3630
3864
  key: 6,
3631
3865
  block: e.block,
3632
3866
  "font-families": w.value,
3633
3867
  onUpdate: T
3634
- }, null, 8, ["block", "font-families"])) : m.value === "divider" ? (i(), v(Ir, {
3868
+ }, null, 8, ["block", "font-families"])) : m.value === "divider" ? (i(), v(ii, {
3635
3869
  key: 7,
3636
3870
  block: e.block,
3637
3871
  onUpdate: T
3638
- }, null, 8, ["block"])) : m.value === "social" ? (i(), v(Zi, {
3872
+ }, null, 8, ["block"])) : m.value === "social" ? (i(), v(ya, {
3639
3873
  key: 8,
3640
3874
  block: e.block,
3641
3875
  onUpdate: T
3642
- }, null, 8, ["block"])) : m.value === "menu" ? (i(), v(bi, {
3876
+ }, null, 8, ["block"])) : m.value === "menu" ? (i(), v(Hi, {
3643
3877
  key: 9,
3644
3878
  block: e.block,
3645
3879
  "font-families": w.value,
3646
3880
  onUpdate: T
3647
- }, null, 8, ["block", "font-families"])) : m.value === "table" ? (i(), v(Ca, {
3881
+ }, null, 8, ["block", "font-families"])) : m.value === "table" ? (i(), v(Ga, {
3648
3882
  key: 10,
3649
3883
  block: e.block,
3650
3884
  "font-families": w.value,
3651
3885
  onUpdate: T
3652
- }, null, 8, ["block", "font-families"])) : m.value === "spacer" ? (i(), v(ta, {
3886
+ }, null, 8, ["block", "font-families"])) : m.value === "spacer" ? (i(), v(Ca, {
3653
3887
  key: 11,
3654
3888
  block: e.block,
3655
3889
  onUpdate: T
3656
- }, null, 8, ["block"])) : m.value === "html" ? (i(), v(zr, {
3890
+ }, null, 8, ["block"])) : m.value === "html" ? (i(), v(si, {
3657
3891
  key: 12,
3658
3892
  block: e.block,
3659
3893
  onUpdate: T
@@ -3662,13 +3896,13 @@ var Ti = { class: "tpl:mb-3.5" }, Ei = ["value"], Di = ["value"], Oi = {
3662
3896
  block: e.block,
3663
3897
  "font-families": w.value,
3664
3898
  onUpdate: T
3665
- }, null, 8, ["block", "font-families"])) : _("", !0), O(Jn, {
3899
+ }, null, 8, ["block", "font-families"])) : _("", !0), k(hr, {
3666
3900
  block: e.block,
3667
3901
  "is-first-section": m.value === "paragraph",
3668
3902
  onUpdate: T
3669
- }, null, 8, ["block", "is-first-section"])])], 8, Xa)], 8, Ya));
3903
+ }, null, 8, ["block", "is-first-section"])])], 8, yo)], 8, vo));
3670
3904
  }
3671
- }), ao = /* @__PURE__ */ e({ default: () => oo }), oo = /*#__PURE__*/ z(io, [["__scopeId", "data-v-206f038f"]]);
3672
- export { oo as default, Z as n, X as r, ao as t };
3905
+ }), Oo = /* @__PURE__ */ e({ default: () => ko }), ko = /*#__PURE__*/ Ne(Do, [["__scopeId", "data-v-206f038f"]]);
3906
+ export { ko as default, bt as n, $ as r, Oo as t };
3673
3907
 
3674
- //# sourceMappingURL=Toolbar-NEE8qxYh.js.map
3908
+ //# sourceMappingURL=Toolbar-VH07SzX7.js.map