@templatical/editor 0.44.2 → 0.45.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 (295) hide show
  1. package/README.md +1 -1
  2. package/dist/{AiChatSidebar-BUR5Jshu.js → AiChatSidebar-BlFWWhBv.js} +15 -19
  3. package/dist/{AiFeatureMenu-CgfLFHJw.js → AiFeatureMenu-CvWygUmC.js} +7 -7
  4. package/dist/{BlockIssueBadge-CWZEwMXX.js → BlockIssueBadge-CZA1XvAh.js} +5 -5
  5. package/dist/{BlockPreviewCanvas-2vVu55yN.js → BlockPreviewCanvas-DwxJOTzH.js} +5 -5
  6. package/dist/{CloudHeaderExtras-BZ62q1aS.js → CloudHeaderExtras-BzM1QU1r.js} +5 -5
  7. package/dist/{CloudPanels-sv4aCKKE.js → CloudPanels-d36YXXyn.js} +8 -8
  8. package/dist/{CollaboratorBar-CSEFL7uC.js → CollaboratorBar-rwXe_Qd2.js} +4 -4
  9. package/dist/{CommentsPanel-CYMHfFcn.js → CommentsPanel-Bn6P5crU.js} +2 -2
  10. package/dist/{CommentsSidebar-uvQyCMUe.js → CommentsSidebar-B8wT932T.js} +14 -14
  11. package/dist/{CountdownBlock-C6R-hn7D.js → CountdownBlock-RNx3hIu0.js} +3 -3
  12. package/dist/{CountdownToolbar-C052mx2P.js → CountdownToolbar-lbjCc8ik.js} +62 -61
  13. package/dist/{DesignReferenceSidebar-ZKJ7y7-G.js → DesignReferenceSidebar-zlJQsP0X.js} +25 -26
  14. package/dist/{IssuesPanel-DAlNiJX_.js → IssuesPanel-CHx3m8SP.js} +8 -8
  15. package/dist/{LoadingTrack-C1Epulqq.js → LoadingTrack-DROqNuuD.js} +1 -1
  16. package/dist/{LogicTagInsertButton-DMUfVsPr.js → LogicTagInsertButton-BvftbkL4.js} +13 -19
  17. package/dist/{MediaEditModal-Cmd9tQXZ.js → MediaEditModal-EY1YYcpw.js} +6 -14
  18. package/dist/{MediaPanels-DoBhG5gg.js → MediaPanels-CRVFGFZW.js} +2 -2
  19. package/dist/{MergeTagInput-DoQWMSW4.js → MergeTagInput-CR1kcj8X.js} +2 -2
  20. package/dist/{MergeTagModeToggle-DOHixe4G.js → MergeTagModeToggle-DssKrVYb.js} +7 -7
  21. package/dist/{ParagraphEditor-C_p6yKLK.js → ParagraphEditor-DFizsZRc.js} +140 -139
  22. package/dist/{RestoreVersionDialog-CKHeCPG2.js → RestoreVersionDialog-Cp3q2mU4.js} +5 -5
  23. package/dist/{RichTextEditorContent-BedBVHXS.js → RichTextEditorContent-Cj3oaPMk.js} +9 -9
  24. package/dist/{SaveBlockDialog-q3_fjb9t.js → SaveBlockDialog-BR8vW_XF.js} +13 -13
  25. package/dist/SavedBlocksBrowserModal-DmwbmKxI.js +360 -0
  26. package/dist/{SavedBlocksPanels-DNpnl5cO.js → SavedBlocksPanels-D4XKrs-a.js} +2 -2
  27. package/dist/{SavedBlocksPickBar-Pq2bjpB_.js → SavedBlocksPickBar-gfc-o5sR.js} +4 -4
  28. package/dist/{TemplateScoringPanel-DXsyp0_A.js → TemplateScoringPanel-3lHzuCl0.js} +16 -16
  29. package/dist/TemplateSettings-D7aNrd0d.js +246 -0
  30. package/dist/{TestEmailModal-BYCKpH7g.js → TestEmailModal-DUmtcSm-.js} +11 -11
  31. package/dist/{TestEmailPanel-lUXAFsT5.js → TestEmailPanel-s9gISTI8.js} +2 -2
  32. package/dist/{TitleEditor-CWPxXUp2.js → TitleEditor-C-uHqtml.js} +13 -13
  33. package/dist/{ToggleSwitch-D7GLaT8s.js → ToggleSwitch-CTwwCIVA.js} +2 -2
  34. package/dist/{Toolbar-CWxqqBHE.js → Toolbar-CLpA36RO.js} +518 -520
  35. package/dist/{TplModal-D6lqrKls.js → TplModal-D6XtxusQ.js} +5 -5
  36. package/dist/{VersionHistoryMenu-fLrx-Lvi.js → VersionHistoryMenu-D7zaTMrb.js} +10 -10
  37. package/dist/{VersionHistoryPanels-C3XhpQO_.js → VersionHistoryPanels-Dvowtt7V.js} +2 -2
  38. package/dist/{VersionPreviewBanner-CWuxq_bb.js → VersionPreviewBanner-BUKb9gc6.js} +3 -3
  39. package/dist/{WrapperBlock-ox8TMS_p.js → WrapperBlock-CzJa2Mxw.js} +3 -3
  40. package/dist/{blockTypeIcons-DEvNVvBj.js → blockTypeIcons-D3aj5u_5.js} +2 -2
  41. package/dist/bundle-stats.json +7 -7
  42. package/dist/{ca-DSwai-th.js → ca-C__Dzq--.js} +6 -0
  43. package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js → AiChatSidebar-SRGBP-SL.js} +9 -13
  44. package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js.map → AiChatSidebar-SRGBP-SL.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiFeatureMenu-vOJtwdmT.js → AiFeatureMenu-oZhlgsGh.js} +6 -6
  46. package/dist/cdn/chunks/{AiFeatureMenu-vOJtwdmT.js.map → AiFeatureMenu-oZhlgsGh.js.map} +1 -1
  47. package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js → BlockIssueBadge-05Q3L4RV.js} +5 -5
  48. package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js.map → BlockIssueBadge-05Q3L4RV.js.map} +1 -1
  49. package/dist/cdn/chunks/{BlockPreviewCanvas-CB27Joyn.js → BlockPreviewCanvas-hKxE6f-k.js} +6 -6
  50. package/dist/cdn/chunks/{BlockPreviewCanvas-CB27Joyn.js.map → BlockPreviewCanvas-hKxE6f-k.js.map} +1 -1
  51. package/dist/cdn/chunks/{CloudHeaderExtras-9tKrhPm6.js → CloudHeaderExtras-t-_ZlHwn.js} +5 -5
  52. package/dist/cdn/chunks/{CloudHeaderExtras-9tKrhPm6.js.map → CloudHeaderExtras-t-_ZlHwn.js.map} +1 -1
  53. package/dist/cdn/chunks/{CloudPanels-DTQ7zbEN.js → CloudPanels-DR2eEcpX.js} +7 -7
  54. package/dist/cdn/chunks/{CloudPanels-DTQ7zbEN.js.map → CloudPanels-DR2eEcpX.js.map} +1 -1
  55. package/dist/cdn/chunks/{CollaboratorBar-BKTkVMbz.js → CollaboratorBar-w8_2WPE0.js} +5 -5
  56. package/dist/cdn/chunks/{CollaboratorBar-BKTkVMbz.js.map → CollaboratorBar-w8_2WPE0.js.map} +1 -1
  57. package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js → CommentsPanel-VH_NJ5HZ.js} +3 -3
  58. package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js.map → CommentsPanel-VH_NJ5HZ.js.map} +1 -1
  59. package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js → CommentsSidebar-CYPH5rVi.js} +5 -5
  60. package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js.map → CommentsSidebar-CYPH5rVi.js.map} +1 -1
  61. package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js → CountdownBlock-lHU3Lu7Q.js} +4 -4
  62. package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js.map → CountdownBlock-lHU3Lu7Q.js.map} +1 -1
  63. package/dist/cdn/chunks/{CountdownToolbar-C9QpHQcv.js → CountdownToolbar-CvNuDR5Z.js} +63 -62
  64. package/dist/cdn/chunks/CountdownToolbar-CvNuDR5Z.js.map +1 -0
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js → DesignReferenceSidebar-CJg_5GXU.js} +21 -22
  66. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js.map → DesignReferenceSidebar-CJg_5GXU.js.map} +1 -1
  67. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js → IssuesPanel-DXqlRk19.js} +6 -6
  68. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js.map → IssuesPanel-DXqlRk19.js.map} +1 -1
  69. package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js → LoadingTrack-Cg1HRIND.js} +2 -2
  70. package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js.map → LoadingTrack-Cg1HRIND.js.map} +1 -1
  71. package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js → LogicTagInsertButton-DnHghQHb.js} +11 -17
  72. package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js.map → LogicTagInsertButton-DnHghQHb.js.map} +1 -1
  73. package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js → MediaEditModal-CD3fVbWI.js} +6 -14
  74. package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js.map → MediaEditModal-CD3fVbWI.js.map} +1 -1
  75. package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js → MediaPanels-B2AyUUcf.js} +3 -3
  76. package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js.map → MediaPanels-B2AyUUcf.js.map} +1 -1
  77. package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js → MergeTagInput-heTX9P_k.js} +3 -3
  78. package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js.map → MergeTagInput-heTX9P_k.js.map} +1 -1
  79. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js → MergeTagModeToggle-C9EfuZIP.js} +6 -6
  80. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js.map → MergeTagModeToggle-C9EfuZIP.js.map} +1 -1
  81. package/dist/cdn/chunks/{ParagraphEditor-BSDGOsja.js → ParagraphEditor-B5DN4Sy4.js} +145 -144
  82. package/dist/cdn/chunks/ParagraphEditor-B5DN4Sy4.js.map +1 -0
  83. package/dist/cdn/chunks/{RestoreVersionDialog-DLe0Co57.js → RestoreVersionDialog-DBgJ-Nui.js} +5 -5
  84. package/dist/cdn/chunks/{RestoreVersionDialog-DLe0Co57.js.map → RestoreVersionDialog-DBgJ-Nui.js.map} +1 -1
  85. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js → RichTextEditorContent-LOas4rfU.js} +8 -8
  86. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js.map → RichTextEditorContent-LOas4rfU.js.map} +1 -1
  87. package/dist/cdn/chunks/{SaveBlockDialog-DQzaED8U.js → SaveBlockDialog-Dx-QVQCX.js} +11 -11
  88. package/dist/cdn/chunks/{SaveBlockDialog-DQzaED8U.js.map → SaveBlockDialog-Dx-QVQCX.js.map} +1 -1
  89. package/dist/cdn/chunks/SavedBlocksBrowserModal-C2RQ-JCc.js +357 -0
  90. package/dist/cdn/chunks/SavedBlocksBrowserModal-C2RQ-JCc.js.map +1 -0
  91. package/dist/cdn/chunks/{SavedBlocksPanels-lW7PMvJN.js → SavedBlocksPanels-BmRbvqqL.js} +3 -3
  92. package/dist/cdn/chunks/{SavedBlocksPanels-lW7PMvJN.js.map → SavedBlocksPanels-BmRbvqqL.js.map} +1 -1
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-DEL0r3Bv.js → SavedBlocksPickBar-BzwKojoJ.js} +5 -5
  94. package/dist/cdn/chunks/{SavedBlocksPickBar-DEL0r3Bv.js.map → SavedBlocksPickBar-BzwKojoJ.js.map} +1 -1
  95. package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js → TemplateScoringPanel-C_57Bfkf.js} +8 -8
  96. package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js.map → TemplateScoringPanel-C_57Bfkf.js.map} +1 -1
  97. package/dist/cdn/chunks/{TemplateSettings-vsFOU0oA.js → TemplateSettings-G-yV7C1C.js} +48 -47
  98. package/dist/cdn/chunks/TemplateSettings-G-yV7C1C.js.map +1 -0
  99. package/dist/cdn/chunks/{TestEmailModal-B7Dr2eFa.js → TestEmailModal-lOeztfTN.js} +10 -10
  100. package/dist/cdn/chunks/{TestEmailModal-B7Dr2eFa.js.map → TestEmailModal-lOeztfTN.js.map} +1 -1
  101. package/dist/cdn/chunks/{TestEmailPanel-C3PTYDbT.js → TestEmailPanel-CZswVkk_.js} +3 -3
  102. package/dist/cdn/chunks/{TestEmailPanel-C3PTYDbT.js.map → TestEmailPanel-CZswVkk_.js.map} +1 -1
  103. package/dist/cdn/chunks/{TitleEditor-gHTla_4I.js → TitleEditor-CnTT2Y3H.js} +12 -12
  104. package/dist/cdn/chunks/{TitleEditor-gHTla_4I.js.map → TitleEditor-CnTT2Y3H.js.map} +1 -1
  105. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js → ToggleSwitch-CLHteVMO.js} +3 -3
  106. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js.map → ToggleSwitch-CLHteVMO.js.map} +1 -1
  107. package/dist/cdn/chunks/{Toolbar-CnfNUkOY.js → Toolbar-K4tIkpG1.js} +415 -417
  108. package/dist/cdn/chunks/Toolbar-K4tIkpG1.js.map +1 -0
  109. package/dist/cdn/chunks/{TplModal-BVUBOEQL.js → TplModal-OOT36AjS.js} +5 -5
  110. package/dist/cdn/chunks/{TplModal-BVUBOEQL.js.map → TplModal-OOT36AjS.js.map} +1 -1
  111. package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js → VersionHistoryMenu-DbxuJgDO.js} +6 -6
  112. package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js.map → VersionHistoryMenu-DbxuJgDO.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionHistoryPanels-Dcdy7ySA.js → VersionHistoryPanels-BrpYRSfW.js} +3 -3
  114. package/dist/cdn/chunks/{VersionHistoryPanels-Dcdy7ySA.js.map → VersionHistoryPanels-BrpYRSfW.js.map} +1 -1
  115. package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js → VersionPreviewBanner-HRERIH-v.js} +4 -4
  116. package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js.map → VersionPreviewBanner-HRERIH-v.js.map} +1 -1
  117. package/dist/cdn/chunks/{WrapperBlock-23nAzweL.js → WrapperBlock-DdrnwH80.js} +4 -4
  118. package/dist/cdn/chunks/{WrapperBlock-23nAzweL.js.map → WrapperBlock-DdrnwH80.js.map} +1 -1
  119. package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js → blockTypeIcons-DdZP-3FM.js} +2 -2
  120. package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js.map → blockTypeIcons-DdZP-3FM.js.map} +1 -1
  121. package/dist/cdn/chunks/{ca-DSwai-th.js → ca-C__Dzq--.js} +7 -1
  122. package/dist/cdn/chunks/ca-C__Dzq--.js.map +1 -0
  123. package/dist/cdn/chunks/{cloud-DLQU5l0Z.js → cloud-bhW8qTnh.js} +4 -4
  124. package/dist/cdn/chunks/{cloud-DLQU5l0Z.js.map → cloud-bhW8qTnh.js.map} +1 -1
  125. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js → createCloudRuntime-CeRJkLR2.js} +9 -12
  126. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js.map → createCloudRuntime-CeRJkLR2.js.map} +1 -1
  127. package/dist/{de-DOhKuphf.js → cdn/chunks/de-CGjbQ2mt.js} +8 -0
  128. package/dist/cdn/chunks/de-CGjbQ2mt.js.map +1 -0
  129. package/dist/cdn/chunks/{dist-BRZhN8qJ.js → dist-B7W-Lb65.js} +2 -2
  130. package/dist/cdn/chunks/{dist-BRZhN8qJ.js.map → dist-B7W-Lb65.js.map} +1 -1
  131. package/dist/cdn/chunks/{dist-CXB2_kBa.js → dist-C5nRd_ua.js} +5 -13
  132. package/dist/cdn/chunks/{dist-CXB2_kBa.js.map → dist-C5nRd_ua.js.map} +1 -1
  133. package/dist/cdn/chunks/{draggable-IB4x6w2O.js → draggable-BUTN5vZC.js} +32 -77
  134. package/dist/cdn/chunks/{draggable-IB4x6w2O.js.map → draggable-BUTN5vZC.js.map} +1 -1
  135. package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js → editor-modal-BpsbYA4_.js} +14 -34
  136. package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js.map → editor-modal-BpsbYA4_.js.map} +1 -1
  137. package/dist/{en-BE28ZcUF.js → cdn/chunks/en-BTiiAC-B.js} +8 -0
  138. package/dist/cdn/chunks/en-BTiiAC-B.js.map +1 -0
  139. package/dist/cdn/chunks/en-CAt6y87e.js +1 -0
  140. package/dist/{es-oQI-dfx2.js → cdn/chunks/es-CdTOcSTf.js} +8 -0
  141. package/dist/cdn/chunks/es-CdTOcSTf.js.map +1 -0
  142. package/dist/cdn/chunks/{extensions-ClmkNA8R.js → extensions-xjRsIjMP.js} +9 -17
  143. package/dist/cdn/chunks/{extensions-ClmkNA8R.js.map → extensions-xjRsIjMP.js.map} +1 -1
  144. package/dist/{fr-rzLdCMSG.js → cdn/chunks/fr-B6lcLLzC.js} +8 -0
  145. package/dist/cdn/chunks/fr-B6lcLLzC.js.map +1 -0
  146. package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js → htmlparser-CDRsn-gn.js} +3 -11
  147. package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js.map → htmlparser-CDRsn-gn.js.map} +1 -1
  148. package/dist/cdn/chunks/{icons-BjvraR-Y.js → icons-Dr9erFGs.js} +48 -48
  149. package/dist/cdn/chunks/{icons-BjvraR-Y.js.map → icons-Dr9erFGs.js.map} +1 -1
  150. package/dist/{ja-dyFc6Ghz.js → cdn/chunks/ja-BhdkqENz.js} +8 -0
  151. package/dist/cdn/chunks/ja-BhdkqENz.js.map +1 -0
  152. package/dist/cdn/chunks/{keys-DCWeHkSF.js → keys-BKu-LOk5.js} +2 -2
  153. package/dist/cdn/chunks/{keys-DCWeHkSF.js.map → keys-BKu-LOk5.js.map} +1 -1
  154. package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js → liquid.browser-Bbt17cVz.js} +30 -56
  155. package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js.map → liquid.browser-Bbt17cVz.js.map} +1 -1
  156. package/dist/{nl-BcQhRqKR.js → cdn/chunks/nl-CE3YItYg.js} +8 -0
  157. package/dist/cdn/chunks/nl-CE3YItYg.js.map +1 -0
  158. package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js → preRenderCustomBlocks-CFwa7nP9.js} +2 -2
  159. package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js.map → preRenderCustomBlocks-CFwa7nP9.js.map} +1 -1
  160. package/dist/{pt-BR-UombhTMO.js → cdn/chunks/pt-BR-CUIT4rq4.js} +8 -0
  161. package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +1 -0
  162. package/dist/cdn/chunks/{pusher-BbIHJKf3.js → pusher-C8DeiO2X.js} +18 -57
  163. package/dist/cdn/chunks/{pusher-BbIHJKf3.js.map → pusher-C8DeiO2X.js.map} +1 -1
  164. package/dist/cdn/chunks/{socialIcons-CnUJBZTO.js → socialIcons-CsYnPPll.js} +14 -24
  165. package/dist/cdn/chunks/socialIcons-CsYnPPll.js.map +1 -0
  166. package/dist/cdn/chunks/{src-QIGNPFkl.js → src-BcqNlDMe.js} +258 -237
  167. package/dist/cdn/chunks/src-BcqNlDMe.js.map +1 -0
  168. package/dist/cdn/chunks/{src-CLHnxvuS.js → src-CkXmV2I2.js} +174 -179
  169. package/dist/cdn/chunks/src-CkXmV2I2.js.map +1 -0
  170. package/dist/cdn/chunks/{src-B5-VKcRQ.js → src-HA9F2kvk.js} +141 -179
  171. package/dist/cdn/chunks/{src-B5-VKcRQ.js.map → src-HA9F2kvk.js.map} +1 -1
  172. package/dist/cdn/chunks/{tiptap-02G9FGkl.js → tiptap-CYDXLO17.js} +87 -134
  173. package/dist/cdn/chunks/{tiptap-02G9FGkl.js.map → tiptap-CYDXLO17.js.map} +1 -1
  174. package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js → useAliveFlag-DzyXG-8A.js} +2 -2
  175. package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js.map → useAliveFlag-DzyXG-8A.js.map} +1 -1
  176. package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js → useCloudI18n-Cgk0ts_F.js} +3 -3
  177. package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js.map → useCloudI18n-Cgk0ts_F.js.map} +1 -1
  178. package/dist/cdn/chunks/{useEditorCore-DjD7fJpq.js → useEditorCore-BF1ZhcGu.js} +476 -520
  179. package/dist/cdn/chunks/useEditorCore-BF1ZhcGu.js.map +1 -0
  180. package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +10 -0
  181. package/dist/cdn/chunks/{useEditorRoot-CshefZLP.js.map → useEditorRoot-DDPIcEOO.js.map} +1 -1
  182. package/dist/cdn/chunks/{useI18n-CyO_Nmca.js → useI18n-DO4NTunW.js} +3 -3
  183. package/dist/cdn/chunks/{useI18n-CyO_Nmca.js.map → useI18n-DO4NTunW.js.map} +1 -1
  184. package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js → useLogicTag-91bO_SOi.js} +4 -4
  185. package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js.map → useLogicTag-91bO_SOi.js.map} +1 -1
  186. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js → useMergeTag-hwifK582.js} +4 -4
  187. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js.map → useMergeTag-hwifK582.js.map} +1 -1
  188. package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js → usePopoverPosition-CtVNwoHj.js} +3 -3
  189. package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js.map → usePopoverPosition-CtVNwoHj.js.map} +1 -1
  190. package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js → useScrollToBlock-BDNJ25X1.js} +3 -3
  191. package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js.map → useScrollToBlock-BDNJ25X1.js.map} +1 -1
  192. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js +32 -0
  193. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js.map +1 -0
  194. package/dist/cdn/editor.css +1 -1
  195. package/dist/cdn/editor.js +89 -118
  196. package/dist/cdn/editor.js.map +1 -1
  197. package/dist/{check-DNyj-E0y.js → check-ZKvtMdpe.js} +1 -1
  198. package/dist/{chevron-down-BYnhkMsA.js → chevron-down-RrwkYMlp.js} +1 -1
  199. package/dist/{chevron-right-D9HGBqJo.js → chevron-right-CklHaa1U.js} +1 -1
  200. package/dist/{chevron-up-BnIR1-ma.js → chevron-up-DjN2NTbo.js} +1 -1
  201. package/dist/{circle-alert-B6xl1B_M.js → circle-alert-BR1_Yfb-.js} +1 -1
  202. package/dist/{clock-Cs5Wd3dW.js → clock-BEagNj21.js} +1 -1
  203. package/dist/{cloud-BNEL7bxL.js → cloud-CVfwPu19.js} +2 -2
  204. package/dist/{copy-6uKc-WBk.js → copy-D6DNoSq1.js} +1 -1
  205. package/dist/{createCloudRuntime-CaZapQZ6.js → createCloudRuntime-GRv_TDb2.js} +8 -11
  206. package/dist/{createLucideIcon-BVcoovvP.js → createLucideIcon-BAPyioGd.js} +6 -6
  207. package/dist/{cdn/chunks/de-DOhKuphf.js → de-CGjbQ2mt.js} +6 -2
  208. package/dist/{dist-CmwBvyW0.js → dist-1H4cnaoD.js} +3 -3
  209. package/dist/{dist-D4HP93ZF.js → dist-5DAb7bYT.js} +1 -1
  210. package/dist/{dist-DdSWMtEP.js → dist-5KNKxglR.js} +1 -1
  211. package/dist/{dist-BDuPwOyn.js → dist-B_vYjCsk.js} +4 -12
  212. package/dist/{dist-Ceew_u40.js → dist-Bc30883t.js} +6 -22
  213. package/dist/{dist-Czzst9ng.js → dist-Bd7khQsg.js} +3 -11
  214. package/dist/{dist-8VFzbeu9.js → dist-C-VFTX82.js} +1 -1
  215. package/dist/{dist-BYg1EL5g.js → dist-C3eH9-N2.js} +1 -1
  216. package/dist/{dist-Dw2_11LA.js → dist-CFC4pg2o.js} +1 -1
  217. package/dist/{dist-BgSLW3Hn.js → dist-CMcFD7gP.js} +72 -87
  218. package/dist/{dist-HjILVdTA.js → dist-CSaWqmWM.js} +143 -126
  219. package/dist/{dist-DmQckB4p.js → dist-DHensKDY.js} +1 -1
  220. package/dist/{dist-CWc7nIkA.js → dist-DapsJxn_.js} +1 -1
  221. package/dist/{dist-D2m55Lvs.js → dist-j2FavQmU.js} +1 -1
  222. package/dist/{dist-8By0p8ah.js → dist-lL3nVbxV.js} +1 -1
  223. package/dist/{editor-modal-Co-rZGaf.js → editor-modal-oRmkDlUs.js} +27 -47
  224. package/dist/{cdn/chunks/en-BE28ZcUF.js → en-BTiiAC-B.js} +6 -2
  225. package/dist/en-Bk4iCfjp.js +1 -0
  226. package/dist/{cdn/chunks/es-oQI-dfx2.js → es-CdTOcSTf.js} +6 -2
  227. package/dist/{extensions-DXSI8Dyj.js → extensions-B65sfZRk.js} +42 -58
  228. package/dist/{eye-Nbtw_q05.js → eye-DvsTBI57.js} +1 -1
  229. package/dist/{cdn/chunks/fr-rzLdCMSG.js → fr-B6lcLLzC.js} +6 -2
  230. package/dist/{image-up-C1jC7NzQ.js → image-up-BoFGZm5Q.js} +1 -1
  231. package/dist/index.d.ts +12 -1
  232. package/dist/{info-ClH66pKN.js → info-0bQQGjTV.js} +1 -1
  233. package/dist/{cdn/chunks/ja-dyFc6Ghz.js → ja-BhdkqENz.js} +6 -2
  234. package/dist/{keys-CDqfZIRt.js → keys-injl74ob.js} +1 -1
  235. package/dist/{link-y47GNW0o.js → link-Cstrr3Ep.js} +1 -1
  236. package/dist/{liquid.browser-Cs4gOjeX.js → liquid.browser-Ct2-EezB.js} +29 -55
  237. package/dist/{list-DiLMlMaE.js → list-Dx9Rmy5s.js} +1 -1
  238. package/dist/{loader-circle-BRdCPW5h.js → loader-circle-D8Qqs0MG.js} +1 -1
  239. package/dist/{message-circle-CNgIpVJv.js → message-circle-D78ELX6I.js} +1 -1
  240. package/dist/{cdn/chunks/nl-BcQhRqKR.js → nl-CE3YItYg.js} +6 -2
  241. package/dist/{package-B9OWk-Kp.js → package-DOvM9sHE.js} +1 -1
  242. package/dist/{pencil-BDnjo24u.js → pencil-B6m0OG0n.js} +1 -1
  243. package/dist/{plus-BMgjN7lI.js → plus-D-nEKxTc.js} +1 -1
  244. package/dist/{preRenderCustomBlocks-C_PIxBp7.js → preRenderCustomBlocks-DAS48ZCp.js} +1 -1
  245. package/dist/{cdn/chunks/pt-BR-UombhTMO.js → pt-BR-CUIT4rq4.js} +6 -2
  246. package/dist/{refresh-cw-CR5lenxl.js → refresh-cw-CXZS-R1U.js} +1 -1
  247. package/dist/{runtime-dom.esm-bundler-BGbPz4-g.js → runtime-dom.esm-bundler-CO67ema2.js} +15 -16
  248. package/dist/{search-CxRUiOSF.js → search-DSvil0jo.js} +1 -1
  249. package/dist/{send-Bu2RysGL.js → send-BBR28V94.js} +1 -1
  250. package/dist/{shield-check-Cg8f4LB0.js → shield-check-ByxUnaU9.js} +1 -1
  251. package/dist/{smartphone-CHf-8lHp.js → smartphone-CNOwGf5T.js} +1 -1
  252. package/dist/{socialIcons-D1gkHc_i.js → socialIcons-CvAixjj8.js} +14 -24
  253. package/dist/{sparkles-_DQGv4ub.js → sparkles-DO1hzwzf.js} +1 -1
  254. package/dist/style.css +1 -1
  255. package/dist/templatical-editor.js +101 -130
  256. package/dist/{text-align-start-PHo-Ep5i.js → text-align-start-BKEKMheq.js} +13 -13
  257. package/dist/{trash-BxIzHAri.js → trash-CKEQH4vH.js} +1 -1
  258. package/dist/{triangle-alert-fcb2KoA-.js → triangle-alert-BHnfd3fV.js} +1 -1
  259. package/dist/{upload-BxBtMPMv.js → upload-C8uO7KsR.js} +1 -1
  260. package/dist/{useAliveFlag-BkKyhkwZ.js → useAliveFlag-6PtarpNZ.js} +1 -1
  261. package/dist/{useCloudI18n-DpEsiLeR.js → useCloudI18n-GvIOLziA.js} +2 -2
  262. package/dist/{useEditorCore-iuKC8yr5.js → useEditorCore-DQSeKPE9.js} +940 -1007
  263. package/dist/{useEditorRoot-CkB_5d0h.js → useEditorRoot-OWzNpDdT.js} +2 -2
  264. package/dist/{useI18n-B_CdcBwG.js → useI18n-uF11q85g.js} +2 -2
  265. package/dist/{useLogicTag-wqfdwYYR.js → useLogicTag-BH87j1vZ.js} +3 -3
  266. package/dist/{useMergeTag-D3XDE_58.js → useMergeTag-DfPKX2Tk.js} +3 -3
  267. package/dist/{usePopoverPosition-BYmd-lhR.js → usePopoverPosition-DkBrHfCo.js} +2 -2
  268. package/dist/{useScrollToBlock-DA_aIJXS.js → useScrollToBlock-Dr7Sb6Tr.js} +3 -3
  269. package/dist/{vue.runtime.esm-bundler-CyqhBwpY.js → vue.runtime.esm-bundler-CctRY8kr.js} +13 -45
  270. package/dist/withCurrentFont-DeCbPVaE.js +30 -0
  271. package/dist/{x-DrZO5tt0.js → x-gEC0yMci.js} +1 -1
  272. package/package.json +12 -12
  273. package/dist/SavedBlocksBrowserModal-DeUo5aFV.js +0 -325
  274. package/dist/TemplateSettings-Bh10NFIN.js +0 -245
  275. package/dist/cdn/chunks/CountdownToolbar-C9QpHQcv.js.map +0 -1
  276. package/dist/cdn/chunks/ParagraphEditor-BSDGOsja.js.map +0 -1
  277. package/dist/cdn/chunks/SavedBlocksBrowserModal-CliZBxHo.js +0 -322
  278. package/dist/cdn/chunks/SavedBlocksBrowserModal-CliZBxHo.js.map +0 -1
  279. package/dist/cdn/chunks/TemplateSettings-vsFOU0oA.js.map +0 -1
  280. package/dist/cdn/chunks/Toolbar-CnfNUkOY.js.map +0 -1
  281. package/dist/cdn/chunks/ca-DSwai-th.js.map +0 -1
  282. package/dist/cdn/chunks/de-DOhKuphf.js.map +0 -1
  283. package/dist/cdn/chunks/en-BE28ZcUF.js.map +0 -1
  284. package/dist/cdn/chunks/en-C3n0qWte.js +0 -2
  285. package/dist/cdn/chunks/es-oQI-dfx2.js.map +0 -1
  286. package/dist/cdn/chunks/fr-rzLdCMSG.js.map +0 -1
  287. package/dist/cdn/chunks/ja-dyFc6Ghz.js.map +0 -1
  288. package/dist/cdn/chunks/nl-BcQhRqKR.js.map +0 -1
  289. package/dist/cdn/chunks/pt-BR-UombhTMO.js.map +0 -1
  290. package/dist/cdn/chunks/socialIcons-CnUJBZTO.js.map +0 -1
  291. package/dist/cdn/chunks/src-CLHnxvuS.js.map +0 -1
  292. package/dist/cdn/chunks/src-QIGNPFkl.js.map +0 -1
  293. package/dist/cdn/chunks/useEditorCore-DjD7fJpq.js.map +0 -1
  294. package/dist/cdn/chunks/useEditorRoot-CshefZLP.js +0 -10
  295. package/dist/en-B-xoKkWi.js +0 -2
@@ -1,26 +1,27 @@
1
1
  import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { B as t, E as n, F as r, H as i, I as a, N as o, Q as s, R as c, S as l, U as u, X as d, at as f, b as p, ct as m, f as h, g, h as _, lt as v, m as y, o as b, p as x, s as S, u as C, ut as w, x as T, y as E } from "./draggable-IB4x6w2O.js";
3
- import { C as D, W as O, Z as k, ft as A, ht as j, i as ee, pt as M, r as te, vt as N, yt as P } from "./src-QIGNPFkl.js";
4
- import { a as ne, h as re, i as ie, r as F, s as ae } from "./socialIcons-CnUJBZTO.js";
5
- import { _ as oe } from "./dist-BRZhN8qJ.js";
6
- import { $ as se, C as I, G as ce, L as le, P as ue, c as de, d as fe, h as pe, n as me, p as he, v as ge } from "./keys-DCWeHkSF.js";
7
- import { t as L } from "./useI18n-CyO_Nmca.js";
8
- import { o as _e } from "./usePopoverPosition-DGXjXKjM.js";
9
- import { B as ve, Dt as ye, Lt as be, Nt as xe, O as Se, W as R, _ as z, at as Ce, c as we, et as Te, f as Ee, ft as De, g as Oe, it as ke, kt as Ae, lt as je, n as Me, pt as Ne, rt as Pe, s as Fe, tt as B, v as Ie } from "./icons-BjvraR-Y.js";
2
+ import { B as t, E as n, F as r, H as i, I as a, N as o, Q as s, R as c, S as l, U as u, X as d, at as f, b as p, ct as m, f as h, g, h as _, lt as v, m as y, o as b, p as x, s as S, u as C, ut as w, x as T, y as E } from "./draggable-BUTN5vZC.js";
3
+ import { C as D, Ct as O, St as k, W as A, Z as j, _t as M, gt as N, i as ee, r as P, yt as te } from "./src-BcqNlDMe.js";
4
+ import { a as ne, h as re, i as ie, r as F, s as ae } from "./socialIcons-CsYnPPll.js";
5
+ import { _ as oe } from "./dist-B7W-Lb65.js";
6
+ import { $ as se, C as I, G as ce, L as le, P as ue, c as de, d as fe, h as pe, n as me, p as he, v as ge } from "./keys-BKu-LOk5.js";
7
+ import { t as L } from "./useI18n-DO4NTunW.js";
8
+ import { o as _e } from "./usePopoverPosition-CtVNwoHj.js";
9
+ import { B as ve, Dt as ye, Lt as be, Nt as xe, O as Se, W as R, _ as z, at as Ce, c as we, et as Te, f as Ee, ft as De, h as Oe, it as ke, kt as Ae, lt as je, n as Me, pt as Ne, rt as Pe, s as Fe, tt as B, v as Ie } from "./icons-Dr9erFGs.js";
10
10
  import { t as Le } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
- import { t as Re } from "./useAliveFlag-DAlQLbM2.js";
11
+ import { t as Re } from "./useAliveFlag-DzyXG-8A.js";
12
12
  import { _ as ze, b as Be, c as Ve, g as V, h as H, m as U, p as W, r as He, v as Ue } from "./styleConstants-C_YAPdQS.js";
13
- import { t as We } from "./blockTypeIcons-BMZi7sdX.js";
14
- import { c as G } from "./LogicTagInsertButton-gc8ICURV.js";
15
- import { n as Ge, t as K } from "./ToggleSwitch-DoUNcLPP.js";
16
- import { t as q } from "./MergeTagInput-DsPKWbWr.js";
13
+ import { t as We } from "./blockTypeIcons-DdZP-3FM.js";
14
+ import { c as G } from "./LogicTagInsertButton-DnHghQHb.js";
15
+ import { n as Ge, t as K } from "./ToggleSwitch-CLHteVMO.js";
16
+ import { n as Ke, t as qe } from "./withCurrentFont-DeCbPVaE.js";
17
+ import { t as q } from "./MergeTagInput-heTX9P_k.js";
17
18
  //#region src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
18
- var Ke = [
19
+ var Je = [
19
20
  "aria-checked",
20
21
  "aria-label",
21
22
  "title",
22
23
  "onClick"
23
- ], qe = { key: 1 }, J = /* @__PURE__ */ l({
24
+ ], Ye = { key: 1 }, J = /* @__PURE__ */ l({
24
25
  __name: "SlidingPillSelect",
25
26
  props: {
26
27
  options: {},
@@ -63,9 +64,9 @@ var Ke = [
63
64
  key: 0,
64
65
  size: 14,
65
66
  "stroke-width": 2
66
- })) : (o(), g("span", qe, w(t.label), 1))], 12, Ke))), 128))], 4));
67
+ })) : (o(), g("span", Ye, w(t.label), 1))], 12, Je))), 128))], 4));
67
68
  }
68
- }), Je = { class: "tpl:flex tpl:items-stretch" }, Ye = [
69
+ }), Xe = { class: "tpl:flex tpl:items-stretch" }, Ze = [
69
70
  "data-testid",
70
71
  "value",
71
72
  "min",
@@ -86,7 +87,7 @@ var Ke = [
86
87
  let t = e.target;
87
88
  t.validity?.badInput || n("update:modelValue", Number(t.value));
88
89
  }
89
- return (t, n) => (o(), g("div", Je, [x("input", {
90
+ return (t, n) => (o(), g("div", Xe, [x("input", {
90
91
  type: "number",
91
92
  "data-testid": e.testid,
92
93
  class: m(f(U)),
@@ -94,14 +95,14 @@ var Ke = [
94
95
  min: e.min,
95
96
  max: e.max,
96
97
  onInput: r
97
- }, null, 42, Ye), x("span", { class: m(f(H)) }, w(e.suffix), 3)]));
98
+ }, null, 42, Ze), x("span", { class: m(f(H)) }, w(e.suffix), 3)]));
98
99
  }
99
- }), Xe = [
100
+ }), Qe = [
100
101
  "aria-pressed",
101
102
  "aria-label",
102
103
  "title",
103
104
  "data-testid"
104
- ], Ze = /* @__PURE__ */ l({
105
+ ], $e = /* @__PURE__ */ l({
105
106
  __name: "LinkToggle",
106
107
  props: {
107
108
  linked: { type: Boolean },
@@ -128,12 +129,12 @@ var Ke = [
128
129
  key: 1,
129
130
  size: 14,
130
131
  "stroke-width": 2
131
- }))], 10, Xe));
132
+ }))], 10, Qe));
132
133
  }
133
- }), 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 = {
134
+ }), et = { class: "tpl:mb-3.5" }, tt = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, nt = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, rt = {
134
135
  key: 0,
135
136
  class: "tpl:mb-3.5"
136
- }, nt = { class: "tpl:mb-3.5" }, rt = { class: "tpl:mb-3.5" }, it = /* @__PURE__ */ l({
137
+ }, it = { class: "tpl:mb-3.5" }, at = { class: "tpl:mb-3.5" }, ot = /* @__PURE__ */ l({
137
138
  __name: "BorderControl",
138
139
  props: {
139
140
  modelValue: {},
@@ -159,11 +160,11 @@ var Ke = [
159
160
  let v = s("top"), y = h(() => r.modelValue?.[d.value ? "top" : v.value] ?? c), b = (e) => !!e && e.width > 0;
160
161
  function S(e) {
161
162
  if (d.value) {
162
- i("update:modelValue", b(e) ? P(e) : void 0);
163
+ i("update:modelValue", b(e) ? O(e) : void 0);
163
164
  return;
164
165
  }
165
166
  let t = {
166
- ...r.modelValue ?? P(c),
167
+ ...r.modelValue ?? O(c),
167
168
  [v.value]: e
168
169
  }, n = M.some((e) => b(t[e]));
169
170
  i("update:modelValue", n ? t : void 0);
@@ -189,14 +190,14 @@ var Ke = [
189
190
  let e = r.modelValue;
190
191
  if (!e) return;
191
192
  let t = b(e[v.value]) ? e[v.value] : M.map((t) => e[t]).find(b);
192
- i("update:modelValue", t ? P(t) : void 0);
193
+ i("update:modelValue", t ? O(t) : void 0);
193
194
  }
194
- let O = h(() => M.map((e) => ({
195
+ let k = h(() => M.map((e) => ({
195
196
  value: e,
196
197
  label: a.spacingControl[e]
197
198
  })));
198
- return (t, n) => (o(), g("div", Qe, [
199
- x("div", $e, [x("span", et, w(f(a).blockSettings.border), 1), p(Ze, {
199
+ return (t, n) => (o(), g("div", et, [
200
+ x("div", tt, [x("span", nt, w(f(a).blockSettings.border), 1), p($e, {
200
201
  linked: d.value,
201
202
  "link-label": f(a).blockSettings.linkSides,
202
203
  "unlink-label": f(a).blockSettings.unlinkSides,
@@ -208,19 +209,19 @@ var Ke = [
208
209
  "unlink-label",
209
210
  "testid"
210
211
  ])]),
211
- d.value ? _("", !0) : (o(), g("div", tt, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderSide), 3), p(J, {
212
- options: O.value,
212
+ d.value ? _("", !0) : (o(), g("div", rt, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderSide), 3), p(J, {
213
+ options: k.value,
213
214
  "model-value": v.value,
214
215
  "onUpdate:modelValue": n[0] ||= (e) => v.value = e
215
216
  }, null, 8, ["options", "model-value"])])),
216
- x("div", nt, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderWidth), 3), p(Y, {
217
+ x("div", it, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderWidth), 3), p(Y, {
217
218
  "model-value": y.value.width,
218
219
  min: 0,
219
220
  suffix: "px",
220
221
  testid: `${e.testidPrefix}-border-width-input`,
221
222
  "onUpdate:modelValue": T
222
223
  }, null, 8, ["model-value", "testid"])]),
223
- y.value.width > 0 ? (o(), g(C, { key: 1 }, [x("div", rt, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderStyle), 3), p(J, {
224
+ y.value.width > 0 ? (o(), g(C, { key: 1 }, [x("div", at, [x("label", { class: m(f(V)) }, w(f(a).blockSettings.borderStyle), 3), p(J, {
224
225
  options: [
225
226
  {
226
227
  value: "solid",
@@ -243,10 +244,10 @@ var Ke = [
243
244
  }, null, 8, ["model-value"])])], 64)) : _("", !0)
244
245
  ]));
245
246
  }
246
- }), 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 = {
247
+ }), st = { class: "tpl:mb-3.5" }, ct = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, lt = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ut = {
247
248
  key: 1,
248
249
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
249
- }, lt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ut = /* @__PURE__ */ l({
250
+ }, dt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ft = /* @__PURE__ */ l({
250
251
  __name: "RadiusControl",
251
252
  props: {
252
253
  modelValue: {},
@@ -274,7 +275,7 @@ var Ke = [
274
275
  bottomRight: e,
275
276
  bottomLeft: e
276
277
  } : e;
277
- }), m = h(() => A.every((e) => d.value[e] === d.value.topLeft)), _ = s(m.value);
278
+ }), m = h(() => N.every((e) => d.value[e] === d.value.topLeft)), _ = s(m.value);
278
279
  t(m, (e) => {
279
280
  !e && _.value && (_.value = !1);
280
281
  });
@@ -293,7 +294,7 @@ var Ke = [
293
294
  function T() {
294
295
  _.value = !_.value, _.value && a("update:modelValue", d.value.topLeft);
295
296
  }
296
- return (t, n) => (o(), g("div", at, [x("div", ot, [x("span", st, w(e.label), 1), p(Ze, {
297
+ return (t, n) => (o(), g("div", st, [x("div", ct, [x("span", lt, w(e.label), 1), p($e, {
297
298
  linked: _.value,
298
299
  "link-label": f(c).blockSettings.linkCorners,
299
300
  "unlink-label": f(c).blockSettings.unlinkCorners,
@@ -316,7 +317,7 @@ var Ke = [
316
317
  "model-value",
317
318
  "max",
318
319
  "testid"
319
- ])) : (o(), g("div", ct, [(o(), g(C, null, r(u, (t) => x("div", { key: t }, [x("label", lt, w(f(c).blockSettings[l[t]]), 1), p(Y, {
320
+ ])) : (o(), g("div", ut, [(o(), g(C, null, r(u, (t) => x("div", { key: t }, [x("label", dt, w(f(c).blockSettings[l[t]]), 1), p(Y, {
320
321
  "model-value": d.value[t],
321
322
  min: 0,
322
323
  max: e.max,
@@ -330,10 +331,10 @@ var Ke = [
330
331
  "onUpdate:modelValue"
331
332
  ])])), 64))]))]));
332
333
  }
333
- }), 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 = {
334
+ }), pt = { class: "tpl:mb-3.5" }, mt = ["value"], ht = { value: "" }, gt = ["value"], _t = { class: "tpl:mb-3.5" }, vt = { class: "tpl:mb-3.5" }, yt = { class: "tpl:mb-3.5" }, bt = { class: "tpl:mb-3.5" }, xt = { class: "tpl:mb-3.5" }, St = { class: "tpl:flex tpl:items-stretch" }, Ct = ["value"], wt = { class: "tpl:mb-3.5" }, Tt = ["value"], Et = { value: "auto" }, Dt = { value: "full" }, Ot = { value: "custom" }, kt = {
334
335
  key: 0,
335
336
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
336
- }, Ot = ["value"], kt = { class: "tpl:mb-3.5" }, At = 200, jt = /* @__PURE__ */ l({
337
+ }, At = ["value"], jt = { class: "tpl:mb-3.5" }, Mt = 200, Nt = /* @__PURE__ */ l({
337
338
  __name: "ButtonToolbar",
338
339
  props: {
339
340
  block: {},
@@ -346,35 +347,27 @@ var Ke = [
346
347
  i("update", { [e]: t });
347
348
  }
348
349
  function l(e) {
349
- if (e === "full") {
350
- c("width", "full");
351
- return;
352
- }
353
- if (e === "custom") {
354
- c("width", typeof n.block.width == "number" ? n.block.width : At);
355
- return;
356
- }
357
- c("width", void 0);
350
+ e === "full" ? c("width", "full") : e === "custom" ? c("width", typeof n.block.width == "number" ? n.block.width : Mt) : c("width", void 0);
358
351
  }
359
352
  function u(e) {
360
353
  let t = Number(e);
361
354
  !Number.isFinite(t) || t <= 0 || c("width", t);
362
355
  }
363
356
  return (t, n) => (o(), g(C, null, [
364
- x("div", dt, [x("label", { class: m(f(V)) }, w(f(a).button.fontFamily), 3), x("select", {
357
+ x("div", pt, [x("label", { class: m(f(V)) }, w(f(a).button.fontFamily), 3), x("select", {
365
358
  class: m(f(W)),
366
- value: e.block.fontFamily || "",
359
+ value: f(qe)(e.block.fontFamily),
367
360
  onChange: n[0] ||= (e) => c("fontFamily", e.target.value || void 0)
368
- }, [x("option", pt, w(f(a).button.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
361
+ }, [x("option", ht, w(f(a).button.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
369
362
  key: e.value,
370
363
  value: e.value
371
- }, w(e.label), 9, mt))), 128))], 42, ft)]),
372
- x("div", ht, [x("label", { class: m(f(V)) }, w(f(a).button.text), 3), p(q, {
364
+ }, w(e.label), 9, gt))), 128))], 42, mt)]),
365
+ x("div", _t, [x("label", { class: m(f(V)) }, w(f(a).button.text), 3), p(q, {
373
366
  "model-value": e.block.text,
374
367
  type: "text",
375
368
  "onUpdate:modelValue": n[1] ||= (e) => c("text", e)
376
369
  }, null, 8, ["model-value"])]),
377
- x("div", gt, [
370
+ x("div", vt, [
378
371
  x("label", { class: m(f(V)) }, w(f(a).button.url), 3),
379
372
  p(q, {
380
373
  "model-value": e.block.url,
@@ -390,55 +383,55 @@ var Ke = [
390
383
  "onUpdate:modelValue": n[3] ||= (e) => c("openInNewTab", e)
391
384
  }, null, 8, ["model-value", "label"])) : _("", !0)
392
385
  ]),
393
- x("div", _t, [x("label", { class: m(f(V)) }, w(f(a).button.background), 3), p(G, {
386
+ x("div", yt, [x("label", { class: m(f(V)) }, w(f(a).button.background), 3), p(G, {
394
387
  "model-value": e.block.backgroundColor,
395
388
  "allow-transparent": "",
396
389
  "onUpdate:modelValue": n[4] ||= (e) => c("backgroundColor", e)
397
390
  }, null, 8, ["model-value"])]),
398
- x("div", vt, [x("label", { class: m(f(V)) }, w(f(a).button.textColor), 3), p(G, {
391
+ x("div", bt, [x("label", { class: m(f(V)) }, w(f(a).button.textColor), 3), p(G, {
399
392
  "model-value": e.block.textColor,
400
393
  "onUpdate:modelValue": n[5] ||= (e) => c("textColor", e)
401
394
  }, null, 8, ["model-value"])]),
402
- p(it, {
395
+ p(ot, {
403
396
  "model-value": e.block.border,
404
397
  "testid-prefix": "button",
405
398
  "onUpdate:modelValue": n[6] ||= (e) => c("border", e)
406
399
  }, null, 8, ["model-value"]),
407
- p(ut, {
400
+ p(ft, {
408
401
  "model-value": e.block.borderRadius,
409
402
  label: f(a).button.borderRadius,
410
403
  max: 50,
411
404
  "testid-prefix": "button",
412
405
  "onUpdate:modelValue": n[7] ||= (e) => c("borderRadius", e)
413
406
  }, null, 8, ["model-value", "label"]),
414
- x("div", yt, [x("label", { class: m(f(V)) }, w(f(a).button.fontSize), 3), x("div", bt, [x("input", {
407
+ x("div", xt, [x("label", { class: m(f(V)) }, w(f(a).button.fontSize), 3), x("div", St, [x("input", {
415
408
  type: "number",
416
409
  class: m(f(U)),
417
410
  value: e.block.fontSize,
418
411
  min: "10",
419
412
  max: "36",
420
413
  onInput: n[8] ||= (e) => c("fontSize", Number(e.target.value))
421
- }, null, 42, xt), x("span", { class: m(f(H)) }, "px", 2)])]),
422
- x("div", St, [
414
+ }, null, 42, Ct), x("span", { class: m(f(H)) }, "px", 2)])]),
415
+ x("div", wt, [
423
416
  x("label", { class: m(f(V)) }, w(f(a).button.width), 3),
424
417
  x("select", {
425
418
  class: m(f(W)),
426
419
  value: s.value,
427
420
  onChange: n[9] ||= (e) => l(e.target.value)
428
421
  }, [
429
- x("option", wt, w(f(a).button.widthAuto), 1),
430
- x("option", Tt, w(f(a).button.fullWidth), 1),
431
- x("option", Et, w(f(a).button.widthCustom), 1)
432
- ], 42, Ct),
433
- s.value === "custom" ? (o(), g("div", Dt, [x("input", {
422
+ x("option", Et, w(f(a).button.widthAuto), 1),
423
+ x("option", Dt, w(f(a).button.fullWidth), 1),
424
+ x("option", Ot, w(f(a).button.widthCustom), 1)
425
+ ], 42, Tt),
426
+ s.value === "custom" ? (o(), g("div", kt, [x("input", {
434
427
  type: "number",
435
428
  class: m(f(U)),
436
- value: typeof e.block.width == "number" ? e.block.width : At,
429
+ value: typeof e.block.width == "number" ? e.block.width : Mt,
437
430
  min: "20",
438
431
  onInput: n[10] ||= (e) => u(e.target.value)
439
- }, null, 42, Ot), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
432
+ }, null, 42, At), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
440
433
  ]),
441
- x("div", kt, [x("label", { class: m(f(V)) }, w(f(a).title.align), 3), p(J, {
434
+ x("div", jt, [x("label", { class: m(f(V)) }, w(f(a).title.align), 3), p(J, {
442
435
  options: [
443
436
  {
444
437
  value: "left",
@@ -458,7 +451,7 @@ var Ke = [
458
451
  }, null, 8, ["options", "model-value"])])
459
452
  ], 64));
460
453
  }
461
- }), 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"], X = "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)]", Z = "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)]", $t = /*#__PURE__*/ Le(/* @__PURE__ */ l({
454
+ }), Pt = { class: "spacing-control" }, Ft = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, It = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Lt = { class: "tpl:flex tpl:items-center" }, Rt = ["aria-label"], zt = ["value", "aria-label"], Bt = ["aria-label"], Vt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ht = { class: "tpl:flex tpl:items-center" }, Ut = ["aria-label"], Wt = ["value", "aria-label"], Gt = ["aria-label"], Kt = ["aria-label", "title"], qt = { class: "tpl:flex tpl:items-center" }, Jt = ["aria-label"], Yt = ["value", "aria-label"], Xt = ["aria-label"], Zt = { class: "tpl:flex tpl:items-center" }, Qt = ["aria-label"], $t = ["value", "aria-label"], en = ["aria-label"], X = "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)]", tn = "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)]", nn = /*#__PURE__*/ Le(/* @__PURE__ */ l({
462
455
  __name: "SpacingControl",
463
456
  props: {
464
457
  modelValue: {},
@@ -505,8 +498,8 @@ var Ke = [
505
498
  });
506
499
  }
507
500
  }
508
- return (t, n) => (o(), g("div", Mt, [x("label", Nt, w(e.label), 1), x("div", Pt, [
509
- x("div", Ft, [
501
+ return (t, n) => (o(), g("div", Pt, [x("label", Ft, w(e.label), 1), x("div", It, [
502
+ x("div", Lt, [
510
503
  x("button", {
511
504
  "aria-label": f(a).spacingControl.decreaseTop,
512
505
  class: m([X, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -514,15 +507,15 @@ var Ke = [
514
507
  }, [p(f(B), {
515
508
  size: 12,
516
509
  "stroke-width": 2
517
- })], 10, It),
510
+ })], 10, Rt),
518
511
  x("input", {
519
512
  type: "number",
520
- class: m(Z),
513
+ class: m(tn),
521
514
  value: e.modelValue.top,
522
515
  "aria-label": f(a).spacingControl.top,
523
516
  min: "0",
524
517
  onInput: n[1] ||= (e) => d("top", Number(e.target.value))
525
- }, null, 40, Lt),
518
+ }, null, 40, zt),
526
519
  x("button", {
527
520
  "aria-label": f(a).spacingControl.increaseTop,
528
521
  class: m([X, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -530,10 +523,10 @@ var Ke = [
530
523
  }, [p(f(R), {
531
524
  size: 12,
532
525
  "stroke-width": 2
533
- })], 10, Rt)
526
+ })], 10, Bt)
534
527
  ]),
535
- x("div", zt, [
536
- x("div", Bt, [
528
+ x("div", Vt, [
529
+ x("div", Ht, [
537
530
  x("button", {
538
531
  "aria-label": f(a).spacingControl.decreaseLeft,
539
532
  class: m([X, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -541,15 +534,15 @@ var Ke = [
541
534
  }, [p(f(B), {
542
535
  size: 12,
543
536
  "stroke-width": 2
544
- })], 10, Vt),
537
+ })], 10, Ut),
545
538
  x("input", {
546
539
  type: "number",
547
- class: m(Z),
540
+ class: m(tn),
548
541
  value: e.modelValue.left,
549
542
  "aria-label": f(a).spacingControl.left,
550
543
  min: "0",
551
544
  onInput: n[4] ||= (e) => d("left", Number(e.target.value))
552
- }, null, 40, Ht),
545
+ }, null, 40, Wt),
553
546
  x("button", {
554
547
  "aria-label": f(a).spacingControl.increaseLeft,
555
548
  class: m([X, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -557,7 +550,7 @@ var Ke = [
557
550
  }, [p(f(R), {
558
551
  size: 12,
559
552
  "stroke-width": 2
560
- })], 10, Ut)
553
+ })], 10, Gt)
561
554
  ]),
562
555
  x("button", {
563
556
  class: m(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", l.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
@@ -572,8 +565,8 @@ var Ke = [
572
565
  key: 1,
573
566
  size: 14,
574
567
  "stroke-width": 2
575
- }))], 10, Wt),
576
- x("div", Gt, [
568
+ }))], 10, Kt),
569
+ x("div", qt, [
577
570
  x("button", {
578
571
  "aria-label": f(a).spacingControl.decreaseRight,
579
572
  class: m([X, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -581,15 +574,15 @@ var Ke = [
581
574
  }, [p(f(B), {
582
575
  size: 12,
583
576
  "stroke-width": 2
584
- })], 10, Kt),
577
+ })], 10, Jt),
585
578
  x("input", {
586
579
  type: "number",
587
- class: m(Z),
580
+ class: m(tn),
588
581
  value: e.modelValue.right,
589
582
  "aria-label": f(a).spacingControl.right,
590
583
  min: "0",
591
584
  onInput: n[7] ||= (e) => d("right", Number(e.target.value))
592
- }, null, 40, qt),
585
+ }, null, 40, Yt),
593
586
  x("button", {
594
587
  "aria-label": f(a).spacingControl.increaseRight,
595
588
  class: m([X, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -597,10 +590,10 @@ var Ke = [
597
590
  }, [p(f(R), {
598
591
  size: 12,
599
592
  "stroke-width": 2
600
- })], 10, Jt)
593
+ })], 10, Xt)
601
594
  ])
602
595
  ]),
603
- x("div", Yt, [
596
+ x("div", Zt, [
604
597
  x("button", {
605
598
  "aria-label": f(a).spacingControl.decreaseBottom,
606
599
  class: m([X, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -608,15 +601,15 @@ var Ke = [
608
601
  }, [p(f(B), {
609
602
  size: 12,
610
603
  "stroke-width": 2
611
- })], 10, Xt),
604
+ })], 10, Qt),
612
605
  x("input", {
613
606
  type: "number",
614
- class: m(Z),
607
+ class: m(tn),
615
608
  value: e.modelValue.bottom,
616
609
  "aria-label": f(a).spacingControl.bottom,
617
610
  min: "0",
618
611
  onInput: n[10] ||= (e) => d("bottom", Number(e.target.value))
619
- }, null, 40, Zt),
612
+ }, null, 40, $t),
620
613
  x("button", {
621
614
  "aria-label": f(a).spacingControl.increaseBottom,
622
615
  class: m([X, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -624,11 +617,11 @@ var Ke = [
624
617
  }, [p(f(R), {
625
618
  size: 12,
626
619
  "stroke-width": 2
627
- })], 10, Qt)
620
+ })], 10, en)
628
621
  ])
629
622
  ])]));
630
623
  }
631
- }), [["__scopeId", "data-v-69591c1e"]]), en = ["data-testid"], tn = { class: "tpl:mt-3" }, nn = /* @__PURE__ */ l({
624
+ }), [["__scopeId", "data-v-69591c1e"]]), rn = ["data-testid"], an = { class: "tpl:mt-3" }, Z = /* @__PURE__ */ l({
632
625
  __name: "CollapsibleSection",
633
626
  props: {
634
627
  title: {},
@@ -647,21 +640,21 @@ var Ke = [
647
640
  class: m(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
648
641
  size: 12,
649
642
  "stroke-width": 2
650
- }, null, 8, ["class"]), x("span", null, w(e.title), 1)], 8, en), u(x("div", tn, [a(t.$slots, "default")], 512), [[S, e.open]])], 2));
643
+ }, null, 8, ["class"]), x("span", null, w(e.title), 1)], 8, rn), u(x("div", an, [a(t.$slots, "default")], 512), [[S, e.open]])], 2));
651
644
  }
652
- }), rn = { class: "tpl:space-y-2" }, an = { class: "tpl:flex tpl:items-center tpl:gap-2" }, on = { class: "tpl:space-y-2" }, sn = ["value"], cn = { value: "" }, ln = ["label"], un = ["value"], dn = ["value"], fn = {
645
+ }), on = { class: "tpl:space-y-2" }, sn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, cn = { class: "tpl:space-y-2" }, ln = ["value"], un = { value: "" }, dn = ["label"], fn = ["value"], pn = ["value"], mn = {
653
646
  key: 0,
654
647
  value: "__custom__"
655
- }, pn = {
648
+ }, hn = {
656
649
  key: 0,
657
650
  class: "tpl:space-y-2"
658
- }, mn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, hn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, gn = { class: "tpl:flex tpl:justify-end" }, _n = ["disabled"], vn = {
651
+ }, gn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, _n = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, vn = { class: "tpl:flex tpl:justify-end" }, yn = ["disabled"], bn = {
659
652
  key: 0,
660
653
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
661
- }, yn = { class: "tpl:space-y-1" }, bn = { 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)]" }, xn = {
654
+ }, xn = { class: "tpl:space-y-1" }, Sn = { 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)]" }, Cn = {
662
655
  key: 0,
663
656
  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)]"
664
- }, Sn = /* @__PURE__ */ l({
657
+ }, wn = /* @__PURE__ */ l({
665
658
  __name: "CommonBlockSettings",
666
659
  props: {
667
660
  block: {},
@@ -669,7 +662,7 @@ var Ke = [
669
662
  },
670
663
  emits: ["update"],
671
664
  setup(e, { emit: a }) {
672
- let l = e, v = a, { t: S } = L(), T = n(pe, []), D = n(me, !1), O = d(/* @__PURE__ */ new Set()), k = s(!1), A = s(""), j = s(""), ee = [{
665
+ let l = e, v = a, { t: S } = L(), T = n(pe, []), D = n(me, !1), O = d(/* @__PURE__ */ new Set()), k = s(!1), A = s(""), j = s(""), M = [{
673
666
  key: "desktop",
674
667
  icon: Te,
675
668
  labelKey: "showOnDesktop"
@@ -678,12 +671,12 @@ var Ke = [
678
671
  icon: Se,
679
672
  labelKey: "showOnMobile"
680
673
  }];
681
- function M(e) {
674
+ function N(e) {
682
675
  O.has(e) ? O.delete(e) : O.add(e);
683
676
  }
684
- let te = h(() => T.length > 0 || D), N = h(() => l.block.displayCondition ? !T.some((e) => e.label === l.block.displayCondition?.label) : !1);
685
- function P() {
686
- k.value = !0, N.value && l.block.displayCondition ? (A.value = l.block.displayCondition.before, j.value = l.block.displayCondition.after ?? "") : (A.value = "", j.value = "");
677
+ let ee = h(() => T.length > 0 || D), P = h(() => l.block.displayCondition ? !T.some((e) => e.label === l.block.displayCondition?.label) : !1);
678
+ function te() {
679
+ k.value = !0, P.value && l.block.displayCondition ? (A.value = l.block.displayCondition.before, j.value = l.block.displayCondition.after ?? "") : (A.value = "", j.value = "");
687
680
  }
688
681
  function ne() {
689
682
  A.value.trim() && (v("update", { displayCondition: {
@@ -693,11 +686,7 @@ var Ke = [
693
686
  } }), k.value = !1, A.value = "", j.value = "");
694
687
  }
695
688
  t(() => l.block.displayCondition, (e) => {
696
- if (!e) {
697
- k.value = !1, A.value = "", j.value = "";
698
- return;
699
- }
700
- N.value && (A.value = e.before, j.value = e.after ?? "");
689
+ e ? P.value && (A.value = e.before, j.value = e.after ?? "") : (k.value = !1, A.value = "", j.value = "");
701
690
  }, { immediate: !0 });
702
691
  let re = h(() => {
703
692
  let e = {};
@@ -724,13 +713,13 @@ var Ke = [
724
713
  t[e] = !t[e], v("update", { visibility: t });
725
714
  }
726
715
  return (t, n) => (o(), g("div", { class: m(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
727
- p(nn, {
716
+ p(Z, {
728
717
  title: f(S).blockSettings.spacing,
729
718
  open: O.has("spacing"),
730
719
  "no-border": e.isFirstSection,
731
- onToggle: n[1] ||= (e) => M("spacing")
720
+ onToggle: n[1] ||= (e) => N("spacing")
732
721
  }, {
733
- default: i(() => [p($t, {
722
+ default: i(() => [p(nn, {
734
723
  label: f(S).blockSettings.padding,
735
724
  "model-value": e.block.styles.padding,
736
725
  "onUpdate:modelValue": n[0] ||= (e) => ie("padding", e)
@@ -741,10 +730,10 @@ var Ke = [
741
730
  "open",
742
731
  "no-border"
743
732
  ]),
744
- p(nn, {
733
+ p(Z, {
745
734
  title: f(S).blockSettings.background,
746
735
  open: O.has("bg"),
747
- onToggle: n[3] ||= (e) => M("bg")
736
+ onToggle: n[3] ||= (e) => N("bg")
748
737
  }, {
749
738
  default: i(() => [x("label", { class: m(f(V)) }, w(f(S).blockSettings.color), 3), p(G, {
750
739
  "model-value": e.block.styles.backgroundColor ?? "",
@@ -753,19 +742,19 @@ var Ke = [
753
742
  }, null, 8, ["model-value"])]),
754
743
  _: 1
755
744
  }, 8, ["title", "open"]),
756
- p(nn, {
745
+ p(Z, {
757
746
  title: f(S).blockSettings.display,
758
747
  open: O.has("display"),
759
- onToggle: n[4] ||= (e) => M("display")
748
+ onToggle: n[4] ||= (e) => N("display")
760
749
  }, {
761
- default: i(() => [x("div", rn, [(o(), g(C, null, r(ee, (e) => p(K, {
750
+ default: i(() => [x("div", on, [(o(), g(C, null, r(M, (e) => p(K, {
762
751
  key: e.key,
763
752
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
764
753
  "model-value": F(e.key),
765
754
  label: f(S).blockSettings[e.labelKey],
766
755
  "onUpdate:modelValue": (t) => ae(e.key)
767
756
  }, {
768
- default: i(() => [x("span", an, [(o(), y(c(e.icon), {
757
+ default: i(() => [x("span", sn, [(o(), y(c(e.icon), {
769
758
  size: 14,
770
759
  "stroke-width": 1.5
771
760
  })), E(" " + w(f(S).blockSettings[e.labelKey]), 1)])]),
@@ -777,21 +766,21 @@ var Ke = [
777
766
  ])), 64))])]),
778
767
  _: 1
779
768
  }, 8, ["title", "open"]),
780
- te.value ? (o(), y(nn, {
769
+ ee.value ? (o(), y(Z, {
781
770
  key: 0,
782
771
  "header-test-id": "display-condition-section",
783
772
  title: f(S).blockSettings.displayCondition,
784
773
  open: O.has("condition"),
785
- onToggle: n[8] ||= (e) => M("condition")
774
+ onToggle: n[8] ||= (e) => N("condition")
786
775
  }, {
787
- default: i(() => [x("div", on, [x("select", {
776
+ default: i(() => [x("div", cn, [x("select", {
788
777
  "data-testid": "display-condition-select",
789
778
  class: m(["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)]"]),
790
- value: k.value || N.value ? "__custom__" : e.block.displayCondition?.label ?? "",
779
+ value: k.value || P.value ? "__custom__" : e.block.displayCondition?.label ?? "",
791
780
  onChange: n[5] ||= (e) => {
792
781
  let t = e.target.value;
793
782
  if (t === "__custom__") {
794
- P();
783
+ te();
795
784
  return;
796
785
  }
797
786
  if (k.value = !1, !t) {
@@ -802,41 +791,41 @@ var Ke = [
802
791
  n && v("update", { displayCondition: n });
803
792
  }
804
793
  }, [
805
- x("option", cn, w(f(S).blockSettings.noCondition), 1),
794
+ x("option", un, w(f(S).blockSettings.noCondition), 1),
806
795
  (o(!0), g(C, null, r(re.value, (e, t) => (o(), g(C, { key: t }, [t ? (o(), g("optgroup", {
807
796
  key: 0,
808
797
  label: String(t)
809
798
  }, [(o(!0), g(C, null, r(e, (e) => (o(), g("option", {
810
799
  key: e.label,
811
800
  value: e.label
812
- }, w(e.label), 9, un))), 128))], 8, ln)) : (o(!0), g(C, { key: 1 }, r(e, (e) => (o(), g("option", {
801
+ }, w(e.label), 9, fn))), 128))], 8, dn)) : (o(!0), g(C, { key: 1 }, r(e, (e) => (o(), g("option", {
813
802
  key: e.label,
814
803
  value: e.label
815
- }, w(e.label), 9, dn))), 128))], 64))), 128)),
816
- f(D) ? (o(), g("option", fn, w(f(S).blockSettings.customCondition), 1)) : _("", !0)
817
- ], 42, sn), k.value || N.value ? (o(), g("div", pn, [
818
- x("div", null, [x("label", mn, w(f(S).blockSettings.customConditionBefore), 1), u(x("textarea", {
804
+ }, w(e.label), 9, pn))), 128))], 64))), 128)),
805
+ f(D) ? (o(), g("option", mn, w(f(S).blockSettings.customCondition), 1)) : _("", !0)
806
+ ], 42, ln), k.value || P.value ? (o(), g("div", hn, [
807
+ x("div", null, [x("label", gn, w(f(S).blockSettings.customConditionBefore), 1), u(x("textarea", {
819
808
  "onUpdate:modelValue": n[6] ||= (e) => A.value = e,
820
809
  rows: "2",
821
810
  class: m(f(ze))
822
811
  }, null, 2), [[b, A.value]])]),
823
- x("div", null, [x("label", hn, w(f(S).blockSettings.customConditionAfter), 1), u(x("textarea", {
812
+ x("div", null, [x("label", _n, w(f(S).blockSettings.customConditionAfter), 1), u(x("textarea", {
824
813
  "onUpdate:modelValue": n[7] ||= (e) => j.value = e,
825
814
  rows: "2",
826
815
  class: m(f(ze))
827
816
  }, null, 2), [[b, j.value]])]),
828
- x("div", gn, [x("button", {
817
+ x("div", vn, [x("button", {
829
818
  type: "button",
830
819
  class: m(f(Ue)),
831
820
  disabled: !A.value.trim(),
832
821
  onClick: ne
833
- }, w(f(S).blockSettings.applyCondition), 11, _n)])
834
- ])) : e.block.displayCondition && !N.value ? (o(), g(C, { key: 1 }, [e.block.displayCondition.description ? (o(), g("p", vn, w(e.block.displayCondition.description), 1)) : _("", !0), x("div", yn, [x("pre", bn, w(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (o(), g("pre", xn, w(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)])]),
822
+ }, w(f(S).blockSettings.applyCondition), 11, yn)])
823
+ ])) : e.block.displayCondition && !P.value ? (o(), g(C, { key: 1 }, [e.block.displayCondition.description ? (o(), g("p", bn, w(e.block.displayCondition.description), 1)) : _("", !0), x("div", xn, [x("pre", Sn, w(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (o(), g("pre", Cn, w(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)])]),
835
824
  _: 1
836
825
  }, 8, ["title", "open"])) : _("", !0)
837
826
  ], 2));
838
827
  }
839
- }), Cn = ["title"], wn = /* @__PURE__ */ l({
828
+ }), Tn = ["title"], En = /* @__PURE__ */ l({
840
829
  __name: "BooleanField",
841
830
  props: {
842
831
  field: {},
@@ -868,9 +857,9 @@ var Ke = [
868
857
  "label",
869
858
  "required",
870
859
  "disabled"
871
- ])], 8, Cn));
860
+ ])], 8, Tn));
872
861
  }
873
- }), Tn = { class: "tpl:mb-3.5" }, En = ["title"], Dn = { class: "tpl-sr-only" }, On = ["title"], kn = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ l({
862
+ }), Dn = { class: "tpl:mb-3.5" }, On = ["title"], kn = { class: "tpl-sr-only" }, An = ["title"], jn = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ l({
874
863
  __name: "FieldWrapper",
875
864
  props: {
876
865
  label: {},
@@ -879,7 +868,7 @@ var Ke = [
879
868
  },
880
869
  setup(e) {
881
870
  let { t } = L();
882
- return (n, r) => (o(), g("div", Tn, [x("label", { class: m(f(V)) }, [
871
+ return (n, r) => (o(), g("div", Dn, [x("label", { class: m(f(V)) }, [
883
872
  E(w(e.label) + " ", 1),
884
873
  e.readOnly ? (o(), g("span", {
885
874
  key: 0,
@@ -888,15 +877,15 @@ var Ke = [
888
877
  size: 12,
889
878
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
890
879
  "aria-hidden": "true"
891
- }), x("span", Dn, w(f(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, En)) : _("", !0),
880
+ }), x("span", kn, w(f(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, On)) : _("", !0),
892
881
  e.required ? (o(), g("span", {
893
882
  key: 1,
894
883
  class: "tpl:text-[var(--tpl-danger)]",
895
884
  title: f(t).customBlocks.fields.required
896
- }, [r[0] ||= x("span", { "aria-hidden": "true" }, "*", -1), x("span", kn, w(f(t).customBlocks.fields.required), 1)], 8, On)) : _("", !0)
885
+ }, [r[0] ||= x("span", { "aria-hidden": "true" }, "*", -1), x("span", jn, w(f(t).customBlocks.fields.required), 1)], 8, An)) : _("", !0)
897
886
  ], 2), a(n.$slots, "default")]));
898
887
  }
899
- }), An = /* @__PURE__ */ l({
888
+ }), Mn = /* @__PURE__ */ l({
900
889
  __name: "ColorField",
901
890
  props: {
902
891
  field: {},
@@ -934,15 +923,15 @@ var Ke = [
934
923
  "read-only"
935
924
  ]));
936
925
  }
937
- }), jn = {
926
+ }), Nn = {
938
927
  key: 0,
939
928
  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)]",
940
929
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
941
- }, Mn = [
930
+ }, Pn = [
942
931
  "value",
943
932
  "placeholder",
944
933
  "title"
945
- ], Nn = ["value", "placeholder"], Pn = /* @__PURE__ */ l({
934
+ ], Fn = ["value", "placeholder"], In = /* @__PURE__ */ l({
946
935
  __name: "ImageField",
947
936
  props: {
948
937
  field: {},
@@ -987,7 +976,7 @@ var Ke = [
987
976
  ref: S,
988
977
  class: "tpl:relative"
989
978
  }, [
990
- D.value && (f(k) || T.value) ? (o(), g("div", jn, [T.value ? (o(), g(C, { key: 0 }, [p(f(Ce), {
979
+ D.value && (f(k) || T.value) ? (o(), g("div", Nn, [T.value ? (o(), g(C, { key: 0 }, [p(f(Ce), {
991
980
  class: "tpl-spinner",
992
981
  size: 18,
993
982
  "stroke-width": 2
@@ -1003,14 +992,14 @@ var Ke = [
1003
992
  placeholder: e.field.placeholder || "https://...",
1004
993
  disabled: "",
1005
994
  title: f(c).customBlocks.dataSource.readOnlyTooltip
1006
- }, null, 10, Mn)) : (o(), g("input", {
995
+ }, null, 10, Pn)) : (o(), g("input", {
1007
996
  key: 2,
1008
997
  type: "url",
1009
998
  class: m(f(W)),
1010
999
  value: e.modelValue,
1011
1000
  placeholder: e.field.placeholder || "https://...",
1012
1001
  onInput: n[0] ||= (e) => a("update:modelValue", e.target.value)
1013
- }, null, 42, Nn)),
1002
+ }, null, 42, Fn)),
1014
1003
  v.value && !e.readOnly ? (o(), g("button", {
1015
1004
  key: 3,
1016
1005
  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)]",
@@ -1027,7 +1016,7 @@ var Ke = [
1027
1016
  "read-only"
1028
1017
  ]));
1029
1018
  }
1030
- }), Fn = [
1019
+ }), Ln = [
1031
1020
  "value",
1032
1021
  "placeholder",
1033
1022
  "min",
@@ -1035,7 +1024,7 @@ var Ke = [
1035
1024
  "step",
1036
1025
  "disabled",
1037
1026
  "title"
1038
- ], In = /* @__PURE__ */ l({
1027
+ ], Rn = /* @__PURE__ */ l({
1039
1028
  __name: "NumberField",
1040
1029
  props: {
1041
1030
  field: {},
@@ -1061,7 +1050,7 @@ var Ke = [
1061
1050
  disabled: e.readOnly,
1062
1051
  title: e.readOnly ? f(r).customBlocks.dataSource.readOnlyTooltip : void 0,
1063
1052
  onInput: a[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
1064
- }, null, 42, Fn)]),
1053
+ }, null, 42, Ln)]),
1065
1054
  _: 1
1066
1055
  }, 8, [
1067
1056
  "label",
@@ -1069,13 +1058,13 @@ var Ke = [
1069
1058
  "read-only"
1070
1059
  ]));
1071
1060
  }
1072
- }), Ln = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Rn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, zn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Bn = ["title", "onClick"], Vn = {
1061
+ }), zn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Bn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Vn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Hn = ["title", "onClick"], Un = {
1073
1062
  key: 1,
1074
1063
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1075
- }, Hn = {
1064
+ }, Wn = {
1076
1065
  key: 2,
1077
1066
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1078
- }, Un = /* @__PURE__ */ l({
1067
+ }, Gn = /* @__PURE__ */ l({
1079
1068
  __name: "RepeatableField",
1080
1069
  props: {
1081
1070
  field: {},
@@ -1108,11 +1097,11 @@ var Ke = [
1108
1097
  required: e.field.required,
1109
1098
  "read-only": e.readOnly
1110
1099
  }, {
1111
- default: i(() => [x("div", Ln, [
1100
+ default: i(() => [x("div", zn, [
1112
1101
  (o(!0), g(C, null, r(u.value, (t, n) => (o(), g("div", {
1113
1102
  key: `${e.field.key}-${n}`,
1114
1103
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
1115
- }, [x("div", Rn, [x("span", zn, " #" + w(n + 1), 1), v.value && !e.readOnly ? (o(), g("button", {
1104
+ }, [x("div", Bn, [x("span", Vn, " #" + w(n + 1), 1), v.value && !e.readOnly ? (o(), g("button", {
1116
1105
  key: 0,
1117
1106
  type: "button",
1118
1107
  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)]",
@@ -1121,7 +1110,7 @@ var Ke = [
1121
1110
  }, [p(f(Ee), {
1122
1111
  size: 12,
1123
1112
  "stroke-width": 2
1124
- })], 8, Bn)) : _("", !0)]), (o(!0), g(C, null, r(e.field.fields, (r) => (o(), y(c(f(Qn)(r.type)), {
1113
+ })], 8, Hn)) : _("", !0)]), (o(!0), g(C, null, r(e.field.fields, (r) => (o(), y(c(f(er)(r.type)), {
1125
1114
  key: r.key,
1126
1115
  field: r,
1127
1116
  "model-value": t[r.key],
@@ -1142,8 +1131,8 @@ var Ke = [
1142
1131
  size: 14,
1143
1132
  "stroke-width": 2
1144
1133
  }), E(" " + w(f(s).customBlocks.fields.addItem), 1)], 2)) : _("", !0),
1145
- !d.value && !e.readOnly ? (o(), g("p", Vn, w(f(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
1146
- !v.value && !e.readOnly ? (o(), g("p", Hn, w(f(l)(f(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
1134
+ !d.value && !e.readOnly ? (o(), g("p", Un, w(f(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
1135
+ !v.value && !e.readOnly ? (o(), g("p", Wn, w(f(l)(f(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
1147
1136
  ])]),
1148
1137
  _: 1
1149
1138
  }, 8, [
@@ -1152,11 +1141,11 @@ var Ke = [
1152
1141
  "read-only"
1153
1142
  ]));
1154
1143
  }
1155
- }), Wn = [
1144
+ }), Kn = [
1156
1145
  "value",
1157
1146
  "disabled",
1158
1147
  "title"
1159
- ], Gn = ["value"], Kn = /* @__PURE__ */ l({
1148
+ ], qn = ["value"], Jn = /* @__PURE__ */ l({
1160
1149
  __name: "SelectField",
1161
1150
  props: {
1162
1151
  field: {},
@@ -1180,7 +1169,7 @@ var Ke = [
1180
1169
  }, [(o(!0), g(C, null, r(e.field.options, (e) => (o(), g("option", {
1181
1170
  key: e.value,
1182
1171
  value: e.value
1183
- }, w(e.label), 9, Gn))), 128))], 42, Wn)]),
1172
+ }, w(e.label), 9, qn))), 128))], 42, Kn)]),
1184
1173
  _: 1
1185
1174
  }, 8, [
1186
1175
  "label",
@@ -1188,11 +1177,11 @@ var Ke = [
1188
1177
  "read-only"
1189
1178
  ]));
1190
1179
  }
1191
- }), qn = [
1180
+ }), Yn = [
1192
1181
  "value",
1193
1182
  "placeholder",
1194
1183
  "title"
1195
- ], Jn = /* @__PURE__ */ l({
1184
+ ], Xn = /* @__PURE__ */ l({
1196
1185
  __name: "TextField",
1197
1186
  props: {
1198
1187
  field: {},
@@ -1215,7 +1204,7 @@ var Ke = [
1215
1204
  placeholder: e.field.placeholder,
1216
1205
  disabled: "",
1217
1206
  title: f(r).customBlocks.dataSource.readOnlyTooltip
1218
- }, null, 10, qn)) : (o(), y(q, {
1207
+ }, null, 10, Yn)) : (o(), y(q, {
1219
1208
  key: 1,
1220
1209
  "model-value": e.modelValue,
1221
1210
  placeholder: e.field.placeholder,
@@ -1228,12 +1217,12 @@ var Ke = [
1228
1217
  "read-only"
1229
1218
  ]));
1230
1219
  }
1231
- }), Yn = [
1220
+ }), Zn = [
1232
1221
  "value",
1233
1222
  "placeholder",
1234
1223
  "title"
1235
- ], Xn = "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", Zn = {
1236
- text: Jn,
1224
+ ], Qn = "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", $n = {
1225
+ text: Xn,
1237
1226
  textarea: /* @__PURE__ */ l({
1238
1227
  __name: "TextareaField",
1239
1228
  props: {
@@ -1256,8 +1245,8 @@ var Ke = [
1256
1245
  rows: "3",
1257
1246
  disabled: "",
1258
1247
  title: f(r).customBlocks.dataSource.readOnlyTooltip,
1259
- class: m(Xn)
1260
- }, null, 8, Yn)) : (o(), y(Ge, {
1248
+ class: m(Qn)
1249
+ }, null, 8, Zn)) : (o(), y(Ge, {
1261
1250
  key: 1,
1262
1251
  "model-value": e.modelValue,
1263
1252
  placeholder: e.field.placeholder,
@@ -1271,37 +1260,37 @@ var Ke = [
1271
1260
  ]));
1272
1261
  }
1273
1262
  }),
1274
- image: Pn,
1275
- color: An,
1276
- number: In,
1277
- select: Kn,
1278
- boolean: wn,
1279
- repeatable: Un
1263
+ image: In,
1264
+ color: Mn,
1265
+ number: Rn,
1266
+ select: Jn,
1267
+ boolean: En,
1268
+ repeatable: Gn
1280
1269
  };
1281
- function Qn(e) {
1282
- return Zn[e] ?? Jn;
1270
+ function er(e) {
1271
+ return $n[e] ?? Xn;
1283
1272
  }
1284
1273
  //#endregion
1285
1274
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
1286
- var $n = {
1275
+ var tr = {
1287
1276
  key: 0,
1288
1277
  class: "tpl:p-4"
1289
- }, er = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, tr = { key: 1 }, nr = {
1278
+ }, nr = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, rr = { key: 1 }, ir = {
1290
1279
  key: 0,
1291
1280
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1292
- }, rr = {
1281
+ }, ar = {
1293
1282
  key: 1,
1294
1283
  class: "tpl:mb-4"
1295
- }, ir = {
1284
+ }, or = {
1296
1285
  key: 1,
1297
1286
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
1298
- }, ar = {
1287
+ }, sr = {
1299
1288
  key: 0,
1300
1289
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1301
- }, or = {
1290
+ }, cr = {
1302
1291
  key: 2,
1303
1292
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
1304
- }, sr = /* @__PURE__ */ l({
1293
+ }, lr = /* @__PURE__ */ l({
1305
1294
  __name: "CustomBlockToolbar",
1306
1295
  props: { block: {} },
1307
1296
  emits: ["updateFieldValues", "updateDataSourceFetched"],
@@ -1322,23 +1311,23 @@ var $n = {
1322
1311
  [e]: t
1323
1312
  });
1324
1313
  }
1325
- return (t, n) => u.value ? (o(), g("div", tr, [
1326
- u.value.description ? (o(), g("p", nr, w(u.value.description), 1)) : _("", !0),
1327
- f(S) ? (o(), g("div", rr, [f(T) && !f(m) ? (o(), g("button", {
1314
+ return (t, n) => u.value ? (o(), g("div", rr, [
1315
+ u.value.description ? (o(), g("p", ir, w(u.value.description), 1)) : _("", !0),
1316
+ f(S) ? (o(), g("div", ar, [f(T) && !f(m) ? (o(), g("button", {
1328
1317
  key: 0,
1329
1318
  type: "button",
1330
1319
  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)]",
1331
1320
  onClick: n[0] ||= (...e) => f(b) && f(b)(...e)
1332
- }, w(u.value?.dataSource?.label || f(s).customBlocks.dataSource.fetchButton), 1)) : (o(), g("div", ir, [f(m) ? (o(), g("div", ar, w(f(s).customBlocks.dataSource.fetching), 1)) : (o(), g("button", {
1321
+ }, w(u.value?.dataSource?.label || f(s).customBlocks.dataSource.fetchButton), 1)) : (o(), g("div", or, [f(m) ? (o(), g("div", sr, w(f(s).customBlocks.dataSource.fetching), 1)) : (o(), g("button", {
1333
1322
  key: 1,
1334
1323
  type: "button",
1335
1324
  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)]",
1336
1325
  onClick: n[1] ||= (...e) => f(b) && f(b)(...e)
1337
- }, [p(f(ve), { size: 12 }), E(" " + w(f(s).customBlocks.dataSource.changeButton), 1)]))])), f(v) ? (o(), g("p", or, [p(f(xe), {
1326
+ }, [p(f(ve), { size: 12 }), E(" " + w(f(s).customBlocks.dataSource.changeButton), 1)]))])), f(v) ? (o(), g("p", cr, [p(f(xe), {
1338
1327
  size: 14,
1339
1328
  class: "tpl:shrink-0"
1340
1329
  }), E(" " + w(f(s).customBlocks.dataSource.fetchError), 1)])) : _("", !0)])) : _("", !0),
1341
- (o(!0), g(C, null, r(u.value.fields, (t) => (o(), y(c(f(Qn)(t.type)), {
1330
+ (o(!0), g(C, null, r(u.value.fields, (t) => (o(), y(c(f(er)(t.type)), {
1342
1331
  key: t.key,
1343
1332
  field: t,
1344
1333
  "model-value": e.block.fieldValues[t.key],
@@ -1350,9 +1339,9 @@ var $n = {
1350
1339
  "read-only",
1351
1340
  "onUpdate:modelValue"
1352
1341
  ]))), 128))
1353
- ])) : (o(), g("div", $n, [x("p", er, w(f(s).customBlocks.toolbar.noDefinition), 1)]));
1342
+ ])) : (o(), g("div", tr, [x("p", nr, w(f(s).customBlocks.toolbar.noDefinition), 1)]));
1354
1343
  }
1355
- }), cr = { class: "tpl:mb-3.5" }, lr = { class: "tpl:mb-3.5" }, ur = { class: "tpl:mb-3.5" }, dr = { class: "tpl:flex tpl:items-stretch" }, fr = ["value"], pr = /* @__PURE__ */ l({
1344
+ }), ur = { class: "tpl:mb-3.5" }, dr = { class: "tpl:mb-3.5" }, fr = { class: "tpl:mb-3.5" }, pr = { class: "tpl:flex tpl:items-stretch" }, mr = ["value"], hr = /* @__PURE__ */ l({
1356
1345
  __name: "DividerToolbar",
1357
1346
  props: { block: {} },
1358
1347
  emits: ["update"],
@@ -1362,7 +1351,7 @@ var $n = {
1362
1351
  n("update", { [e]: t });
1363
1352
  }
1364
1353
  return (t, n) => (o(), g(C, null, [
1365
- x("div", cr, [x("label", { class: m(f(V)) }, w(f(r).divider.style), 3), p(J, {
1354
+ x("div", ur, [x("label", { class: m(f(V)) }, w(f(r).divider.style), 3), p(J, {
1366
1355
  options: [
1367
1356
  {
1368
1357
  value: "solid",
@@ -1380,27 +1369,27 @@ var $n = {
1380
1369
  "model-value": e.block.lineStyle,
1381
1370
  "onUpdate:modelValue": n[0] ||= (e) => i("lineStyle", e)
1382
1371
  }, null, 8, ["options", "model-value"])]),
1383
- x("div", lr, [x("label", { class: m(f(V)) }, w(f(r).divider.color), 3), p(G, {
1372
+ x("div", dr, [x("label", { class: m(f(V)) }, w(f(r).divider.color), 3), p(G, {
1384
1373
  "model-value": e.block.color,
1385
1374
  "onUpdate:modelValue": n[1] ||= (e) => i("color", e)
1386
1375
  }, null, 8, ["model-value"])]),
1387
- x("div", ur, [x("label", { class: m(f(V)) }, w(f(r).divider.thickness), 3), x("div", dr, [x("input", {
1376
+ x("div", fr, [x("label", { class: m(f(V)) }, w(f(r).divider.thickness), 3), x("div", pr, [x("input", {
1388
1377
  type: "number",
1389
1378
  class: m(f(U)),
1390
1379
  value: e.block.thickness,
1391
1380
  min: "1",
1392
1381
  max: "10",
1393
1382
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
1394
- }, null, 42, fr), x("span", { class: m(f(H)) }, "px", 2)])])
1383
+ }, null, 42, mr), x("span", { class: m(f(H)) }, "px", 2)])])
1395
1384
  ], 64));
1396
1385
  }
1397
- }), mr = { class: "tpl:mb-3.5" }, hr = ["value"], gr = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, _r = /* @__PURE__ */ l({
1386
+ }), gr = { class: "tpl:mb-3.5" }, _r = ["value"], vr = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, yr = /* @__PURE__ */ l({
1398
1387
  __name: "HtmlToolbar",
1399
1388
  props: { block: {} },
1400
1389
  emits: ["update"],
1401
1390
  setup(e, { emit: t }) {
1402
1391
  let n = t, { t: r } = L();
1403
- return (t, i) => (o(), g("div", mr, [
1392
+ return (t, i) => (o(), g("div", gr, [
1404
1393
  x("label", { class: m(f(V)) }, w(f(r).html.content), 3),
1405
1394
  x("textarea", {
1406
1395
  value: e.block.content,
@@ -1408,73 +1397,71 @@ var $n = {
1408
1397
  rows: "10",
1409
1398
  class: m(f(ze)),
1410
1399
  onInput: i[0] ||= (e) => n("update", { content: e.target.value })
1411
- }, null, 42, hr),
1412
- x("p", gr, [p(f(De), {
1400
+ }, null, 42, _r),
1401
+ x("p", vr, [p(f(De), {
1413
1402
  size: 12,
1414
1403
  class: "tpl:mt-0.5 tpl:shrink-0"
1415
1404
  }), E(" " + w(f(r).html.sanitizationHint), 1)])
1416
1405
  ]));
1417
1406
  }
1418
- }), vr = { class: "tpl:mb-3.5" }, yr = {
1407
+ }), br = { class: "tpl:mb-3.5" }, xr = {
1419
1408
  key: 0,
1420
1409
  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)]",
1421
1410
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1422
- }, br = {
1411
+ }, Sr = {
1423
1412
  key: 0,
1424
1413
  class: "tpl:mb-3.5"
1425
- }, xr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Sr = [
1414
+ }, Cr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, wr = [
1426
1415
  "value",
1427
1416
  "placeholder",
1428
1417
  "title"
1429
- ], Cr = { class: "tpl:mb-3.5" }, wr = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Tr = { class: "tpl:mb-3.5" }, Er = ["value"], Dr = { value: "full" }, Or = { value: "custom" }, kr = {
1418
+ ], Tr = { class: "tpl:mb-3.5" }, Er = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Dr = { class: "tpl:mb-3.5" }, Or = ["value"], kr = { value: "full" }, Ar = { value: "custom" }, jr = {
1430
1419
  key: 0,
1431
1420
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1432
- }, Ar = ["value"], jr = { class: "tpl:mb-3.5" }, Mr = ["value"], Nr = { value: "auto" }, Pr = { value: "custom" }, Fr = {
1421
+ }, Mr = ["value"], Nr = { class: "tpl:mb-3.5" }, Pr = ["value"], Fr = { value: "auto" }, Ir = { value: "custom" }, Lr = {
1433
1422
  key: 0,
1434
1423
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1435
- }, Ir = ["value"], Lr = { class: "tpl:mb-3.5" }, Rr = { class: "tpl:mb-3.5" }, zr = 350, Br = 200, Vr = /* @__PURE__ */ l({
1424
+ }, Rr = ["value"], zr = { class: "tpl:mb-3.5" }, Br = { class: "tpl:mb-3.5" }, Vr = 350, Hr = 200, Ur = /* @__PURE__ */ l({
1436
1425
  __name: "ImageToolbar",
1437
1426
  props: { block: {} },
1438
1427
  emits: ["update"],
1439
1428
  setup(e, { emit: t }) {
1440
- let r = e, a = t, { t: c } = L(), l = n(le, null), u = n(de, null), d = n(ue, te.liquid), v = Re(), b = h(() => !!l), S = s(!1), T = s(!1), { start: D } = oe(() => {
1429
+ let r = e, a = t, { t: c } = L(), l = n(le, null), u = n(de, null), d = n(ue, P.liquid), v = Re(), b = h(() => !!l), S = s(!1), T = s(!1), { start: D } = oe(() => {
1441
1430
  S.value = !1;
1442
1431
  }, 1e3, { immediate: !1 }), O = [
1443
1432
  300,
1444
1433
  400,
1445
1434
  500
1446
- ], k = h(() => {
1435
+ ], A = h(() => {
1447
1436
  let e = r.block.width;
1448
1437
  return e === "full" ? "full" : O.includes(e) ? String(e) : "custom";
1449
- }), A = h(() => typeof r.block.height == "number" ? "custom" : "auto");
1450
- function j(e, t) {
1438
+ }), j = h(() => typeof r.block.height == "number" ? "custom" : "auto");
1439
+ function M(e, t) {
1451
1440
  a("update", { [e]: t });
1452
1441
  }
1453
- function M(e) {
1442
+ function N(e) {
1454
1443
  if (e === "custom") {
1455
1444
  let e = r.block.width;
1456
- (typeof e != "number" || O.includes(e)) && j("width", zr);
1457
- return;
1458
- }
1459
- j("width", e === "full" ? "full" : Number(e));
1445
+ (typeof e != "number" || O.includes(e)) && M("width", Vr);
1446
+ } else M("width", e === "full" ? "full" : Number(e));
1460
1447
  }
1461
- function P(e) {
1462
- j("height", e === "custom" ? Br : void 0);
1448
+ function te(e) {
1449
+ M("height", e === "custom" ? Hr : void 0);
1463
1450
  }
1464
1451
  function ne(e) {
1465
1452
  let t = Number(e);
1466
- !Number.isFinite(t) || t <= 0 || j("height", t);
1453
+ !Number.isFinite(t) || t <= 0 || M("height", t);
1467
1454
  }
1468
1455
  function re(e) {
1469
- j("borderRadius", N(e) === null ? void 0 : e);
1456
+ M("borderRadius", k(e) === null ? void 0 : e);
1470
1457
  }
1471
1458
  function F(e) {
1472
1459
  let t = Number(e);
1473
- !Number.isFinite(t) || t <= 0 || j("width", t);
1460
+ !Number.isFinite(t) || t <= 0 || M("width", t);
1474
1461
  }
1475
1462
  async function ae() {
1476
1463
  let e = await l?.({ accept: ["images"] });
1477
- v.alive && e && (j("src", e.url), e.alt && (j("alt", e.alt), T.value = !0), S.value = !0, D());
1464
+ v.alive && e && (M("src", e.url), e.alt && (M("alt", e.alt), T.value = !0), S.value = !0, D());
1478
1465
  }
1479
1466
  let se = s(), I = s(!1), ce = h(() => ee(r.block.src, d)), fe = h(() => (u?.value ?? !!l) && !I.value && !ce.value);
1480
1467
  async function pe(e) {
@@ -1486,7 +1473,7 @@ var $n = {
1486
1473
  files: e
1487
1474
  });
1488
1475
  if (!v.alive) return;
1489
- t && (j("src", t.url), t.alt && (j("alt", t.alt), T.value = !0), S.value = !0, D());
1476
+ t && (M("src", t.url), t.alt && (M("alt", t.alt), T.value = !0), S.value = !0, D());
1490
1477
  } finally {
1491
1478
  v.alive && (I.value = !1);
1492
1479
  }
@@ -1498,12 +1485,12 @@ var $n = {
1498
1485
  onFiles: pe
1499
1486
  });
1500
1487
  return (t, n) => (o(), g(C, null, [
1501
- x("div", vr, [x("label", { class: m(f(V)) }, w(f(c).image.imageUrl), 3), x("div", {
1488
+ x("div", br, [x("label", { class: m(f(V)) }, w(f(c).image.imageUrl), 3), x("div", {
1502
1489
  ref_key: "dropZoneRef",
1503
1490
  ref: se,
1504
1491
  class: "tpl:relative"
1505
1492
  }, [
1506
- fe.value && (f(me) || I.value) ? (o(), g("div", yr, [I.value ? (o(), g(C, { key: 0 }, [p(f(Ce), {
1493
+ fe.value && (f(me) || I.value) ? (o(), g("div", xr, [I.value ? (o(), g(C, { key: 0 }, [p(f(Ce), {
1507
1494
  class: "tpl-spinner",
1508
1495
  size: 18,
1509
1496
  "stroke-width": 2
@@ -1516,7 +1503,7 @@ var $n = {
1516
1503
  type: "url",
1517
1504
  placeholder: f(c).image.imageUrlPlaceholder,
1518
1505
  pulse: S.value,
1519
- "onUpdate:modelValue": n[0] ||= (e) => j("src", e)
1506
+ "onUpdate:modelValue": n[0] ||= (e) => M("src", e)
1520
1507
  }, null, 8, [
1521
1508
  "model-value",
1522
1509
  "placeholder",
@@ -1536,15 +1523,15 @@ var $n = {
1536
1523
  "stroke-width": 1.5
1537
1524
  }), E(" " + w(f(c).image.browseMedia), 1)])) : _("", !0)
1538
1525
  ], 512)]),
1539
- f(ee)(e.block.src, f(d)) ? (o(), g("div", br, [x("label", { class: m(f(V)) }, [E(w(f(c).image.placeholderUrl) + " ", 1), x("span", xr, w(f(c).image.optional), 1)], 2), x("input", {
1526
+ f(ee)(e.block.src, f(d)) ? (o(), g("div", Sr, [x("label", { class: m(f(V)) }, [E(w(f(c).image.placeholderUrl) + " ", 1), x("span", Cr, w(f(c).image.optional), 1)], 2), x("input", {
1540
1527
  type: "url",
1541
1528
  class: m(f(W)),
1542
1529
  value: e.block.placeholderUrl || "",
1543
1530
  placeholder: f(c).image.placeholderUrlPlaceholder,
1544
1531
  title: f(c).image.placeholderUrlTooltip,
1545
- onInput: n[1] ||= (e) => j("placeholderUrl", e.target.value)
1546
- }, null, 42, Sr)])) : _("", !0),
1547
- x("div", Cr, [
1532
+ onInput: n[1] ||= (e) => M("placeholderUrl", e.target.value)
1533
+ }, null, 42, wr)])) : _("", !0),
1534
+ x("div", Tr, [
1548
1535
  x("label", { class: m(f(V)) }, w(f(c).image.altText), 3),
1549
1536
  p(q, {
1550
1537
  "model-value": e.block.alt,
@@ -1552,7 +1539,7 @@ var $n = {
1552
1539
  placeholder: f(c).image.altTextPlaceholder,
1553
1540
  pulse: T.value,
1554
1541
  disabled: e.block.decorative === !0,
1555
- "onUpdate:modelValue": n[2] ||= (e) => j("alt", e)
1542
+ "onUpdate:modelValue": n[2] ||= (e) => M("alt", e)
1556
1543
  }, null, 8, [
1557
1544
  "model-value",
1558
1545
  "placeholder",
@@ -1563,62 +1550,62 @@ var $n = {
1563
1550
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
1564
1551
  "model-value": e.block.decorative === !0,
1565
1552
  label: f(c).image.decorative,
1566
- "onUpdate:modelValue": n[3] ||= (e) => j("decorative", e)
1553
+ "onUpdate:modelValue": n[3] ||= (e) => M("decorative", e)
1567
1554
  }, {
1568
- default: i(() => [x("span", null, [E(w(f(c).image.decorative) + " ", 1), x("span", wr, w(f(c).image.decorativeHint), 1)])]),
1555
+ default: i(() => [x("span", null, [E(w(f(c).image.decorative) + " ", 1), x("span", Er, w(f(c).image.decorativeHint), 1)])]),
1569
1556
  _: 1
1570
1557
  }, 8, ["model-value", "label"])
1571
1558
  ]),
1572
- x("div", Tr, [
1559
+ x("div", Dr, [
1573
1560
  x("label", { class: m(f(V)) }, w(f(c).image.width), 3),
1574
1561
  x("select", {
1575
1562
  class: m(f(W)),
1576
- value: k.value,
1577
- onChange: n[4] ||= (e) => M(e.target.value)
1563
+ value: A.value,
1564
+ onChange: n[4] ||= (e) => N(e.target.value)
1578
1565
  }, [
1579
- x("option", Dr, w(f(c).image.fullWidth), 1),
1566
+ x("option", kr, w(f(c).image.fullWidth), 1),
1580
1567
  n[12] ||= x("option", { value: "300" }, "300px", -1),
1581
1568
  n[13] ||= x("option", { value: "400" }, "400px", -1),
1582
1569
  n[14] ||= x("option", { value: "500" }, "500px", -1),
1583
- x("option", Or, w(f(c).image.widthCustom), 1)
1584
- ], 42, Er),
1585
- k.value === "custom" ? (o(), g("div", kr, [x("input", {
1570
+ x("option", Ar, w(f(c).image.widthCustom), 1)
1571
+ ], 42, Or),
1572
+ A.value === "custom" ? (o(), g("div", jr, [x("input", {
1586
1573
  type: "number",
1587
1574
  class: m(f(U)),
1588
- value: typeof e.block.width == "number" ? e.block.width : zr,
1575
+ value: typeof e.block.width == "number" ? e.block.width : Vr,
1589
1576
  min: "20",
1590
1577
  onInput: n[5] ||= (e) => F(e.target.value)
1591
- }, null, 42, Ar), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
1578
+ }, null, 42, Mr), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
1592
1579
  ]),
1593
- x("div", jr, [
1580
+ x("div", Nr, [
1594
1581
  x("label", { class: m(f(V)) }, w(f(c).image.height), 3),
1595
1582
  x("select", {
1596
1583
  class: m(f(W)),
1597
1584
  "data-testid": "image-height-mode",
1598
- value: A.value,
1599
- onChange: n[6] ||= (e) => P(e.target.value)
1600
- }, [x("option", Nr, w(f(c).image.heightAuto), 1), x("option", Pr, w(f(c).image.heightCustom), 1)], 42, Mr),
1601
- A.value === "custom" ? (o(), g("div", Fr, [x("input", {
1585
+ value: j.value,
1586
+ onChange: n[6] ||= (e) => te(e.target.value)
1587
+ }, [x("option", Fr, w(f(c).image.heightAuto), 1), x("option", Ir, w(f(c).image.heightCustom), 1)], 42, Pr),
1588
+ j.value === "custom" ? (o(), g("div", Lr, [x("input", {
1602
1589
  type: "number",
1603
1590
  "data-testid": "image-height-input",
1604
1591
  class: m(f(U)),
1605
1592
  value: e.block.height,
1606
1593
  min: "20",
1607
1594
  onInput: n[7] ||= (e) => ne(e.target.value)
1608
- }, null, 42, Ir), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
1595
+ }, null, 42, Rr), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
1609
1596
  ]),
1610
- p(ut, {
1597
+ p(ft, {
1611
1598
  "model-value": e.block.borderRadius,
1612
1599
  label: f(c).image.borderRadius,
1613
1600
  "testid-prefix": "image",
1614
1601
  "onUpdate:modelValue": re
1615
1602
  }, null, 8, ["model-value", "label"]),
1616
- p(it, {
1603
+ p(ot, {
1617
1604
  "model-value": e.block.border,
1618
1605
  "testid-prefix": "image",
1619
- "onUpdate:modelValue": n[8] ||= (e) => j("border", e)
1606
+ "onUpdate:modelValue": n[8] ||= (e) => M("border", e)
1620
1607
  }, null, 8, ["model-value"]),
1621
- x("div", Lr, [x("label", { class: m(f(V)) }, w(f(c).title.align), 3), p(J, {
1608
+ x("div", zr, [x("label", { class: m(f(V)) }, w(f(c).title.align), 3), p(J, {
1622
1609
  options: [
1623
1610
  {
1624
1611
  value: "left",
@@ -1634,40 +1621,40 @@ var $n = {
1634
1621
  }
1635
1622
  ],
1636
1623
  "model-value": e.block.align,
1637
- "onUpdate:modelValue": n[9] ||= (e) => j("align", e)
1624
+ "onUpdate:modelValue": n[9] ||= (e) => M("align", e)
1638
1625
  }, null, 8, ["options", "model-value"])]),
1639
- x("div", Rr, [
1626
+ x("div", Br, [
1640
1627
  x("label", { class: m(f(V)) }, w(f(c).image.linkUrl), 3),
1641
1628
  p(q, {
1642
1629
  "model-value": e.block.linkUrl || "",
1643
1630
  type: "url",
1644
1631
  placeholder: f(c).image.imageUrlPlaceholder,
1645
- "onUpdate:modelValue": n[10] ||= (e) => j("linkUrl", e)
1632
+ "onUpdate:modelValue": n[10] ||= (e) => M("linkUrl", e)
1646
1633
  }, null, 8, ["model-value", "placeholder"]),
1647
1634
  e.block.linkUrl ? (o(), y(K, {
1648
1635
  key: 0,
1649
1636
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
1650
1637
  "model-value": e.block.linkOpenInNewTab ?? !1,
1651
1638
  label: f(c).image.openInNewTab,
1652
- "onUpdate:modelValue": n[11] ||= (e) => j("linkOpenInNewTab", e)
1639
+ "onUpdate:modelValue": n[11] ||= (e) => M("linkOpenInNewTab", e)
1653
1640
  }, null, 8, ["model-value", "label"])) : _("", !0)
1654
1641
  ])
1655
1642
  ], 64));
1656
1643
  }
1657
- }), Hr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ l({
1644
+ }), Wr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ l({
1658
1645
  __name: "FieldRow",
1659
1646
  props: { label: {} },
1660
1647
  setup(e) {
1661
- return (t, n) => (o(), g("div", Hr, [e.label ? (o(), g("label", {
1648
+ return (t, n) => (o(), g("div", Wr, [e.label ? (o(), g("label", {
1662
1649
  key: 0,
1663
1650
  class: m(f(V))
1664
1651
  }, w(e.label), 3)) : _("", !0), a(t.$slots, "default")]));
1665
1652
  }
1666
- }), Ur = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Wr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Gr = [
1653
+ }), Gr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Kr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, qr = [
1667
1654
  "value",
1668
1655
  "placeholder",
1669
1656
  "onInput"
1670
- ], Kr = ["title", "onClick"], qr = { 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)]" }, Jr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Yr = ["value"], Xr = { value: "" }, Zr = ["value"], Qr = ["value"], $r = /* @__PURE__ */ l({
1657
+ ], Jr = ["title", "onClick"], Yr = { 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)]" }, Xr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Zr = ["value"], Qr = { value: "" }, $r = ["value"], ei = ["value"], ti = /* @__PURE__ */ l({
1671
1658
  __name: "MenuToolbar",
1672
1659
  props: {
1673
1660
  block: {},
@@ -1697,12 +1684,12 @@ var $n = {
1697
1684
  {
1698
1685
  value: "center",
1699
1686
  label: s.title.alignCenter,
1700
- icon: z
1687
+ icon: Ie
1701
1688
  },
1702
1689
  {
1703
1690
  value: "right",
1704
1691
  label: s.title.alignRight,
1705
- icon: Ie
1692
+ icon: z
1706
1693
  }
1707
1694
  ]);
1708
1695
  function u(e, t) {
@@ -1710,7 +1697,7 @@ var $n = {
1710
1697
  }
1711
1698
  function d() {
1712
1699
  let e = {
1713
- id: O(),
1700
+ id: A(),
1714
1701
  text: "",
1715
1702
  url: "",
1716
1703
  openInNewTab: !1,
@@ -1731,24 +1718,24 @@ var $n = {
1731
1718
  }
1732
1719
  return (t, n) => (o(), g(C, null, [
1733
1720
  p($, { label: f(s).menu.items }, {
1734
- default: i(() => [x("div", Ur, [(o(!0), g(C, null, r(e.block.items, (t) => (o(), g("div", {
1721
+ default: i(() => [x("div", Gr, [(o(!0), g(C, null, r(e.block.items, (t) => (o(), g("div", {
1735
1722
  key: t.id,
1736
1723
  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"
1737
1724
  }, [
1738
- x("div", Wr, [x("input", {
1725
+ x("div", Kr, [x("input", {
1739
1726
  type: "text",
1740
1727
  class: m([f(W), "tpl:flex-1"]),
1741
1728
  value: t.text,
1742
1729
  placeholder: f(s).menu.text,
1743
1730
  onInput: (e) => _(t.id, "text", e.target.value)
1744
- }, null, 42, Gr), x("button", {
1731
+ }, null, 42, qr), x("button", {
1745
1732
  class: m(f(Be)),
1746
1733
  title: f(s).menu.removeItem,
1747
1734
  onClick: (e) => v(t.id)
1748
1735
  }, [p(f(Me), {
1749
1736
  size: 14,
1750
1737
  "stroke-width": 2
1751
- })], 10, Kr)]),
1738
+ })], 10, Jr)]),
1752
1739
  p(q, {
1753
1740
  "model-value": t.url,
1754
1741
  type: "url",
@@ -1759,7 +1746,7 @@ var $n = {
1759
1746
  "placeholder",
1760
1747
  "onUpdate:modelValue"
1761
1748
  ]),
1762
- x("div", qr, [(o(!0), g(C, null, r(c.value, (e) => (o(), y(K, {
1749
+ x("div", Yr, [(o(!0), g(C, null, r(c.value, (e) => (o(), y(K, {
1763
1750
  key: e.key,
1764
1751
  "model-value": t[e.key],
1765
1752
  label: e.label,
@@ -1769,7 +1756,7 @@ var $n = {
1769
1756
  "label",
1770
1757
  "onUpdate:modelValue"
1771
1758
  ]))), 128))]),
1772
- x("div", Jr, [x("label", { class: m([f(V), "tpl:!mb-0"]) }, w(f(s).menu.color), 3), p(G, {
1759
+ x("div", Xr, [x("label", { class: m([f(V), "tpl:!mb-0"]) }, w(f(s).menu.color), 3), p(G, {
1773
1760
  "swatch-only": "",
1774
1761
  "model-value": t.color || e.block.linkColor || e.block.color || "",
1775
1762
  "onUpdate:modelValue": (e) => _(t.id, "color", e)
@@ -1786,12 +1773,12 @@ var $n = {
1786
1773
  p($, { label: f(s).menu.fontFamily }, {
1787
1774
  default: i(() => [x("select", {
1788
1775
  class: m(f(W)),
1789
- value: e.block.fontFamily || "",
1776
+ value: f(qe)(e.block.fontFamily),
1790
1777
  onChange: n[0] ||= (e) => u("fontFamily", e.target.value || void 0)
1791
- }, [x("option", Xr, w(f(s).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
1778
+ }, [x("option", Qr, w(f(s).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
1792
1779
  key: e.value,
1793
1780
  value: e.value
1794
- }, w(e.label), 9, Zr))), 128))], 42, Yr)]),
1781
+ }, w(e.label), 9, $r))), 128))], 42, Zr)]),
1795
1782
  _: 1
1796
1783
  }, 8, ["label"]),
1797
1784
  p($, { label: f(s).menu.fontSize }, {
@@ -1832,7 +1819,7 @@ var $n = {
1832
1819
  class: m(f(W)),
1833
1820
  value: e.block.separator,
1834
1821
  onInput: n[5] ||= (e) => u("separator", e.target.value)
1835
- }, null, 42, Qr)]),
1822
+ }, null, 42, ei)]),
1836
1823
  _: 1
1837
1824
  }, 8, ["label"]),
1838
1825
  p($, { label: f(s).menu.separatorColor }, {
@@ -1854,32 +1841,32 @@ var $n = {
1854
1841
  }, 8, ["label"])
1855
1842
  ], 64));
1856
1843
  }
1857
- }), ei = {
1844
+ }), ni = {
1858
1845
  class: "tpl:mb-3.5",
1859
1846
  "data-testid": "paragraph-spacing"
1860
- }, ti = { class: "tpl:flex tpl:items-stretch" }, ni = ["value"], ri = /* @__PURE__ */ l({
1847
+ }, ri = { class: "tpl:flex tpl:items-stretch" }, ii = ["value"], ai = /* @__PURE__ */ l({
1861
1848
  __name: "ParagraphToolbar",
1862
1849
  props: { block: {} },
1863
1850
  emits: ["update"],
1864
1851
  setup(e, { emit: t }) {
1865
1852
  let n = t, { t: r } = L();
1866
- return (t, i) => (o(), g("div", ei, [x("label", { class: m(f(V)) }, w(f(r).paragraph.paragraphSpacing), 3), x("div", ti, [x("input", {
1853
+ return (t, i) => (o(), g("div", ni, [x("label", { class: m(f(V)) }, w(f(r).paragraph.paragraphSpacing), 3), x("div", ri, [x("input", {
1867
1854
  type: "number",
1868
1855
  class: m(f(U)),
1869
- value: e.block.paragraphSpacing ?? f(j).paragraphGap,
1856
+ value: e.block.paragraphSpacing ?? f(te).paragraphGap,
1870
1857
  min: "0",
1871
1858
  max: "64",
1872
1859
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
1873
- }, null, 42, ni), x("span", { class: m(f(H)) }, "px", 2)])]));
1860
+ }, null, 42, ii), x("span", { class: m(f(H)) }, "px", 2)])]));
1874
1861
  }
1875
1862
  });
1876
1863
  //#endregion
1877
1864
  //#region src/utils/rebalanceColumnChildren.ts
1878
- function ii(e) {
1865
+ function oi(e) {
1879
1866
  return e === "1" ? 1 : e === "3" ? 3 : 2;
1880
1867
  }
1881
- function ai(e, t) {
1882
- let n = ii(t);
1868
+ function si(e, t) {
1869
+ let n = oi(t);
1883
1870
  if (e.length === n) return e;
1884
1871
  if (e.length < n) {
1885
1872
  let t = Array.from({ length: n - e.length }, () => []);
@@ -1890,19 +1877,19 @@ function ai(e, t) {
1890
1877
  }
1891
1878
  //#endregion
1892
1879
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
1893
- var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
1880
+ var ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = ["value"], di = {
1894
1881
  key: 0,
1895
1882
  class: "tpl:mb-3.5"
1896
- }, ui = {
1883
+ }, fi = {
1897
1884
  key: 1,
1898
1885
  class: "tpl:mb-3.5"
1899
- }, di = {
1886
+ }, pi = {
1900
1887
  key: 0,
1901
1888
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1902
- }, fi = {
1889
+ }, mi = {
1903
1890
  key: 1,
1904
1891
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
1905
- }, pi = /* @__PURE__ */ l({
1892
+ }, hi = /* @__PURE__ */ l({
1906
1893
  __name: "SectionToolbar",
1907
1894
  props: { block: {} },
1908
1895
  emits: ["update"],
@@ -1930,7 +1917,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
1930
1917
  }
1931
1918
  ]);
1932
1919
  function S(e) {
1933
- let t = e.target.value, n = ai(i.block.children, t);
1920
+ let t = e.target.value, n = si(i.block.children, t);
1934
1921
  a("update", {
1935
1922
  columns: t,
1936
1923
  children: n
@@ -1963,33 +1950,33 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
1963
1950
  k({ borderRadius: e });
1964
1951
  }
1965
1952
  return (t, n) => (o(), g(C, null, [
1966
- x("div", oi, [x("label", { class: m(f(V)) }, w(f(s).section.columns), 3), x("select", {
1953
+ x("div", ci, [x("label", { class: m(f(V)) }, w(f(s).section.columns), 3), x("select", {
1967
1954
  class: m(f(W)),
1968
1955
  value: e.block.columns,
1969
1956
  onChange: S
1970
1957
  }, [(o(!0), g(C, null, r(b.value, (e) => (o(), g("option", {
1971
1958
  key: e.value,
1972
1959
  value: e.value
1973
- }, w(e.label), 9, ci))), 128))], 42, si)]),
1974
- e.block.columns === "1" ? _("", !0) : (o(), g("div", li, [p(K, {
1960
+ }, w(e.label), 9, ui))), 128))], 42, li)]),
1961
+ e.block.columns === "1" ? _("", !0) : (o(), g("div", di, [p(K, {
1975
1962
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1976
1963
  "model-value": e.block.stackOnMobile !== !1,
1977
1964
  label: f(s).section.stackOnMobile,
1978
1965
  "onUpdate:modelValue": n[0] ||= (e) => T(e)
1979
1966
  }, null, 8, ["model-value", "label"])])),
1980
- p(ut, {
1967
+ p(ft, {
1981
1968
  "model-value": e.block.borderRadius,
1982
1969
  label: f(s).section.borderRadius,
1983
1970
  max: 50,
1984
1971
  "testid-prefix": "section",
1985
1972
  "onUpdate:modelValue": E
1986
1973
  }, null, 8, ["model-value", "label"]),
1987
- p(it, {
1974
+ p(ot, {
1988
1975
  "model-value": e.block.border,
1989
1976
  "testid-prefix": "section",
1990
1977
  "onUpdate:modelValue": n[1] ||= (e) => a("update", { border: e })
1991
1978
  }, null, 8, ["model-value"]),
1992
- d.value ? (o(), g("div", ui, [
1979
+ d.value ? (o(), g("div", fi, [
1993
1980
  p(K, {
1994
1981
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1995
1982
  "model-value": !!e.block.wrapper,
@@ -2001,14 +1988,14 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2001
1988
  "label",
2002
1989
  "disabled"
2003
1990
  ]),
2004
- y.value ? (o(), g("p", di, w(f(s).section.wrapperLayoutConflict), 1)) : _("", !0),
2005
- e.block.wrapper ? (o(), g("div", fi, [
1991
+ y.value ? (o(), g("p", pi, w(f(s).section.wrapperLayoutConflict), 1)) : _("", !0),
1992
+ e.block.wrapper ? (o(), g("div", mi, [
2006
1993
  x("div", null, [x("label", { class: m(f(V)) }, w(f(s).blockSettings.color), 3), p(G, {
2007
1994
  "model-value": e.block.wrapper.backgroundColor ?? "",
2008
1995
  "allow-transparent": "",
2009
1996
  "onUpdate:modelValue": n[3] ||= (e) => k({ backgroundColor: e })
2010
1997
  }, null, 8, ["model-value"])]),
2011
- p($t, {
1998
+ p(nn, {
2012
1999
  label: f(s).blockSettings.padding,
2013
2000
  "model-value": e.block.wrapper.padding ?? {
2014
2001
  top: 0,
@@ -2018,7 +2005,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2018
2005
  },
2019
2006
  "onUpdate:modelValue": A
2020
2007
  }, null, 8, ["label", "model-value"]),
2021
- p(ut, {
2008
+ p(ft, {
2022
2009
  "model-value": e.block.wrapper.borderRadius,
2023
2010
  label: f(s).section.borderRadius,
2024
2011
  max: 50,
@@ -2029,7 +2016,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2029
2016
  ])) : _("", !0)
2030
2017
  ], 64));
2031
2018
  }
2032
- }), mi = { class: "tpl:mb-3.5" }, hi = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, gi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, _i = ["value", "onChange"], vi = ["value"], yi = ["title", "onClick"], bi = { class: "tpl:mb-3.5" }, xi = ["value"], Si = { value: "solid" }, Ci = { value: "outlined" }, wi = { value: "rounded" }, Ti = { value: "square" }, Ei = { value: "circle" }, Di = { class: "tpl:mb-3.5" }, Oi = { class: "tpl:mb-3.5" }, ki = { class: "tpl:flex tpl:items-stretch" }, Ai = ["value"], ji = { class: "tpl:mb-3.5" }, Mi = /* @__PURE__ */ l({
2019
+ }), gi = { class: "tpl:mb-3.5" }, _i = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, vi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, yi = ["value", "onChange"], bi = ["value"], xi = ["title", "onClick"], Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = { value: "solid" }, Ti = { value: "outlined" }, Ei = { value: "rounded" }, Di = { value: "square" }, Oi = { value: "circle" }, ki = { value: "plain" }, Ai = { class: "tpl:mb-3.5" }, ji = ["value"], Mi = { value: "brand" }, Ni = { value: "dark" }, Pi = { value: "light" }, Fi = { class: "tpl:mb-3.5" }, Ii = { class: "tpl:mb-3.5" }, Li = { class: "tpl:flex tpl:items-stretch" }, Ri = ["value"], zi = { class: "tpl:mb-3.5" }, Bi = /* @__PURE__ */ l({
2033
2020
  __name: "SocialToolbar",
2034
2021
  props: { block: {} },
2035
2022
  emits: ["update"],
@@ -2040,7 +2027,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2040
2027
  }
2041
2028
  function c() {
2042
2029
  let e = {
2043
- id: O(),
2030
+ id: A(),
2044
2031
  platform: "facebook",
2045
2032
  url: ""
2046
2033
  };
@@ -2057,10 +2044,10 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2057
2044
  i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2058
2045
  }
2059
2046
  return (t, n) => (o(), g(C, null, [
2060
- x("div", mi, [x("label", { class: m(f(V)) }, w(f(a).social.icons), 3), x("div", hi, [(o(!0), g(C, null, r(e.block.icons, (e) => (o(), g("div", {
2047
+ x("div", gi, [x("label", { class: m(f(V)) }, w(f(a).social.icons), 3), x("div", _i, [(o(!0), g(C, null, r(e.block.icons, (e) => (o(), g("div", {
2061
2048
  key: e.id,
2062
2049
  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"
2063
- }, [x("div", gi, [x("select", {
2050
+ }, [x("div", vi, [x("select", {
2064
2051
  "data-testid": "social-platform-select",
2065
2052
  class: m([f(W), "tpl:flex-1"]),
2066
2053
  value: e.platform,
@@ -2068,14 +2055,14 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2068
2055
  }, [(o(!0), g(C, null, r(f(F), (e) => (o(), g("option", {
2069
2056
  key: e,
2070
2057
  value: e
2071
- }, w(f(a).social.platforms[e]), 9, vi))), 128))], 42, _i), x("button", {
2058
+ }, w(f(a).social.platforms[e]), 9, bi))), 128))], 42, yi), x("button", {
2072
2059
  class: m(f(Be)),
2073
2060
  title: f(a).social.removeIcon,
2074
2061
  onClick: (t) => u(e.id)
2075
2062
  }, [p(f(Me), {
2076
2063
  size: 14,
2077
2064
  "stroke-width": 2
2078
- })], 10, yi)]), p(q, {
2065
+ })], 10, xi)]), p(q, {
2079
2066
  "model-value": e.url,
2080
2067
  type: "url",
2081
2068
  placeholder: f(a).social.urlPlaceholder,
@@ -2091,18 +2078,29 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2091
2078
  size: 14,
2092
2079
  "stroke-width": 2
2093
2080
  }), E(" " + w(f(a).social.addIcon), 1)], 2)])]),
2094
- x("div", bi, [x("label", { class: m(f(V)) }, w(f(a).social.style), 3), x("select", {
2081
+ x("div", Si, [x("label", { class: m(f(V)) }, w(f(a).social.style), 3), x("select", {
2095
2082
  class: m(f(W)),
2096
2083
  value: e.block.iconStyle,
2097
2084
  onChange: n[0] ||= (e) => s("iconStyle", e.target.value)
2098
2085
  }, [
2099
- x("option", Si, w(f(a).social.styleSolid), 1),
2100
- x("option", Ci, w(f(a).social.styleOutlined), 1),
2101
- x("option", wi, w(f(a).social.styleRounded), 1),
2102
- x("option", Ti, w(f(a).social.styleSquare), 1),
2103
- x("option", Ei, w(f(a).social.styleCircle), 1)
2104
- ], 42, xi)]),
2105
- x("div", Di, [x("label", { class: m(f(V)) }, w(f(a).social.size), 3), p(J, {
2086
+ x("option", wi, w(f(a).social.styleSolid), 1),
2087
+ x("option", Ti, w(f(a).social.styleOutlined), 1),
2088
+ x("option", Ei, w(f(a).social.styleRounded), 1),
2089
+ x("option", Di, w(f(a).social.styleSquare), 1),
2090
+ x("option", Oi, w(f(a).social.styleCircle), 1),
2091
+ x("option", ki, w(f(a).social.stylePlain), 1)
2092
+ ], 42, Ci)]),
2093
+ x("div", Ai, [x("label", { class: m(f(V)) }, w(f(a).social.color), 3), x("select", {
2094
+ "data-testid": "social-tone-select",
2095
+ class: m(f(W)),
2096
+ value: e.block.iconTone ?? "brand",
2097
+ onChange: n[1] ||= (e) => s("iconTone", e.target.value)
2098
+ }, [
2099
+ x("option", Mi, w(f(a).social.colorBrand), 1),
2100
+ x("option", Ni, w(f(a).social.colorDark), 1),
2101
+ x("option", Pi, w(f(a).social.colorLight), 1)
2102
+ ], 42, ji)]),
2103
+ x("div", Fi, [x("label", { class: m(f(V)) }, w(f(a).social.size), 3), p(J, {
2106
2104
  options: [
2107
2105
  {
2108
2106
  value: "small",
@@ -2118,17 +2116,17 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2118
2116
  }
2119
2117
  ],
2120
2118
  "model-value": e.block.iconSize,
2121
- "onUpdate:modelValue": n[1] ||= (e) => s("iconSize", e)
2119
+ "onUpdate:modelValue": n[2] ||= (e) => s("iconSize", e)
2122
2120
  }, null, 8, ["options", "model-value"])]),
2123
- x("div", Oi, [x("label", { class: m(f(V)) }, w(f(a).social.spacing), 3), x("div", ki, [x("input", {
2121
+ x("div", Ii, [x("label", { class: m(f(V)) }, w(f(a).social.spacing), 3), x("div", Li, [x("input", {
2124
2122
  type: "number",
2125
2123
  class: m(f(U)),
2126
2124
  value: e.block.spacing,
2127
2125
  min: "0",
2128
2126
  max: "50",
2129
- onInput: n[2] ||= (e) => s("spacing", Number(e.target.value))
2130
- }, null, 42, Ai), x("span", { class: m(f(H)) }, "px", 2)])]),
2131
- x("div", ji, [x("label", { class: m(f(V)) }, w(f(a).social.align), 3), p(J, {
2127
+ onInput: n[3] ||= (e) => s("spacing", Number(e.target.value))
2128
+ }, null, 42, Ri), x("span", { class: m(f(H)) }, "px", 2)])]),
2129
+ x("div", zi, [x("label", { class: m(f(V)) }, w(f(a).social.align), 3), p(J, {
2132
2130
  options: [
2133
2131
  {
2134
2132
  value: "left",
@@ -2138,35 +2136,35 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2138
2136
  {
2139
2137
  value: "center",
2140
2138
  label: f(a).title.alignCenter,
2141
- icon: f(z)
2139
+ icon: f(Ie)
2142
2140
  },
2143
2141
  {
2144
2142
  value: "right",
2145
2143
  label: f(a).title.alignRight,
2146
- icon: f(Ie)
2144
+ icon: f(z)
2147
2145
  }
2148
2146
  ],
2149
2147
  "model-value": e.block.align,
2150
- "onUpdate:modelValue": n[3] ||= (e) => s("align", e)
2148
+ "onUpdate:modelValue": n[4] ||= (e) => s("align", e)
2151
2149
  }, null, 8, ["options", "model-value"])])
2152
2150
  ], 64));
2153
2151
  }
2154
- }), Ni = { class: "tpl:mb-3.5" }, Pi = { class: "tpl:flex tpl:items-stretch" }, Fi = ["value"], Ii = ["value"], Li = /* @__PURE__ */ l({
2152
+ }), Vi = { class: "tpl:mb-3.5" }, Hi = { class: "tpl:flex tpl:items-stretch" }, Ui = ["value"], Wi = ["value"], Gi = /* @__PURE__ */ l({
2155
2153
  __name: "SpacerToolbar",
2156
2154
  props: { block: {} },
2157
2155
  emits: ["update"],
2158
2156
  setup(e, { emit: t }) {
2159
2157
  let n = t, { t: r } = L();
2160
- return (t, i) => (o(), g("div", Ni, [
2158
+ return (t, i) => (o(), g("div", Vi, [
2161
2159
  x("label", { class: m(f(V)) }, w(f(r).spacer.height), 3),
2162
- x("div", Pi, [x("input", {
2160
+ x("div", Hi, [x("input", {
2163
2161
  type: "number",
2164
2162
  class: m(f(U)),
2165
2163
  value: e.block.height,
2166
2164
  min: "10",
2167
2165
  max: "100",
2168
2166
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
2169
- }, null, 42, Fi), x("span", { class: m(f(H)) }, "px", 2)]),
2167
+ }, null, 42, Ui), x("span", { class: m(f(H)) }, "px", 2)]),
2170
2168
  x("input", {
2171
2169
  type: "range",
2172
2170
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -2174,13 +2172,13 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2174
2172
  min: "10",
2175
2173
  max: "100",
2176
2174
  onInput: i[1] ||= (e) => n("update", { height: Number(e.target.value) })
2177
- }, null, 40, Ii)
2175
+ }, null, 40, Wi)
2178
2176
  ]));
2179
2177
  }
2180
- }), Ri = { class: "tpl:mb-3.5" }, zi = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Bi = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Vi = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Hi = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ui = ["disabled"], Wi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Gi = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ki = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, qi = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ji = ["disabled"], Yi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Xi = { class: "tpl:mb-3.5" }, Zi = {
2178
+ }), Ki = { class: "tpl:mb-3.5" }, qi = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ji = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Yi = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Xi = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Zi = ["disabled"], Qi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, $i = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ea = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ta = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, na = ["disabled"], ra = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ia = { class: "tpl:mb-3.5" }, aa = {
2181
2179
  key: 0,
2182
2180
  class: "tpl:mb-3.5"
2183
- }, Qi = { class: "tpl:mb-3.5" }, $i = { class: "tpl:mb-3.5" }, ea = { class: "tpl:flex tpl:items-stretch" }, ta = ["value"], na = { class: "tpl:mb-3.5" }, ra = { class: "tpl:flex tpl:items-stretch" }, ia = ["value"], aa = { class: "tpl:mb-3.5" }, oa = ["value"], sa = { value: "" }, ca = ["value"], la = { class: "tpl:mb-3.5" }, ua = { class: "tpl:flex tpl:items-stretch" }, da = ["value"], fa = { class: "tpl:mb-3.5" }, pa = { class: "tpl:mb-3.5" }, ma = /* @__PURE__ */ l({
2181
+ }, oa = { class: "tpl:mb-3.5" }, sa = { class: "tpl:mb-3.5" }, ca = { class: "tpl:flex tpl:items-stretch" }, la = ["value"], ua = { class: "tpl:mb-3.5" }, da = { class: "tpl:flex tpl:items-stretch" }, fa = ["value"], pa = { class: "tpl:mb-3.5" }, ma = ["value"], ha = { value: "" }, ga = ["value"], _a = { class: "tpl:mb-3.5" }, va = { class: "tpl:flex tpl:items-stretch" }, ya = ["value"], ba = { class: "tpl:mb-3.5" }, xa = { class: "tpl:mb-3.5" }, Sa = /* @__PURE__ */ l({
2184
2182
  __name: "TableToolbar",
2185
2183
  props: {
2186
2184
  block: {},
@@ -2194,9 +2192,9 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2194
2192
  }
2195
2193
  function l() {
2196
2194
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
2197
- id: O(),
2195
+ id: A(),
2198
2196
  cells: Array.from({ length: e }, () => ({
2199
- id: O(),
2197
+ id: A(),
2200
2198
  content: ""
2201
2199
  }))
2202
2200
  };
@@ -2209,7 +2207,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2209
2207
  let e = n.block.rows.map((e) => ({
2210
2208
  ...e,
2211
2209
  cells: [...e.cells, {
2212
- id: O(),
2210
+ id: A(),
2213
2211
  content: ""
2214
2212
  }]
2215
2213
  }));
@@ -2223,7 +2221,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2223
2221
  i("update", { rows: t });
2224
2222
  }
2225
2223
  return (t, n) => (o(), g(C, null, [
2226
- x("div", Ri, [x("label", { class: m(f(V)) }, w(f(a).table.dimensions), 3), x("div", zi, [x("div", Bi, [x("span", Vi, w(f(a).table.rows), 1), x("div", Hi, [
2224
+ x("div", Ki, [x("label", { class: m(f(V)) }, w(f(a).table.dimensions), 3), x("div", qi, [x("div", Ji, [x("span", Yi, w(f(a).table.rows), 1), x("div", Xi, [
2227
2225
  x("button", {
2228
2226
  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",
2229
2227
  disabled: e.block.rows.length <= 1,
@@ -2231,8 +2229,8 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2231
2229
  }, [p(f(B), {
2232
2230
  size: 12,
2233
2231
  "stroke-width": 2
2234
- })], 8, Ui),
2235
- x("span", Wi, w(e.block.rows.length), 1),
2232
+ })], 8, Zi),
2233
+ x("span", Qi, w(e.block.rows.length), 1),
2236
2234
  x("button", {
2237
2235
  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)]",
2238
2236
  onClick: l
@@ -2240,7 +2238,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2240
2238
  size: 12,
2241
2239
  "stroke-width": 2
2242
2240
  })])
2243
- ])]), x("div", Gi, [x("span", Ki, w(f(a).table.columns), 1), x("div", qi, [
2241
+ ])]), x("div", $i, [x("span", ea, w(f(a).table.columns), 1), x("div", ta, [
2244
2242
  x("button", {
2245
2243
  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",
2246
2244
  disabled: s.value <= 1,
@@ -2248,8 +2246,8 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2248
2246
  }, [p(f(B), {
2249
2247
  size: 12,
2250
2248
  "stroke-width": 2
2251
- })], 8, Ji),
2252
- x("span", Yi, w(s.value), 1),
2249
+ })], 8, na),
2250
+ x("span", ra, w(s.value), 1),
2253
2251
  x("button", {
2254
2252
  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)]",
2255
2253
  onClick: d
@@ -2258,13 +2256,13 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2258
2256
  "stroke-width": 2
2259
2257
  })])
2260
2258
  ])])])]),
2261
- x("div", Xi, [p(K, {
2259
+ x("div", ia, [p(K, {
2262
2260
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
2263
2261
  "model-value": e.block.hasHeaderRow,
2264
2262
  label: f(a).table.hasHeaderRow,
2265
2263
  "onUpdate:modelValue": n[2] ||= (e) => c("hasHeaderRow", e)
2266
2264
  }, null, 8, ["model-value", "label"])]),
2267
- e.block.hasHeaderRow ? (o(), g("div", Zi, [x("label", { class: m(f(V)) }, w(f(a).table.headerBackgroundColor), 3), p(G, {
2265
+ e.block.hasHeaderRow ? (o(), g("div", aa, [x("label", { class: m(f(V)) }, w(f(a).table.headerBackgroundColor), 3), p(G, {
2268
2266
  "model-value": e.block.headerBackgroundColor ?? "",
2269
2267
  "seed-color": f(He),
2270
2268
  placeholder: f(a).table.noHeaderBg,
@@ -2274,47 +2272,47 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2274
2272
  "seed-color",
2275
2273
  "placeholder"
2276
2274
  ])])) : _("", !0),
2277
- x("div", Qi, [x("label", { class: m(f(V)) }, w(f(a).table.borderColor), 3), p(G, {
2275
+ x("div", oa, [x("label", { class: m(f(V)) }, w(f(a).table.borderColor), 3), p(G, {
2278
2276
  "model-value": e.block.borderColor,
2279
2277
  "onUpdate:modelValue": n[4] ||= (e) => c("borderColor", e)
2280
2278
  }, null, 8, ["model-value"])]),
2281
- x("div", $i, [x("label", { class: m(f(V)) }, w(f(a).table.borderWidth), 3), x("div", ea, [x("input", {
2279
+ x("div", sa, [x("label", { class: m(f(V)) }, w(f(a).table.borderWidth), 3), x("div", ca, [x("input", {
2282
2280
  type: "number",
2283
2281
  class: m(f(U)),
2284
2282
  value: e.block.borderWidth,
2285
2283
  min: "0",
2286
2284
  max: "10",
2287
2285
  onInput: n[5] ||= (e) => c("borderWidth", Number(e.target.value))
2288
- }, null, 42, ta), x("span", { class: m(f(H)) }, "px", 2)])]),
2289
- x("div", na, [x("label", { class: m(f(V)) }, w(f(a).table.cellPadding), 3), x("div", ra, [x("input", {
2286
+ }, null, 42, la), x("span", { class: m(f(H)) }, "px", 2)])]),
2287
+ x("div", ua, [x("label", { class: m(f(V)) }, w(f(a).table.cellPadding), 3), x("div", da, [x("input", {
2290
2288
  type: "number",
2291
2289
  class: m(f(U)),
2292
2290
  value: e.block.cellPadding,
2293
2291
  min: "0",
2294
2292
  max: "30",
2295
2293
  onInput: n[6] ||= (e) => c("cellPadding", Number(e.target.value))
2296
- }, null, 42, ia), x("span", { class: m(f(H)) }, "px", 2)])]),
2297
- x("div", aa, [x("label", { class: m(f(V)) }, w(f(a).table.fontFamily), 3), x("select", {
2294
+ }, null, 42, fa), x("span", { class: m(f(H)) }, "px", 2)])]),
2295
+ x("div", pa, [x("label", { class: m(f(V)) }, w(f(a).table.fontFamily), 3), x("select", {
2298
2296
  class: m(f(W)),
2299
- value: e.block.fontFamily || "",
2297
+ value: f(qe)(e.block.fontFamily),
2300
2298
  onChange: n[7] ||= (e) => c("fontFamily", e.target.value || void 0)
2301
- }, [x("option", sa, w(f(a).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2299
+ }, [x("option", ha, w(f(a).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2302
2300
  key: e.value,
2303
2301
  value: e.value
2304
- }, w(e.label), 9, ca))), 128))], 42, oa)]),
2305
- x("div", la, [x("label", { class: m(f(V)) }, w(f(a).table.fontSize), 3), x("div", ua, [x("input", {
2302
+ }, w(e.label), 9, ga))), 128))], 42, ma)]),
2303
+ x("div", _a, [x("label", { class: m(f(V)) }, w(f(a).table.fontSize), 3), x("div", va, [x("input", {
2306
2304
  type: "number",
2307
2305
  class: m(f(U)),
2308
2306
  value: e.block.fontSize,
2309
2307
  min: "10",
2310
2308
  max: "32",
2311
2309
  onInput: n[8] ||= (e) => c("fontSize", Number(e.target.value))
2312
- }, null, 42, da), x("span", { class: m(f(H)) }, "px", 2)])]),
2313
- x("div", fa, [x("label", { class: m(f(V)) }, w(f(a).table.color), 3), p(G, {
2310
+ }, null, 42, ya), x("span", { class: m(f(H)) }, "px", 2)])]),
2311
+ x("div", ba, [x("label", { class: m(f(V)) }, w(f(a).table.color), 3), p(G, {
2314
2312
  "model-value": e.block.color ?? "",
2315
2313
  "onUpdate:modelValue": n[9] ||= (e) => c("color", e || void 0)
2316
2314
  }, null, 8, ["model-value"])]),
2317
- x("div", pa, [x("label", { class: m(f(V)) }, w(f(a).table.textAlign), 3), p(J, {
2315
+ x("div", xa, [x("label", { class: m(f(V)) }, w(f(a).table.textAlign), 3), p(J, {
2318
2316
  options: [
2319
2317
  {
2320
2318
  value: "left",
@@ -2324,12 +2322,12 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2324
2322
  {
2325
2323
  value: "center",
2326
2324
  label: f(a).title.alignCenter,
2327
- icon: f(z)
2325
+ icon: f(Ie)
2328
2326
  },
2329
2327
  {
2330
2328
  value: "right",
2331
2329
  label: f(a).title.alignRight,
2332
- icon: f(Ie)
2330
+ icon: f(z)
2333
2331
  }
2334
2332
  ],
2335
2333
  "model-value": e.block.textAlign,
@@ -2337,7 +2335,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2337
2335
  }, null, 8, ["options", "model-value"])])
2338
2336
  ], 64));
2339
2337
  }
2340
- }), ha = { class: "tpl:mb-3.5" }, ga = ["value"], _a = { value: 1 }, va = { value: 2 }, ya = { value: 3 }, ba = { value: 4 }, xa = { class: "tpl:mb-3.5" }, Sa = ["value"], Ca = { value: "" }, wa = ["value"], Ta = { class: "tpl:mb-3.5" }, Ea = { class: "tpl:mb-3.5" }, Da = /* @__PURE__ */ l({
2338
+ }), Ca = { class: "tpl:mb-3.5" }, wa = ["value"], Ta = { value: 1 }, Ea = { value: 2 }, Da = { value: 3 }, Oa = { value: 4 }, ka = { class: "tpl:mb-3.5" }, Aa = ["value"], ja = { value: "" }, Ma = ["value"], Na = { class: "tpl:mb-3.5" }, Pa = { class: "tpl:mb-3.5" }, Fa = /* @__PURE__ */ l({
2341
2339
  __name: "TitleToolbar",
2342
2340
  props: {
2343
2341
  block: {},
@@ -2350,29 +2348,29 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2350
2348
  n("update", { [e]: t });
2351
2349
  }
2352
2350
  return (t, n) => (o(), g(C, null, [
2353
- x("div", ha, [x("label", { class: m(f(V)) }, w(f(i).title.level), 3), x("select", {
2351
+ x("div", Ca, [x("label", { class: m(f(V)) }, w(f(i).title.level), 3), x("select", {
2354
2352
  class: m(f(W)),
2355
2353
  value: e.block.level,
2356
2354
  onChange: n[0] ||= (e) => a("level", Number(e.target.value))
2357
2355
  }, [
2358
- x("option", _a, w(f(i).title.heading1), 1),
2359
- x("option", va, w(f(i).title.heading2), 1),
2360
- x("option", ya, w(f(i).title.heading3), 1),
2361
- x("option", ba, w(f(i).title.heading4), 1)
2362
- ], 42, ga)]),
2363
- x("div", xa, [x("label", { class: m(f(V)) }, w(f(i).title.fontFamily), 3), x("select", {
2356
+ x("option", Ta, w(f(i).title.heading1), 1),
2357
+ x("option", Ea, w(f(i).title.heading2), 1),
2358
+ x("option", Da, w(f(i).title.heading3), 1),
2359
+ x("option", Oa, w(f(i).title.heading4), 1)
2360
+ ], 42, wa)]),
2361
+ x("div", ka, [x("label", { class: m(f(V)) }, w(f(i).title.fontFamily), 3), x("select", {
2364
2362
  class: m(f(W)),
2365
- value: e.block.fontFamily || "",
2363
+ value: f(qe)(e.block.fontFamily),
2366
2364
  onChange: n[1] ||= (e) => a("fontFamily", e.target.value || void 0)
2367
- }, [x("option", Ca, w(f(i).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2365
+ }, [x("option", ja, w(f(i).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2368
2366
  key: e.value,
2369
2367
  value: e.value
2370
- }, w(e.label), 9, wa))), 128))], 42, Sa)]),
2371
- x("div", Ta, [x("label", { class: m(f(V)) }, w(f(i).title.color), 3), p(G, {
2368
+ }, w(e.label), 9, Ma))), 128))], 42, Aa)]),
2369
+ x("div", Na, [x("label", { class: m(f(V)) }, w(f(i).title.color), 3), p(G, {
2372
2370
  "model-value": e.block.color ?? "",
2373
2371
  "onUpdate:modelValue": n[2] ||= (e) => a("color", e || void 0)
2374
2372
  }, null, 8, ["model-value"])]),
2375
- x("div", Ea, [x("label", { class: m(f(V)) }, w(f(i).title.align), 3), p(J, {
2373
+ x("div", Pa, [x("label", { class: m(f(V)) }, w(f(i).title.align), 3), p(J, {
2376
2374
  options: [
2377
2375
  {
2378
2376
  value: "left",
@@ -2382,12 +2380,12 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2382
2380
  {
2383
2381
  value: "center",
2384
2382
  label: f(i).title.alignCenter,
2385
- icon: f(z)
2383
+ icon: f(Ie)
2386
2384
  },
2387
2385
  {
2388
2386
  value: "right",
2389
2387
  label: f(i).title.alignRight,
2390
- icon: f(Ie)
2388
+ icon: f(z)
2391
2389
  }
2392
2390
  ],
2393
2391
  "model-value": e.block.textAlign,
@@ -2395,29 +2393,29 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2395
2393
  }, null, 8, ["options", "model-value"])])
2396
2394
  ], 64));
2397
2395
  }
2398
- }), Oa = { class: "tpl:mb-3.5" }, ka = {
2396
+ }), Ia = { class: "tpl:mb-3.5" }, La = {
2399
2397
  key: 0,
2400
2398
  class: "tpl:mb-3.5"
2401
- }, Aa = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ja = [
2399
+ }, Ra = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, za = [
2402
2400
  "value",
2403
2401
  "placeholder",
2404
2402
  "title"
2405
- ], Ma = { class: "tpl:mb-3.5" }, Na = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Pa = { class: "tpl:mb-3.5" }, Fa = { class: "tpl:mb-3.5" }, Ia = ["value"], La = { value: "full" }, Ra = { class: "tpl:mb-3.5" }, za = ["value"], Ba = { value: "auto" }, Va = { value: "custom" }, Ha = {
2403
+ ], Ba = { class: "tpl:mb-3.5" }, Va = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ha = { class: "tpl:mb-3.5" }, Ua = { class: "tpl:mb-3.5" }, Wa = ["value"], Ga = { value: "full" }, Ka = { class: "tpl:mb-3.5" }, qa = ["value"], Ja = { value: "auto" }, Ya = { value: "custom" }, Xa = {
2406
2404
  key: 0,
2407
2405
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2408
- }, Ua = ["value"], Wa = { class: "tpl:mb-3.5" }, Ga = 200, Ka = /* @__PURE__ */ l({
2406
+ }, Za = ["value"], Qa = { class: "tpl:mb-3.5" }, $a = 200, eo = /* @__PURE__ */ l({
2409
2407
  __name: "VideoToolbar",
2410
2408
  props: { block: {} },
2411
2409
  emits: ["update"],
2412
2410
  setup(e, { emit: t }) {
2413
- let r = e, i = t, { t: a } = L(), c = n(le, null), l = n(ue, te.liquid), u = Re(), d = h(() => !!c), v = h(() => ee(r.block.url, l)), b = h(() => typeof r.block.height == "number" ? "custom" : "auto"), S = s(!1), { start: T } = oe(() => {
2411
+ let r = e, i = t, { t: a } = L(), c = n(le, null), l = n(ue, P.liquid), u = Re(), d = h(() => !!c), v = h(() => ee(r.block.url, l)), b = h(() => typeof r.block.height == "number" ? "custom" : "auto"), S = s(!1), { start: T } = oe(() => {
2414
2412
  S.value = !1;
2415
2413
  }, 1e3, { immediate: !1 });
2416
2414
  function D(e, t) {
2417
2415
  i("update", { [e]: t });
2418
2416
  }
2419
2417
  function O(e) {
2420
- D("height", e === "custom" ? Ga : void 0);
2418
+ D("height", e === "custom" ? $a : void 0);
2421
2419
  }
2422
2420
  function k(e) {
2423
2421
  let t = Number(e);
@@ -2428,7 +2426,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2428
2426
  u.alive && e && (D("thumbnailUrl", e.url), S.value = !0, T());
2429
2427
  }
2430
2428
  return (t, n) => (o(), g(C, null, [
2431
- x("div", Oa, [
2429
+ x("div", Ia, [
2432
2430
  x("label", { class: m(f(V)) }, w(f(a).video.videoUrl), 3),
2433
2431
  p(q, {
2434
2432
  "model-value": e.block.url,
@@ -2444,16 +2442,16 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2444
2442
  "onUpdate:modelValue": n[1] ||= (e) => D("openInNewTab", e)
2445
2443
  }, null, 8, ["model-value", "label"])) : _("", !0)
2446
2444
  ]),
2447
- v.value ? (o(), g("div", ka, [x("label", { class: m(f(V)) }, [E(w(f(a).video.placeholderUrl) + " ", 1), x("span", Aa, w(f(a).video.optional), 1)], 2), x("input", {
2445
+ v.value ? (o(), g("div", La, [x("label", { class: m(f(V)) }, [E(w(f(a).video.placeholderUrl) + " ", 1), x("span", Ra, w(f(a).video.optional), 1)], 2), x("input", {
2448
2446
  type: "url",
2449
2447
  class: m(f(W)),
2450
2448
  value: e.block.placeholderUrl || "",
2451
2449
  placeholder: f(a).video.placeholderUrlPlaceholder,
2452
2450
  title: f(a).video.placeholderUrlTooltip,
2453
2451
  onInput: n[2] ||= (e) => D("placeholderUrl", e.target.value)
2454
- }, null, 42, ja)])) : _("", !0),
2455
- x("div", Ma, [
2456
- x("label", { class: m(f(V)) }, [E(w(f(a).video.customThumbnail) + " ", 1), x("span", Na, w(f(a).video.optional), 1)], 2),
2452
+ }, null, 42, za)])) : _("", !0),
2453
+ x("div", Ba, [
2454
+ x("label", { class: m(f(V)) }, [E(w(f(a).video.customThumbnail) + " ", 1), x("span", Va, w(f(a).video.optional), 1)], 2),
2457
2455
  p(q, {
2458
2456
  "model-value": e.block.thumbnailUrl,
2459
2457
  type: "url",
@@ -2479,40 +2477,40 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2479
2477
  "stroke-width": 1.5
2480
2478
  }), E(" " + w(f(a).image.browseMedia), 1)])) : _("", !0)
2481
2479
  ]),
2482
- x("div", Pa, [x("label", { class: m(f(V)) }, w(f(a).video.altText), 3), p(q, {
2480
+ x("div", Ha, [x("label", { class: m(f(V)) }, w(f(a).video.altText), 3), p(q, {
2483
2481
  "model-value": e.block.alt,
2484
2482
  type: "text",
2485
2483
  placeholder: f(a).video.altTextPlaceholder,
2486
2484
  "onUpdate:modelValue": n[4] ||= (e) => D("alt", e)
2487
2485
  }, null, 8, ["model-value", "placeholder"])]),
2488
- x("div", Fa, [x("label", { class: m(f(V)) }, w(f(a).video.width), 3), x("select", {
2486
+ x("div", Ua, [x("label", { class: m(f(V)) }, w(f(a).video.width), 3), x("select", {
2489
2487
  class: m(f(W)),
2490
2488
  value: e.block.width,
2491
2489
  onChange: n[5] ||= (e) => D("width", e.target.value === "full" ? "full" : Number(e.target.value))
2492
2490
  }, [
2493
- x("option", La, w(f(a).video.fullWidth), 1),
2491
+ x("option", Ga, w(f(a).video.fullWidth), 1),
2494
2492
  n[9] ||= x("option", { value: "300" }, "300px", -1),
2495
2493
  n[10] ||= x("option", { value: "400" }, "400px", -1),
2496
2494
  n[11] ||= x("option", { value: "500" }, "500px", -1)
2497
- ], 42, Ia)]),
2498
- x("div", Ra, [
2495
+ ], 42, Wa)]),
2496
+ x("div", Ka, [
2499
2497
  x("label", { class: m(f(V)) }, w(f(a).video.height), 3),
2500
2498
  x("select", {
2501
2499
  class: m(f(W)),
2502
2500
  "data-testid": "video-height-mode",
2503
2501
  value: b.value,
2504
2502
  onChange: n[6] ||= (e) => O(e.target.value)
2505
- }, [x("option", Ba, w(f(a).video.heightAuto), 1), x("option", Va, w(f(a).video.heightCustom), 1)], 42, za),
2506
- b.value === "custom" ? (o(), g("div", Ha, [x("input", {
2503
+ }, [x("option", Ja, w(f(a).video.heightAuto), 1), x("option", Ya, w(f(a).video.heightCustom), 1)], 42, qa),
2504
+ b.value === "custom" ? (o(), g("div", Xa, [x("input", {
2507
2505
  type: "number",
2508
2506
  "data-testid": "video-height-input",
2509
2507
  class: m(f(U)),
2510
2508
  value: e.block.height,
2511
2509
  min: "20",
2512
2510
  onInput: n[7] ||= (e) => k(e.target.value)
2513
- }, null, 42, Ua), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
2511
+ }, null, 42, Za), x("span", { class: m(f(H)) }, "px", 2)])) : _("", !0)
2514
2512
  ]),
2515
- x("div", Wa, [x("label", { class: m(f(V)) }, w(f(a).title.align), 3), p(J, {
2513
+ x("div", Qa, [x("label", { class: m(f(V)) }, w(f(a).title.align), 3), p(J, {
2516
2514
  options: [
2517
2515
  {
2518
2516
  value: "left",
@@ -2532,7 +2530,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2532
2530
  }, null, 8, ["options", "model-value"])])
2533
2531
  ], 64));
2534
2532
  }
2535
- }), qa = ["aria-label"], Ja = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Ya = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Xa = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Za = { class: "tpl:flex tpl:gap-1" }, Qa = ["title"], $a = ["title"], eo = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, to = /*@__PURE__*/ l({
2533
+ }), to = ["aria-label"], no = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, ro = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, io = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ao = { class: "tpl:flex tpl:gap-1" }, oo = ["title"], so = ["title"], co = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, lo = /*@__PURE__*/ l({
2536
2534
  __name: "Toolbar",
2537
2535
  props: { block: {} },
2538
2536
  emits: [
@@ -2541,9 +2539,9 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2541
2539
  "duplicate"
2542
2540
  ],
2543
2541
  setup(e, { emit: t }) {
2544
- let r = T(() => import("./CountdownToolbar-C9QpHQcv.js")), i = e, a = t, { t: s } = L(), l = se(ge, "Toolbar"), u = n(he, []), d = h(() => i.block.type), m = h(() => k(i.block)), v = h(() => {
2542
+ let r = T(() => import("./CountdownToolbar-CvNuDR5Z.js")), i = e, a = t, { t: s } = L(), l = se(ge, "Toolbar"), u = n(he, []), d = h(() => i.block.type), m = h(() => j(i.block)), v = h(() => {
2545
2543
  if (m.value) return u.find((e) => e.type === i.block.customType);
2546
- }), b = h(() => m.value ? v.value?.name ?? i.block.customType : ae(d.value, s)), S = l.fonts;
2544
+ }), b = h(() => m.value ? v.value?.name ?? i.block.customType : ae(d.value, s)), S = h(() => Ke(l.fonts.value, "fontFamily" in i.block ? i.block.fontFamily : void 0));
2547
2545
  function C(e) {
2548
2546
  a("update", e);
2549
2547
  }
@@ -2551,7 +2549,7 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2551
2549
  "data-testid": "block-toolbar",
2552
2550
  "aria-label": f(s).landmarks.blockToolbar,
2553
2551
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
2554
- }, [x("div", Ja, [x("div", Ya, [f(We)[d.value] ? (o(), y(c(f(We)[d.value]), {
2552
+ }, [x("div", no, [x("div", ro, [f(We)[d.value] ? (o(), y(c(f(We)[d.value]), {
2555
2553
  key: 0,
2556
2554
  size: 16,
2557
2555
  "stroke-width": 1.5
@@ -2559,90 +2557,90 @@ var oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = ["value"], li = {
2559
2557
  key: 1,
2560
2558
  size: 16,
2561
2559
  "stroke-width": 1.5
2562
- })) : _("", !0), x("h3", Xa, w(b.value), 1)]), x("div", Za, [x("button", {
2560
+ })) : _("", !0), x("h3", io, w(b.value), 1)]), x("div", ao, [x("button", {
2563
2561
  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)]",
2564
2562
  title: f(s).toolbar.duplicate,
2565
2563
  onClick: n[0] ||= (e) => a("duplicate")
2566
2564
  }, [p(f(ye), {
2567
2565
  size: 14,
2568
2566
  "stroke-width": 2
2569
- })], 8, Qa), x("button", {
2567
+ })], 8, oo), x("button", {
2570
2568
  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)]",
2571
2569
  title: f(s).toolbar.delete,
2572
2570
  onClick: n[1] ||= (e) => a("delete")
2573
2571
  }, [p(f(Ee), {
2574
2572
  size: 14,
2575
2573
  "stroke-width": 2
2576
- })], 8, $a)])]), x("div", eo, [m.value ? (o(), y(sr, {
2574
+ })], 8, so)])]), x("div", co, [m.value ? (o(), y(lr, {
2577
2575
  key: 0,
2578
2576
  block: e.block,
2579
2577
  onUpdateFieldValues: n[2] ||= (e) => a("update", { fieldValues: e }),
2580
2578
  onUpdateDataSourceFetched: n[3] ||= (e) => a("update", { dataSourceFetched: e })
2581
- }, null, 8, ["block"])) : d.value === "section" ? (o(), y(pi, {
2579
+ }, null, 8, ["block"])) : d.value === "section" ? (o(), y(hi, {
2582
2580
  key: 1,
2583
2581
  block: e.block,
2584
2582
  onUpdate: C
2585
- }, null, 8, ["block"])) : d.value === "title" ? (o(), y(Da, {
2583
+ }, null, 8, ["block"])) : d.value === "title" ? (o(), y(Fa, {
2586
2584
  key: 2,
2587
2585
  block: e.block,
2588
- "font-families": f(S),
2586
+ "font-families": S.value,
2589
2587
  onUpdate: C
2590
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (o(), y(ri, {
2588
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (o(), y(ai, {
2591
2589
  key: 3,
2592
2590
  block: e.block,
2593
2591
  onUpdate: C
2594
- }, null, 8, ["block"])) : d.value === "image" ? (o(), y(Vr, {
2592
+ }, null, 8, ["block"])) : d.value === "image" ? (o(), y(Ur, {
2595
2593
  key: 4,
2596
2594
  block: e.block,
2597
2595
  onUpdate: C
2598
- }, null, 8, ["block"])) : d.value === "video" ? (o(), y(Ka, {
2596
+ }, null, 8, ["block"])) : d.value === "video" ? (o(), y(eo, {
2599
2597
  key: 5,
2600
2598
  block: e.block,
2601
2599
  onUpdate: C
2602
- }, null, 8, ["block"])) : d.value === "button" ? (o(), y(jt, {
2600
+ }, null, 8, ["block"])) : d.value === "button" ? (o(), y(Nt, {
2603
2601
  key: 6,
2604
2602
  block: e.block,
2605
- "font-families": f(S),
2603
+ "font-families": S.value,
2606
2604
  onUpdate: C
2607
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (o(), y(pr, {
2605
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (o(), y(hr, {
2608
2606
  key: 7,
2609
2607
  block: e.block,
2610
2608
  onUpdate: C
2611
- }, null, 8, ["block"])) : d.value === "social" ? (o(), y(Mi, {
2609
+ }, null, 8, ["block"])) : d.value === "social" ? (o(), y(Bi, {
2612
2610
  key: 8,
2613
2611
  block: e.block,
2614
2612
  onUpdate: C
2615
- }, null, 8, ["block"])) : d.value === "menu" ? (o(), y($r, {
2613
+ }, null, 8, ["block"])) : d.value === "menu" ? (o(), y(ti, {
2616
2614
  key: 9,
2617
2615
  block: e.block,
2618
- "font-families": f(S),
2616
+ "font-families": S.value,
2619
2617
  onUpdate: C
2620
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (o(), y(ma, {
2618
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (o(), y(Sa, {
2621
2619
  key: 10,
2622
2620
  block: e.block,
2623
- "font-families": f(S),
2621
+ "font-families": S.value,
2624
2622
  onUpdate: C
2625
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (o(), y(Li, {
2623
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (o(), y(Gi, {
2626
2624
  key: 11,
2627
2625
  block: e.block,
2628
2626
  onUpdate: C
2629
- }, null, 8, ["block"])) : d.value === "html" ? (o(), y(_r, {
2627
+ }, null, 8, ["block"])) : d.value === "html" ? (o(), y(yr, {
2630
2628
  key: 12,
2631
2629
  block: e.block,
2632
2630
  onUpdate: C
2633
2631
  }, null, 8, ["block"])) : d.value === "countdown" ? (o(), y(f(r), {
2634
2632
  key: 13,
2635
2633
  block: e.block,
2636
- "font-families": f(S),
2634
+ "font-families": S.value,
2637
2635
  onUpdate: C
2638
- }, null, 8, ["block", "font-families"])) : _("", !0), p(Sn, {
2636
+ }, null, 8, ["block", "font-families"])) : _("", !0), p(wn, {
2639
2637
  block: e.block,
2640
2638
  "is-first-section": d.value === "paragraph",
2641
2639
  onUpdate: C
2642
- }, null, 8, ["block", "is-first-section"])])], 8, qa));
2640
+ }, null, 8, ["block", "is-first-section"])])], 8, to));
2643
2641
  }
2644
- }), no = /* @__PURE__ */ e({ default: () => ro }), ro = /*#__PURE__*/ Le(to, [["__scopeId", "data-v-1038bf62"]]);
2642
+ }), uo = /* @__PURE__ */ e({ default: () => fo }), fo = /*#__PURE__*/ Le(lo, [["__scopeId", "data-v-e2d2c22f"]]);
2645
2643
  //#endregion
2646
- export { ro as default, J as i, $ as n, Y as r, no as t };
2644
+ export { fo as default, J as i, $ as n, Y as r, uo as t };
2647
2645
 
2648
- //# sourceMappingURL=Toolbar-CnfNUkOY.js.map
2646
+ //# sourceMappingURL=Toolbar-K4tIkpG1.js.map