@templatical/editor 0.54.2 → 0.56.0

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