@templatical/editor 0.41.0 → 0.42.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 (187) hide show
  1. package/dist/{AiChatSidebar-a8TPBAl2.js → AiChatSidebar-DqSoJAXx.js} +1 -1
  2. package/dist/{AiFeatureMenu-CroDMqRG.js → AiFeatureMenu-CoBvE72q.js} +1 -1
  3. package/dist/{BlockPreviewCanvas-Z9SZIgfA.js → BlockPreviewCanvas-W6-MRpWz.js} +33 -33
  4. package/dist/{CloudHeaderExtras-CVqHeqc6.js → CloudHeaderExtras-AbsNuL9T.js} +1 -1
  5. package/dist/{CloudPanels-CmEpQUJB.js → CloudPanels-BNL6rSeB.js} +2 -2
  6. package/dist/{CollaboratorBar-AIQC9fEF.js → CollaboratorBar-DlZ-wOL_.js} +1 -1
  7. package/dist/{CountdownToolbar-DkC-qSgq.js → CountdownToolbar-Bnq25sR-.js} +3 -3
  8. package/dist/{DesignReferenceSidebar-OoiYJAKS.js → DesignReferenceSidebar-Cl5eE8Kn.js} +1 -1
  9. package/dist/{LogicTagInsertButton-BimKobaG.js → LogicTagInsertButton-SI6irEtn.js} +243 -219
  10. package/dist/{MergeTagInput-DqpVzhy7.js → MergeTagInput-BMQGNh1k.js} +1 -1
  11. package/dist/{MergeTagModeToggle-BkIiAgpQ.js → MergeTagModeToggle-Cm9s-w6o.js} +1 -1
  12. package/dist/{ParagraphEditor-DaZ03d1U.js → ParagraphEditor-CnBPQCVo.js} +19 -19
  13. package/dist/{RestoreVersionDialog-DHb1mPoF.js → RestoreVersionDialog-B13whpxH.js} +1 -1
  14. package/dist/{RichTextEditorContent-AEtfKvLz.js → RichTextEditorContent-DOvhgc-7.js} +3 -3
  15. package/dist/{SaveBlockDialog-hGwLDWfE.js → SaveBlockDialog-b5yrQfoN.js} +5 -5
  16. package/dist/{SavedBlocksBrowserModal-C0lYVBFi.js → SavedBlocksBrowserModal-DpqK4Zqp.js} +4 -4
  17. package/dist/{SavedBlocksPanels-CaTbeVDv.js → SavedBlocksPanels-C2wURIlT.js} +1 -1
  18. package/dist/{SavedBlocksPickBar-DR2afid2.js → SavedBlocksPickBar-Bx9_SXVA.js} +1 -1
  19. package/dist/{TemplateSettings-BD1WNP4C.js → TemplateSettings-Gn9ps1R6.js} +3 -3
  20. package/dist/{TestEmailModal-DqoosG1u.js → TestEmailModal-DaIaklcg.js} +5 -5
  21. package/dist/{TestEmailPanel-DpozqyHF.js → TestEmailPanel-CKSvzakC.js} +1 -1
  22. package/dist/{TitleEditor-BCBdZLt_.js → TitleEditor-C66Jk73n.js} +7 -7
  23. package/dist/{ToggleSwitch-CJfQ8u57.js → ToggleSwitch-BqttX9lY.js} +1 -1
  24. package/dist/{Toolbar-C7SjilzH.js → Toolbar-DVsKYQaC.js} +846 -553
  25. package/dist/{TplModal-CVO-2KrU.js → TplModal-DRQln7xH.js} +2 -2
  26. package/dist/{VersionHistoryPanels-BzF7dmwa.js → VersionHistoryPanels-Df5WjNah.js} +1 -1
  27. package/dist/{WrapperBlock-BDjOn3fY.js → WrapperBlock-B0cUORGz.js} +4 -4
  28. package/dist/{blockTypeIcons-B0Bq1WT1.js → blockTypeIcons-DfQNZnl7.js} +1 -1
  29. package/dist/bundle-stats.json +6 -6
  30. package/dist/{ca-Ckgw9yd0.js → ca--zGWn9AU.js} +14 -0
  31. package/dist/cdn/chunks/{AiChatSidebar-mKImUXi6.js → AiChatSidebar-DD17BwXn.js} +10 -10
  32. package/dist/cdn/chunks/{AiChatSidebar-mKImUXi6.js.map → AiChatSidebar-DD17BwXn.js.map} +1 -1
  33. package/dist/cdn/chunks/{AiFeatureMenu-Cx3qdStQ.js → AiFeatureMenu-Di381OsL.js} +5 -5
  34. package/dist/cdn/chunks/{AiFeatureMenu-Cx3qdStQ.js.map → AiFeatureMenu-Di381OsL.js.map} +1 -1
  35. package/dist/cdn/chunks/{BlockIssueBadge-DS1pUf5g.js → BlockIssueBadge-BR_N3nRh.js} +2 -2
  36. package/dist/cdn/chunks/{BlockIssueBadge-DS1pUf5g.js.map → BlockIssueBadge-BR_N3nRh.js.map} +1 -1
  37. package/dist/cdn/chunks/{BlockPreviewCanvas-D31TNib3.js → BlockPreviewCanvas-BXpcAiiY.js} +28 -28
  38. package/dist/cdn/chunks/{BlockPreviewCanvas-D31TNib3.js.map → BlockPreviewCanvas-BXpcAiiY.js.map} +1 -1
  39. package/dist/cdn/chunks/{CloudHeaderExtras-0zdlKiq7.js → CloudHeaderExtras-BEM2eWfF.js} +3 -3
  40. package/dist/cdn/chunks/{CloudHeaderExtras-0zdlKiq7.js.map → CloudHeaderExtras-BEM2eWfF.js.map} +1 -1
  41. package/dist/cdn/chunks/{CloudPanels-DPh71yOO.js → CloudPanels-D7nK1-bm.js} +4 -4
  42. package/dist/cdn/chunks/{CloudPanels-DPh71yOO.js.map → CloudPanels-D7nK1-bm.js.map} +1 -1
  43. package/dist/cdn/chunks/{CollaboratorBar-lCZU8qkg.js → CollaboratorBar-D1SUwahw.js} +3 -3
  44. package/dist/cdn/chunks/{CollaboratorBar-lCZU8qkg.js.map → CollaboratorBar-D1SUwahw.js.map} +1 -1
  45. package/dist/cdn/chunks/{CommentsPanel-BtAGZfF6.js → CommentsPanel-qsLMAlJU.js} +2 -2
  46. package/dist/cdn/chunks/{CommentsPanel-BtAGZfF6.js.map → CommentsPanel-qsLMAlJU.js.map} +1 -1
  47. package/dist/cdn/chunks/{CommentsSidebar-Ws07MXYj.js → CommentsSidebar-CTwEE-s_.js} +16 -16
  48. package/dist/cdn/chunks/{CommentsSidebar-Ws07MXYj.js.map → CommentsSidebar-CTwEE-s_.js.map} +1 -1
  49. package/dist/cdn/chunks/{CountdownToolbar-Bu93WiS8.js → CountdownToolbar-BJTcnIQ-.js} +4 -4
  50. package/dist/cdn/chunks/{CountdownToolbar-Bu93WiS8.js.map → CountdownToolbar-BJTcnIQ-.js.map} +1 -1
  51. package/dist/cdn/chunks/{DesignReferenceSidebar-BlSdh5B7.js → DesignReferenceSidebar-Dl3eEGtS.js} +9 -9
  52. package/dist/cdn/chunks/{DesignReferenceSidebar-BlSdh5B7.js.map → DesignReferenceSidebar-Dl3eEGtS.js.map} +1 -1
  53. package/dist/cdn/chunks/{IssuesPanel-CKkv9z9g.js → IssuesPanel-L9Gq_T8n.js} +8 -8
  54. package/dist/cdn/chunks/{IssuesPanel-CKkv9z9g.js.map → IssuesPanel-L9Gq_T8n.js.map} +1 -1
  55. package/dist/cdn/chunks/{LogicTagInsertButton-CHc1yZ9v.js → LogicTagInsertButton-3pIbVE9p.js} +250 -226
  56. package/dist/cdn/chunks/LogicTagInsertButton-3pIbVE9p.js.map +1 -0
  57. package/dist/cdn/chunks/{MediaEditModal-Cw9MhjVz.js → MediaEditModal-rTjYl-fV.js} +2 -2
  58. package/dist/cdn/chunks/{MediaEditModal-Cw9MhjVz.js.map → MediaEditModal-rTjYl-fV.js.map} +1 -1
  59. package/dist/cdn/chunks/{MediaPanels-FD_aX3H5.js → MediaPanels-DMXRQVqg.js} +2 -2
  60. package/dist/cdn/chunks/{MediaPanels-FD_aX3H5.js.map → MediaPanels-DMXRQVqg.js.map} +1 -1
  61. package/dist/cdn/chunks/{MergeTagInput--qTYfCWk.js → MergeTagInput-JcBzr77a.js} +2 -2
  62. package/dist/cdn/chunks/{MergeTagInput--qTYfCWk.js.map → MergeTagInput-JcBzr77a.js.map} +1 -1
  63. package/dist/cdn/chunks/{MergeTagModeToggle-CdWIGo3Q.js → MergeTagModeToggle-CYmueXS2.js} +10 -10
  64. package/dist/cdn/chunks/{MergeTagModeToggle-CdWIGo3Q.js.map → MergeTagModeToggle-CYmueXS2.js.map} +1 -1
  65. package/dist/cdn/chunks/{ParagraphEditor-w2qEZTkM.js → ParagraphEditor-DbjFDnYm.js} +39 -39
  66. package/dist/cdn/chunks/{ParagraphEditor-w2qEZTkM.js.map → ParagraphEditor-DbjFDnYm.js.map} +1 -1
  67. package/dist/cdn/chunks/{RestoreVersionDialog-cnWVN3nX.js → RestoreVersionDialog-pANCWcce.js} +3 -3
  68. package/dist/cdn/chunks/{RestoreVersionDialog-cnWVN3nX.js.map → RestoreVersionDialog-pANCWcce.js.map} +1 -1
  69. package/dist/cdn/chunks/{RichTextEditorContent-Fzuu9pLP.js → RichTextEditorContent-BtM1or8A.js} +5 -5
  70. package/dist/cdn/chunks/{RichTextEditorContent-Fzuu9pLP.js.map → RichTextEditorContent-BtM1or8A.js.map} +1 -1
  71. package/dist/cdn/chunks/{SaveBlockDialog-jxQtKnVs.js → SaveBlockDialog-CGM3mrGj.js} +38 -38
  72. package/dist/cdn/chunks/{SaveBlockDialog-jxQtKnVs.js.map → SaveBlockDialog-CGM3mrGj.js.map} +1 -1
  73. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DpXWf4Pi.js → SavedBlocksBrowserModal-C6Z8AvtD.js} +10 -10
  74. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DpXWf4Pi.js.map → SavedBlocksBrowserModal-C6Z8AvtD.js.map} +1 -1
  75. package/dist/cdn/chunks/{SavedBlocksPanels-B-ASmf1P.js → SavedBlocksPanels-DNwKmnhp.js} +2 -2
  76. package/dist/cdn/chunks/{SavedBlocksPanels-B-ASmf1P.js.map → SavedBlocksPanels-DNwKmnhp.js.map} +1 -1
  77. package/dist/cdn/chunks/{SavedBlocksPickBar-CEFIQ8Nd.js → SavedBlocksPickBar-D2p1ufB4.js} +3 -3
  78. package/dist/cdn/chunks/{SavedBlocksPickBar-CEFIQ8Nd.js.map → SavedBlocksPickBar-D2p1ufB4.js.map} +1 -1
  79. package/dist/cdn/chunks/{TemplateScoringPanel-d_Ppowsq.js → TemplateScoringPanel-BDB4RErx.js} +19 -19
  80. package/dist/cdn/chunks/{TemplateScoringPanel-d_Ppowsq.js.map → TemplateScoringPanel-BDB4RErx.js.map} +1 -1
  81. package/dist/cdn/chunks/{TemplateSettings-Dr5OJ0Gi.js → TemplateSettings-DVN1t3yF.js} +9 -9
  82. package/dist/cdn/chunks/{TemplateSettings-Dr5OJ0Gi.js.map → TemplateSettings-DVN1t3yF.js.map} +1 -1
  83. package/dist/cdn/chunks/{TestEmailModal-CrjzVw8e.js → TestEmailModal-DZBCmBtT.js} +7 -7
  84. package/dist/cdn/chunks/{TestEmailModal-CrjzVw8e.js.map → TestEmailModal-DZBCmBtT.js.map} +1 -1
  85. package/dist/cdn/chunks/{TestEmailPanel-k9vdulTu.js → TestEmailPanel-1ibwYCUl.js} +2 -2
  86. package/dist/cdn/chunks/{TestEmailPanel-k9vdulTu.js.map → TestEmailPanel-1ibwYCUl.js.map} +1 -1
  87. package/dist/cdn/chunks/{TitleEditor-laILWfKh.js → TitleEditor-BRl2qKbd.js} +13 -13
  88. package/dist/cdn/chunks/{TitleEditor-laILWfKh.js.map → TitleEditor-BRl2qKbd.js.map} +1 -1
  89. package/dist/cdn/chunks/{ToggleSwitch-0dGCYnRY.js → ToggleSwitch-niSL2uog.js} +2 -2
  90. package/dist/cdn/chunks/{ToggleSwitch-0dGCYnRY.js.map → ToggleSwitch-niSL2uog.js.map} +1 -1
  91. package/dist/cdn/chunks/{Toolbar-BsiHW9gY.js → Toolbar-tTl0P-rr.js} +814 -566
  92. package/dist/cdn/chunks/Toolbar-tTl0P-rr.js.map +1 -0
  93. package/dist/cdn/chunks/{TplModal-D8DoPbFa.js → TplModal-C_eIPykE.js} +3 -3
  94. package/dist/cdn/chunks/{TplModal-D8DoPbFa.js.map → TplModal-C_eIPykE.js.map} +1 -1
  95. package/dist/cdn/chunks/{VersionHistoryMenu-B3-hNu9c.js → VersionHistoryMenu-Ww57XAzj.js} +7 -7
  96. package/dist/cdn/chunks/{VersionHistoryMenu-B3-hNu9c.js.map → VersionHistoryMenu-Ww57XAzj.js.map} +1 -1
  97. package/dist/cdn/chunks/{VersionHistoryPanels-zw1AtzGN.js → VersionHistoryPanels-w0EG_qVW.js} +2 -2
  98. package/dist/cdn/chunks/{VersionHistoryPanels-zw1AtzGN.js.map → VersionHistoryPanels-w0EG_qVW.js.map} +1 -1
  99. package/dist/cdn/chunks/{VersionPreviewBanner-PzVQSBJE.js → VersionPreviewBanner-Bbd4C-AN.js} +2 -2
  100. package/dist/cdn/chunks/{VersionPreviewBanner-PzVQSBJE.js.map → VersionPreviewBanner-Bbd4C-AN.js.map} +1 -1
  101. package/dist/cdn/chunks/{WrapperBlock-CpRvfAV0.js → WrapperBlock-Ch4KeMIb.js} +4 -4
  102. package/dist/cdn/chunks/{WrapperBlock-CpRvfAV0.js.map → WrapperBlock-Ch4KeMIb.js.map} +1 -1
  103. package/dist/cdn/chunks/blockTypeIcons-CyPXFh7L.js +21 -0
  104. package/dist/cdn/chunks/{blockTypeIcons-raBjStuv.js.map → blockTypeIcons-CyPXFh7L.js.map} +1 -1
  105. package/dist/cdn/chunks/{ca-Ckgw9yd0.js → ca--zGWn9AU.js} +15 -1
  106. package/dist/cdn/chunks/ca--zGWn9AU.js.map +1 -0
  107. package/dist/cdn/chunks/{cloud-CIT4yPp4.js → cloud-De-eh1u6.js} +2 -2
  108. package/dist/cdn/chunks/{cloud-CIT4yPp4.js.map → cloud-De-eh1u6.js.map} +1 -1
  109. package/dist/cdn/chunks/{createCloudRuntime-COUxbPvd.js → createCloudRuntime-DsaUaWvr.js} +3 -3
  110. package/dist/cdn/chunks/{createCloudRuntime-COUxbPvd.js.map → createCloudRuntime-DsaUaWvr.js.map} +1 -1
  111. package/dist/cdn/chunks/{de-D4dweQw8.js → de-BRNLKcDl.js} +15 -1
  112. package/dist/cdn/chunks/de-BRNLKcDl.js.map +1 -0
  113. package/dist/cdn/chunks/{editor-modal-CKu8HhiB.js → editor-modal-BdI0iA5r.js} +88 -88
  114. package/dist/cdn/chunks/{editor-modal-CKu8HhiB.js.map → editor-modal-BdI0iA5r.js.map} +1 -1
  115. package/dist/cdn/chunks/en-Cs-nw16K.js +2 -0
  116. package/dist/{en-VE7R7NyL.js → cdn/chunks/en-JJjqHMjy.js} +16 -0
  117. package/dist/cdn/chunks/en-JJjqHMjy.js.map +1 -0
  118. package/dist/cdn/chunks/{es-B9OhP8H3.js → es-BIh8BxV9.js} +15 -1
  119. package/dist/cdn/chunks/es-BIh8BxV9.js.map +1 -0
  120. package/dist/cdn/chunks/{extensions-CafoGF65.js → extensions-DK_9-6Bd.js} +4 -4
  121. package/dist/cdn/chunks/{extensions-CafoGF65.js.map → extensions-DK_9-6Bd.js.map} +1 -1
  122. package/dist/{fr-wrXhIi00.js → cdn/chunks/fr-C5VUZogP.js} +16 -0
  123. package/dist/cdn/chunks/fr-C5VUZogP.js.map +1 -0
  124. package/dist/cdn/chunks/{icons-BKkJ-5xF.js → icons-Bad3WZ3G.js} +49 -8
  125. package/dist/cdn/chunks/icons-Bad3WZ3G.js.map +1 -0
  126. package/dist/cdn/chunks/{ja-fKnVWXHC.js → ja-x5JYxaCW.js} +15 -1
  127. package/dist/cdn/chunks/ja-x5JYxaCW.js.map +1 -0
  128. package/dist/cdn/chunks/{nl-DeFatKJe.js → nl-UXxFyXV6.js} +15 -1
  129. package/dist/cdn/chunks/{nl-DeFatKJe.js.map → nl-UXxFyXV6.js.map} +1 -1
  130. package/dist/cdn/chunks/{preRenderCustomBlocks-Dpj-_cOj.js → preRenderCustomBlocks-h4ZFBKbD.js} +2 -2
  131. package/dist/cdn/chunks/{preRenderCustomBlocks-Dpj-_cOj.js.map → preRenderCustomBlocks-h4ZFBKbD.js.map} +1 -1
  132. package/dist/cdn/chunks/{pt-BR-Bh1J8ey6.js → pt-BR-DHm3SP6W.js} +15 -1
  133. package/dist/cdn/chunks/pt-BR-DHm3SP6W.js.map +1 -0
  134. package/dist/cdn/chunks/{socialIcons-BvYNMn1G.js → socialIcons-ZOCwCCyn.js} +3 -3
  135. package/dist/cdn/chunks/{socialIcons-BvYNMn1G.js.map → socialIcons-ZOCwCCyn.js.map} +1 -1
  136. package/dist/cdn/chunks/{src-DveVYoWS.js → src-BR3I3gOW.js} +265 -224
  137. package/dist/cdn/chunks/src-BR3I3gOW.js.map +1 -0
  138. package/dist/cdn/chunks/{src-L6HEdwFn.js → src-BxoLKnkl.js} +178 -165
  139. package/dist/cdn/chunks/src-BxoLKnkl.js.map +1 -0
  140. package/dist/cdn/chunks/{src-Cnc5E71L.js → src-fZSLjhjy.js} +12 -12
  141. package/dist/cdn/chunks/{src-Cnc5E71L.js.map → src-fZSLjhjy.js.map} +1 -1
  142. package/dist/cdn/chunks/{useEditorCore-DZmtKwJh.js → useEditorCore-yd40TFKy.js} +458 -446
  143. package/dist/cdn/chunks/useEditorCore-yd40TFKy.js.map +1 -0
  144. package/dist/cdn/chunks/{useLogicTag-DF7-l66G.js → useLogicTag-J_i_hvZg.js} +2 -2
  145. package/dist/cdn/chunks/{useLogicTag-DF7-l66G.js.map → useLogicTag-J_i_hvZg.js.map} +1 -1
  146. package/dist/cdn/chunks/{useMergeTag-DbIHw4NG.js → useMergeTag-C5MyHYxJ.js} +2 -2
  147. package/dist/cdn/chunks/{useMergeTag-DbIHw4NG.js.map → useMergeTag-C5MyHYxJ.js.map} +1 -1
  148. package/dist/cdn/chunks/{usePopoverPosition-BJRvAb-h.js → usePopoverPosition-DGXjXKjM.js} +25 -12
  149. package/dist/cdn/chunks/usePopoverPosition-DGXjXKjM.js.map +1 -0
  150. package/dist/cdn/editor.css +1 -1
  151. package/dist/cdn/editor.js +64 -64
  152. package/dist/{cloud-DsqqUfzh.js → cloud-AO_X8T9g.js} +1 -1
  153. package/dist/{createCloudRuntime-iLflkYzP.js → createCloudRuntime-D641nhri.js} +2 -2
  154. package/dist/{de-D4dweQw8.js → de-BRNLKcDl.js} +14 -0
  155. package/dist/{dist-DbUZvK04.js → dist-iLUVPysa.js} +263 -222
  156. package/dist/{cdn/chunks/en-VE7R7NyL.js → en-JJjqHMjy.js} +14 -2
  157. package/dist/{es-B9OhP8H3.js → es-BIh8BxV9.js} +14 -0
  158. package/dist/{extensions-DDhjuVKy.js → extensions-DoT2-_pz.js} +11 -11
  159. package/dist/{cdn/chunks/fr-wrXhIi00.js → fr-C5VUZogP.js} +14 -2
  160. package/dist/{ja-fKnVWXHC.js → ja-x5JYxaCW.js} +14 -0
  161. package/dist/{nl-DeFatKJe.js → nl-UXxFyXV6.js} +14 -0
  162. package/dist/{preRenderCustomBlocks-BBSqQgke.js → preRenderCustomBlocks-CTstI3Q-.js} +4 -4
  163. package/dist/{pt-BR-Bh1J8ey6.js → pt-BR-DHm3SP6W.js} +14 -0
  164. package/dist/{socialIcons-O7PZCW2P.js → socialIcons-CACVa6m_.js} +46 -46
  165. package/dist/style.css +1 -1
  166. package/dist/templatical-editor.js +108 -108
  167. package/dist/{useEditorCore-dcdHB_7H.js → useEditorCore-LyNoGs0m.js} +894 -882
  168. package/dist/{useLogicTag-D9pvgxQR.js → useLogicTag-BaH8gey0.js} +1 -1
  169. package/dist/{useMergeTag-BaVFPdlq.js → useMergeTag-Cyad1yBE.js} +1 -1
  170. package/dist/{usePopoverPosition-DH7z3Ghm.js → usePopoverPosition-BYmd-lhR.js} +24 -11
  171. package/package.json +7 -7
  172. package/dist/cdn/chunks/LogicTagInsertButton-CHc1yZ9v.js.map +0 -1
  173. package/dist/cdn/chunks/Toolbar-BsiHW9gY.js.map +0 -1
  174. package/dist/cdn/chunks/blockTypeIcons-raBjStuv.js +0 -21
  175. package/dist/cdn/chunks/ca-Ckgw9yd0.js.map +0 -1
  176. package/dist/cdn/chunks/de-D4dweQw8.js.map +0 -1
  177. package/dist/cdn/chunks/en-DqzAdO8F.js +0 -2
  178. package/dist/cdn/chunks/en-VE7R7NyL.js.map +0 -1
  179. package/dist/cdn/chunks/es-B9OhP8H3.js.map +0 -1
  180. package/dist/cdn/chunks/fr-wrXhIi00.js.map +0 -1
  181. package/dist/cdn/chunks/icons-BKkJ-5xF.js.map +0 -1
  182. package/dist/cdn/chunks/ja-fKnVWXHC.js.map +0 -1
  183. package/dist/cdn/chunks/pt-BR-Bh1J8ey6.js.map +0 -1
  184. package/dist/cdn/chunks/src-DveVYoWS.js.map +0 -1
  185. package/dist/cdn/chunks/src-L6HEdwFn.js.map +0 -1
  186. package/dist/cdn/chunks/useEditorCore-DZmtKwJh.js.map +0 -1
  187. package/dist/cdn/chunks/usePopoverPosition-BJRvAb-h.js.map +0 -1
@@ -1,33 +1,34 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { A as t, At as n, B as r, F as i, M as a, N as o, R as s, S as c, V as l, Y as u, Z as d, _ as f, at as p, c as m, d as h, g, h as _, jt as v, kt as y, l as b, r as x, s as S, u as C, v as w } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
3
3
  import { a as T, o as E } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
4
- import { K as D, M as O, f as k, i as A, o as j, z as M } from "./dist-DbUZvK04.js";
5
- import { c as N, f as P, i as F, l as ee, r as te, u as ne, x as re } from "./socialIcons-O7PZCW2P.js";
6
- import { _ as I } from "./dist-8VFzbeu9.js";
7
- import { $ as ie, C as ae, G as oe, L as se, P as ce, c as le, d as L, h as ue, n as de, p as fe, v as pe } from "./keys-CDqfZIRt.js";
4
+ import { J as D, P as O, V as k, at as A, c as j, it as ee, m as M, n as N, o as P, t as te } from "./dist-iLUVPysa.js";
5
+ import { c as ne, f as re, i as F, l as I, r as ie, u as ae, x as oe } from "./socialIcons-CACVa6m_.js";
6
+ import { _ as se } from "./dist-8VFzbeu9.js";
7
+ import { $ as L, C as ce, G as le, L as ue, P as de, c as fe, d as pe, h as me, n as he, p as ge, v as _e } from "./keys-CDqfZIRt.js";
8
8
  import { t as R } from "./useI18n-B_CdcBwG.js";
9
- import { a as me } from "./usePopoverPosition-DH7z3Ghm.js";
10
- import { t as he } from "./createLucideIcon-BxY5yz5u.js";
11
- import { c as z } from "./LogicTagInsertButton-BimKobaG.js";
12
- import { t as ge } from "./chevron-down-Dkr-7Ywl.js";
13
- import { t as _e } from "./circle-alert-CYgTHKWr.js";
14
- import { n as B, t as ve } from "./blockTypeIcons-B0Bq1WT1.js";
15
- import { t as ye } from "./copy-mw6PVnOJ.js";
16
- import { t as be } from "./info-VSyAs02q.js";
17
- import { t as xe } from "./loader-circle-z5eeqasv.js";
18
- import { n as Se, t as Ce } from "./smartphone-v0u_MOEV.js";
9
+ import { o as ve } from "./usePopoverPosition-BYmd-lhR.js";
10
+ import { t as ye } from "./createLucideIcon-BxY5yz5u.js";
11
+ import { c as z } from "./LogicTagInsertButton-SI6irEtn.js";
12
+ import { t as be } from "./chevron-down-Dkr-7Ywl.js";
13
+ import { t as xe } from "./circle-alert-CYgTHKWr.js";
14
+ import { n as B, t as Se } from "./blockTypeIcons-DfQNZnl7.js";
15
+ import { t as Ce } from "./copy-mw6PVnOJ.js";
16
+ import { t as we } from "./info-VSyAs02q.js";
17
+ import { t as Te } from "./link-CNuozGqD.js";
18
+ import { t as Ee } from "./loader-circle-z5eeqasv.js";
19
+ import { n as De, t as Oe } from "./smartphone-v0u_MOEV.js";
19
20
  import { t as V } from "./plus-D8bkVjZ7.js";
20
- import { t as we } from "./refresh-cw-DPB7YFuz.js";
21
- import { n as H, r as U, t as Te } from "./text-align-start-DiavaIm6.js";
22
- import { t as Ee } from "./trash-DnOkfu2V.js";
23
- import { t as De } from "./upload-BBDme2cy.js";
24
- import { t as Oe } from "./x-3BHV3Q6K.js";
25
- import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
26
- import { t as Ae } from "./useAliveFlag-BkKyhkwZ.js";
27
- import { _ as je, b as Me, c as Ne, g as W, h as G, m as K, p as q, r as Pe, v as Fe } from "./styleConstants-C_YAPdQS.js";
28
- import { n as Ie, t as J } from "./ToggleSwitch-CJfQ8u57.js";
29
- import { t as Y } from "./MergeTagInput-DqpVzhy7.js";
30
- var Le = he({
21
+ import { t as ke } from "./refresh-cw-DPB7YFuz.js";
22
+ import { n as H, r as Ae, t as je } from "./text-align-start-DiavaIm6.js";
23
+ import { t as Me } from "./trash-DnOkfu2V.js";
24
+ import { t as Ne } from "./upload-BBDme2cy.js";
25
+ import { t as Pe } from "./x-3BHV3Q6K.js";
26
+ import { t as Fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
27
+ import { t as Ie } from "./useAliveFlag-BkKyhkwZ.js";
28
+ import { _ as Le, b as Re, c as ze, g as U, h as W, m as G, p as K, r as Be, v as Ve } from "./styleConstants-C_YAPdQS.js";
29
+ import { n as He, t as q } from "./ToggleSwitch-BqttX9lY.js";
30
+ import { t as J } from "./MergeTagInput-BMQGNh1k.js";
31
+ var Ue = ye({
31
32
  name: "lock-open",
32
33
  size: 24,
33
34
  node: [["rect", {
@@ -43,7 +44,7 @@ var Le = he({
43
44
  key: "1mm8w8"
44
45
  }]],
45
46
  aliases: ["unlock"]
46
- }), Re = he({
47
+ }), We = ye({
47
48
  name: "lock",
48
49
  size: 24,
49
50
  node: [["rect", {
@@ -58,12 +59,53 @@ var Le = he({
58
59
  d: "M7 11V7a5 5 0 0 1 10 0v4",
59
60
  key: "fwvmzm"
60
61
  }]]
61
- }), ze = [
62
+ }), Ge = ye({
63
+ name: "unlink",
64
+ size: 24,
65
+ node: [
66
+ ["path", {
67
+ d: "m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",
68
+ key: "yqzxt4"
69
+ }],
70
+ ["path", {
71
+ d: "m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",
72
+ key: "4qinb0"
73
+ }],
74
+ ["line", {
75
+ x1: "8",
76
+ x2: "8",
77
+ y1: "2",
78
+ y2: "5",
79
+ key: "1041cp"
80
+ }],
81
+ ["line", {
82
+ x1: "2",
83
+ x2: "5",
84
+ y1: "8",
85
+ y2: "8",
86
+ key: "14m1p5"
87
+ }],
88
+ ["line", {
89
+ x1: "16",
90
+ x2: "16",
91
+ y1: "19",
92
+ y2: "22",
93
+ key: "rzdirn"
94
+ }],
95
+ ["line", {
96
+ x1: "19",
97
+ x2: "22",
98
+ y1: "16",
99
+ y2: "16",
100
+ key: "ox905f"
101
+ }]
102
+ ]
103
+ }), Ke = [
62
104
  "aria-checked",
63
105
  "aria-label",
64
106
  "title",
65
107
  "onClick"
66
- ], Be = { key: 1 }, X = /* @__PURE__ */ w({
108
+ ], qe = { key: 1 }, Y = /* @__PURE__ */ w({
67
109
  __name: "SlidingPillSelect",
68
110
  props: {
69
111
  options: {},
@@ -106,12 +148,280 @@ var Le = he({
106
148
  key: 0,
107
149
  size: 14,
108
150
  "stroke-width": 2
109
- })) : (t(), h("span", Be, v(r.label), 1))], 12, ze))), 128))], 4));
151
+ })) : (t(), h("span", qe, v(r.label), 1))], 12, Ke))), 128))], 4));
152
+ }
153
+ }), Je = { class: "tpl:flex tpl:items-stretch" }, Ye = [
154
+ "data-testid",
155
+ "value",
156
+ "min",
157
+ "max"
158
+ ], X = /* @__PURE__ */ w({
159
+ __name: "NumberWithSuffix",
160
+ props: {
161
+ modelValue: {},
162
+ min: {},
163
+ max: {},
164
+ suffix: {},
165
+ testid: {}
166
+ },
167
+ emits: ["update:modelValue"],
168
+ setup(e, { emit: n }) {
169
+ let r = n;
170
+ function i(e) {
171
+ let t = e.target;
172
+ t.validity?.badInput || r("update:modelValue", Number(t.value));
173
+ }
174
+ return (n, r) => (t(), h("div", Je, [m("input", {
175
+ type: "number",
176
+ "data-testid": e.testid,
177
+ class: y(p(G)),
178
+ value: e.modelValue,
179
+ min: e.min,
180
+ max: e.max,
181
+ onInput: i
182
+ }, null, 42, Ye), m("span", { class: y(p(W)) }, v(e.suffix), 3)]));
183
+ }
184
+ }), Xe = [
185
+ "aria-pressed",
186
+ "aria-label",
187
+ "title",
188
+ "data-testid"
189
+ ], Ze = /* @__PURE__ */ w({
190
+ __name: "LinkToggle",
191
+ props: {
192
+ linked: { type: Boolean },
193
+ linkLabel: {},
194
+ unlinkLabel: {},
195
+ testid: {}
196
+ },
197
+ emits: ["toggle"],
198
+ setup(e, { emit: n }) {
199
+ let r = n;
200
+ return (n, i) => (t(), h("button", {
201
+ type: "button",
202
+ class: y(["tpl:flex tpl:h-7 tpl:w-7 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)]", e.linked ? "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)]"]),
203
+ "aria-pressed": e.linked ? "true" : "false",
204
+ "aria-label": e.linked ? e.unlinkLabel : e.linkLabel,
205
+ title: e.linked ? e.unlinkLabel : e.linkLabel,
206
+ "data-testid": e.testid,
207
+ onClick: i[0] ||= (e) => r("toggle")
208
+ }, [e.linked ? (t(), b(p(Te), {
209
+ key: 0,
210
+ size: 14,
211
+ "stroke-width": 2
212
+ })) : (t(), b(p(Ge), {
213
+ key: 1,
214
+ size: 14,
215
+ "stroke-width": 2
216
+ }))], 10, Xe));
217
+ }
218
+ }), Qe = { class: "tpl:mb-3.5" }, $e = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, et = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, tt = {
219
+ key: 0,
220
+ class: "tpl:mb-3.5"
221
+ }, nt = { class: "tpl:mb-3.5" }, rt = { class: "tpl:mb-3.5" }, it = /* @__PURE__ */ w({
222
+ __name: "BorderControl",
223
+ props: {
224
+ modelValue: {},
225
+ testidPrefix: {}
226
+ },
227
+ emits: ["update:modelValue"],
228
+ setup(e, { emit: n }) {
229
+ let r = e, i = n, { t: a } = R(), o = {
230
+ width: 0,
231
+ style: "solid",
232
+ color: "#000000"
233
+ };
234
+ function c(e, t) {
235
+ return e.width === t.width && e.style === t.style && e.color === t.color;
236
+ }
237
+ let l = S(() => {
238
+ let e = r.modelValue;
239
+ return !e || N.every((t) => c(e[t], e.top));
240
+ }), u = d(l.value);
241
+ s(l, (e) => {
242
+ !e && u.value && (u.value = !1);
243
+ });
244
+ let f = d("top"), _ = S(() => {
245
+ let e = u.value ? "top" : f.value;
246
+ return r.modelValue?.[e] ?? o;
247
+ }), b = (e) => !!e && e.width > 0;
248
+ function w(e) {
249
+ if (u.value) {
250
+ i("update:modelValue", b(e) ? A(e) : void 0);
251
+ return;
252
+ }
253
+ let t = {
254
+ ...r.modelValue ?? A(o),
255
+ [f.value]: e
256
+ }, n = N.some((e) => b(t[e]));
257
+ i("update:modelValue", n ? t : void 0);
258
+ }
259
+ function T(e) {
260
+ w({
261
+ ..._.value,
262
+ width: e > 0 ? e : 0
263
+ });
264
+ }
265
+ function E(e) {
266
+ w({
267
+ ..._.value,
268
+ ...e
269
+ });
270
+ }
271
+ function D() {
272
+ if (u.value) {
273
+ u.value = !1;
274
+ return;
275
+ }
276
+ u.value = !0;
277
+ let e = r.modelValue;
278
+ if (!e) return;
279
+ let t = b(e[f.value]) ? e[f.value] : N.map((t) => e[t]).find(b);
280
+ i("update:modelValue", t ? A(t) : void 0);
281
+ }
282
+ let O = S(() => N.map((e) => ({
283
+ value: e,
284
+ label: a.spacingControl[e]
285
+ })));
286
+ return (n, r) => (t(), h("div", Qe, [
287
+ m("div", $e, [m("span", et, v(p(a).blockSettings.border), 1), g(Ze, {
288
+ linked: u.value,
289
+ "link-label": p(a).blockSettings.linkSides,
290
+ "unlink-label": p(a).blockSettings.unlinkSides,
291
+ testid: `${e.testidPrefix}-border-link`,
292
+ onToggle: D
293
+ }, null, 8, [
294
+ "linked",
295
+ "link-label",
296
+ "unlink-label",
297
+ "testid"
298
+ ])]),
299
+ u.value ? C("", !0) : (t(), h("div", tt, [m("label", { class: y(p(U)) }, v(p(a).blockSettings.borderSide), 3), g(Y, {
300
+ options: O.value,
301
+ "model-value": f.value,
302
+ "onUpdate:modelValue": r[0] ||= (e) => f.value = e
303
+ }, null, 8, ["options", "model-value"])])),
304
+ m("div", nt, [m("label", { class: y(p(U)) }, v(p(a).blockSettings.borderWidth), 3), g(X, {
305
+ "model-value": _.value.width,
306
+ min: 0,
307
+ suffix: "px",
308
+ testid: `${e.testidPrefix}-border-width-input`,
309
+ "onUpdate:modelValue": T
310
+ }, null, 8, ["model-value", "testid"])]),
311
+ _.value.width > 0 ? (t(), h(x, { key: 1 }, [m("div", rt, [m("label", { class: y(p(U)) }, v(p(a).blockSettings.borderStyle), 3), g(Y, {
312
+ options: [
313
+ {
314
+ value: "solid",
315
+ label: p(a).divider.solid
316
+ },
317
+ {
318
+ value: "dashed",
319
+ label: p(a).divider.dashed
320
+ },
321
+ {
322
+ value: "dotted",
323
+ label: p(a).divider.dotted
324
+ }
325
+ ],
326
+ "model-value": _.value.style,
327
+ "onUpdate:modelValue": r[1] ||= (e) => E({ style: e })
328
+ }, null, 8, ["options", "model-value"])]), m("div", null, [m("label", { class: y(p(U)) }, v(p(a).blockSettings.borderColor), 3), g(z, {
329
+ "model-value": _.value.color,
330
+ "onUpdate:modelValue": r[2] ||= (e) => E({ color: e })
331
+ }, null, 8, ["model-value"])])], 64)) : C("", !0)
332
+ ]));
333
+ }
334
+ }), at = { class: "tpl:mb-3.5" }, ot = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, st = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ct = {
335
+ key: 1,
336
+ class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
337
+ }, lt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ut = /* @__PURE__ */ w({
338
+ __name: "RadiusControl",
339
+ props: {
340
+ modelValue: {},
341
+ label: {},
342
+ testidPrefix: {},
343
+ max: {}
344
+ },
345
+ emits: ["update:modelValue"],
346
+ setup(e, { emit: n }) {
347
+ let r = e, i = n, { t: o } = R(), c = {
348
+ topLeft: "cornerTopLeft",
349
+ topRight: "cornerTopRight",
350
+ bottomRight: "cornerBottomRight",
351
+ bottomLeft: "cornerBottomLeft"
352
+ }, l = [
353
+ "topLeft",
354
+ "topRight",
355
+ "bottomLeft",
356
+ "bottomRight"
357
+ ], u = S(() => {
358
+ let e = r.modelValue ?? 0;
359
+ return typeof e == "number" ? {
360
+ topLeft: e,
361
+ topRight: e,
362
+ bottomRight: e,
363
+ bottomLeft: e
364
+ } : e;
365
+ }), f = S(() => te.every((e) => u.value[e] === u.value.topLeft)), _ = d(f.value);
366
+ s(f, (e) => {
367
+ !e && _.value && (_.value = !1);
368
+ });
369
+ function y(e) {
370
+ return Number.isFinite(e) && e >= 0;
371
+ }
372
+ function C(e) {
373
+ y(e) && i("update:modelValue", e);
374
+ }
375
+ function w(e, t) {
376
+ y(t) && i("update:modelValue", {
377
+ ...u.value,
378
+ [e]: t
379
+ });
380
+ }
381
+ function T() {
382
+ _.value = !_.value, _.value && i("update:modelValue", u.value.topLeft);
383
+ }
384
+ return (n, r) => (t(), h("div", at, [m("div", ot, [m("span", st, v(e.label), 1), g(Ze, {
385
+ linked: _.value,
386
+ "link-label": p(o).blockSettings.linkCorners,
387
+ "unlink-label": p(o).blockSettings.unlinkCorners,
388
+ testid: `${e.testidPrefix}-border-radius-link`,
389
+ onToggle: T
390
+ }, null, 8, [
391
+ "linked",
392
+ "link-label",
393
+ "unlink-label",
394
+ "testid"
395
+ ])]), _.value ? (t(), b(X, {
396
+ key: 0,
397
+ "model-value": u.value.topLeft,
398
+ min: 0,
399
+ max: e.max,
400
+ suffix: "px",
401
+ testid: `${e.testidPrefix}-border-radius-input`,
402
+ "onUpdate:modelValue": C
403
+ }, null, 8, [
404
+ "model-value",
405
+ "max",
406
+ "testid"
407
+ ])) : (t(), h("div", ct, [(t(), h(x, null, a(l, (t) => m("div", { key: t }, [m("label", lt, v(p(o).blockSettings[c[t]]), 1), g(X, {
408
+ "model-value": u.value[t],
409
+ min: 0,
410
+ max: e.max,
411
+ suffix: "px",
412
+ testid: `${e.testidPrefix}-border-radius-${t}-input`,
413
+ "onUpdate:modelValue": (e) => w(t, e)
414
+ }, null, 8, [
415
+ "model-value",
416
+ "max",
417
+ "testid",
418
+ "onUpdate:modelValue"
419
+ ])])), 64))]))]));
110
420
  }
111
- }), Ve = { class: "tpl:mb-3.5" }, He = ["value"], Ue = { value: "" }, We = ["value"], Ge = { class: "tpl:mb-3.5" }, Ke = { class: "tpl:mb-3.5" }, qe = { class: "tpl:mb-3.5" }, Je = { class: "tpl:mb-3.5" }, Ye = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Xe = { class: "tpl:mb-3.5" }, Ze = { class: "tpl:flex tpl:items-stretch" }, Qe = ["value"], $e = { class: "tpl:mb-3.5" }, et = { class: "tpl:flex tpl:items-stretch" }, tt = ["value"], nt = { class: "tpl:mb-3.5" }, rt = ["value"], it = { value: "auto" }, at = { value: "full" }, ot = { value: "custom" }, st = {
421
+ }), dt = { class: "tpl:mb-3.5" }, ft = ["value"], pt = { value: "" }, mt = ["value"], ht = { class: "tpl:mb-3.5" }, gt = { class: "tpl:mb-3.5" }, _t = { class: "tpl:mb-3.5" }, vt = { class: "tpl:mb-3.5" }, yt = { class: "tpl:mb-3.5" }, bt = { class: "tpl:flex tpl:items-stretch" }, xt = ["value"], St = { class: "tpl:mb-3.5" }, Ct = ["value"], wt = { value: "auto" }, Tt = { value: "full" }, Et = { value: "custom" }, Dt = {
112
422
  key: 0,
113
423
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
114
- }, ct = ["value"], lt = { class: "tpl:mb-3.5" }, ut = 200, dt = /* @__PURE__ */ w({
424
+ }, Ot = ["value"], kt = { class: "tpl:mb-3.5" }, At = 200, jt = /* @__PURE__ */ w({
115
425
  __name: "ButtonToolbar",
116
426
  props: {
117
427
  block: {},
@@ -129,7 +439,7 @@ var Le = he({
129
439
  return;
130
440
  }
131
441
  if (e === "custom") {
132
- c("width", typeof r.block.width == "number" ? r.block.width : ut);
442
+ c("width", typeof r.block.width == "number" ? r.block.width : At);
133
443
  return;
134
444
  }
135
445
  c("width", void 0);
@@ -139,28 +449,28 @@ var Le = he({
139
449
  !Number.isFinite(t) || t <= 0 || c("width", t);
140
450
  }
141
451
  return (n, r) => (t(), h(x, null, [
142
- m("div", Ve, [m("label", { class: y(p(W)) }, v(p(o).button.fontFamily), 3), m("select", {
143
- class: y(p(q)),
452
+ m("div", dt, [m("label", { class: y(p(U)) }, v(p(o).button.fontFamily), 3), m("select", {
453
+ class: y(p(K)),
144
454
  value: e.block.fontFamily || "",
145
455
  onChange: r[0] ||= (e) => c("fontFamily", e.target.value || void 0)
146
- }, [m("option", Ue, v(p(o).button.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
456
+ }, [m("option", pt, v(p(o).button.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
147
457
  key: e.value,
148
458
  value: e.value
149
- }, v(e.label), 9, We))), 128))], 42, He)]),
150
- m("div", Ge, [m("label", { class: y(p(W)) }, v(p(o).button.text), 3), g(Y, {
459
+ }, v(e.label), 9, mt))), 128))], 42, ft)]),
460
+ m("div", ht, [m("label", { class: y(p(U)) }, v(p(o).button.text), 3), g(J, {
151
461
  "model-value": e.block.text,
152
462
  type: "text",
153
463
  "onUpdate:modelValue": r[1] ||= (e) => c("text", e)
154
464
  }, null, 8, ["model-value"])]),
155
- m("div", Ke, [
156
- m("label", { class: y(p(W)) }, v(p(o).button.url), 3),
157
- g(Y, {
465
+ m("div", gt, [
466
+ m("label", { class: y(p(U)) }, v(p(o).button.url), 3),
467
+ g(J, {
158
468
  "model-value": e.block.url,
159
469
  type: "url",
160
470
  placeholder: p(o).button.urlPlaceholder,
161
471
  "onUpdate:modelValue": r[2] ||= (e) => c("url", e)
162
472
  }, null, 8, ["model-value", "placeholder"]),
163
- e.block.url ? (t(), b(J, {
473
+ e.block.url ? (t(), b(q, {
164
474
  key: 0,
165
475
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
166
476
  "model-value": e.block.openInNewTab ?? !1,
@@ -168,49 +478,55 @@ var Le = he({
168
478
  "onUpdate:modelValue": r[3] ||= (e) => c("openInNewTab", e)
169
479
  }, null, 8, ["model-value", "label"])) : C("", !0)
170
480
  ]),
171
- m("div", qe, [m("label", { class: y(p(W)) }, v(p(o).button.background), 3), g(z, {
481
+ m("div", _t, [m("label", { class: y(p(U)) }, v(p(o).button.background), 3), g(z, {
172
482
  "model-value": e.block.backgroundColor,
483
+ "allow-transparent": "",
173
484
  "onUpdate:modelValue": r[4] ||= (e) => c("backgroundColor", e)
174
485
  }, null, 8, ["model-value"])]),
175
- m("div", Je, [m("label", { class: y(p(W)) }, v(p(o).button.textColor), 3), g(z, {
486
+ m("div", vt, [m("label", { class: y(p(U)) }, v(p(o).button.textColor), 3), g(z, {
176
487
  "model-value": e.block.textColor,
177
488
  "onUpdate:modelValue": r[5] ||= (e) => c("textColor", e)
178
489
  }, null, 8, ["model-value"])]),
179
- m("div", Ye, [m("div", Xe, [m("label", { class: y(p(W)) }, v(p(o).button.borderRadius), 3), m("div", Ze, [m("input", {
490
+ g(it, {
491
+ "model-value": e.block.border,
492
+ "testid-prefix": "button",
493
+ "onUpdate:modelValue": r[6] ||= (e) => c("border", e)
494
+ }, null, 8, ["model-value"]),
495
+ g(ut, {
496
+ "model-value": e.block.borderRadius,
497
+ label: p(o).button.borderRadius,
498
+ max: 50,
499
+ "testid-prefix": "button",
500
+ "onUpdate:modelValue": r[7] ||= (e) => c("borderRadius", e)
501
+ }, null, 8, ["model-value", "label"]),
502
+ m("div", yt, [m("label", { class: y(p(U)) }, v(p(o).button.fontSize), 3), m("div", bt, [m("input", {
180
503
  type: "number",
181
- class: y(p(K)),
182
- value: e.block.borderRadius,
183
- min: "0",
184
- max: "50",
185
- onInput: r[6] ||= (e) => c("borderRadius", Number(e.target.value))
186
- }, null, 42, Qe), m("span", { class: y(p(G)) }, "px", 2)])]), m("div", $e, [m("label", { class: y(p(W)) }, v(p(o).button.fontSize), 3), m("div", et, [m("input", {
187
- type: "number",
188
- class: y(p(K)),
504
+ class: y(p(G)),
189
505
  value: e.block.fontSize,
190
506
  min: "10",
191
507
  max: "36",
192
- onInput: r[7] ||= (e) => c("fontSize", Number(e.target.value))
193
- }, null, 42, tt), m("span", { class: y(p(G)) }, "px", 2)])])]),
194
- m("div", nt, [
195
- m("label", { class: y(p(W)) }, v(p(o).button.width), 3),
508
+ onInput: r[8] ||= (e) => c("fontSize", Number(e.target.value))
509
+ }, null, 42, xt), m("span", { class: y(p(W)) }, "px", 2)])]),
510
+ m("div", St, [
511
+ m("label", { class: y(p(U)) }, v(p(o).button.width), 3),
196
512
  m("select", {
197
- class: y(p(q)),
513
+ class: y(p(K)),
198
514
  value: s.value,
199
- onChange: r[8] ||= (e) => l(e.target.value)
515
+ onChange: r[9] ||= (e) => l(e.target.value)
200
516
  }, [
201
- m("option", it, v(p(o).button.widthAuto), 1),
202
- m("option", at, v(p(o).button.fullWidth), 1),
203
- m("option", ot, v(p(o).button.widthCustom), 1)
204
- ], 42, rt),
205
- s.value === "custom" ? (t(), h("div", st, [m("input", {
517
+ m("option", wt, v(p(o).button.widthAuto), 1),
518
+ m("option", Tt, v(p(o).button.fullWidth), 1),
519
+ m("option", Et, v(p(o).button.widthCustom), 1)
520
+ ], 42, Ct),
521
+ s.value === "custom" ? (t(), h("div", Dt, [m("input", {
206
522
  type: "number",
207
- class: y(p(K)),
208
- value: typeof e.block.width == "number" ? e.block.width : ut,
523
+ class: y(p(G)),
524
+ value: typeof e.block.width == "number" ? e.block.width : At,
209
525
  min: "20",
210
- onInput: r[9] ||= (e) => u(e.target.value)
211
- }, null, 42, ct), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
526
+ onInput: r[10] ||= (e) => u(e.target.value)
527
+ }, null, 42, Ot), m("span", { class: y(p(W)) }, "px", 2)])) : C("", !0)
212
528
  ]),
213
- m("div", lt, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
529
+ m("div", kt, [m("label", { class: y(p(U)) }, v(p(o).title.align), 3), g(Y, {
214
530
  options: [
215
531
  {
216
532
  value: "left",
@@ -226,11 +542,11 @@ var Le = he({
226
542
  }
227
543
  ],
228
544
  "model-value": e.block.align ?? "center",
229
- "onUpdate:modelValue": r[10] ||= (e) => c("align", e)
545
+ "onUpdate:modelValue": r[11] ||= (e) => c("align", e)
230
546
  }, null, 8, ["options", "model-value"])])
231
547
  ], 64));
232
548
  }
233
- }), ft = { class: "spacing-control" }, pt = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, mt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ht = { class: "tpl:flex tpl:items-center" }, gt = ["aria-label"], _t = ["value", "aria-label"], vt = ["aria-label"], yt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, bt = { class: "tpl:flex tpl:items-center" }, xt = ["aria-label"], St = ["value", "aria-label"], Ct = ["aria-label"], wt = ["aria-label", "title"], Tt = { class: "tpl:flex tpl:items-center" }, Et = ["aria-label"], Dt = ["value", "aria-label"], Ot = ["aria-label"], kt = { class: "tpl:flex tpl:items-center" }, At = ["aria-label"], jt = ["value", "aria-label"], Mt = ["aria-label"], Z = "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)]", Nt = "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)]", Pt = /*#__PURE__*/ ke(/* @__PURE__ */ w({
549
+ }), Mt = { class: "spacing-control" }, Nt = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Pt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Ft = { class: "tpl:flex tpl:items-center" }, It = ["aria-label"], Lt = ["value", "aria-label"], Rt = ["aria-label"], zt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Bt = { class: "tpl:flex tpl:items-center" }, Vt = ["aria-label"], Ht = ["value", "aria-label"], Ut = ["aria-label"], Wt = ["aria-label", "title"], Gt = { class: "tpl:flex tpl:items-center" }, Kt = ["aria-label"], qt = ["value", "aria-label"], Jt = ["aria-label"], Yt = { class: "tpl:flex tpl:items-center" }, Xt = ["aria-label"], Zt = ["value", "aria-label"], Qt = ["aria-label"], Z = "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)]", $t = "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)]", en = /*#__PURE__*/ Fe(/* @__PURE__ */ w({
234
550
  __name: "SpacingControl",
235
551
  props: {
236
552
  modelValue: {},
@@ -277,8 +593,8 @@ var Le = he({
277
593
  });
278
594
  }
279
595
  }
280
- return (n, r) => (t(), h("div", ft, [m("label", pt, v(e.label), 1), m("div", mt, [
281
- m("div", ht, [
596
+ return (n, r) => (t(), h("div", Mt, [m("label", Nt, v(e.label), 1), m("div", Pt, [
597
+ m("div", Ft, [
282
598
  m("button", {
283
599
  "aria-label": p(a).spacingControl.decreaseTop,
284
600
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -286,15 +602,15 @@ var Le = he({
286
602
  }, [g(p(B), {
287
603
  size: 12,
288
604
  "stroke-width": 2
289
- })], 10, gt),
605
+ })], 10, It),
290
606
  m("input", {
291
607
  type: "number",
292
- class: y(Nt),
608
+ class: y($t),
293
609
  value: e.modelValue.top,
294
610
  "aria-label": p(a).spacingControl.top,
295
611
  min: "0",
296
612
  onInput: r[1] ||= (e) => u("top", Number(e.target.value))
297
- }, null, 40, _t),
613
+ }, null, 40, Lt),
298
614
  m("button", {
299
615
  "aria-label": p(a).spacingControl.increaseTop,
300
616
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -302,10 +618,10 @@ var Le = he({
302
618
  }, [g(p(V), {
303
619
  size: 12,
304
620
  "stroke-width": 2
305
- })], 10, vt)
621
+ })], 10, Rt)
306
622
  ]),
307
- m("div", yt, [
308
- m("div", bt, [
623
+ m("div", zt, [
624
+ m("div", Bt, [
309
625
  m("button", {
310
626
  "aria-label": p(a).spacingControl.decreaseLeft,
311
627
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -313,15 +629,15 @@ var Le = he({
313
629
  }, [g(p(B), {
314
630
  size: 12,
315
631
  "stroke-width": 2
316
- })], 10, xt),
632
+ })], 10, Vt),
317
633
  m("input", {
318
634
  type: "number",
319
- class: y(Nt),
635
+ class: y($t),
320
636
  value: e.modelValue.left,
321
637
  "aria-label": p(a).spacingControl.left,
322
638
  min: "0",
323
639
  onInput: r[4] ||= (e) => u("left", Number(e.target.value))
324
- }, null, 40, St),
640
+ }, null, 40, Ht),
325
641
  m("button", {
326
642
  "aria-label": p(a).spacingControl.increaseLeft,
327
643
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -329,23 +645,23 @@ var Le = he({
329
645
  }, [g(p(V), {
330
646
  size: 12,
331
647
  "stroke-width": 2
332
- })], 10, Ct)
648
+ })], 10, Ut)
333
649
  ]),
334
650
  m("button", {
335
651
  class: y(["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)]", c.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)]"]),
336
652
  "aria-label": c.value ? p(a).spacingControl.unlock : p(a).spacingControl.lockAll,
337
653
  title: c.value ? p(a).spacingControl.unlock : p(a).spacingControl.lockAll,
338
654
  onClick: f
339
- }, [c.value ? (t(), b(p(Re), {
655
+ }, [c.value ? (t(), b(p(We), {
340
656
  key: 0,
341
657
  size: 14,
342
658
  "stroke-width": 2
343
- })) : (t(), b(p(Le), {
659
+ })) : (t(), b(p(Ue), {
344
660
  key: 1,
345
661
  size: 14,
346
662
  "stroke-width": 2
347
- }))], 10, wt),
348
- m("div", Tt, [
663
+ }))], 10, Wt),
664
+ m("div", Gt, [
349
665
  m("button", {
350
666
  "aria-label": p(a).spacingControl.decreaseRight,
351
667
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -353,15 +669,15 @@ var Le = he({
353
669
  }, [g(p(B), {
354
670
  size: 12,
355
671
  "stroke-width": 2
356
- })], 10, Et),
672
+ })], 10, Kt),
357
673
  m("input", {
358
674
  type: "number",
359
- class: y(Nt),
675
+ class: y($t),
360
676
  value: e.modelValue.right,
361
677
  "aria-label": p(a).spacingControl.right,
362
678
  min: "0",
363
679
  onInput: r[7] ||= (e) => u("right", Number(e.target.value))
364
- }, null, 40, Dt),
680
+ }, null, 40, qt),
365
681
  m("button", {
366
682
  "aria-label": p(a).spacingControl.increaseRight,
367
683
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -369,10 +685,10 @@ var Le = he({
369
685
  }, [g(p(V), {
370
686
  size: 12,
371
687
  "stroke-width": 2
372
- })], 10, Ot)
688
+ })], 10, Jt)
373
689
  ])
374
690
  ]),
375
- m("div", kt, [
691
+ m("div", Yt, [
376
692
  m("button", {
377
693
  "aria-label": p(a).spacingControl.decreaseBottom,
378
694
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -380,15 +696,15 @@ var Le = he({
380
696
  }, [g(p(B), {
381
697
  size: 12,
382
698
  "stroke-width": 2
383
- })], 10, At),
699
+ })], 10, Xt),
384
700
  m("input", {
385
701
  type: "number",
386
- class: y(Nt),
702
+ class: y($t),
387
703
  value: e.modelValue.bottom,
388
704
  "aria-label": p(a).spacingControl.bottom,
389
705
  min: "0",
390
706
  onInput: r[10] ||= (e) => u("bottom", Number(e.target.value))
391
- }, null, 40, jt),
707
+ }, null, 40, Zt),
392
708
  m("button", {
393
709
  "aria-label": p(a).spacingControl.increaseBottom,
394
710
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -396,11 +712,11 @@ var Le = he({
396
712
  }, [g(p(V), {
397
713
  size: 12,
398
714
  "stroke-width": 2
399
- })], 10, Mt)
715
+ })], 10, Qt)
400
716
  ])
401
717
  ])]));
402
718
  }
403
- }), [["__scopeId", "data-v-69591c1e"]]), Ft = ["data-testid"], It = { class: "tpl:mt-3" }, Lt = /* @__PURE__ */ w({
719
+ }), [["__scopeId", "data-v-69591c1e"]]), tn = ["data-testid"], nn = { class: "tpl:mt-3" }, rn = /* @__PURE__ */ w({
404
720
  __name: "CollapsibleSection",
405
721
  props: {
406
722
  title: {},
@@ -415,25 +731,25 @@ var Le = he({
415
731
  "data-testid": e.headerTestId,
416
732
  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)]",
417
733
  onClick: r[0] ||= (e) => n.$emit("toggle")
418
- }, [g(p(ge), {
734
+ }, [g(p(be), {
419
735
  class: y(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
420
736
  size: 12,
421
737
  "stroke-width": 2
422
- }, null, 8, ["class"]), m("span", null, v(e.title), 1)], 8, Ft), l(m("div", It, [o(n.$slots, "default")], 512), [[E, e.open]])], 2));
738
+ }, null, 8, ["class"]), m("span", null, v(e.title), 1)], 8, tn), l(m("div", nn, [o(n.$slots, "default")], 512), [[E, e.open]])], 2));
423
739
  }
424
- }), Rt = { class: "tpl:space-y-2" }, zt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Bt = { class: "tpl:space-y-2" }, Vt = ["value"], Ht = { value: "" }, Ut = ["label"], Wt = ["value"], Gt = ["value"], Kt = {
740
+ }), an = { class: "tpl:space-y-2" }, on = { class: "tpl:flex tpl:items-center tpl:gap-2" }, sn = { class: "tpl:space-y-2" }, cn = ["value"], ln = { value: "" }, un = ["label"], dn = ["value"], fn = ["value"], pn = {
425
741
  key: 0,
426
742
  value: "__custom__"
427
- }, qt = {
743
+ }, mn = {
428
744
  key: 0,
429
745
  class: "tpl:space-y-2"
430
- }, Jt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Yt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Xt = { class: "tpl:flex tpl:justify-end" }, Zt = ["disabled"], Qt = {
746
+ }, hn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, gn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, _n = { class: "tpl:flex tpl:justify-end" }, vn = ["disabled"], yn = {
431
747
  key: 0,
432
748
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
433
- }, $t = { class: "tpl:space-y-1" }, en = { 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)]" }, tn = {
749
+ }, bn = { class: "tpl:space-y-1" }, xn = { 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)]" }, Sn = {
434
750
  key: 0,
435
751
  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)]"
436
- }, nn = /* @__PURE__ */ w({
752
+ }, Cn = /* @__PURE__ */ w({
437
753
  __name: "CommonBlockSettings",
438
754
  props: {
439
755
  block: {},
@@ -441,23 +757,23 @@ var Le = he({
441
757
  },
442
758
  emits: ["update"],
443
759
  setup(e, { emit: n }) {
444
- let o = e, f = n, { t: w } = R(), E = c(ue, []), D = c(de, !1), O = u(/* @__PURE__ */ new Set()), k = d(!1), A = d(""), j = d(""), M = [{
760
+ let o = e, f = n, { t: w } = R(), E = c(me, []), D = c(he, !1), O = u(/* @__PURE__ */ new Set()), k = d(!1), A = d(""), j = d(""), ee = [{
445
761
  key: "desktop",
446
- icon: Se,
762
+ icon: De,
447
763
  labelKey: "showOnDesktop"
448
764
  }, {
449
765
  key: "mobile",
450
- icon: Ce,
766
+ icon: Oe,
451
767
  labelKey: "showOnMobile"
452
768
  }];
453
- function N(e) {
769
+ function M(e) {
454
770
  O.has(e) ? O.delete(e) : O.add(e);
455
771
  }
456
- let P = S(() => E.length > 0 || D), F = S(() => o.block.displayCondition ? !E.some((e) => e.label === o.block.displayCondition?.label) : !1);
457
- function ee() {
458
- k.value = !0, F.value && o.block.displayCondition ? (A.value = o.block.displayCondition.before, j.value = o.block.displayCondition.after ?? "") : (A.value = "", j.value = "");
459
- }
772
+ let N = S(() => E.length > 0 || D), P = S(() => o.block.displayCondition ? !E.some((e) => e.label === o.block.displayCondition?.label) : !1);
460
773
  function te() {
774
+ k.value = !0, P.value && o.block.displayCondition ? (A.value = o.block.displayCondition.before, j.value = o.block.displayCondition.after ?? "") : (A.value = "", j.value = "");
775
+ }
776
+ function ne() {
461
777
  A.value.trim() && (f("update", { displayCondition: {
462
778
  label: w.blockSettings.customCondition,
463
779
  before: A.value.trim(),
@@ -469,9 +785,9 @@ var Le = he({
469
785
  k.value = !1, A.value = "", j.value = "";
470
786
  return;
471
787
  }
472
- F.value && (A.value = e.before, j.value = e.after ?? "");
788
+ P.value && (A.value = e.before, j.value = e.after ?? "");
473
789
  }, { immediate: !0 });
474
- let ne = S(() => {
790
+ let re = S(() => {
475
791
  let e = {};
476
792
  for (let t of E) {
477
793
  let n = t.group ?? "";
@@ -479,7 +795,7 @@ var Le = he({
479
795
  }
480
796
  return e;
481
797
  });
482
- function re(e, t) {
798
+ function F(e, t) {
483
799
  f("update", { styles: {
484
800
  ...o.block.styles,
485
801
  [e]: t
@@ -496,16 +812,16 @@ var Le = he({
496
812
  t[e] = !t[e], f("update", { visibility: t });
497
813
  }
498
814
  return (n, o) => (t(), h("div", { class: y(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
499
- g(Lt, {
815
+ g(rn, {
500
816
  title: p(w).blockSettings.spacing,
501
817
  open: O.has("spacing"),
502
818
  "no-border": e.isFirstSection,
503
- onToggle: o[1] ||= (e) => N("spacing")
819
+ onToggle: o[1] ||= (e) => M("spacing")
504
820
  }, {
505
- default: r(() => [g(Pt, {
821
+ default: r(() => [g(en, {
506
822
  label: p(w).blockSettings.padding,
507
823
  "model-value": e.block.styles.padding,
508
- "onUpdate:modelValue": o[0] ||= (e) => re("padding", e)
824
+ "onUpdate:modelValue": o[0] ||= (e) => F("padding", e)
509
825
  }, null, 8, ["label", "model-value"])]),
510
826
  _: 1
511
827
  }, 8, [
@@ -513,30 +829,31 @@ var Le = he({
513
829
  "open",
514
830
  "no-border"
515
831
  ]),
516
- g(Lt, {
832
+ g(rn, {
517
833
  title: p(w).blockSettings.background,
518
834
  open: O.has("bg"),
519
- onToggle: o[3] ||= (e) => N("bg")
835
+ onToggle: o[3] ||= (e) => M("bg")
520
836
  }, {
521
- default: r(() => [m("label", { class: y(p(W)) }, v(p(w).blockSettings.color), 3), g(z, {
837
+ default: r(() => [m("label", { class: y(p(U)) }, v(p(w).blockSettings.color), 3), g(z, {
522
838
  "model-value": e.block.styles.backgroundColor ?? "",
523
- "onUpdate:modelValue": o[2] ||= (e) => re("backgroundColor", e)
839
+ "allow-transparent": "",
840
+ "onUpdate:modelValue": o[2] ||= (e) => F("backgroundColor", e)
524
841
  }, null, 8, ["model-value"])]),
525
842
  _: 1
526
843
  }, 8, ["title", "open"]),
527
- g(Lt, {
844
+ g(rn, {
528
845
  title: p(w).blockSettings.display,
529
846
  open: O.has("display"),
530
- onToggle: o[4] ||= (e) => N("display")
847
+ onToggle: o[4] ||= (e) => M("display")
531
848
  }, {
532
- default: r(() => [m("div", Rt, [(t(), h(x, null, a(M, (e) => g(J, {
849
+ default: r(() => [m("div", an, [(t(), h(x, null, a(ee, (e) => g(q, {
533
850
  key: e.key,
534
851
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
535
852
  "model-value": I(e.key),
536
853
  label: p(w).blockSettings[e.labelKey],
537
854
  "onUpdate:modelValue": (t) => ie(e.key)
538
855
  }, {
539
- default: r(() => [m("span", zt, [(t(), b(i(e.icon), {
856
+ default: r(() => [m("span", on, [(t(), b(i(e.icon), {
540
857
  size: 14,
541
858
  "stroke-width": 1.5
542
859
  })), _(" " + v(p(w).blockSettings[e.labelKey]), 1)])]),
@@ -548,21 +865,21 @@ var Le = he({
548
865
  ])), 64))])]),
549
866
  _: 1
550
867
  }, 8, ["title", "open"]),
551
- P.value ? (t(), b(Lt, {
868
+ N.value ? (t(), b(rn, {
552
869
  key: 0,
553
870
  "header-test-id": "display-condition-section",
554
871
  title: p(w).blockSettings.displayCondition,
555
872
  open: O.has("condition"),
556
- onToggle: o[8] ||= (e) => N("condition")
873
+ onToggle: o[8] ||= (e) => M("condition")
557
874
  }, {
558
- default: r(() => [m("div", Bt, [m("select", {
875
+ default: r(() => [m("div", sn, [m("select", {
559
876
  "data-testid": "display-condition-select",
560
877
  class: y(["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)]"]),
561
- value: k.value || F.value ? "__custom__" : e.block.displayCondition?.label ?? "",
878
+ value: k.value || P.value ? "__custom__" : e.block.displayCondition?.label ?? "",
562
879
  onChange: o[5] ||= (e) => {
563
880
  let t = e.target.value;
564
881
  if (t === "__custom__") {
565
- ee();
882
+ te();
566
883
  return;
567
884
  }
568
885
  if (k.value = !1, !t) {
@@ -573,41 +890,41 @@ var Le = he({
573
890
  n && f("update", { displayCondition: n });
574
891
  }
575
892
  }, [
576
- m("option", Ht, v(p(w).blockSettings.noCondition), 1),
577
- (t(!0), h(x, null, a(ne.value, (e, n) => (t(), h(x, { key: n }, [n ? (t(), h("optgroup", {
893
+ m("option", ln, v(p(w).blockSettings.noCondition), 1),
894
+ (t(!0), h(x, null, a(re.value, (e, n) => (t(), h(x, { key: n }, [n ? (t(), h("optgroup", {
578
895
  key: 0,
579
896
  label: String(n)
580
897
  }, [(t(!0), h(x, null, a(e, (e) => (t(), h("option", {
581
898
  key: e.label,
582
899
  value: e.label
583
- }, v(e.label), 9, Wt))), 128))], 8, Ut)) : (t(!0), h(x, { key: 1 }, a(e, (e) => (t(), h("option", {
900
+ }, v(e.label), 9, dn))), 128))], 8, un)) : (t(!0), h(x, { key: 1 }, a(e, (e) => (t(), h("option", {
584
901
  key: e.label,
585
902
  value: e.label
586
- }, v(e.label), 9, Gt))), 128))], 64))), 128)),
587
- p(D) ? (t(), h("option", Kt, v(p(w).blockSettings.customCondition), 1)) : C("", !0)
588
- ], 42, Vt), k.value || F.value ? (t(), h("div", qt, [
589
- m("div", null, [m("label", Jt, v(p(w).blockSettings.customConditionBefore), 1), l(m("textarea", {
903
+ }, v(e.label), 9, fn))), 128))], 64))), 128)),
904
+ p(D) ? (t(), h("option", pn, v(p(w).blockSettings.customCondition), 1)) : C("", !0)
905
+ ], 42, cn), k.value || P.value ? (t(), h("div", mn, [
906
+ m("div", null, [m("label", hn, v(p(w).blockSettings.customConditionBefore), 1), l(m("textarea", {
590
907
  "onUpdate:modelValue": o[6] ||= (e) => A.value = e,
591
908
  rows: "2",
592
- class: y(p(je))
909
+ class: y(p(Le))
593
910
  }, null, 2), [[T, A.value]])]),
594
- m("div", null, [m("label", Yt, v(p(w).blockSettings.customConditionAfter), 1), l(m("textarea", {
911
+ m("div", null, [m("label", gn, v(p(w).blockSettings.customConditionAfter), 1), l(m("textarea", {
595
912
  "onUpdate:modelValue": o[7] ||= (e) => j.value = e,
596
913
  rows: "2",
597
- class: y(p(je))
914
+ class: y(p(Le))
598
915
  }, null, 2), [[T, j.value]])]),
599
- m("div", Xt, [m("button", {
916
+ m("div", _n, [m("button", {
600
917
  type: "button",
601
- class: y(p(Fe)),
918
+ class: y(p(Ve)),
602
919
  disabled: !A.value.trim(),
603
- onClick: te
604
- }, v(p(w).blockSettings.applyCondition), 11, Zt)])
605
- ])) : e.block.displayCondition && !F.value ? (t(), h(x, { key: 1 }, [e.block.displayCondition.description ? (t(), h("p", Qt, v(e.block.displayCondition.description), 1)) : C("", !0), m("div", $t, [m("pre", en, v(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (t(), h("pre", tn, v(e.block.displayCondition.after), 1)) : C("", !0)])], 64)) : C("", !0)])]),
920
+ onClick: ne
921
+ }, v(p(w).blockSettings.applyCondition), 11, vn)])
922
+ ])) : e.block.displayCondition && !P.value ? (t(), h(x, { key: 1 }, [e.block.displayCondition.description ? (t(), h("p", yn, v(e.block.displayCondition.description), 1)) : C("", !0), m("div", bn, [m("pre", xn, v(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (t(), h("pre", Sn, v(e.block.displayCondition.after), 1)) : C("", !0)])], 64)) : C("", !0)])]),
606
923
  _: 1
607
924
  }, 8, ["title", "open"])) : C("", !0)
608
925
  ], 2));
609
926
  }
610
- }), rn = ["title"], an = /* @__PURE__ */ w({
927
+ }), wn = ["title"], Tn = /* @__PURE__ */ w({
611
928
  __name: "BooleanField",
612
929
  props: {
613
930
  field: {},
@@ -620,7 +937,7 @@ var Le = he({
620
937
  return (n, o) => (t(), h("div", {
621
938
  class: "tpl:mb-3.5",
622
939
  title: e.readOnly ? p(a).customBlocks.dataSource.readOnlyTooltip : void 0
623
- }, [g(J, {
940
+ }, [g(q, {
624
941
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
625
942
  "model-value": e.modelValue,
626
943
  label: e.field.label,
@@ -628,7 +945,7 @@ var Le = he({
628
945
  disabled: e.readOnly,
629
946
  "onUpdate:modelValue": o[0] ||= (e) => i("update:modelValue", e)
630
947
  }, {
631
- default: r(() => [_(v(e.field.label) + " ", 1), e.readOnly ? (t(), b(p(Re), {
948
+ default: r(() => [_(v(e.field.label) + " ", 1), e.readOnly ? (t(), b(p(We), {
632
949
  key: 0,
633
950
  size: 12,
634
951
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -639,9 +956,9 @@ var Le = he({
639
956
  "label",
640
957
  "required",
641
958
  "disabled"
642
- ])], 8, rn));
959
+ ])], 8, wn));
643
960
  }
644
- }), on = { class: "tpl:mb-3.5" }, sn = ["title"], cn = { class: "tpl-sr-only" }, ln = ["title"], un = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ w({
961
+ }), En = { class: "tpl:mb-3.5" }, Dn = ["title"], On = { class: "tpl-sr-only" }, kn = ["title"], An = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ w({
645
962
  __name: "FieldWrapper",
646
963
  props: {
647
964
  label: {},
@@ -650,24 +967,24 @@ var Le = he({
650
967
  },
651
968
  setup(e) {
652
969
  let { t: n } = R();
653
- return (r, i) => (t(), h("div", on, [m("label", { class: y(p(W)) }, [
970
+ return (r, i) => (t(), h("div", En, [m("label", { class: y(p(U)) }, [
654
971
  _(v(e.label) + " ", 1),
655
972
  e.readOnly ? (t(), h("span", {
656
973
  key: 0,
657
974
  title: p(n).customBlocks.dataSource.readOnlyTooltip
658
- }, [g(p(Re), {
975
+ }, [g(p(We), {
659
976
  size: 12,
660
977
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
661
978
  "aria-hidden": "true"
662
- }), m("span", cn, v(p(n).customBlocks.dataSource.readOnlyTooltip), 1)], 8, sn)) : C("", !0),
979
+ }), m("span", On, v(p(n).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Dn)) : C("", !0),
663
980
  e.required ? (t(), h("span", {
664
981
  key: 1,
665
982
  class: "tpl:text-[var(--tpl-danger)]",
666
983
  title: p(n).customBlocks.fields.required
667
- }, [i[0] ||= m("span", { "aria-hidden": "true" }, "*", -1), m("span", un, v(p(n).customBlocks.fields.required), 1)], 8, ln)) : C("", !0)
984
+ }, [i[0] ||= m("span", { "aria-hidden": "true" }, "*", -1), m("span", An, v(p(n).customBlocks.fields.required), 1)], 8, kn)) : C("", !0)
668
985
  ], 2), o(r.$slots, "default")]));
669
986
  }
670
- }), dn = /* @__PURE__ */ w({
987
+ }), jn = /* @__PURE__ */ w({
671
988
  __name: "ColorField",
672
989
  props: {
673
990
  field: {},
@@ -676,7 +993,7 @@ var Le = he({
676
993
  },
677
994
  emits: ["update:modelValue"],
678
995
  setup(e, { emit: n }) {
679
- let i = e, a = n, { t: o } = R(), s = c(L, me), l = S(() => ne(i.field, s));
996
+ let i = e, a = n, { t: o } = R(), s = c(pe, ve), l = S(() => ae(i.field, s));
680
997
  return (n, i) => (t(), b(Q, {
681
998
  label: e.field.label,
682
999
  required: e.field.required,
@@ -705,15 +1022,15 @@ var Le = he({
705
1022
  "read-only"
706
1023
  ]));
707
1024
  }
708
- }), fn = {
1025
+ }), Mn = {
709
1026
  key: 0,
710
1027
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
711
1028
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
712
- }, pn = [
1029
+ }, Nn = [
713
1030
  "value",
714
1031
  "placeholder",
715
1032
  "title"
716
- ], mn = ["value", "placeholder"], hn = /* @__PURE__ */ w({
1033
+ ], Pn = ["value", "placeholder"], Fn = /* @__PURE__ */ w({
717
1034
  __name: "ImageField",
718
1035
  props: {
719
1036
  field: {},
@@ -722,7 +1039,7 @@ var Le = he({
722
1039
  },
723
1040
  emits: ["update:modelValue"],
724
1041
  setup(e, { emit: n }) {
725
- let i = e, a = n, { t: o } = R(), s = c(se, null), l = c(le, null), u = Ae(), f = S(() => !!s);
1042
+ let i = e, a = n, { t: o } = R(), s = c(ue, null), l = c(fe, null), u = Ie(), f = S(() => !!s);
726
1043
  async function w() {
727
1044
  let e = await s?.({ accept: ["images"] });
728
1045
  u.alive && e && a("update:modelValue", e.url);
@@ -758,35 +1075,35 @@ var Le = he({
758
1075
  ref: T,
759
1076
  class: "tpl:relative"
760
1077
  }, [
761
- D.value && (p(k) || E.value) ? (t(), h("div", fn, [E.value ? (t(), h(x, { key: 0 }, [g(p(xe), {
1078
+ D.value && (p(k) || E.value) ? (t(), h("div", Mn, [E.value ? (t(), h(x, { key: 0 }, [g(p(Ee), {
762
1079
  class: "tpl-spinner",
763
1080
  size: 18,
764
1081
  "stroke-width": 2
765
- }), _(" " + v(p(o).image.uploading), 1)], 64)) : (t(), h(x, { key: 1 }, [g(p(De), {
1082
+ }), _(" " + v(p(o).image.uploading), 1)], 64)) : (t(), h(x, { key: 1 }, [g(p(Ne), {
766
1083
  size: 18,
767
1084
  "stroke-width": 1.5
768
1085
  }), _(" " + v(p(o).image.dropToUpload), 1)], 64))])) : C("", !0),
769
1086
  e.readOnly ? (t(), h("input", {
770
1087
  key: 1,
771
1088
  type: "url",
772
- class: y([p(q), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1089
+ class: y([p(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
773
1090
  value: e.modelValue,
774
1091
  placeholder: e.field.placeholder || "https://...",
775
1092
  disabled: "",
776
1093
  title: p(o).customBlocks.dataSource.readOnlyTooltip
777
- }, null, 10, pn)) : (t(), h("input", {
1094
+ }, null, 10, Nn)) : (t(), h("input", {
778
1095
  key: 2,
779
1096
  type: "url",
780
- class: y(p(q)),
1097
+ class: y(p(K)),
781
1098
  value: e.modelValue,
782
1099
  placeholder: e.field.placeholder || "https://...",
783
1100
  onInput: i[0] ||= (e) => a("update:modelValue", e.target.value)
784
- }, null, 42, mn)),
1101
+ }, null, 42, Pn)),
785
1102
  f.value && !e.readOnly ? (t(), h("button", {
786
1103
  key: 3,
787
1104
  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)]",
788
1105
  onClick: i[1] ||= (e) => w()
789
- }, [g(p(N), {
1106
+ }, [g(p(ne), {
790
1107
  size: 14,
791
1108
  "stroke-width": 1.5
792
1109
  }), _(" " + v(p(o).image.browseMedia), 1)])) : C("", !0)
@@ -798,7 +1115,7 @@ var Le = he({
798
1115
  "read-only"
799
1116
  ]));
800
1117
  }
801
- }), gn = [
1118
+ }), In = [
802
1119
  "value",
803
1120
  "placeholder",
804
1121
  "min",
@@ -806,7 +1123,7 @@ var Le = he({
806
1123
  "step",
807
1124
  "disabled",
808
1125
  "title"
809
- ], _n = /* @__PURE__ */ w({
1126
+ ], Ln = /* @__PURE__ */ w({
810
1127
  __name: "NumberField",
811
1128
  props: {
812
1129
  field: {},
@@ -823,7 +1140,7 @@ var Le = he({
823
1140
  }, {
824
1141
  default: r(() => [m("input", {
825
1142
  type: "number",
826
- class: y([p(q), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1143
+ class: y([p(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
827
1144
  value: e.modelValue,
828
1145
  placeholder: e.field.placeholder,
829
1146
  min: e.field.min,
@@ -832,7 +1149,7 @@ var Le = he({
832
1149
  disabled: e.readOnly,
833
1150
  title: e.readOnly ? p(a).customBlocks.dataSource.readOnlyTooltip : void 0,
834
1151
  onInput: o[0] ||= (t) => !e.readOnly && i("update:modelValue", Number(t.target.value))
835
- }, null, 42, gn)]),
1152
+ }, null, 42, In)]),
836
1153
  _: 1
837
1154
  }, 8, [
838
1155
  "label",
@@ -840,13 +1157,13 @@ var Le = he({
840
1157
  "read-only"
841
1158
  ]));
842
1159
  }
843
- }), vn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, yn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, bn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, xn = ["title", "onClick"], Sn = {
1160
+ }), Rn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, zn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Bn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Vn = ["title", "onClick"], Hn = {
844
1161
  key: 1,
845
1162
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
846
- }, Cn = {
1163
+ }, Un = {
847
1164
  key: 2,
848
1165
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
849
- }, wn = /* @__PURE__ */ w({
1166
+ }, Wn = /* @__PURE__ */ w({
850
1167
  __name: "RepeatableField",
851
1168
  props: {
852
1169
  field: {},
@@ -879,20 +1196,20 @@ var Le = he({
879
1196
  required: e.field.required,
880
1197
  "read-only": e.readOnly
881
1198
  }, {
882
- default: r(() => [m("div", vn, [
1199
+ default: r(() => [m("div", Rn, [
883
1200
  (t(!0), h(x, null, a(u.value, (n, r) => (t(), h("div", {
884
1201
  key: `${e.field.key}-${r}`,
885
1202
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
886
- }, [m("div", yn, [m("span", bn, " #" + v(r + 1), 1), f.value && !e.readOnly ? (t(), h("button", {
1203
+ }, [m("div", zn, [m("span", Bn, " #" + v(r + 1), 1), f.value && !e.readOnly ? (t(), h("button", {
887
1204
  key: 0,
888
1205
  type: "button",
889
1206
  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)]",
890
1207
  title: p(c).customBlocks.fields.removeItem,
891
1208
  onClick: (e) => T(r)
892
- }, [g(p(Ee), {
1209
+ }, [g(p(Me), {
893
1210
  size: 12,
894
1211
  "stroke-width": 2
895
- })], 8, xn)) : C("", !0)]), (t(!0), h(x, null, a(e.field.fields, (a) => (t(), b(i(p(Nn)(a.type)), {
1212
+ })], 8, Vn)) : C("", !0)]), (t(!0), h(x, null, a(e.field.fields, (a) => (t(), b(i(p($n)(a.type)), {
896
1213
  key: a.key,
897
1214
  field: a,
898
1215
  "model-value": n[a.key],
@@ -907,14 +1224,14 @@ var Le = he({
907
1224
  d.value && !e.readOnly ? (t(), h("button", {
908
1225
  key: 0,
909
1226
  type: "button",
910
- class: y(p(Ne)),
1227
+ class: y(p(ze)),
911
1228
  onClick: w
912
1229
  }, [g(p(V), {
913
1230
  size: 14,
914
1231
  "stroke-width": 2
915
1232
  }), _(" " + v(p(c).customBlocks.fields.addItem), 1)], 2)) : C("", !0),
916
- !d.value && !e.readOnly ? (t(), h("p", Sn, v(p(c).customBlocks.fields.maxItemsReached), 1)) : C("", !0),
917
- !f.value && !e.readOnly ? (t(), h("p", Cn, v(p(l)(p(c).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : C("", !0)
1233
+ !d.value && !e.readOnly ? (t(), h("p", Hn, v(p(c).customBlocks.fields.maxItemsReached), 1)) : C("", !0),
1234
+ !f.value && !e.readOnly ? (t(), h("p", Un, v(p(l)(p(c).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : C("", !0)
918
1235
  ])]),
919
1236
  _: 1
920
1237
  }, 8, [
@@ -923,11 +1240,11 @@ var Le = he({
923
1240
  "read-only"
924
1241
  ]));
925
1242
  }
926
- }), Tn = [
1243
+ }), Gn = [
927
1244
  "value",
928
1245
  "disabled",
929
1246
  "title"
930
- ], En = ["value"], Dn = /* @__PURE__ */ w({
1247
+ ], Kn = ["value"], qn = /* @__PURE__ */ w({
931
1248
  __name: "SelectField",
932
1249
  props: {
933
1250
  field: {},
@@ -943,7 +1260,7 @@ var Le = he({
943
1260
  "read-only": e.readOnly
944
1261
  }, {
945
1262
  default: r(() => [m("select", {
946
- class: y([p(q), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1263
+ class: y([p(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
947
1264
  value: e.modelValue,
948
1265
  disabled: e.readOnly,
949
1266
  title: e.readOnly ? p(o).customBlocks.dataSource.readOnlyTooltip : void 0,
@@ -951,7 +1268,7 @@ var Le = he({
951
1268
  }, [(t(!0), h(x, null, a(e.field.options, (e) => (t(), h("option", {
952
1269
  key: e.value,
953
1270
  value: e.value
954
- }, v(e.label), 9, En))), 128))], 42, Tn)]),
1271
+ }, v(e.label), 9, Kn))), 128))], 42, Gn)]),
955
1272
  _: 1
956
1273
  }, 8, [
957
1274
  "label",
@@ -959,11 +1276,11 @@ var Le = he({
959
1276
  "read-only"
960
1277
  ]));
961
1278
  }
962
- }), On = [
1279
+ }), Jn = [
963
1280
  "value",
964
1281
  "placeholder",
965
1282
  "title"
966
- ], kn = /* @__PURE__ */ w({
1283
+ ], Yn = /* @__PURE__ */ w({
967
1284
  __name: "TextField",
968
1285
  props: {
969
1286
  field: {},
@@ -981,12 +1298,12 @@ var Le = he({
981
1298
  default: r(() => [e.readOnly ? (t(), h("input", {
982
1299
  key: 0,
983
1300
  type: "text",
984
- class: y([p(q), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1301
+ class: y([p(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
985
1302
  value: e.modelValue,
986
1303
  placeholder: e.field.placeholder,
987
1304
  disabled: "",
988
1305
  title: p(a).customBlocks.dataSource.readOnlyTooltip
989
- }, null, 10, On)) : (t(), b(Y, {
1306
+ }, null, 10, Jn)) : (t(), b(J, {
990
1307
  key: 1,
991
1308
  "model-value": e.modelValue,
992
1309
  placeholder: e.field.placeholder,
@@ -999,12 +1316,12 @@ var Le = he({
999
1316
  "read-only"
1000
1317
  ]));
1001
1318
  }
1002
- }), An = [
1319
+ }), Xn = [
1003
1320
  "value",
1004
1321
  "placeholder",
1005
1322
  "title"
1006
- ], jn = "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", Mn = {
1007
- text: kn,
1323
+ ], Zn = "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", Qn = {
1324
+ text: Yn,
1008
1325
  textarea: /* @__PURE__ */ w({
1009
1326
  __name: "TextareaField",
1010
1327
  props: {
@@ -1027,8 +1344,8 @@ var Le = he({
1027
1344
  rows: "3",
1028
1345
  disabled: "",
1029
1346
  title: p(a).customBlocks.dataSource.readOnlyTooltip,
1030
- class: y(jn)
1031
- }, null, 8, An)) : (t(), b(Ie, {
1347
+ class: y(Zn)
1348
+ }, null, 8, Xn)) : (t(), b(He, {
1032
1349
  key: 1,
1033
1350
  "model-value": e.modelValue,
1034
1351
  placeholder: e.field.placeholder,
@@ -1042,42 +1359,42 @@ var Le = he({
1042
1359
  ]));
1043
1360
  }
1044
1361
  }),
1045
- image: hn,
1046
- color: dn,
1047
- number: _n,
1048
- select: Dn,
1049
- boolean: an,
1050
- repeatable: wn
1362
+ image: Fn,
1363
+ color: jn,
1364
+ number: Ln,
1365
+ select: qn,
1366
+ boolean: Tn,
1367
+ repeatable: Wn
1051
1368
  };
1052
- function Nn(e) {
1053
- return Mn[e] ?? kn;
1369
+ function $n(e) {
1370
+ return Qn[e] ?? Yn;
1054
1371
  }
1055
1372
  //#endregion
1056
1373
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
1057
- var Pn = {
1374
+ var er = {
1058
1375
  key: 0,
1059
1376
  class: "tpl:p-4"
1060
- }, Fn = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, In = { key: 1 }, Ln = {
1377
+ }, tr = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, nr = { key: 1 }, rr = {
1061
1378
  key: 0,
1062
1379
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1063
- }, Rn = {
1380
+ }, ir = {
1064
1381
  key: 1,
1065
1382
  class: "tpl:mb-4"
1066
- }, zn = {
1383
+ }, ar = {
1067
1384
  key: 1,
1068
1385
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
1069
- }, Bn = {
1386
+ }, or = {
1070
1387
  key: 0,
1071
1388
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1072
- }, Vn = {
1389
+ }, sr = {
1073
1390
  key: 2,
1074
1391
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
1075
- }, Hn = /* @__PURE__ */ w({
1392
+ }, cr = /* @__PURE__ */ w({
1076
1393
  __name: "CustomBlockToolbar",
1077
1394
  props: { block: {} },
1078
1395
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1079
1396
  setup(e, { emit: n }) {
1080
- let r = e, o = n, { t: s } = R(), l = c(fe, []), u = S(() => l.find((e) => e.type === r.block.customType)), d = S(() => r.block), { isFetching: f, fetchError: y, fetch: w, hasDataSource: T, needsFetch: E } = re({
1397
+ let r = e, o = n, { t: s } = R(), l = c(ge, []), u = S(() => l.find((e) => e.type === r.block.customType)), d = S(() => r.block), { isFetching: f, fetchError: y, fetch: w, hasDataSource: T, needsFetch: E } = oe({
1081
1398
  definition: u,
1082
1399
  block: d,
1083
1400
  onUpdate: (e, t) => {
@@ -1093,23 +1410,23 @@ var Pn = {
1093
1410
  [e]: t
1094
1411
  });
1095
1412
  }
1096
- return (n, r) => u.value ? (t(), h("div", In, [
1097
- u.value.description ? (t(), h("p", Ln, v(u.value.description), 1)) : C("", !0),
1098
- p(T) ? (t(), h("div", Rn, [p(E) && !p(f) ? (t(), h("button", {
1413
+ return (n, r) => u.value ? (t(), h("div", nr, [
1414
+ u.value.description ? (t(), h("p", rr, v(u.value.description), 1)) : C("", !0),
1415
+ p(T) ? (t(), h("div", ir, [p(E) && !p(f) ? (t(), h("button", {
1099
1416
  key: 0,
1100
1417
  type: "button",
1101
1418
  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)]",
1102
1419
  onClick: r[0] ||= (...e) => p(w) && p(w)(...e)
1103
- }, v(u.value?.dataSource?.label || p(s).customBlocks.dataSource.fetchButton), 1)) : (t(), h("div", zn, [p(f) ? (t(), h("div", Bn, v(p(s).customBlocks.dataSource.fetching), 1)) : (t(), h("button", {
1420
+ }, v(u.value?.dataSource?.label || p(s).customBlocks.dataSource.fetchButton), 1)) : (t(), h("div", ar, [p(f) ? (t(), h("div", or, v(p(s).customBlocks.dataSource.fetching), 1)) : (t(), h("button", {
1104
1421
  key: 1,
1105
1422
  type: "button",
1106
1423
  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)]",
1107
1424
  onClick: r[1] ||= (...e) => p(w) && p(w)(...e)
1108
- }, [g(p(we), { size: 12 }), _(" " + v(p(s).customBlocks.dataSource.changeButton), 1)]))])), p(y) ? (t(), h("p", Vn, [g(p(_e), {
1425
+ }, [g(p(ke), { size: 12 }), _(" " + v(p(s).customBlocks.dataSource.changeButton), 1)]))])), p(y) ? (t(), h("p", sr, [g(p(xe), {
1109
1426
  size: 14,
1110
1427
  class: "tpl:shrink-0"
1111
1428
  }), _(" " + v(p(s).customBlocks.dataSource.fetchError), 1)])) : C("", !0)])) : C("", !0),
1112
- (t(!0), h(x, null, a(u.value.fields, (n) => (t(), b(i(p(Nn)(n.type)), {
1429
+ (t(!0), h(x, null, a(u.value.fields, (n) => (t(), b(i(p($n)(n.type)), {
1113
1430
  key: n.key,
1114
1431
  field: n,
1115
1432
  "model-value": e.block.fieldValues[n.key],
@@ -1121,9 +1438,9 @@ var Pn = {
1121
1438
  "read-only",
1122
1439
  "onUpdate:modelValue"
1123
1440
  ]))), 128))
1124
- ])) : (t(), h("div", Pn, [m("p", Fn, v(p(s).customBlocks.toolbar.noDefinition), 1)]));
1441
+ ])) : (t(), h("div", er, [m("p", tr, v(p(s).customBlocks.toolbar.noDefinition), 1)]));
1125
1442
  }
1126
- }), Un = { class: "tpl:mb-3.5" }, Wn = { class: "tpl:mb-3.5" }, Gn = { class: "tpl:mb-3.5" }, Kn = { class: "tpl:flex tpl:items-stretch" }, qn = ["value"], Jn = /* @__PURE__ */ w({
1443
+ }), lr = { class: "tpl:mb-3.5" }, ur = { class: "tpl:mb-3.5" }, dr = { class: "tpl:mb-3.5" }, fr = { class: "tpl:flex tpl:items-stretch" }, pr = ["value"], mr = /* @__PURE__ */ w({
1127
1444
  __name: "DividerToolbar",
1128
1445
  props: { block: {} },
1129
1446
  emits: ["update"],
@@ -1133,7 +1450,7 @@ var Pn = {
1133
1450
  r("update", { [e]: t });
1134
1451
  }
1135
1452
  return (n, r) => (t(), h(x, null, [
1136
- m("div", Un, [m("label", { class: y(p(W)) }, v(p(i).divider.style), 3), g(X, {
1453
+ m("div", lr, [m("label", { class: y(p(U)) }, v(p(i).divider.style), 3), g(Y, {
1137
1454
  options: [
1138
1455
  {
1139
1456
  value: "solid",
@@ -1151,135 +1468,104 @@ var Pn = {
1151
1468
  "model-value": e.block.lineStyle,
1152
1469
  "onUpdate:modelValue": r[0] ||= (e) => a("lineStyle", e)
1153
1470
  }, null, 8, ["options", "model-value"])]),
1154
- m("div", Wn, [m("label", { class: y(p(W)) }, v(p(i).divider.color), 3), g(z, {
1471
+ m("div", ur, [m("label", { class: y(p(U)) }, v(p(i).divider.color), 3), g(z, {
1155
1472
  "model-value": e.block.color,
1156
1473
  "onUpdate:modelValue": r[1] ||= (e) => a("color", e)
1157
1474
  }, null, 8, ["model-value"])]),
1158
- m("div", Gn, [m("label", { class: y(p(W)) }, v(p(i).divider.thickness), 3), m("div", Kn, [m("input", {
1475
+ m("div", dr, [m("label", { class: y(p(U)) }, v(p(i).divider.thickness), 3), m("div", fr, [m("input", {
1159
1476
  type: "number",
1160
- class: y(p(K)),
1477
+ class: y(p(G)),
1161
1478
  value: e.block.thickness,
1162
1479
  min: "1",
1163
1480
  max: "10",
1164
1481
  onInput: r[2] ||= (e) => a("thickness", Number(e.target.value))
1165
- }, null, 42, qn), m("span", { class: y(p(G)) }, "px", 2)])])
1482
+ }, null, 42, pr), m("span", { class: y(p(W)) }, "px", 2)])])
1166
1483
  ], 64));
1167
1484
  }
1168
- }), Yn = { class: "tpl:mb-3.5" }, Xn = ["value"], Zn = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Qn = /* @__PURE__ */ w({
1485
+ }), hr = { class: "tpl:mb-3.5" }, gr = ["value"], _r = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, vr = /* @__PURE__ */ w({
1169
1486
  __name: "HtmlToolbar",
1170
1487
  props: { block: {} },
1171
1488
  emits: ["update"],
1172
1489
  setup(e, { emit: n }) {
1173
1490
  let r = n, { t: i } = R();
1174
- return (n, a) => (t(), h("div", Yn, [
1175
- m("label", { class: y(p(W)) }, v(p(i).html.content), 3),
1491
+ return (n, a) => (t(), h("div", hr, [
1492
+ m("label", { class: y(p(U)) }, v(p(i).html.content), 3),
1176
1493
  m("textarea", {
1177
1494
  value: e.block.content,
1178
1495
  placeholder: "<div>...</div>",
1179
1496
  rows: "10",
1180
- class: y(p(je)),
1497
+ class: y(p(Le)),
1181
1498
  onInput: a[0] ||= (e) => r("update", { content: e.target.value })
1182
- }, null, 42, Xn),
1183
- m("p", Zn, [g(p(be), {
1499
+ }, null, 42, gr),
1500
+ m("p", _r, [g(p(we), {
1184
1501
  size: 12,
1185
1502
  class: "tpl:mt-0.5 tpl:shrink-0"
1186
1503
  }), _(" " + v(p(i).html.sanitizationHint), 1)])
1187
1504
  ]));
1188
1505
  }
1189
- }), $n = { class: "tpl:flex tpl:items-stretch" }, er = [
1190
- "data-testid",
1191
- "value",
1192
- "min",
1193
- "max"
1194
- ], tr = /* @__PURE__ */ w({
1195
- __name: "NumberWithSuffix",
1196
- props: {
1197
- modelValue: {},
1198
- min: {},
1199
- max: {},
1200
- suffix: {},
1201
- testid: {}
1202
- },
1203
- emits: ["update:modelValue"],
1204
- setup(e, { emit: n }) {
1205
- let r = n;
1206
- function i(e) {
1207
- let t = e.target;
1208
- t.validity?.badInput || r("update:modelValue", Number(t.value));
1209
- }
1210
- return (n, r) => (t(), h("div", $n, [m("input", {
1211
- type: "number",
1212
- "data-testid": e.testid,
1213
- class: y(p(K)),
1214
- value: e.modelValue,
1215
- min: e.min,
1216
- max: e.max,
1217
- onInput: i
1218
- }, null, 42, er), m("span", { class: y(p(G)) }, v(e.suffix), 3)]));
1219
- }
1220
- }), nr = { class: "tpl:mb-3.5" }, rr = {
1506
+ }), yr = { class: "tpl:mb-3.5" }, br = {
1221
1507
  key: 0,
1222
1508
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
1223
1509
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1224
- }, ir = {
1510
+ }, xr = {
1225
1511
  key: 0,
1226
1512
  class: "tpl:mb-3.5"
1227
- }, ar = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, or = [
1513
+ }, Sr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Cr = [
1228
1514
  "value",
1229
1515
  "placeholder",
1230
1516
  "title"
1231
- ], sr = { class: "tpl:mb-3.5" }, cr = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, lr = { class: "tpl:mb-3.5" }, ur = ["value"], dr = { value: "full" }, fr = { value: "custom" }, pr = {
1517
+ ], wr = { class: "tpl:mb-3.5" }, Tr = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Er = { class: "tpl:mb-3.5" }, Dr = ["value"], Or = { value: "full" }, kr = { value: "custom" }, Ar = {
1232
1518
  key: 0,
1233
1519
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1234
- }, mr = ["value"], hr = { class: "tpl:mb-3.5" }, gr = ["value"], _r = { value: "auto" }, vr = { value: "custom" }, yr = {
1520
+ }, jr = ["value"], Mr = { class: "tpl:mb-3.5" }, Nr = ["value"], Pr = { value: "auto" }, Fr = { value: "custom" }, Ir = {
1235
1521
  key: 0,
1236
1522
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1237
- }, br = ["value"], xr = { class: "tpl:mb-3.5" }, Sr = { class: "tpl:mb-3.5" }, Cr = { class: "tpl:mb-3.5" }, wr = 350, Tr = 200, Er = /* @__PURE__ */ w({
1523
+ }, Lr = ["value"], Rr = { class: "tpl:mb-3.5" }, zr = { class: "tpl:mb-3.5" }, Br = 350, Vr = 200, Hr = /* @__PURE__ */ w({
1238
1524
  __name: "ImageToolbar",
1239
1525
  props: { block: {} },
1240
1526
  emits: ["update"],
1241
1527
  setup(e, { emit: n }) {
1242
- let i = e, a = n, { t: o } = R(), s = c(se, null), l = c(le, null), u = c(ce, j.liquid), f = Ae(), w = S(() => !!s), T = d(!1), E = d(!1), { start: D } = I(() => {
1528
+ let i = e, a = n, { t: o } = R(), s = c(ue, null), l = c(fe, null), u = c(de, j.liquid), f = Ie(), w = S(() => !!s), T = d(!1), E = d(!1), { start: D } = se(() => {
1243
1529
  T.value = !1;
1244
1530
  }, 1e3, { immediate: !1 }), O = [
1245
1531
  300,
1246
1532
  400,
1247
1533
  500
1248
- ], A = S(() => {
1534
+ ], k = S(() => {
1249
1535
  let e = i.block.width;
1250
1536
  return e === "full" ? "full" : O.includes(e) ? String(e) : "custom";
1251
- }), M = S(() => typeof i.block.height == "number" ? "custom" : "auto");
1252
- function P(e, t) {
1537
+ }), A = S(() => typeof i.block.height == "number" ? "custom" : "auto");
1538
+ function N(e, t) {
1253
1539
  a("update", { [e]: t });
1254
1540
  }
1255
- function ee(e) {
1541
+ function P(e) {
1256
1542
  if (e === "custom") {
1257
1543
  let e = i.block.width;
1258
- (typeof e != "number" || O.includes(e)) && P("width", wr);
1544
+ (typeof e != "number" || O.includes(e)) && N("width", Br);
1259
1545
  return;
1260
1546
  }
1261
- P("width", e === "full" ? "full" : Number(e));
1547
+ N("width", e === "full" ? "full" : Number(e));
1262
1548
  }
1263
1549
  function te(e) {
1264
- P("height", e === "custom" ? Tr : void 0);
1550
+ N("height", e === "custom" ? Vr : void 0);
1265
1551
  }
1266
- function ne(e) {
1552
+ function re(e) {
1267
1553
  let t = Number(e);
1268
- !Number.isFinite(t) || t <= 0 || P("height", t);
1554
+ !Number.isFinite(t) || t <= 0 || N("height", t);
1269
1555
  }
1270
- function re(e) {
1271
- !Number.isFinite(e) || e < 0 || P("borderRadius", e > 0 ? e : void 0);
1556
+ function I(e) {
1557
+ N("borderRadius", ee(e) === null ? void 0 : e);
1272
1558
  }
1273
1559
  function ie(e) {
1274
1560
  let t = Number(e);
1275
- !Number.isFinite(t) || t <= 0 || P("width", t);
1561
+ !Number.isFinite(t) || t <= 0 || N("width", t);
1276
1562
  }
1277
1563
  async function ae() {
1278
1564
  let e = await s?.({ accept: ["images"] });
1279
- f.alive && e && (P("src", e.url), e.alt && (P("alt", e.alt), E.value = !0), T.value = !0, D());
1565
+ f.alive && e && (N("src", e.url), e.alt && (N("alt", e.alt), E.value = !0), T.value = !0, D());
1280
1566
  }
1281
- let oe = d(), L = d(!1), ue = S(() => k(i.block.src, u)), de = S(() => (l?.value ?? !!s) && !L.value && !ue.value);
1282
- async function fe(e) {
1567
+ let oe = d(), L = d(!1), ce = S(() => M(i.block.src, u)), le = S(() => (l?.value ?? !!s) && !L.value && !ce.value);
1568
+ async function pe(e) {
1283
1569
  if (s) {
1284
1570
  L.value = !0;
1285
1571
  try {
@@ -1288,37 +1574,37 @@ var Pn = {
1288
1574
  files: e
1289
1575
  });
1290
1576
  if (!f.alive) return;
1291
- t && (P("src", t.url), t.alt && (P("alt", t.alt), E.value = !0), T.value = !0, D());
1577
+ t && (N("src", t.url), t.alt && (N("alt", t.alt), E.value = !0), T.value = !0, D());
1292
1578
  } finally {
1293
1579
  f.alive && (L.value = !1);
1294
1580
  }
1295
1581
  }
1296
1582
  }
1297
- let { isOver: pe } = F({
1583
+ let { isOver: me } = F({
1298
1584
  target: oe,
1299
- enabled: de,
1300
- onFiles: fe
1585
+ enabled: le,
1586
+ onFiles: pe
1301
1587
  });
1302
1588
  return (n, i) => (t(), h(x, null, [
1303
- m("div", nr, [m("label", { class: y(p(W)) }, v(p(o).image.imageUrl), 3), m("div", {
1589
+ m("div", yr, [m("label", { class: y(p(U)) }, v(p(o).image.imageUrl), 3), m("div", {
1304
1590
  ref_key: "dropZoneRef",
1305
1591
  ref: oe,
1306
1592
  class: "tpl:relative"
1307
1593
  }, [
1308
- de.value && (p(pe) || L.value) ? (t(), h("div", rr, [L.value ? (t(), h(x, { key: 0 }, [g(p(xe), {
1594
+ le.value && (p(me) || L.value) ? (t(), h("div", br, [L.value ? (t(), h(x, { key: 0 }, [g(p(Ee), {
1309
1595
  class: "tpl-spinner",
1310
1596
  size: 18,
1311
1597
  "stroke-width": 2
1312
- }), _(" " + v(p(o).image.uploading), 1)], 64)) : (t(), h(x, { key: 1 }, [g(p(De), {
1598
+ }), _(" " + v(p(o).image.uploading), 1)], 64)) : (t(), h(x, { key: 1 }, [g(p(Ne), {
1313
1599
  size: 18,
1314
1600
  "stroke-width": 1.5
1315
1601
  }), _(" " + v(p(o).image.dropToUpload), 1)], 64))])) : C("", !0),
1316
- g(Y, {
1602
+ g(J, {
1317
1603
  "model-value": e.block.src,
1318
1604
  type: "url",
1319
1605
  placeholder: p(o).image.imageUrlPlaceholder,
1320
1606
  pulse: T.value,
1321
- "onUpdate:modelValue": i[0] ||= (e) => P("src", e)
1607
+ "onUpdate:modelValue": i[0] ||= (e) => N("src", e)
1322
1608
  }, null, 8, [
1323
1609
  "model-value",
1324
1610
  "placeholder",
@@ -1333,90 +1619,94 @@ var Pn = {
1333
1619
  "background-color": "var(--tpl-bg)"
1334
1620
  },
1335
1621
  onClick: ae
1336
- }, [g(p(N), {
1622
+ }, [g(p(ne), {
1337
1623
  size: 14,
1338
1624
  "stroke-width": 1.5
1339
1625
  }), _(" " + v(p(o).image.browseMedia), 1)])) : C("", !0)
1340
1626
  ], 512)]),
1341
- p(k)(e.block.src, p(u)) ? (t(), h("div", ir, [m("label", { class: y(p(W)) }, [_(v(p(o).image.placeholderUrl) + " ", 1), m("span", ar, v(p(o).image.optional), 1)], 2), m("input", {
1627
+ p(M)(e.block.src, p(u)) ? (t(), h("div", xr, [m("label", { class: y(p(U)) }, [_(v(p(o).image.placeholderUrl) + " ", 1), m("span", Sr, v(p(o).image.optional), 1)], 2), m("input", {
1342
1628
  type: "url",
1343
- class: y(p(q)),
1629
+ class: y(p(K)),
1344
1630
  value: e.block.placeholderUrl || "",
1345
1631
  placeholder: p(o).image.placeholderUrlPlaceholder,
1346
1632
  title: p(o).image.placeholderUrlTooltip,
1347
- onInput: i[1] ||= (e) => P("placeholderUrl", e.target.value)
1348
- }, null, 42, or)])) : C("", !0),
1349
- m("div", sr, [
1350
- m("label", { class: y(p(W)) }, v(p(o).image.altText), 3),
1351
- g(Y, {
1633
+ onInput: i[1] ||= (e) => N("placeholderUrl", e.target.value)
1634
+ }, null, 42, Cr)])) : C("", !0),
1635
+ m("div", wr, [
1636
+ m("label", { class: y(p(U)) }, v(p(o).image.altText), 3),
1637
+ g(J, {
1352
1638
  "model-value": e.block.alt,
1353
1639
  type: "text",
1354
1640
  placeholder: p(o).image.altTextPlaceholder,
1355
1641
  pulse: E.value,
1356
1642
  disabled: e.block.decorative === !0,
1357
- "onUpdate:modelValue": i[2] ||= (e) => P("alt", e)
1643
+ "onUpdate:modelValue": i[2] ||= (e) => N("alt", e)
1358
1644
  }, null, 8, [
1359
1645
  "model-value",
1360
1646
  "placeholder",
1361
1647
  "pulse",
1362
1648
  "disabled"
1363
1649
  ]),
1364
- g(J, {
1650
+ g(q, {
1365
1651
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
1366
1652
  "model-value": e.block.decorative === !0,
1367
1653
  label: p(o).image.decorative,
1368
- "onUpdate:modelValue": i[3] ||= (e) => P("decorative", e)
1654
+ "onUpdate:modelValue": i[3] ||= (e) => N("decorative", e)
1369
1655
  }, {
1370
- default: r(() => [m("span", null, [_(v(p(o).image.decorative) + " ", 1), m("span", cr, v(p(o).image.decorativeHint), 1)])]),
1656
+ default: r(() => [m("span", null, [_(v(p(o).image.decorative) + " ", 1), m("span", Tr, v(p(o).image.decorativeHint), 1)])]),
1371
1657
  _: 1
1372
1658
  }, 8, ["model-value", "label"])
1373
1659
  ]),
1374
- m("div", lr, [
1375
- m("label", { class: y(p(W)) }, v(p(o).image.width), 3),
1660
+ m("div", Er, [
1661
+ m("label", { class: y(p(U)) }, v(p(o).image.width), 3),
1376
1662
  m("select", {
1377
- class: y(p(q)),
1378
- value: A.value,
1379
- onChange: i[4] ||= (e) => ee(e.target.value)
1663
+ class: y(p(K)),
1664
+ value: k.value,
1665
+ onChange: i[4] ||= (e) => P(e.target.value)
1380
1666
  }, [
1381
- m("option", dr, v(p(o).image.fullWidth), 1),
1382
- i[11] ||= m("option", { value: "300" }, "300px", -1),
1383
- i[12] ||= m("option", { value: "400" }, "400px", -1),
1384
- i[13] ||= m("option", { value: "500" }, "500px", -1),
1385
- m("option", fr, v(p(o).image.widthCustom), 1)
1386
- ], 42, ur),
1387
- A.value === "custom" ? (t(), h("div", pr, [m("input", {
1667
+ m("option", Or, v(p(o).image.fullWidth), 1),
1668
+ i[12] ||= m("option", { value: "300" }, "300px", -1),
1669
+ i[13] ||= m("option", { value: "400" }, "400px", -1),
1670
+ i[14] ||= m("option", { value: "500" }, "500px", -1),
1671
+ m("option", kr, v(p(o).image.widthCustom), 1)
1672
+ ], 42, Dr),
1673
+ k.value === "custom" ? (t(), h("div", Ar, [m("input", {
1388
1674
  type: "number",
1389
- class: y(p(K)),
1390
- value: typeof e.block.width == "number" ? e.block.width : wr,
1675
+ class: y(p(G)),
1676
+ value: typeof e.block.width == "number" ? e.block.width : Br,
1391
1677
  min: "20",
1392
1678
  onInput: i[5] ||= (e) => ie(e.target.value)
1393
- }, null, 42, mr), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1679
+ }, null, 42, jr), m("span", { class: y(p(W)) }, "px", 2)])) : C("", !0)
1394
1680
  ]),
1395
- m("div", hr, [
1396
- m("label", { class: y(p(W)) }, v(p(o).image.height), 3),
1681
+ m("div", Mr, [
1682
+ m("label", { class: y(p(U)) }, v(p(o).image.height), 3),
1397
1683
  m("select", {
1398
- class: y(p(q)),
1684
+ class: y(p(K)),
1399
1685
  "data-testid": "image-height-mode",
1400
- value: M.value,
1686
+ value: A.value,
1401
1687
  onChange: i[6] ||= (e) => te(e.target.value)
1402
- }, [m("option", _r, v(p(o).image.heightAuto), 1), m("option", vr, v(p(o).image.heightCustom), 1)], 42, gr),
1403
- M.value === "custom" ? (t(), h("div", yr, [m("input", {
1688
+ }, [m("option", Pr, v(p(o).image.heightAuto), 1), m("option", Fr, v(p(o).image.heightCustom), 1)], 42, Nr),
1689
+ A.value === "custom" ? (t(), h("div", Ir, [m("input", {
1404
1690
  type: "number",
1405
1691
  "data-testid": "image-height-input",
1406
- class: y(p(K)),
1692
+ class: y(p(G)),
1407
1693
  value: e.block.height,
1408
1694
  min: "20",
1409
- onInput: i[7] ||= (e) => ne(e.target.value)
1410
- }, null, 42, br), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1695
+ onInput: i[7] ||= (e) => re(e.target.value)
1696
+ }, null, 42, Lr), m("span", { class: y(p(W)) }, "px", 2)])) : C("", !0)
1411
1697
  ]),
1412
- m("div", xr, [m("label", { class: y(p(W)) }, v(p(o).image.borderRadius), 3), g(tr, {
1413
- "model-value": e.block.borderRadius ?? 0,
1414
- min: 0,
1415
- suffix: "px",
1416
- testid: "image-border-radius-input",
1417
- "onUpdate:modelValue": re
1418
- }, null, 8, ["model-value"])]),
1419
- m("div", Sr, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
1698
+ g(ut, {
1699
+ "model-value": e.block.borderRadius,
1700
+ label: p(o).image.borderRadius,
1701
+ "testid-prefix": "image",
1702
+ "onUpdate:modelValue": I
1703
+ }, null, 8, ["model-value", "label"]),
1704
+ g(it, {
1705
+ "model-value": e.block.border,
1706
+ "testid-prefix": "image",
1707
+ "onUpdate:modelValue": i[8] ||= (e) => N("border", e)
1708
+ }, null, 8, ["model-value"]),
1709
+ m("div", Rr, [m("label", { class: y(p(U)) }, v(p(o).title.align), 3), g(Y, {
1420
1710
  options: [
1421
1711
  {
1422
1712
  value: "left",
@@ -1432,40 +1722,40 @@ var Pn = {
1432
1722
  }
1433
1723
  ],
1434
1724
  "model-value": e.block.align,
1435
- "onUpdate:modelValue": i[8] ||= (e) => P("align", e)
1725
+ "onUpdate:modelValue": i[9] ||= (e) => N("align", e)
1436
1726
  }, null, 8, ["options", "model-value"])]),
1437
- m("div", Cr, [
1438
- m("label", { class: y(p(W)) }, v(p(o).image.linkUrl), 3),
1439
- g(Y, {
1727
+ m("div", zr, [
1728
+ m("label", { class: y(p(U)) }, v(p(o).image.linkUrl), 3),
1729
+ g(J, {
1440
1730
  "model-value": e.block.linkUrl || "",
1441
1731
  type: "url",
1442
1732
  placeholder: p(o).image.imageUrlPlaceholder,
1443
- "onUpdate:modelValue": i[9] ||= (e) => P("linkUrl", e)
1733
+ "onUpdate:modelValue": i[10] ||= (e) => N("linkUrl", e)
1444
1734
  }, null, 8, ["model-value", "placeholder"]),
1445
- e.block.linkUrl ? (t(), b(J, {
1735
+ e.block.linkUrl ? (t(), b(q, {
1446
1736
  key: 0,
1447
1737
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
1448
1738
  "model-value": e.block.linkOpenInNewTab ?? !1,
1449
1739
  label: p(o).image.openInNewTab,
1450
- "onUpdate:modelValue": i[10] ||= (e) => P("linkOpenInNewTab", e)
1740
+ "onUpdate:modelValue": i[11] ||= (e) => N("linkOpenInNewTab", e)
1451
1741
  }, null, 8, ["model-value", "label"])) : C("", !0)
1452
1742
  ])
1453
1743
  ], 64));
1454
1744
  }
1455
- }), Dr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ w({
1745
+ }), Ur = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ w({
1456
1746
  __name: "FieldRow",
1457
1747
  props: { label: {} },
1458
1748
  setup(e) {
1459
- return (n, r) => (t(), h("div", Dr, [e.label ? (t(), h("label", {
1749
+ return (n, r) => (t(), h("div", Ur, [e.label ? (t(), h("label", {
1460
1750
  key: 0,
1461
- class: y(p(W))
1751
+ class: y(p(U))
1462
1752
  }, v(e.label), 3)) : C("", !0), o(n.$slots, "default")]));
1463
1753
  }
1464
- }), Or = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, kr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ar = [
1754
+ }), Wr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Gr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Kr = [
1465
1755
  "value",
1466
1756
  "placeholder",
1467
1757
  "onInput"
1468
- ], jr = ["title", "onClick"], Mr = { 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)]" }, Nr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Pr = ["value"], Fr = { value: "" }, Ir = ["value"], Lr = ["value"], Rr = /* @__PURE__ */ w({
1758
+ ], qr = ["title", "onClick"], Jr = { 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)]" }, Yr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Xr = ["value"], Zr = { value: "" }, Qr = ["value"], $r = ["value"], ei = /* @__PURE__ */ w({
1469
1759
  __name: "MenuToolbar",
1470
1760
  props: {
1471
1761
  block: {},
@@ -1490,12 +1780,12 @@ var Pn = {
1490
1780
  {
1491
1781
  value: "left",
1492
1782
  label: s.title.alignLeft,
1493
- icon: Te
1783
+ icon: je
1494
1784
  },
1495
1785
  {
1496
1786
  value: "center",
1497
1787
  label: s.title.alignCenter,
1498
- icon: U
1788
+ icon: Ae
1499
1789
  },
1500
1790
  {
1501
1791
  value: "right",
@@ -1529,25 +1819,25 @@ var Pn = {
1529
1819
  }
1530
1820
  return (n, i) => (t(), h(x, null, [
1531
1821
  g($, { label: p(s).menu.items }, {
1532
- default: r(() => [m("div", Or, [(t(!0), h(x, null, a(e.block.items, (n) => (t(), h("div", {
1822
+ default: r(() => [m("div", Wr, [(t(!0), h(x, null, a(e.block.items, (n) => (t(), h("div", {
1533
1823
  key: n.id,
1534
1824
  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"
1535
1825
  }, [
1536
- m("div", kr, [m("input", {
1826
+ m("div", Gr, [m("input", {
1537
1827
  type: "text",
1538
- class: y([p(q), "tpl:flex-1"]),
1828
+ class: y([p(K), "tpl:flex-1"]),
1539
1829
  value: n.text,
1540
1830
  placeholder: p(s).menu.text,
1541
1831
  onInput: (e) => f(n.id, "text", e.target.value)
1542
- }, null, 42, Ar), m("button", {
1543
- class: y(p(Me)),
1832
+ }, null, 42, Kr), m("button", {
1833
+ class: y(p(Re)),
1544
1834
  title: p(s).menu.removeItem,
1545
1835
  onClick: (e) => C(n.id)
1546
- }, [g(p(Oe), {
1836
+ }, [g(p(Pe), {
1547
1837
  size: 14,
1548
1838
  "stroke-width": 2
1549
- })], 10, jr)]),
1550
- g(Y, {
1839
+ })], 10, qr)]),
1840
+ g(J, {
1551
1841
  "model-value": n.url,
1552
1842
  type: "url",
1553
1843
  placeholder: p(s).menu.urlPlaceholder,
@@ -1557,7 +1847,7 @@ var Pn = {
1557
1847
  "placeholder",
1558
1848
  "onUpdate:modelValue"
1559
1849
  ]),
1560
- m("div", Mr, [(t(!0), h(x, null, a(c.value, (e) => (t(), b(J, {
1850
+ m("div", Jr, [(t(!0), h(x, null, a(c.value, (e) => (t(), b(q, {
1561
1851
  key: e.key,
1562
1852
  "model-value": n[e.key],
1563
1853
  label: e.label,
@@ -1567,13 +1857,13 @@ var Pn = {
1567
1857
  "label",
1568
1858
  "onUpdate:modelValue"
1569
1859
  ]))), 128))]),
1570
- m("div", Nr, [m("label", { class: y([p(W), "tpl:!mb-0"]) }, v(p(s).menu.color), 3), g(z, {
1860
+ m("div", Yr, [m("label", { class: y([p(U), "tpl:!mb-0"]) }, v(p(s).menu.color), 3), g(z, {
1571
1861
  "swatch-only": "",
1572
1862
  "model-value": n.color || e.block.linkColor || e.block.color || "",
1573
1863
  "onUpdate:modelValue": (e) => f(n.id, "color", e)
1574
1864
  }, null, 8, ["model-value", "onUpdate:modelValue"])])
1575
1865
  ]))), 128)), m("button", {
1576
- class: y(p(Ne)),
1866
+ class: y(p(ze)),
1577
1867
  onClick: d
1578
1868
  }, [g(p(V), {
1579
1869
  size: 14,
@@ -1583,17 +1873,17 @@ var Pn = {
1583
1873
  }, 8, ["label"]),
1584
1874
  g($, { label: p(s).menu.fontFamily }, {
1585
1875
  default: r(() => [m("select", {
1586
- class: y(p(q)),
1876
+ class: y(p(K)),
1587
1877
  value: e.block.fontFamily || "",
1588
1878
  onChange: i[0] ||= (e) => u("fontFamily", e.target.value || void 0)
1589
- }, [m("option", Fr, v(p(s).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
1879
+ }, [m("option", Zr, v(p(s).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
1590
1880
  key: e.value,
1591
1881
  value: e.value
1592
- }, v(e.label), 9, Ir))), 128))], 42, Pr)]),
1882
+ }, v(e.label), 9, Qr))), 128))], 42, Xr)]),
1593
1883
  _: 1
1594
1884
  }, 8, ["label"]),
1595
1885
  g($, { label: p(s).menu.fontSize }, {
1596
- default: r(() => [g(tr, {
1886
+ default: r(() => [g(X, {
1597
1887
  "model-value": e.block.fontSize,
1598
1888
  min: 8,
1599
1889
  max: 48,
@@ -1617,7 +1907,7 @@ var Pn = {
1617
1907
  _: 1
1618
1908
  }, 8, ["label"]),
1619
1909
  g($, { label: p(s).menu.textAlign }, {
1620
- default: r(() => [g(X, {
1910
+ default: r(() => [g(Y, {
1621
1911
  options: l.value,
1622
1912
  "model-value": e.block.textAlign,
1623
1913
  "onUpdate:modelValue": i[4] ||= (e) => u("textAlign", e)
@@ -1627,10 +1917,10 @@ var Pn = {
1627
1917
  g($, { label: p(s).menu.separator }, {
1628
1918
  default: r(() => [m("input", {
1629
1919
  type: "text",
1630
- class: y(p(q)),
1920
+ class: y(p(K)),
1631
1921
  value: e.block.separator,
1632
1922
  onInput: i[5] ||= (e) => u("separator", e.target.value)
1633
- }, null, 42, Lr)]),
1923
+ }, null, 42, $r)]),
1634
1924
  _: 1
1635
1925
  }, 8, ["label"]),
1636
1926
  g($, { label: p(s).menu.separatorColor }, {
@@ -1641,7 +1931,7 @@ var Pn = {
1641
1931
  _: 1
1642
1932
  }, 8, ["label"]),
1643
1933
  g($, { label: p(s).menu.spacing }, {
1644
- default: r(() => [g(tr, {
1934
+ default: r(() => [g(X, {
1645
1935
  "model-value": e.block.spacing,
1646
1936
  min: 0,
1647
1937
  max: 50,
@@ -1652,32 +1942,32 @@ var Pn = {
1652
1942
  }, 8, ["label"])
1653
1943
  ], 64));
1654
1944
  }
1655
- }), zr = {
1945
+ }), ti = {
1656
1946
  class: "tpl:mb-3.5",
1657
1947
  "data-testid": "paragraph-spacing"
1658
- }, Br = { class: "tpl:flex tpl:items-stretch" }, Vr = ["value"], Hr = /* @__PURE__ */ w({
1948
+ }, ni = { class: "tpl:flex tpl:items-stretch" }, ri = ["value"], ii = /* @__PURE__ */ w({
1659
1949
  __name: "ParagraphToolbar",
1660
1950
  props: { block: {} },
1661
1951
  emits: ["update"],
1662
1952
  setup(e, { emit: n }) {
1663
1953
  let r = n, { t: i } = R();
1664
- return (n, a) => (t(), h("div", zr, [m("label", { class: y(p(W)) }, v(p(i).paragraph.paragraphSpacing), 3), m("div", Br, [m("input", {
1954
+ return (n, a) => (t(), h("div", ti, [m("label", { class: y(p(U)) }, v(p(i).paragraph.paragraphSpacing), 3), m("div", ni, [m("input", {
1665
1955
  type: "number",
1666
- class: y(p(K)),
1667
- value: e.block.paragraphSpacing ?? p(A).paragraphGap,
1956
+ class: y(p(G)),
1957
+ value: e.block.paragraphSpacing ?? p(P).paragraphGap,
1668
1958
  min: "0",
1669
1959
  max: "64",
1670
1960
  onInput: a[0] ||= (e) => r("update", { paragraphSpacing: Number(e.target.value) })
1671
- }, null, 42, Vr), m("span", { class: y(p(G)) }, "px", 2)])]));
1961
+ }, null, 42, ri), m("span", { class: y(p(W)) }, "px", 2)])]));
1672
1962
  }
1673
1963
  });
1674
1964
  //#endregion
1675
1965
  //#region src/utils/rebalanceColumnChildren.ts
1676
- function Ur(e) {
1966
+ function ai(e) {
1677
1967
  return e === "1" ? 1 : e === "3" ? 3 : 2;
1678
1968
  }
1679
- function Wr(e, t) {
1680
- let n = Ur(t);
1969
+ function oi(e, t) {
1970
+ let n = ai(t);
1681
1971
  if (e.length === n) return e;
1682
1972
  if (e.length < n) {
1683
1973
  let t = Array.from({ length: n - e.length }, () => []);
@@ -1688,24 +1978,24 @@ function Wr(e, t) {
1688
1978
  }
1689
1979
  //#endregion
1690
1980
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
1691
- var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1981
+ var si = { class: "tpl:mb-3.5" }, ci = ["value"], li = ["value"], ui = {
1692
1982
  key: 0,
1693
1983
  class: "tpl:mb-3.5"
1694
- }, Yr = { class: "tpl:mb-3.5" }, Xr = { class: "tpl:flex tpl:items-stretch" }, Zr = ["value"], Qr = {
1984
+ }, di = {
1695
1985
  key: 1,
1696
1986
  class: "tpl:mb-3.5"
1697
- }, $r = {
1987
+ }, fi = {
1698
1988
  key: 0,
1699
1989
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1700
- }, ei = {
1990
+ }, pi = {
1701
1991
  key: 1,
1702
1992
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
1703
- }, ti = { class: "tpl:flex tpl:items-stretch" }, ni = ["value"], ri = /* @__PURE__ */ w({
1993
+ }, mi = /* @__PURE__ */ w({
1704
1994
  __name: "SectionToolbar",
1705
1995
  props: { block: {} },
1706
1996
  emits: ["update"],
1707
1997
  setup(e, { emit: n }) {
1708
- let r = e, i = n, { t: o } = R(), s = c(ae, void 0), l = c(oe, void 0), u = s !== void 0 && D(s), d = S(() => l !== !1 || !!r.block.wrapper), f = S(() => u && !r.block.wrapper), _ = S(() => u && d.value), b = S(() => [
1998
+ let r = e, i = n, { t: o } = R(), s = c(ce, void 0), l = c(le, void 0), u = s !== void 0 && D(s), d = S(() => l !== !1 || !!r.block.wrapper), f = S(() => u && !r.block.wrapper), _ = S(() => u && d.value), b = S(() => [
1709
1999
  {
1710
2000
  value: "1",
1711
2001
  label: o.section.column1
@@ -1728,7 +2018,7 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1728
2018
  }
1729
2019
  ]);
1730
2020
  function w(e) {
1731
- let t = e.target.value, n = Wr(r.block.children, t);
2021
+ let t = e.target.value, n = oi(r.block.children, t);
1732
2022
  i("update", {
1733
2023
  columns: t,
1734
2024
  children: n
@@ -1738,8 +2028,7 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1738
2028
  i("update", { stackOnMobile: e });
1739
2029
  }
1740
2030
  function E(e) {
1741
- let t = Number(e.target.value);
1742
- i("update", { borderRadius: t });
2031
+ i("update", { borderRadius: e });
1743
2032
  }
1744
2033
  function O(e) {
1745
2034
  i("update", { wrapper: e ? { padding: {
@@ -1759,50 +2048,55 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1759
2048
  k({ padding: e });
1760
2049
  }
1761
2050
  function j(e) {
1762
- k({ borderRadius: Number(e.target.value) });
2051
+ k({ borderRadius: e });
1763
2052
  }
1764
2053
  return (n, r) => (t(), h(x, null, [
1765
- m("div", Gr, [m("label", { class: y(p(W)) }, v(p(o).section.columns), 3), m("select", {
1766
- class: y(p(q)),
2054
+ m("div", si, [m("label", { class: y(p(U)) }, v(p(o).section.columns), 3), m("select", {
2055
+ class: y(p(K)),
1767
2056
  value: e.block.columns,
1768
2057
  onChange: w
1769
2058
  }, [(t(!0), h(x, null, a(b.value, (e) => (t(), h("option", {
1770
2059
  key: e.value,
1771
2060
  value: e.value
1772
- }, v(e.label), 9, qr))), 128))], 42, Kr)]),
1773
- e.block.columns === "1" ? C("", !0) : (t(), h("div", Jr, [g(J, {
2061
+ }, v(e.label), 9, li))), 128))], 42, ci)]),
2062
+ e.block.columns === "1" ? C("", !0) : (t(), h("div", ui, [g(q, {
1774
2063
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1775
2064
  "model-value": e.block.stackOnMobile !== !1,
1776
2065
  label: p(o).section.stackOnMobile,
1777
2066
  "onUpdate:modelValue": r[0] ||= (e) => T(e)
1778
2067
  }, null, 8, ["model-value", "label"])])),
1779
- m("div", Yr, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", Xr, [m("input", {
1780
- type: "number",
1781
- class: y(p(K)),
1782
- value: e.block.borderRadius ?? 0,
1783
- min: "0",
1784
- max: "50",
1785
- onInput: E
1786
- }, null, 42, Zr), m("span", { class: y(p(G)) }, "px", 2)])]),
1787
- d.value ? (t(), h("div", Qr, [
1788
- g(J, {
2068
+ g(ut, {
2069
+ "model-value": e.block.borderRadius,
2070
+ label: p(o).section.borderRadius,
2071
+ max: 50,
2072
+ "testid-prefix": "section",
2073
+ "onUpdate:modelValue": E
2074
+ }, null, 8, ["model-value", "label"]),
2075
+ g(it, {
2076
+ "model-value": e.block.border,
2077
+ "testid-prefix": "section",
2078
+ "onUpdate:modelValue": r[1] ||= (e) => i("update", { border: e })
2079
+ }, null, 8, ["model-value"]),
2080
+ d.value ? (t(), h("div", di, [
2081
+ g(q, {
1789
2082
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1790
2083
  "model-value": !!e.block.wrapper,
1791
2084
  label: p(o).section.wrapperEnable,
1792
2085
  disabled: f.value,
1793
- "onUpdate:modelValue": r[1] ||= (e) => O(e)
2086
+ "onUpdate:modelValue": r[2] ||= (e) => O(e)
1794
2087
  }, null, 8, [
1795
2088
  "model-value",
1796
2089
  "label",
1797
2090
  "disabled"
1798
2091
  ]),
1799
- _.value ? (t(), h("p", $r, v(p(o).section.wrapperLayoutConflict), 1)) : C("", !0),
1800
- e.block.wrapper ? (t(), h("div", ei, [
1801
- m("div", null, [m("label", { class: y(p(W)) }, v(p(o).blockSettings.color), 3), g(z, {
2092
+ _.value ? (t(), h("p", fi, v(p(o).section.wrapperLayoutConflict), 1)) : C("", !0),
2093
+ e.block.wrapper ? (t(), h("div", pi, [
2094
+ m("div", null, [m("label", { class: y(p(U)) }, v(p(o).blockSettings.color), 3), g(z, {
1802
2095
  "model-value": e.block.wrapper.backgroundColor ?? "",
1803
- "onUpdate:modelValue": r[2] ||= (e) => k({ backgroundColor: e })
2096
+ "allow-transparent": "",
2097
+ "onUpdate:modelValue": r[3] ||= (e) => k({ backgroundColor: e })
1804
2098
  }, null, 8, ["model-value"])]),
1805
- g(Pt, {
2099
+ g(en, {
1806
2100
  label: p(o).blockSettings.padding,
1807
2101
  "model-value": e.block.wrapper.padding ?? {
1808
2102
  top: 0,
@@ -1812,19 +2106,18 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1812
2106
  },
1813
2107
  "onUpdate:modelValue": A
1814
2108
  }, null, 8, ["label", "model-value"]),
1815
- m("div", null, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", ti, [m("input", {
1816
- type: "number",
1817
- class: y(p(K)),
1818
- value: e.block.wrapper.borderRadius ?? 0,
1819
- min: "0",
1820
- max: "50",
1821
- onInput: j
1822
- }, null, 42, ni), m("span", { class: y(p(G)) }, "px", 2)])])
2109
+ g(ut, {
2110
+ "model-value": e.block.wrapper.borderRadius,
2111
+ label: p(o).section.borderRadius,
2112
+ max: 50,
2113
+ "testid-prefix": "section-wrapper",
2114
+ "onUpdate:modelValue": j
2115
+ }, null, 8, ["model-value", "label"])
1823
2116
  ])) : C("", !0)
1824
2117
  ])) : C("", !0)
1825
2118
  ], 64));
1826
2119
  }
1827
- }), ii = { class: "tpl:mb-3.5" }, ai = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, oi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, si = ["value", "onChange"], ci = ["value"], li = ["title", "onClick"], ui = { class: "tpl:mb-3.5" }, di = ["value"], fi = { value: "solid" }, pi = { value: "outlined" }, mi = { value: "rounded" }, hi = { value: "square" }, gi = { value: "circle" }, _i = { class: "tpl:mb-3.5" }, vi = { class: "tpl:mb-3.5" }, yi = { class: "tpl:flex tpl:items-stretch" }, bi = ["value"], xi = { class: "tpl:mb-3.5" }, Si = /* @__PURE__ */ w({
2120
+ }), hi = { class: "tpl:mb-3.5" }, gi = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, _i = { class: "tpl:flex tpl:items-center tpl:gap-2" }, vi = ["value", "onChange"], yi = ["value"], bi = ["title", "onClick"], xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = { value: "solid" }, wi = { value: "outlined" }, Ti = { value: "rounded" }, Ei = { value: "square" }, Di = { value: "circle" }, Oi = { class: "tpl:mb-3.5" }, ki = { class: "tpl:mb-3.5" }, Ai = { class: "tpl:flex tpl:items-stretch" }, ji = ["value"], Mi = { class: "tpl:mb-3.5" }, Ni = /* @__PURE__ */ w({
1828
2121
  __name: "SocialToolbar",
1829
2122
  props: { block: {} },
1830
2123
  emits: ["update"],
@@ -1852,25 +2145,25 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1852
2145
  i("update", { icons: r.block.icons.filter((t) => t.id !== e) });
1853
2146
  }
1854
2147
  return (n, r) => (t(), h(x, null, [
1855
- m("div", ii, [m("label", { class: y(p(W)) }, v(p(o).social.icons), 3), m("div", ai, [(t(!0), h(x, null, a(e.block.icons, (e) => (t(), h("div", {
2148
+ m("div", hi, [m("label", { class: y(p(U)) }, v(p(o).social.icons), 3), m("div", gi, [(t(!0), h(x, null, a(e.block.icons, (e) => (t(), h("div", {
1856
2149
  key: e.id,
1857
2150
  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"
1858
- }, [m("div", oi, [m("select", {
2151
+ }, [m("div", _i, [m("select", {
1859
2152
  "data-testid": "social-platform-select",
1860
- class: y([p(q), "tpl:flex-1"]),
2153
+ class: y([p(K), "tpl:flex-1"]),
1861
2154
  value: e.platform,
1862
2155
  onChange: (t) => l(e.id, "platform", t.target.value)
1863
- }, [(t(!0), h(x, null, a(p(te), (e) => (t(), h("option", {
2156
+ }, [(t(!0), h(x, null, a(p(ie), (e) => (t(), h("option", {
1864
2157
  key: e,
1865
2158
  value: e
1866
- }, v(p(o).social.platforms[e]), 9, ci))), 128))], 42, si), m("button", {
1867
- class: y(p(Me)),
2159
+ }, v(p(o).social.platforms[e]), 9, yi))), 128))], 42, vi), m("button", {
2160
+ class: y(p(Re)),
1868
2161
  title: p(o).social.removeIcon,
1869
2162
  onClick: (t) => u(e.id)
1870
- }, [g(p(Oe), {
2163
+ }, [g(p(Pe), {
1871
2164
  size: 14,
1872
2165
  "stroke-width": 2
1873
- })], 10, li)]), g(Y, {
2166
+ })], 10, bi)]), g(J, {
1874
2167
  "model-value": e.url,
1875
2168
  type: "url",
1876
2169
  placeholder: p(o).social.urlPlaceholder,
@@ -1880,24 +2173,24 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1880
2173
  "placeholder",
1881
2174
  "onUpdate:modelValue"
1882
2175
  ])]))), 128)), m("button", {
1883
- class: y(p(Ne)),
2176
+ class: y(p(ze)),
1884
2177
  onClick: c
1885
2178
  }, [g(p(V), {
1886
2179
  size: 14,
1887
2180
  "stroke-width": 2
1888
2181
  }), _(" " + v(p(o).social.addIcon), 1)], 2)])]),
1889
- m("div", ui, [m("label", { class: y(p(W)) }, v(p(o).social.style), 3), m("select", {
1890
- class: y(p(q)),
2182
+ m("div", xi, [m("label", { class: y(p(U)) }, v(p(o).social.style), 3), m("select", {
2183
+ class: y(p(K)),
1891
2184
  value: e.block.iconStyle,
1892
2185
  onChange: r[0] ||= (e) => s("iconStyle", e.target.value)
1893
2186
  }, [
1894
- m("option", fi, v(p(o).social.styleSolid), 1),
1895
- m("option", pi, v(p(o).social.styleOutlined), 1),
1896
- m("option", mi, v(p(o).social.styleRounded), 1),
1897
- m("option", hi, v(p(o).social.styleSquare), 1),
1898
- m("option", gi, v(p(o).social.styleCircle), 1)
1899
- ], 42, di)]),
1900
- m("div", _i, [m("label", { class: y(p(W)) }, v(p(o).social.size), 3), g(X, {
2187
+ m("option", Ci, v(p(o).social.styleSolid), 1),
2188
+ m("option", wi, v(p(o).social.styleOutlined), 1),
2189
+ m("option", Ti, v(p(o).social.styleRounded), 1),
2190
+ m("option", Ei, v(p(o).social.styleSquare), 1),
2191
+ m("option", Di, v(p(o).social.styleCircle), 1)
2192
+ ], 42, Si)]),
2193
+ m("div", Oi, [m("label", { class: y(p(U)) }, v(p(o).social.size), 3), g(Y, {
1901
2194
  options: [
1902
2195
  {
1903
2196
  value: "small",
@@ -1915,25 +2208,25 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1915
2208
  "model-value": e.block.iconSize,
1916
2209
  "onUpdate:modelValue": r[1] ||= (e) => s("iconSize", e)
1917
2210
  }, null, 8, ["options", "model-value"])]),
1918
- m("div", vi, [m("label", { class: y(p(W)) }, v(p(o).social.spacing), 3), m("div", yi, [m("input", {
2211
+ m("div", ki, [m("label", { class: y(p(U)) }, v(p(o).social.spacing), 3), m("div", Ai, [m("input", {
1919
2212
  type: "number",
1920
- class: y(p(K)),
2213
+ class: y(p(G)),
1921
2214
  value: e.block.spacing,
1922
2215
  min: "0",
1923
2216
  max: "50",
1924
2217
  onInput: r[2] ||= (e) => s("spacing", Number(e.target.value))
1925
- }, null, 42, bi), m("span", { class: y(p(G)) }, "px", 2)])]),
1926
- m("div", xi, [m("label", { class: y(p(W)) }, v(p(o).social.align), 3), g(X, {
2218
+ }, null, 42, ji), m("span", { class: y(p(W)) }, "px", 2)])]),
2219
+ m("div", Mi, [m("label", { class: y(p(U)) }, v(p(o).social.align), 3), g(Y, {
1927
2220
  options: [
1928
2221
  {
1929
2222
  value: "left",
1930
2223
  label: p(o).title.alignLeft,
1931
- icon: p(Te)
2224
+ icon: p(je)
1932
2225
  },
1933
2226
  {
1934
2227
  value: "center",
1935
2228
  label: p(o).title.alignCenter,
1936
- icon: p(U)
2229
+ icon: p(Ae)
1937
2230
  },
1938
2231
  {
1939
2232
  value: "right",
@@ -1946,22 +2239,22 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1946
2239
  }, null, 8, ["options", "model-value"])])
1947
2240
  ], 64));
1948
2241
  }
1949
- }), Ci = { class: "tpl:mb-3.5" }, wi = { class: "tpl:flex tpl:items-stretch" }, Ti = ["value"], Ei = ["value"], Di = /* @__PURE__ */ w({
2242
+ }), Pi = { class: "tpl:mb-3.5" }, Fi = { class: "tpl:flex tpl:items-stretch" }, Ii = ["value"], Li = ["value"], Ri = /* @__PURE__ */ w({
1950
2243
  __name: "SpacerToolbar",
1951
2244
  props: { block: {} },
1952
2245
  emits: ["update"],
1953
2246
  setup(e, { emit: n }) {
1954
2247
  let r = n, { t: i } = R();
1955
- return (n, a) => (t(), h("div", Ci, [
1956
- m("label", { class: y(p(W)) }, v(p(i).spacer.height), 3),
1957
- m("div", wi, [m("input", {
2248
+ return (n, a) => (t(), h("div", Pi, [
2249
+ m("label", { class: y(p(U)) }, v(p(i).spacer.height), 3),
2250
+ m("div", Fi, [m("input", {
1958
2251
  type: "number",
1959
- class: y(p(K)),
2252
+ class: y(p(G)),
1960
2253
  value: e.block.height,
1961
2254
  min: "10",
1962
2255
  max: "100",
1963
2256
  onInput: a[0] ||= (e) => r("update", { height: Number(e.target.value) })
1964
- }, null, 42, Ti), m("span", { class: y(p(G)) }, "px", 2)]),
2257
+ }, null, 42, Ii), m("span", { class: y(p(W)) }, "px", 2)]),
1965
2258
  m("input", {
1966
2259
  type: "range",
1967
2260
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -1969,13 +2262,13 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1969
2262
  min: "10",
1970
2263
  max: "100",
1971
2264
  onInput: a[1] ||= (e) => r("update", { height: Number(e.target.value) })
1972
- }, null, 40, Ei)
2265
+ }, null, 40, Li)
1973
2266
  ]));
1974
2267
  }
1975
- }), Oi = { class: "tpl:mb-3.5" }, ki = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ai = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ji = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Mi = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ni = ["disabled"], Pi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Fi = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ii = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Li = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ri = ["disabled"], zi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Bi = { class: "tpl:mb-3.5" }, Vi = {
2268
+ }), zi = { class: "tpl:mb-3.5" }, Bi = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Vi = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Hi = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ui = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Wi = ["disabled"], Gi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ki = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, qi = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ji = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Yi = ["disabled"], Xi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Zi = { class: "tpl:mb-3.5" }, Qi = {
1976
2269
  key: 0,
1977
2270
  class: "tpl:mb-3.5"
1978
- }, Hi = { class: "tpl:mb-3.5" }, Ui = { class: "tpl:mb-3.5" }, Wi = { class: "tpl:flex tpl:items-stretch" }, Gi = ["value"], Ki = { class: "tpl:mb-3.5" }, qi = { class: "tpl:flex tpl:items-stretch" }, Ji = ["value"], Yi = { class: "tpl:mb-3.5" }, Xi = ["value"], Zi = { value: "" }, Qi = ["value"], $i = { class: "tpl:mb-3.5" }, ea = { class: "tpl:flex tpl:items-stretch" }, ta = ["value"], na = { class: "tpl:mb-3.5" }, ra = { class: "tpl:mb-3.5" }, ia = /* @__PURE__ */ w({
2271
+ }, $i = { class: "tpl:mb-3.5" }, ea = { class: "tpl:mb-3.5" }, ta = { class: "tpl:flex tpl:items-stretch" }, na = ["value"], ra = { class: "tpl:mb-3.5" }, ia = { class: "tpl:flex tpl:items-stretch" }, aa = ["value"], oa = { class: "tpl:mb-3.5" }, sa = ["value"], ca = { value: "" }, la = ["value"], ua = { class: "tpl:mb-3.5" }, da = { class: "tpl:flex tpl:items-stretch" }, fa = ["value"], pa = { class: "tpl:mb-3.5" }, ma = { class: "tpl:mb-3.5" }, ha = /* @__PURE__ */ w({
1979
2272
  __name: "TableToolbar",
1980
2273
  props: {
1981
2274
  block: {},
@@ -2018,7 +2311,7 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2018
2311
  i("update", { rows: t });
2019
2312
  }
2020
2313
  return (n, r) => (t(), h(x, null, [
2021
- m("div", Oi, [m("label", { class: y(p(W)) }, v(p(o).table.dimensions), 3), m("div", ki, [m("div", Ai, [m("span", ji, v(p(o).table.rows), 1), m("div", Mi, [
2314
+ m("div", zi, [m("label", { class: y(p(U)) }, v(p(o).table.dimensions), 3), m("div", Bi, [m("div", Vi, [m("span", Hi, v(p(o).table.rows), 1), m("div", Ui, [
2022
2315
  m("button", {
2023
2316
  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",
2024
2317
  disabled: e.block.rows.length <= 1,
@@ -2026,8 +2319,8 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2026
2319
  }, [g(p(B), {
2027
2320
  size: 12,
2028
2321
  "stroke-width": 2
2029
- })], 8, Ni),
2030
- m("span", Pi, v(e.block.rows.length), 1),
2322
+ })], 8, Wi),
2323
+ m("span", Gi, v(e.block.rows.length), 1),
2031
2324
  m("button", {
2032
2325
  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)]",
2033
2326
  onClick: l
@@ -2035,7 +2328,7 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2035
2328
  size: 12,
2036
2329
  "stroke-width": 2
2037
2330
  })])
2038
- ])]), m("div", Fi, [m("span", Ii, v(p(o).table.columns), 1), m("div", Li, [
2331
+ ])]), m("div", Ki, [m("span", qi, v(p(o).table.columns), 1), m("div", Ji, [
2039
2332
  m("button", {
2040
2333
  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",
2041
2334
  disabled: s.value <= 1,
@@ -2043,8 +2336,8 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2043
2336
  }, [g(p(B), {
2044
2337
  size: 12,
2045
2338
  "stroke-width": 2
2046
- })], 8, Ri),
2047
- m("span", zi, v(s.value), 1),
2339
+ })], 8, Yi),
2340
+ m("span", Xi, v(s.value), 1),
2048
2341
  m("button", {
2049
2342
  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)]",
2050
2343
  onClick: d
@@ -2053,15 +2346,15 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2053
2346
  "stroke-width": 2
2054
2347
  })])
2055
2348
  ])])])]),
2056
- m("div", Bi, [g(J, {
2349
+ m("div", Zi, [g(q, {
2057
2350
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
2058
2351
  "model-value": e.block.hasHeaderRow,
2059
2352
  label: p(o).table.hasHeaderRow,
2060
2353
  "onUpdate:modelValue": r[2] ||= (e) => c("hasHeaderRow", e)
2061
2354
  }, null, 8, ["model-value", "label"])]),
2062
- e.block.hasHeaderRow ? (t(), h("div", Vi, [m("label", { class: y(p(W)) }, v(p(o).table.headerBackgroundColor), 3), g(z, {
2355
+ e.block.hasHeaderRow ? (t(), h("div", Qi, [m("label", { class: y(p(U)) }, v(p(o).table.headerBackgroundColor), 3), g(z, {
2063
2356
  "model-value": e.block.headerBackgroundColor ?? "",
2064
- "seed-color": p(Pe),
2357
+ "seed-color": p(Be),
2065
2358
  placeholder: p(o).table.noHeaderBg,
2066
2359
  "onUpdate:modelValue": r[3] ||= (e) => c("headerBackgroundColor", e || null)
2067
2360
  }, null, 8, [
@@ -2069,57 +2362,57 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2069
2362
  "seed-color",
2070
2363
  "placeholder"
2071
2364
  ])])) : C("", !0),
2072
- m("div", Hi, [m("label", { class: y(p(W)) }, v(p(o).table.borderColor), 3), g(z, {
2365
+ m("div", $i, [m("label", { class: y(p(U)) }, v(p(o).table.borderColor), 3), g(z, {
2073
2366
  "model-value": e.block.borderColor,
2074
2367
  "onUpdate:modelValue": r[4] ||= (e) => c("borderColor", e)
2075
2368
  }, null, 8, ["model-value"])]),
2076
- m("div", Ui, [m("label", { class: y(p(W)) }, v(p(o).table.borderWidth), 3), m("div", Wi, [m("input", {
2369
+ m("div", ea, [m("label", { class: y(p(U)) }, v(p(o).table.borderWidth), 3), m("div", ta, [m("input", {
2077
2370
  type: "number",
2078
- class: y(p(K)),
2371
+ class: y(p(G)),
2079
2372
  value: e.block.borderWidth,
2080
2373
  min: "0",
2081
2374
  max: "10",
2082
2375
  onInput: r[5] ||= (e) => c("borderWidth", Number(e.target.value))
2083
- }, null, 42, Gi), m("span", { class: y(p(G)) }, "px", 2)])]),
2084
- m("div", Ki, [m("label", { class: y(p(W)) }, v(p(o).table.cellPadding), 3), m("div", qi, [m("input", {
2376
+ }, null, 42, na), m("span", { class: y(p(W)) }, "px", 2)])]),
2377
+ m("div", ra, [m("label", { class: y(p(U)) }, v(p(o).table.cellPadding), 3), m("div", ia, [m("input", {
2085
2378
  type: "number",
2086
- class: y(p(K)),
2379
+ class: y(p(G)),
2087
2380
  value: e.block.cellPadding,
2088
2381
  min: "0",
2089
2382
  max: "30",
2090
2383
  onInput: r[6] ||= (e) => c("cellPadding", Number(e.target.value))
2091
- }, null, 42, Ji), m("span", { class: y(p(G)) }, "px", 2)])]),
2092
- m("div", Yi, [m("label", { class: y(p(W)) }, v(p(o).table.fontFamily), 3), m("select", {
2093
- class: y(p(q)),
2384
+ }, null, 42, aa), m("span", { class: y(p(W)) }, "px", 2)])]),
2385
+ m("div", oa, [m("label", { class: y(p(U)) }, v(p(o).table.fontFamily), 3), m("select", {
2386
+ class: y(p(K)),
2094
2387
  value: e.block.fontFamily || "",
2095
2388
  onChange: r[7] ||= (e) => c("fontFamily", e.target.value || void 0)
2096
- }, [m("option", Zi, v(p(o).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2389
+ }, [m("option", ca, v(p(o).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2097
2390
  key: e.value,
2098
2391
  value: e.value
2099
- }, v(e.label), 9, Qi))), 128))], 42, Xi)]),
2100
- m("div", $i, [m("label", { class: y(p(W)) }, v(p(o).table.fontSize), 3), m("div", ea, [m("input", {
2392
+ }, v(e.label), 9, la))), 128))], 42, sa)]),
2393
+ m("div", ua, [m("label", { class: y(p(U)) }, v(p(o).table.fontSize), 3), m("div", da, [m("input", {
2101
2394
  type: "number",
2102
- class: y(p(K)),
2395
+ class: y(p(G)),
2103
2396
  value: e.block.fontSize,
2104
2397
  min: "10",
2105
2398
  max: "32",
2106
2399
  onInput: r[8] ||= (e) => c("fontSize", Number(e.target.value))
2107
- }, null, 42, ta), m("span", { class: y(p(G)) }, "px", 2)])]),
2108
- m("div", na, [m("label", { class: y(p(W)) }, v(p(o).table.color), 3), g(z, {
2400
+ }, null, 42, fa), m("span", { class: y(p(W)) }, "px", 2)])]),
2401
+ m("div", pa, [m("label", { class: y(p(U)) }, v(p(o).table.color), 3), g(z, {
2109
2402
  "model-value": e.block.color ?? "",
2110
2403
  "onUpdate:modelValue": r[9] ||= (e) => c("color", e || void 0)
2111
2404
  }, null, 8, ["model-value"])]),
2112
- m("div", ra, [m("label", { class: y(p(W)) }, v(p(o).table.textAlign), 3), g(X, {
2405
+ m("div", ma, [m("label", { class: y(p(U)) }, v(p(o).table.textAlign), 3), g(Y, {
2113
2406
  options: [
2114
2407
  {
2115
2408
  value: "left",
2116
2409
  label: p(o).title.alignLeft,
2117
- icon: p(Te)
2410
+ icon: p(je)
2118
2411
  },
2119
2412
  {
2120
2413
  value: "center",
2121
2414
  label: p(o).title.alignCenter,
2122
- icon: p(U)
2415
+ icon: p(Ae)
2123
2416
  },
2124
2417
  {
2125
2418
  value: "right",
@@ -2132,7 +2425,7 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2132
2425
  }, null, 8, ["options", "model-value"])])
2133
2426
  ], 64));
2134
2427
  }
2135
- }), aa = { class: "tpl:mb-3.5" }, oa = ["value"], sa = { value: 1 }, ca = { value: 2 }, la = { value: 3 }, ua = { value: 4 }, da = { class: "tpl:mb-3.5" }, fa = ["value"], pa = { value: "" }, ma = ["value"], ha = { class: "tpl:mb-3.5" }, ga = { class: "tpl:mb-3.5" }, _a = /* @__PURE__ */ w({
2428
+ }), ga = { class: "tpl:mb-3.5" }, _a = ["value"], va = { value: 1 }, ya = { value: 2 }, ba = { value: 3 }, xa = { value: 4 }, Sa = { class: "tpl:mb-3.5" }, Ca = ["value"], wa = { value: "" }, Ta = ["value"], Ea = { class: "tpl:mb-3.5" }, Da = { class: "tpl:mb-3.5" }, Oa = /* @__PURE__ */ w({
2136
2429
  __name: "TitleToolbar",
2137
2430
  props: {
2138
2431
  block: {},
@@ -2145,39 +2438,39 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2145
2438
  r("update", { [e]: t });
2146
2439
  }
2147
2440
  return (n, r) => (t(), h(x, null, [
2148
- m("div", aa, [m("label", { class: y(p(W)) }, v(p(i).title.level), 3), m("select", {
2149
- class: y(p(q)),
2441
+ m("div", ga, [m("label", { class: y(p(U)) }, v(p(i).title.level), 3), m("select", {
2442
+ class: y(p(K)),
2150
2443
  value: e.block.level,
2151
2444
  onChange: r[0] ||= (e) => o("level", Number(e.target.value))
2152
2445
  }, [
2153
- m("option", sa, v(p(i).title.heading1), 1),
2154
- m("option", ca, v(p(i).title.heading2), 1),
2155
- m("option", la, v(p(i).title.heading3), 1),
2156
- m("option", ua, v(p(i).title.heading4), 1)
2157
- ], 42, oa)]),
2158
- m("div", da, [m("label", { class: y(p(W)) }, v(p(i).title.fontFamily), 3), m("select", {
2159
- class: y(p(q)),
2446
+ m("option", va, v(p(i).title.heading1), 1),
2447
+ m("option", ya, v(p(i).title.heading2), 1),
2448
+ m("option", ba, v(p(i).title.heading3), 1),
2449
+ m("option", xa, v(p(i).title.heading4), 1)
2450
+ ], 42, _a)]),
2451
+ m("div", Sa, [m("label", { class: y(p(U)) }, v(p(i).title.fontFamily), 3), m("select", {
2452
+ class: y(p(K)),
2160
2453
  value: e.block.fontFamily || "",
2161
2454
  onChange: r[1] ||= (e) => o("fontFamily", e.target.value || void 0)
2162
- }, [m("option", pa, v(p(i).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2455
+ }, [m("option", wa, v(p(i).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2163
2456
  key: e.value,
2164
2457
  value: e.value
2165
- }, v(e.label), 9, ma))), 128))], 42, fa)]),
2166
- m("div", ha, [m("label", { class: y(p(W)) }, v(p(i).title.color), 3), g(z, {
2458
+ }, v(e.label), 9, Ta))), 128))], 42, Ca)]),
2459
+ m("div", Ea, [m("label", { class: y(p(U)) }, v(p(i).title.color), 3), g(z, {
2167
2460
  "model-value": e.block.color ?? "",
2168
2461
  "onUpdate:modelValue": r[2] ||= (e) => o("color", e || void 0)
2169
2462
  }, null, 8, ["model-value"])]),
2170
- m("div", ga, [m("label", { class: y(p(W)) }, v(p(i).title.align), 3), g(X, {
2463
+ m("div", Da, [m("label", { class: y(p(U)) }, v(p(i).title.align), 3), g(Y, {
2171
2464
  options: [
2172
2465
  {
2173
2466
  value: "left",
2174
2467
  label: p(i).title.alignLeft,
2175
- icon: p(Te)
2468
+ icon: p(je)
2176
2469
  },
2177
2470
  {
2178
2471
  value: "center",
2179
2472
  label: p(i).title.alignCenter,
2180
- icon: p(U)
2473
+ icon: p(Ae)
2181
2474
  },
2182
2475
  {
2183
2476
  value: "right",
@@ -2190,48 +2483,48 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2190
2483
  }, null, 8, ["options", "model-value"])])
2191
2484
  ], 64));
2192
2485
  }
2193
- }), va = { class: "tpl:mb-3.5" }, ya = {
2486
+ }), ka = { class: "tpl:mb-3.5" }, Aa = {
2194
2487
  key: 0,
2195
2488
  class: "tpl:mb-3.5"
2196
- }, ba = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xa = [
2489
+ }, ja = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ma = [
2197
2490
  "value",
2198
2491
  "placeholder",
2199
2492
  "title"
2200
- ], Sa = { class: "tpl:mb-3.5" }, Ca = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, wa = { class: "tpl:mb-3.5" }, Ta = { class: "tpl:mb-3.5" }, Ea = ["value"], Da = { value: "full" }, Oa = { class: "tpl:mb-3.5" }, ka = ["value"], Aa = { value: "auto" }, ja = { value: "custom" }, Ma = {
2493
+ ], Na = { class: "tpl:mb-3.5" }, Pa = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Fa = { class: "tpl:mb-3.5" }, Ia = { class: "tpl:mb-3.5" }, La = ["value"], Ra = { value: "full" }, za = { class: "tpl:mb-3.5" }, Ba = ["value"], Va = { value: "auto" }, Ha = { value: "custom" }, Ua = {
2201
2494
  key: 0,
2202
2495
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2203
- }, Na = ["value"], Pa = { class: "tpl:mb-3.5" }, Fa = 200, Ia = /* @__PURE__ */ w({
2496
+ }, Wa = ["value"], Ga = { class: "tpl:mb-3.5" }, Ka = 200, qa = /* @__PURE__ */ w({
2204
2497
  __name: "VideoToolbar",
2205
2498
  props: { block: {} },
2206
2499
  emits: ["update"],
2207
2500
  setup(e, { emit: n }) {
2208
- let r = e, i = n, { t: a } = R(), o = c(se, null), s = c(ce, j.liquid), l = Ae(), u = S(() => !!o), f = S(() => k(r.block.url, s)), w = S(() => typeof r.block.height == "number" ? "custom" : "auto"), T = d(!1), { start: E } = I(() => {
2501
+ let r = e, i = n, { t: a } = R(), o = c(ue, null), s = c(de, j.liquid), l = Ie(), u = S(() => !!o), f = S(() => M(r.block.url, s)), w = S(() => typeof r.block.height == "number" ? "custom" : "auto"), T = d(!1), { start: E } = se(() => {
2209
2502
  T.value = !1;
2210
2503
  }, 1e3, { immediate: !1 });
2211
2504
  function D(e, t) {
2212
2505
  i("update", { [e]: t });
2213
2506
  }
2214
2507
  function O(e) {
2215
- D("height", e === "custom" ? Fa : void 0);
2508
+ D("height", e === "custom" ? Ka : void 0);
2216
2509
  }
2217
- function A(e) {
2510
+ function k(e) {
2218
2511
  let t = Number(e);
2219
2512
  !Number.isFinite(t) || t <= 0 || D("height", t);
2220
2513
  }
2221
- async function M() {
2514
+ async function A() {
2222
2515
  let e = await o?.({ accept: ["images"] });
2223
2516
  l.alive && e && (D("thumbnailUrl", e.url), T.value = !0, E());
2224
2517
  }
2225
2518
  return (n, r) => (t(), h(x, null, [
2226
- m("div", va, [
2227
- m("label", { class: y(p(W)) }, v(p(a).video.videoUrl), 3),
2228
- g(Y, {
2519
+ m("div", ka, [
2520
+ m("label", { class: y(p(U)) }, v(p(a).video.videoUrl), 3),
2521
+ g(J, {
2229
2522
  "model-value": e.block.url,
2230
2523
  type: "url",
2231
2524
  placeholder: p(a).video.videoUrlPlaceholder,
2232
2525
  "onUpdate:modelValue": r[0] ||= (e) => D("url", e)
2233
2526
  }, null, 8, ["model-value", "placeholder"]),
2234
- e.block.url ? (t(), b(J, {
2527
+ e.block.url ? (t(), b(q, {
2235
2528
  key: 0,
2236
2529
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2237
2530
  "model-value": e.block.openInNewTab ?? !1,
@@ -2239,17 +2532,17 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2239
2532
  "onUpdate:modelValue": r[1] ||= (e) => D("openInNewTab", e)
2240
2533
  }, null, 8, ["model-value", "label"])) : C("", !0)
2241
2534
  ]),
2242
- f.value ? (t(), h("div", ya, [m("label", { class: y(p(W)) }, [_(v(p(a).video.placeholderUrl) + " ", 1), m("span", ba, v(p(a).video.optional), 1)], 2), m("input", {
2535
+ f.value ? (t(), h("div", Aa, [m("label", { class: y(p(U)) }, [_(v(p(a).video.placeholderUrl) + " ", 1), m("span", ja, v(p(a).video.optional), 1)], 2), m("input", {
2243
2536
  type: "url",
2244
- class: y(p(q)),
2537
+ class: y(p(K)),
2245
2538
  value: e.block.placeholderUrl || "",
2246
2539
  placeholder: p(a).video.placeholderUrlPlaceholder,
2247
2540
  title: p(a).video.placeholderUrlTooltip,
2248
2541
  onInput: r[2] ||= (e) => D("placeholderUrl", e.target.value)
2249
- }, null, 42, xa)])) : C("", !0),
2250
- m("div", Sa, [
2251
- m("label", { class: y(p(W)) }, [_(v(p(a).video.customThumbnail) + " ", 1), m("span", Ca, v(p(a).video.optional), 1)], 2),
2252
- g(Y, {
2542
+ }, null, 42, Ma)])) : C("", !0),
2543
+ m("div", Na, [
2544
+ m("label", { class: y(p(U)) }, [_(v(p(a).video.customThumbnail) + " ", 1), m("span", Pa, v(p(a).video.optional), 1)], 2),
2545
+ g(J, {
2253
2546
  "model-value": e.block.thumbnailUrl,
2254
2547
  type: "url",
2255
2548
  placeholder: p(a).video.thumbnailPlaceholder,
@@ -2268,46 +2561,46 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2268
2561
  color: "var(--tpl-primary)",
2269
2562
  "background-color": "var(--tpl-bg)"
2270
2563
  },
2271
- onClick: M
2272
- }, [g(p(N), {
2564
+ onClick: A
2565
+ }, [g(p(ne), {
2273
2566
  size: 14,
2274
2567
  "stroke-width": 1.5
2275
2568
  }), _(" " + v(p(a).image.browseMedia), 1)])) : C("", !0)
2276
2569
  ]),
2277
- m("div", wa, [m("label", { class: y(p(W)) }, v(p(a).video.altText), 3), g(Y, {
2570
+ m("div", Fa, [m("label", { class: y(p(U)) }, v(p(a).video.altText), 3), g(J, {
2278
2571
  "model-value": e.block.alt,
2279
2572
  type: "text",
2280
2573
  placeholder: p(a).video.altTextPlaceholder,
2281
2574
  "onUpdate:modelValue": r[4] ||= (e) => D("alt", e)
2282
2575
  }, null, 8, ["model-value", "placeholder"])]),
2283
- m("div", Ta, [m("label", { class: y(p(W)) }, v(p(a).video.width), 3), m("select", {
2284
- class: y(p(q)),
2576
+ m("div", Ia, [m("label", { class: y(p(U)) }, v(p(a).video.width), 3), m("select", {
2577
+ class: y(p(K)),
2285
2578
  value: e.block.width,
2286
2579
  onChange: r[5] ||= (e) => D("width", e.target.value === "full" ? "full" : Number(e.target.value))
2287
2580
  }, [
2288
- m("option", Da, v(p(a).video.fullWidth), 1),
2581
+ m("option", Ra, v(p(a).video.fullWidth), 1),
2289
2582
  r[9] ||= m("option", { value: "300" }, "300px", -1),
2290
2583
  r[10] ||= m("option", { value: "400" }, "400px", -1),
2291
2584
  r[11] ||= m("option", { value: "500" }, "500px", -1)
2292
- ], 42, Ea)]),
2293
- m("div", Oa, [
2294
- m("label", { class: y(p(W)) }, v(p(a).video.height), 3),
2585
+ ], 42, La)]),
2586
+ m("div", za, [
2587
+ m("label", { class: y(p(U)) }, v(p(a).video.height), 3),
2295
2588
  m("select", {
2296
- class: y(p(q)),
2589
+ class: y(p(K)),
2297
2590
  "data-testid": "video-height-mode",
2298
2591
  value: w.value,
2299
2592
  onChange: r[6] ||= (e) => O(e.target.value)
2300
- }, [m("option", Aa, v(p(a).video.heightAuto), 1), m("option", ja, v(p(a).video.heightCustom), 1)], 42, ka),
2301
- w.value === "custom" ? (t(), h("div", Ma, [m("input", {
2593
+ }, [m("option", Va, v(p(a).video.heightAuto), 1), m("option", Ha, v(p(a).video.heightCustom), 1)], 42, Ba),
2594
+ w.value === "custom" ? (t(), h("div", Ua, [m("input", {
2302
2595
  type: "number",
2303
2596
  "data-testid": "video-height-input",
2304
- class: y(p(K)),
2597
+ class: y(p(G)),
2305
2598
  value: e.block.height,
2306
2599
  min: "20",
2307
- onInput: r[7] ||= (e) => A(e.target.value)
2308
- }, null, 42, Na), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
2600
+ onInput: r[7] ||= (e) => k(e.target.value)
2601
+ }, null, 42, Wa), m("span", { class: y(p(W)) }, "px", 2)])) : C("", !0)
2309
2602
  ]),
2310
- m("div", Pa, [m("label", { class: y(p(W)) }, v(p(a).title.align), 3), g(X, {
2603
+ m("div", Ga, [m("label", { class: y(p(U)) }, v(p(a).title.align), 3), g(Y, {
2311
2604
  options: [
2312
2605
  {
2313
2606
  value: "left",
@@ -2327,7 +2620,7 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2327
2620
  }, null, 8, ["options", "model-value"])])
2328
2621
  ], 64));
2329
2622
  }
2330
- }), La = ["aria-label"], Ra = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, za = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Ba = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Va = { class: "tpl:flex tpl:gap-1" }, Ha = ["title"], Ua = ["title"], Wa = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Ga = /*@__PURE__*/ w({
2623
+ }), Ja = ["aria-label"], Ya = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Xa = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Za = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Qa = { class: "tpl:flex tpl:gap-1" }, $a = ["title"], eo = ["title"], to = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, no = /*@__PURE__*/ w({
2331
2624
  __name: "Toolbar",
2332
2625
  props: { block: {} },
2333
2626
  emits: [
@@ -2336,9 +2629,9 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2336
2629
  "duplicate"
2337
2630
  ],
2338
2631
  setup(e, { emit: n }) {
2339
- let r = f(() => import("./CountdownToolbar-DkC-qSgq.js")), a = e, o = n, { t: s } = R(), l = ie(pe, "Toolbar"), u = c(fe, []), d = S(() => a.block.type), _ = S(() => M(a.block)), y = S(() => {
2632
+ let r = f(() => import("./CountdownToolbar-Bnq25sR-.js")), a = e, o = n, { t: s } = R(), l = L(_e, "Toolbar"), u = c(ge, []), d = S(() => a.block.type), _ = S(() => k(a.block)), y = S(() => {
2340
2633
  if (_.value) return u.find((e) => e.type === a.block.customType);
2341
- }), x = S(() => _.value ? y.value?.name ?? a.block.customType : P(d.value, s)), w = l.fonts;
2634
+ }), x = S(() => _.value ? y.value?.name ?? a.block.customType : re(d.value, s)), w = l.fonts;
2342
2635
  function T(e) {
2343
2636
  o("update", e);
2344
2637
  }
@@ -2346,82 +2639,82 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2346
2639
  "data-testid": "block-toolbar",
2347
2640
  "aria-label": p(s).landmarks.blockToolbar,
2348
2641
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
2349
- }, [m("div", Ra, [m("div", za, [p(ve)[d.value] ? (t(), b(i(p(ve)[d.value]), {
2642
+ }, [m("div", Ya, [m("div", Xa, [p(Se)[d.value] ? (t(), b(i(p(Se)[d.value]), {
2350
2643
  key: 0,
2351
2644
  size: 16,
2352
2645
  "stroke-width": 1.5
2353
- })) : _.value ? (t(), b(p(ee), {
2646
+ })) : _.value ? (t(), b(p(I), {
2354
2647
  key: 1,
2355
2648
  size: 16,
2356
2649
  "stroke-width": 1.5
2357
- })) : C("", !0), m("h3", Ba, v(x.value), 1)]), m("div", Va, [m("button", {
2650
+ })) : C("", !0), m("h3", Za, v(x.value), 1)]), m("div", Qa, [m("button", {
2358
2651
  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)]",
2359
2652
  title: p(s).toolbar.duplicate,
2360
2653
  onClick: a[0] ||= (e) => o("duplicate")
2361
- }, [g(p(ye), {
2654
+ }, [g(p(Ce), {
2362
2655
  size: 14,
2363
2656
  "stroke-width": 2
2364
- })], 8, Ha), m("button", {
2657
+ })], 8, $a), m("button", {
2365
2658
  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)]",
2366
2659
  title: p(s).toolbar.delete,
2367
2660
  onClick: a[1] ||= (e) => o("delete")
2368
- }, [g(p(Ee), {
2661
+ }, [g(p(Me), {
2369
2662
  size: 14,
2370
2663
  "stroke-width": 2
2371
- })], 8, Ua)])]), m("div", Wa, [_.value ? (t(), b(Hn, {
2664
+ })], 8, eo)])]), m("div", to, [_.value ? (t(), b(cr, {
2372
2665
  key: 0,
2373
2666
  block: e.block,
2374
2667
  onUpdateFieldValues: a[2] ||= (e) => o("update", { fieldValues: e }),
2375
2668
  onUpdateDataSourceFetched: a[3] ||= (e) => o("update", { dataSourceFetched: e })
2376
- }, null, 8, ["block"])) : d.value === "section" ? (t(), b(ri, {
2669
+ }, null, 8, ["block"])) : d.value === "section" ? (t(), b(mi, {
2377
2670
  key: 1,
2378
2671
  block: e.block,
2379
2672
  onUpdate: T
2380
- }, null, 8, ["block"])) : d.value === "title" ? (t(), b(_a, {
2673
+ }, null, 8, ["block"])) : d.value === "title" ? (t(), b(Oa, {
2381
2674
  key: 2,
2382
2675
  block: e.block,
2383
2676
  "font-families": p(w),
2384
2677
  onUpdate: T
2385
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (t(), b(Hr, {
2678
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (t(), b(ii, {
2386
2679
  key: 3,
2387
2680
  block: e.block,
2388
2681
  onUpdate: T
2389
- }, null, 8, ["block"])) : d.value === "image" ? (t(), b(Er, {
2682
+ }, null, 8, ["block"])) : d.value === "image" ? (t(), b(Hr, {
2390
2683
  key: 4,
2391
2684
  block: e.block,
2392
2685
  onUpdate: T
2393
- }, null, 8, ["block"])) : d.value === "video" ? (t(), b(Ia, {
2686
+ }, null, 8, ["block"])) : d.value === "video" ? (t(), b(qa, {
2394
2687
  key: 5,
2395
2688
  block: e.block,
2396
2689
  onUpdate: T
2397
- }, null, 8, ["block"])) : d.value === "button" ? (t(), b(dt, {
2690
+ }, null, 8, ["block"])) : d.value === "button" ? (t(), b(jt, {
2398
2691
  key: 6,
2399
2692
  block: e.block,
2400
2693
  "font-families": p(w),
2401
2694
  onUpdate: T
2402
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (t(), b(Jn, {
2695
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (t(), b(mr, {
2403
2696
  key: 7,
2404
2697
  block: e.block,
2405
2698
  onUpdate: T
2406
- }, null, 8, ["block"])) : d.value === "social" ? (t(), b(Si, {
2699
+ }, null, 8, ["block"])) : d.value === "social" ? (t(), b(Ni, {
2407
2700
  key: 8,
2408
2701
  block: e.block,
2409
2702
  onUpdate: T
2410
- }, null, 8, ["block"])) : d.value === "menu" ? (t(), b(Rr, {
2703
+ }, null, 8, ["block"])) : d.value === "menu" ? (t(), b(ei, {
2411
2704
  key: 9,
2412
2705
  block: e.block,
2413
2706
  "font-families": p(w),
2414
2707
  onUpdate: T
2415
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (t(), b(ia, {
2708
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (t(), b(ha, {
2416
2709
  key: 10,
2417
2710
  block: e.block,
2418
2711
  "font-families": p(w),
2419
2712
  onUpdate: T
2420
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (t(), b(Di, {
2713
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (t(), b(Ri, {
2421
2714
  key: 11,
2422
2715
  block: e.block,
2423
2716
  onUpdate: T
2424
- }, null, 8, ["block"])) : d.value === "html" ? (t(), b(Qn, {
2717
+ }, null, 8, ["block"])) : d.value === "html" ? (t(), b(vr, {
2425
2718
  key: 12,
2426
2719
  block: e.block,
2427
2720
  onUpdate: T
@@ -2430,12 +2723,12 @@ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
2430
2723
  block: e.block,
2431
2724
  "font-families": p(w),
2432
2725
  onUpdate: T
2433
- }, null, 8, ["block", "font-families"])) : C("", !0), g(nn, {
2726
+ }, null, 8, ["block", "font-families"])) : C("", !0), g(Cn, {
2434
2727
  block: e.block,
2435
2728
  "is-first-section": d.value === "paragraph",
2436
2729
  onUpdate: T
2437
- }, null, 8, ["block", "is-first-section"])])], 8, La));
2730
+ }, null, 8, ["block", "is-first-section"])])], 8, Ja));
2438
2731
  }
2439
- }), Ka = /* @__PURE__ */ e({ default: () => qa }), qa = /*#__PURE__*/ ke(Ga, [["__scopeId", "data-v-1038bf62"]]);
2732
+ }), ro = /* @__PURE__ */ e({ default: () => io }), io = /*#__PURE__*/ Fe(no, [["__scopeId", "data-v-1038bf62"]]);
2440
2733
  //#endregion
2441
- export { qa as default, X as i, $ as n, tr as r, Ka as t };
2734
+ export { io as default, Y as i, $ as n, X as r, ro as t };