@templatical/editor 0.39.4 → 0.40.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 (210) hide show
  1. package/dist/{AiChatSidebar-5qqrS6uy.js → AiChatSidebar-a8TPBAl2.js} +3 -3
  2. package/dist/{AiFeatureMenu-BBO_Ojlp.js → AiFeatureMenu-CbgDjLqk.js} +3 -3
  3. package/dist/{BlockIssueBadge-D5oGxOQP.js → BlockIssueBadge-D8KsGWY6.js} +2 -2
  4. package/dist/BlockPreviewCanvas-XNV83YGg.js +133 -0
  5. package/dist/{CloudHeaderExtras-Cg6uF-yQ.js → CloudHeaderExtras-C-tbLyfE.js} +2 -2
  6. package/dist/{CloudPanels-D1Gg4qrG.js → CloudPanels-DnWDrgnQ.js} +4 -4
  7. package/dist/{CollaboratorBar-Cmn0LccS.js → CollaboratorBar-DUmeCkyD.js} +2 -2
  8. package/dist/{CommentsPanel-twNhYUqZ.js → CommentsPanel-9k1q-79y.js} +1 -1
  9. package/dist/{CommentsSidebar-DDO0Qx8U.js → CommentsSidebar-Bc7nORmD.js} +2 -2
  10. package/dist/{CountdownBlock-DSvbf3qU.js → CountdownBlock-C6R-hn7D.js} +1 -1
  11. package/dist/{CountdownToolbar-nvHxu8Gu.js → CountdownToolbar-DkC-qSgq.js} +4 -4
  12. package/dist/{DesignReferenceSidebar-C8ohNhOd.js → DesignReferenceSidebar-OoiYJAKS.js} +3 -3
  13. package/dist/{IssuesPanel-Ck0EGoV5.js → IssuesPanel-Dnns3O9z.js} +3 -3
  14. package/dist/{LogicTagInsertButton-D8IwH-9Z.js → LogicTagInsertButton-BimKobaG.js} +67 -67
  15. package/dist/{MergeTagInput-QI-5KG2R.js → MergeTagInput-DqpVzhy7.js} +1 -1
  16. package/dist/{MergeTagModeToggle-D793Bj_E.js → MergeTagModeToggle-BkIiAgpQ.js} +4 -4
  17. package/dist/{ParagraphEditor-D6FRxr8Y.js → ParagraphEditor-D67Cqh-T.js} +19 -19
  18. package/dist/{RestoreVersionDialog--b0qfNaK.js → RestoreVersionDialog-BaKDuPCX.js} +2 -2
  19. package/dist/{RichTextEditorContent-BC5UTVnb.js → RichTextEditorContent-AEtfKvLz.js} +5 -5
  20. package/dist/{SaveBlockDialog-C0BdEGeL.js → SaveBlockDialog-BxkI52fN.js} +8 -8
  21. package/dist/{SavedBlocksBrowserModal-BzDgXtr4.js → SavedBlocksBrowserModal-C4_25Kvn.js} +6 -6
  22. package/dist/{SavedBlocksPanels-DN-bDZzy.js → SavedBlocksPanels-DQ0w9G1O.js} +1 -1
  23. package/dist/{SavedBlocksPickBar-pEi9Et8Q.js → SavedBlocksPickBar-CtH-sfxh.js} +2 -2
  24. package/dist/{TemplateScoringPanel-B1wcfE0w.js → TemplateScoringPanel-Cs0TGtRF.js} +3 -3
  25. package/dist/{TemplateSettings-C_5leDdF.js → TemplateSettings-BD1WNP4C.js} +7 -7
  26. package/dist/{TestEmailModal-maM8SLBV.js → TestEmailModal-DZi58FU9.js} +70 -65
  27. package/dist/{TestEmailPanel-8iAZYpCK.js → TestEmailPanel-D__9Wvgz.js} +1 -1
  28. package/dist/{TitleEditor-L26QXwna.js → TitleEditor-v5p89Djs.js} +9 -9
  29. package/dist/{ToggleSwitch-JvQ_CmI1.js → ToggleSwitch-CJfQ8u57.js} +1 -1
  30. package/dist/{Toolbar-B2kDLFhn.js → Toolbar-C7SjilzH.js} +540 -525
  31. package/dist/{TplModal-DVMS_nAn.js → TplModal-B8uLyoXE.js} +3 -3
  32. package/dist/{VersionHistoryMenu-BVQityes.js → VersionHistoryMenu-b0A8mS2_.js} +2 -2
  33. package/dist/{VersionHistoryPanels-D8f8KvKX.js → VersionHistoryPanels-DfNrRT6y.js} +1 -1
  34. package/dist/{VersionPreviewBanner-BaMSgA1O.js → VersionPreviewBanner-xB9r83r0.js} +1 -1
  35. package/dist/WrapperBlock-yGmKw0T-.js +34 -0
  36. package/dist/{blockTypeIcons-CdXugKyV.js → blockTypeIcons-B0Bq1WT1.js} +1 -1
  37. package/dist/bundle-stats.json +6 -6
  38. package/dist/{ca-Bqeygp1_.js → ca-Ckgw9yd0.js} +1 -0
  39. package/dist/cdn/chunks/{AiChatSidebar-ctfIU4i0.js → AiChatSidebar-mKImUXi6.js} +7 -7
  40. package/dist/cdn/chunks/{AiChatSidebar-ctfIU4i0.js.map → AiChatSidebar-mKImUXi6.js.map} +1 -1
  41. package/dist/cdn/chunks/{AiFeatureMenu-ByygdH_9.js → AiFeatureMenu-23HCL517.js} +4 -4
  42. package/dist/cdn/chunks/{AiFeatureMenu-ByygdH_9.js.map → AiFeatureMenu-23HCL517.js.map} +1 -1
  43. package/dist/cdn/chunks/{BlockIssueBadge-9hHpaXb9.js → BlockIssueBadge-DS1pUf5g.js} +3 -3
  44. package/dist/cdn/chunks/{BlockIssueBadge-9hHpaXb9.js.map → BlockIssueBadge-DS1pUf5g.js.map} +1 -1
  45. package/dist/cdn/chunks/BlockPreviewCanvas-DObWyQfh.js +135 -0
  46. package/dist/cdn/chunks/BlockPreviewCanvas-DObWyQfh.js.map +1 -0
  47. package/dist/cdn/chunks/{CloudHeaderExtras-BxsMpvVr.js → CloudHeaderExtras-DOB_uWpt.js} +3 -3
  48. package/dist/cdn/chunks/{CloudHeaderExtras-BxsMpvVr.js.map → CloudHeaderExtras-DOB_uWpt.js.map} +1 -1
  49. package/dist/cdn/chunks/{CloudPanels-DmxmqAS_.js → CloudPanels-DcAn5QW7.js} +5 -5
  50. package/dist/cdn/chunks/{CloudPanels-DmxmqAS_.js.map → CloudPanels-DcAn5QW7.js.map} +1 -1
  51. package/dist/cdn/chunks/{CollaboratorBar-B8ttqAqX.js → CollaboratorBar-C0M8c2Vv.js} +3 -3
  52. package/dist/cdn/chunks/{CollaboratorBar-B8ttqAqX.js.map → CollaboratorBar-C0M8c2Vv.js.map} +1 -1
  53. package/dist/cdn/chunks/{CommentsPanel-C8ibhaiK.js → CommentsPanel-BtAGZfF6.js} +2 -2
  54. package/dist/cdn/chunks/{CommentsPanel-C8ibhaiK.js.map → CommentsPanel-BtAGZfF6.js.map} +1 -1
  55. package/dist/cdn/chunks/{CommentsSidebar-CybWfZ3V.js → CommentsSidebar-Ws07MXYj.js} +3 -3
  56. package/dist/cdn/chunks/{CommentsSidebar-CybWfZ3V.js.map → CommentsSidebar-Ws07MXYj.js.map} +1 -1
  57. package/dist/cdn/chunks/{CountdownBlock-DdC8Lg5F.js → CountdownBlock-sVDjKkRw.js} +2 -2
  58. package/dist/cdn/chunks/{CountdownBlock-DdC8Lg5F.js.map → CountdownBlock-sVDjKkRw.js.map} +1 -1
  59. package/dist/cdn/chunks/{CountdownToolbar-DRESXiVD.js → CountdownToolbar-Bu93WiS8.js} +5 -5
  60. package/dist/cdn/chunks/{CountdownToolbar-DRESXiVD.js.map → CountdownToolbar-Bu93WiS8.js.map} +1 -1
  61. package/dist/cdn/chunks/{DesignReferenceSidebar-CtaoY-hl.js → DesignReferenceSidebar-BlSdh5B7.js} +4 -4
  62. package/dist/cdn/chunks/{DesignReferenceSidebar-CtaoY-hl.js.map → DesignReferenceSidebar-BlSdh5B7.js.map} +1 -1
  63. package/dist/cdn/chunks/{IssuesPanel-C6RlIxoi.js → IssuesPanel-CKkv9z9g.js} +4 -4
  64. package/dist/cdn/chunks/{IssuesPanel-C6RlIxoi.js.map → IssuesPanel-CKkv9z9g.js.map} +1 -1
  65. package/dist/cdn/chunks/{LogicTagInsertButton-DpyPozop.js → LogicTagInsertButton-CHc1yZ9v.js} +165 -165
  66. package/dist/cdn/chunks/{LogicTagInsertButton-DpyPozop.js.map → LogicTagInsertButton-CHc1yZ9v.js.map} +1 -1
  67. package/dist/cdn/chunks/{MergeTagInput-ERJr7bP_.js → MergeTagInput--qTYfCWk.js} +2 -2
  68. package/dist/cdn/chunks/{MergeTagInput-ERJr7bP_.js.map → MergeTagInput--qTYfCWk.js.map} +1 -1
  69. package/dist/cdn/chunks/{MergeTagModeToggle-n3nvSNeQ.js → MergeTagModeToggle-CdWIGo3Q.js} +5 -5
  70. package/dist/cdn/chunks/{MergeTagModeToggle-n3nvSNeQ.js.map → MergeTagModeToggle-CdWIGo3Q.js.map} +1 -1
  71. package/dist/cdn/chunks/{ParagraphEditor-R2ph_UOo.js → ParagraphEditor-BilbVtrG.js} +17 -17
  72. package/dist/cdn/chunks/{ParagraphEditor-R2ph_UOo.js.map → ParagraphEditor-BilbVtrG.js.map} +1 -1
  73. package/dist/cdn/chunks/{RestoreVersionDialog-C-dwbb7T.js → RestoreVersionDialog-Q-a44Vjv.js} +3 -3
  74. package/dist/cdn/chunks/{RestoreVersionDialog-C-dwbb7T.js.map → RestoreVersionDialog-Q-a44Vjv.js.map} +1 -1
  75. package/dist/cdn/chunks/{RichTextEditorContent-Ch5zeyZ7.js → RichTextEditorContent-Fzuu9pLP.js} +6 -6
  76. package/dist/cdn/chunks/{RichTextEditorContent-Ch5zeyZ7.js.map → RichTextEditorContent-Fzuu9pLP.js.map} +1 -1
  77. package/dist/cdn/chunks/{SaveBlockDialog-C_BPjVv6.js → SaveBlockDialog-DeW_M6kh.js} +9 -9
  78. package/dist/cdn/chunks/{SaveBlockDialog-C_BPjVv6.js.map → SaveBlockDialog-DeW_M6kh.js.map} +1 -1
  79. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CrrGEfFb.js → SavedBlocksBrowserModal-BzQWibKG.js} +6 -6
  80. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CrrGEfFb.js.map → SavedBlocksBrowserModal-BzQWibKG.js.map} +1 -1
  81. package/dist/cdn/chunks/{SavedBlocksPanels-DfTaMPAr.js → SavedBlocksPanels-Ce1RePjk.js} +2 -2
  82. package/dist/cdn/chunks/{SavedBlocksPanels-DfTaMPAr.js.map → SavedBlocksPanels-Ce1RePjk.js.map} +1 -1
  83. package/dist/cdn/chunks/{SavedBlocksPickBar-DziwHYSu.js → SavedBlocksPickBar-DIDl6xfy.js} +3 -3
  84. package/dist/cdn/chunks/{SavedBlocksPickBar-DziwHYSu.js.map → SavedBlocksPickBar-DIDl6xfy.js.map} +1 -1
  85. package/dist/cdn/chunks/{TemplateScoringPanel-CR6RG6dZ.js → TemplateScoringPanel-d_Ppowsq.js} +49 -49
  86. package/dist/cdn/chunks/{TemplateScoringPanel-CR6RG6dZ.js.map → TemplateScoringPanel-d_Ppowsq.js.map} +1 -1
  87. package/dist/cdn/chunks/{TemplateSettings-DjXiiiNr.js → TemplateSettings-Dr5OJ0Gi.js} +8 -8
  88. package/dist/cdn/chunks/{TemplateSettings-DjXiiiNr.js.map → TemplateSettings-Dr5OJ0Gi.js.map} +1 -1
  89. package/dist/cdn/chunks/{TestEmailModal-DId9Og-N.js → TestEmailModal-CWTmaJuT.js} +56 -51
  90. package/dist/cdn/chunks/TestEmailModal-CWTmaJuT.js.map +1 -0
  91. package/dist/cdn/chunks/{TestEmailPanel-B8LwXmeX.js → TestEmailPanel-BdYsVHXA.js} +2 -2
  92. package/dist/cdn/chunks/{TestEmailPanel-B8LwXmeX.js.map → TestEmailPanel-BdYsVHXA.js.map} +1 -1
  93. package/dist/cdn/chunks/{TitleEditor-C7KMzX1e.js → TitleEditor-pJeeZ-PX.js} +9 -9
  94. package/dist/cdn/chunks/{TitleEditor-C7KMzX1e.js.map → TitleEditor-pJeeZ-PX.js.map} +1 -1
  95. package/dist/cdn/chunks/{ToggleSwitch-CDy8OfcB.js → ToggleSwitch-0dGCYnRY.js} +2 -2
  96. package/dist/cdn/chunks/{ToggleSwitch-CDy8OfcB.js.map → ToggleSwitch-0dGCYnRY.js.map} +1 -1
  97. package/dist/cdn/chunks/{Toolbar-DqFhWxgW.js → Toolbar-BsiHW9gY.js} +493 -478
  98. package/dist/cdn/chunks/{Toolbar-DqFhWxgW.js.map → Toolbar-BsiHW9gY.js.map} +1 -1
  99. package/dist/cdn/chunks/{TplModal-BKqDFLq3.js → TplModal-CEuGD7pt.js} +4 -4
  100. package/dist/cdn/chunks/{TplModal-BKqDFLq3.js.map → TplModal-CEuGD7pt.js.map} +1 -1
  101. package/dist/cdn/chunks/{VersionHistoryMenu-Dij1pTEb.js → VersionHistoryMenu-B3-hNu9c.js} +3 -3
  102. package/dist/cdn/chunks/{VersionHistoryMenu-Dij1pTEb.js.map → VersionHistoryMenu-B3-hNu9c.js.map} +1 -1
  103. package/dist/cdn/chunks/{VersionHistoryPanels-DcCFFDK6.js → VersionHistoryPanels-C1yck5gT.js} +2 -2
  104. package/dist/cdn/chunks/{VersionHistoryPanels-DcCFFDK6.js.map → VersionHistoryPanels-C1yck5gT.js.map} +1 -1
  105. package/dist/cdn/chunks/{VersionPreviewBanner-Df3FVlig.js → VersionPreviewBanner-PzVQSBJE.js} +2 -2
  106. package/dist/cdn/chunks/{VersionPreviewBanner-Df3FVlig.js.map → VersionPreviewBanner-PzVQSBJE.js.map} +1 -1
  107. package/dist/cdn/chunks/WrapperBlock-DGkbmj06.js +36 -0
  108. package/dist/cdn/chunks/WrapperBlock-DGkbmj06.js.map +1 -0
  109. package/dist/cdn/chunks/{ca-Bqeygp1_.js → ca-Ckgw9yd0.js} +2 -1
  110. package/dist/cdn/chunks/ca-Ckgw9yd0.js.map +1 -0
  111. package/dist/cdn/chunks/{cloud-eaXyxZ8l.js → cloud-CIT4yPp4.js} +2 -2
  112. package/dist/cdn/chunks/{cloud-eaXyxZ8l.js.map → cloud-CIT4yPp4.js.map} +1 -1
  113. package/dist/cdn/chunks/{createCloudRuntime-D5bXzcTe.js → createCloudRuntime-COUxbPvd.js} +49 -40
  114. package/dist/cdn/chunks/createCloudRuntime-COUxbPvd.js.map +1 -0
  115. package/dist/cdn/chunks/{de-CY6SlqBx.js → de-D4dweQw8.js} +2 -1
  116. package/dist/cdn/chunks/de-D4dweQw8.js.map +1 -0
  117. package/dist/{en-8V-2kDcp.js → cdn/chunks/en-VE7R7NyL.js} +3 -0
  118. package/dist/cdn/chunks/en-VE7R7NyL.js.map +1 -0
  119. package/dist/{es-Cmn1rT3l.js → cdn/chunks/es-B9OhP8H3.js} +3 -0
  120. package/dist/cdn/chunks/es-B9OhP8H3.js.map +1 -0
  121. package/dist/cdn/chunks/{extensions-Bhu8UEE5.js → extensions-CafoGF65.js} +5 -5
  122. package/dist/cdn/chunks/{extensions-Bhu8UEE5.js.map → extensions-CafoGF65.js.map} +1 -1
  123. package/dist/cdn/chunks/{fr-2yDa4zXM.js → fr-wrXhIi00.js} +2 -1
  124. package/dist/cdn/chunks/fr-wrXhIi00.js.map +1 -0
  125. package/dist/cdn/chunks/keys-DCWeHkSF.js +12 -0
  126. package/dist/cdn/chunks/keys-DCWeHkSF.js.map +1 -0
  127. package/dist/{nl-Bzk2zRI8.js → cdn/chunks/nl-DeFatKJe.js} +3 -0
  128. package/dist/cdn/chunks/nl-DeFatKJe.js.map +1 -0
  129. package/dist/cdn/chunks/preRenderCustomBlocks-Dpj-_cOj.js +21 -0
  130. package/dist/cdn/chunks/preRenderCustomBlocks-Dpj-_cOj.js.map +1 -0
  131. package/dist/cdn/chunks/{pt-BR-DqtSCTUi.js → pt-BR-Bh1J8ey6.js} +2 -1
  132. package/dist/cdn/chunks/pt-BR-Bh1J8ey6.js.map +1 -0
  133. package/dist/cdn/chunks/{socialIcons-9VrG8X3m.js → socialIcons-BvYNMn1G.js} +264 -258
  134. package/dist/cdn/chunks/socialIcons-BvYNMn1G.js.map +1 -0
  135. package/dist/cdn/chunks/{src-CqYYKcCI.js → src-CbGCES0u.js} +175 -168
  136. package/dist/cdn/chunks/src-CbGCES0u.js.map +1 -0
  137. package/dist/cdn/chunks/{src-CaNsA_WX.js → src-Cnc5E71L.js} +258 -247
  138. package/dist/cdn/chunks/src-Cnc5E71L.js.map +1 -0
  139. package/dist/cdn/chunks/{src-Dwgq7hf4.js → src-DveVYoWS.js} +281 -181
  140. package/dist/cdn/chunks/src-DveVYoWS.js.map +1 -0
  141. package/dist/cdn/chunks/{useCloudI18n-C09JcFS0.js → useCloudI18n-CrjWbpbu.js} +2 -2
  142. package/dist/cdn/chunks/{useCloudI18n-C09JcFS0.js.map → useCloudI18n-CrjWbpbu.js.map} +1 -1
  143. package/dist/cdn/chunks/{useEditorCore-CXYI14ux.js → useEditorCore-CQraU2s_.js} +421 -408
  144. package/dist/cdn/chunks/useEditorCore-CQraU2s_.js.map +1 -0
  145. package/dist/cdn/chunks/{useEditorRoot-DFx2fXJP.js → useEditorRoot-CshefZLP.js} +2 -2
  146. package/dist/cdn/chunks/{useEditorRoot-DFx2fXJP.js.map → useEditorRoot-CshefZLP.js.map} +1 -1
  147. package/dist/cdn/chunks/{useI18n-DTZ9sIcv.js → useI18n-CyO_Nmca.js} +2 -2
  148. package/dist/cdn/chunks/{useI18n-DTZ9sIcv.js.map → useI18n-CyO_Nmca.js.map} +1 -1
  149. package/dist/cdn/chunks/{useLogicTag-E2V0Xdcb.js → useLogicTag-DF7-l66G.js} +4 -4
  150. package/dist/cdn/chunks/{useLogicTag-E2V0Xdcb.js.map → useLogicTag-DF7-l66G.js.map} +1 -1
  151. package/dist/cdn/chunks/{useMergeTag-BE8oDoha.js → useMergeTag-DbIHw4NG.js} +4 -4
  152. package/dist/cdn/chunks/{useMergeTag-BE8oDoha.js.map → useMergeTag-DbIHw4NG.js.map} +1 -1
  153. package/dist/cdn/chunks/{usePopoverPosition-gB9q-ql7.js → usePopoverPosition-BJRvAb-h.js} +2 -2
  154. package/dist/cdn/chunks/{usePopoverPosition-gB9q-ql7.js.map → usePopoverPosition-BJRvAb-h.js.map} +1 -1
  155. package/dist/cdn/chunks/{useScrollToBlock-CtTXwmiU.js → useScrollToBlock-DgHZJvID.js} +2 -2
  156. package/dist/cdn/chunks/{useScrollToBlock-CtTXwmiU.js.map → useScrollToBlock-DgHZJvID.js.map} +1 -1
  157. package/dist/cdn/editor.css +1 -1
  158. package/dist/cdn/editor.js +484 -460
  159. package/dist/cdn/editor.js.map +1 -1
  160. package/dist/{cloud-C9xWZXhg.js → cloud-DsqqUfzh.js} +1 -1
  161. package/dist/{createCloudRuntime-BGd5--Bq.js → createCloudRuntime-iLflkYzP.js} +47 -38
  162. package/dist/{de-CY6SlqBx.js → de-D4dweQw8.js} +1 -0
  163. package/dist/{dist-tGkjkX-v.js → dist-DbUZvK04.js} +277 -176
  164. package/dist/{cdn/chunks/en-8V-2kDcp.js → en-VE7R7NyL.js} +1 -2
  165. package/dist/{cdn/chunks/es-Cmn1rT3l.js → es-B9OhP8H3.js} +1 -2
  166. package/dist/{extensions-DRN-elXT.js → extensions-DDhjuVKy.js} +4 -4
  167. package/dist/{fr-2yDa4zXM.js → fr-wrXhIi00.js} +1 -0
  168. package/dist/index.d.ts +65 -0
  169. package/dist/keys-CDqfZIRt.js +10 -0
  170. package/dist/{cdn/chunks/nl-Bzk2zRI8.js → nl-DeFatKJe.js} +1 -2
  171. package/dist/preRenderCustomBlocks-BBSqQgke.js +19 -0
  172. package/dist/{pt-BR-DqtSCTUi.js → pt-BR-Bh1J8ey6.js} +1 -0
  173. package/dist/{socialIcons-DkGcpEwC.js → socialIcons-O7PZCW2P.js} +245 -239
  174. package/dist/style.css +1 -1
  175. package/dist/templatical-editor.js +520 -496
  176. package/dist/{useCloudI18n-D1iedlP3.js → useCloudI18n-DpEsiLeR.js} +1 -1
  177. package/dist/{useEditorCore-BUVbQgwb.js → useEditorCore-Dt_VWNqX.js} +817 -804
  178. package/dist/{useEditorRoot-BOxn5EfP.js → useEditorRoot-CkB_5d0h.js} +1 -1
  179. package/dist/{useI18n-Ds_-druD.js → useI18n-B_CdcBwG.js} +1 -1
  180. package/dist/{useLogicTag-DoHfc08B.js → useLogicTag-D9pvgxQR.js} +3 -3
  181. package/dist/{useMergeTag-DXyum3kG.js → useMergeTag-BaVFPdlq.js} +5 -5
  182. package/dist/{usePopoverPosition-Du-Ah8E9.js → usePopoverPosition-DH7z3Ghm.js} +1 -1
  183. package/dist/{useScrollToBlock-DXQYPCnJ.js → useScrollToBlock-Dj4v3rxr.js} +1 -1
  184. package/package.json +7 -7
  185. package/dist/BlockPreviewCanvas-BMC16_QU.js +0 -131
  186. package/dist/cdn/chunks/BlockPreviewCanvas-DeS7Sa--.js +0 -133
  187. package/dist/cdn/chunks/BlockPreviewCanvas-DeS7Sa--.js.map +0 -1
  188. package/dist/cdn/chunks/TestEmailModal-DId9Og-N.js.map +0 -1
  189. package/dist/cdn/chunks/ca-Bqeygp1_.js.map +0 -1
  190. package/dist/cdn/chunks/createCloudRuntime-D5bXzcTe.js.map +0 -1
  191. package/dist/cdn/chunks/de-CY6SlqBx.js.map +0 -1
  192. package/dist/cdn/chunks/emailFrameWidth-BmFCN2dp.js +0 -8
  193. package/dist/cdn/chunks/emailFrameWidth-BmFCN2dp.js.map +0 -1
  194. package/dist/cdn/chunks/en-8V-2kDcp.js.map +0 -1
  195. package/dist/cdn/chunks/es-Cmn1rT3l.js.map +0 -1
  196. package/dist/cdn/chunks/fr-2yDa4zXM.js.map +0 -1
  197. package/dist/cdn/chunks/keys-dJbD1QPs.js +0 -12
  198. package/dist/cdn/chunks/keys-dJbD1QPs.js.map +0 -1
  199. package/dist/cdn/chunks/nl-Bzk2zRI8.js.map +0 -1
  200. package/dist/cdn/chunks/preRenderCustomBlocks-Bdpiiw4A.js +0 -23
  201. package/dist/cdn/chunks/preRenderCustomBlocks-Bdpiiw4A.js.map +0 -1
  202. package/dist/cdn/chunks/pt-BR-DqtSCTUi.js.map +0 -1
  203. package/dist/cdn/chunks/socialIcons-9VrG8X3m.js.map +0 -1
  204. package/dist/cdn/chunks/src-CaNsA_WX.js.map +0 -1
  205. package/dist/cdn/chunks/src-CqYYKcCI.js.map +0 -1
  206. package/dist/cdn/chunks/src-Dwgq7hf4.js.map +0 -1
  207. package/dist/cdn/chunks/useEditorCore-CXYI14ux.js.map +0 -1
  208. package/dist/emailFrameWidth-BmFCN2dp.js +0 -6
  209. package/dist/keys-BdoSgsz9.js +0 -10
  210. package/dist/preRenderCustomBlocks-DFXH54Zr.js +0 -21
@@ -1,33 +1,33 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { A as t, At as n, B as r, F as i, M as a, N as o, R as s, S as c, V as l, Y as u, Z as d, _ as f, at as p, c as m, d as h, g, h as _, jt as v, kt as y, l as b, r as x, s as S, u as C, v as w } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
3
3
  import { a as T, o as E } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
4
- import { D, P as O, i as k, l as A, o as j } from "./dist-tGkjkX-v.js";
5
- import { c as ee, f as M, i as te, l as N, r as ne, u as re, x as ie } from "./socialIcons-DkGcpEwC.js";
6
- import { _ as P } from "./dist-8VFzbeu9.js";
7
- import { I as F, N as ae, Z as oe, c as se, d as ce, h as le, n as ue, p as I, v as de } from "./keys-BdoSgsz9.js";
8
- import { t as L } from "./useI18n-Ds_-druD.js";
9
- import { a as fe } from "./usePopoverPosition-Du-Ah8E9.js";
10
- import { t as pe } from "./createLucideIcon-BxY5yz5u.js";
11
- import { c as R } from "./LogicTagInsertButton-D8IwH-9Z.js";
12
- import { t as me } from "./chevron-down-Dkr-7Ywl.js";
13
- import { t as he } from "./circle-alert-CYgTHKWr.js";
14
- import { n as z, t as ge } from "./blockTypeIcons-CdXugKyV.js";
15
- import { t as _e } from "./copy-mw6PVnOJ.js";
16
- import { t as ve } from "./info-VSyAs02q.js";
17
- import { t as ye } from "./loader-circle-z5eeqasv.js";
18
- import { n as be, t as xe } from "./smartphone-v0u_MOEV.js";
19
- import { t as B } from "./plus-D8bkVjZ7.js";
20
- import { t as Se } from "./refresh-cw-DPB7YFuz.js";
21
- import { n as V, r as H, t as U } from "./text-align-start-DiavaIm6.js";
22
- import { t as Ce } from "./trash-DnOkfu2V.js";
23
- import { t as we } from "./upload-BBDme2cy.js";
24
- import { t as Te } from "./x-3BHV3Q6K.js";
25
- import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
26
- import { t as De } from "./useAliveFlag-BkKyhkwZ.js";
27
- import { _ as Oe, b as ke, c as Ae, g as W, h as G, m as K, p as q, r as je, v as Me } from "./styleConstants-C_YAPdQS.js";
28
- import { n as Ne, t as J } from "./ToggleSwitch-JvQ_CmI1.js";
29
- import { t as Y } from "./MergeTagInput-QI-5KG2R.js";
30
- var Pe = pe({
4
+ import { K as D, M as O, f as k, i as A, o as j, z as M } from "./dist-DbUZvK04.js";
5
+ import { c as N, f as P, i as F, l as ee, r as te, u as ne, x as re } from "./socialIcons-O7PZCW2P.js";
6
+ import { _ as I } from "./dist-8VFzbeu9.js";
7
+ import { $ as ie, C as ae, G as oe, L as se, P as ce, c as le, d as L, h as ue, n as de, p as fe, v as pe } from "./keys-CDqfZIRt.js";
8
+ import { t as R } from "./useI18n-B_CdcBwG.js";
9
+ import { a as me } from "./usePopoverPosition-DH7z3Ghm.js";
10
+ import { t as he } from "./createLucideIcon-BxY5yz5u.js";
11
+ import { c as z } from "./LogicTagInsertButton-BimKobaG.js";
12
+ import { t as ge } from "./chevron-down-Dkr-7Ywl.js";
13
+ import { t as _e } from "./circle-alert-CYgTHKWr.js";
14
+ import { n as B, t as ve } from "./blockTypeIcons-B0Bq1WT1.js";
15
+ import { t as ye } from "./copy-mw6PVnOJ.js";
16
+ import { t as be } from "./info-VSyAs02q.js";
17
+ import { t as xe } from "./loader-circle-z5eeqasv.js";
18
+ import { n as Se, t as Ce } from "./smartphone-v0u_MOEV.js";
19
+ import { t as V } from "./plus-D8bkVjZ7.js";
20
+ import { t as we } from "./refresh-cw-DPB7YFuz.js";
21
+ import { n as H, r as U, t as Te } from "./text-align-start-DiavaIm6.js";
22
+ import { t as Ee } from "./trash-DnOkfu2V.js";
23
+ import { t as De } from "./upload-BBDme2cy.js";
24
+ import { t as Oe } from "./x-3BHV3Q6K.js";
25
+ import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
26
+ import { t as Ae } from "./useAliveFlag-BkKyhkwZ.js";
27
+ import { _ as je, b as Me, c as Ne, g as W, h as G, m as K, p as q, r as Pe, v as Fe } from "./styleConstants-C_YAPdQS.js";
28
+ import { n as Ie, t as J } from "./ToggleSwitch-CJfQ8u57.js";
29
+ import { t as Y } from "./MergeTagInput-DqpVzhy7.js";
30
+ var Le = he({
31
31
  name: "lock-open",
32
32
  size: 24,
33
33
  node: [["rect", {
@@ -43,7 +43,7 @@ var Pe = pe({
43
43
  key: "1mm8w8"
44
44
  }]],
45
45
  aliases: ["unlock"]
46
- }), Fe = pe({
46
+ }), Re = he({
47
47
  name: "lock",
48
48
  size: 24,
49
49
  node: [["rect", {
@@ -58,12 +58,12 @@ var Pe = pe({
58
58
  d: "M7 11V7a5 5 0 0 1 10 0v4",
59
59
  key: "fwvmzm"
60
60
  }]]
61
- }), Ie = [
61
+ }), ze = [
62
62
  "aria-checked",
63
63
  "aria-label",
64
64
  "title",
65
65
  "onClick"
66
- ], Le = { key: 1 }, X = /* @__PURE__ */ w({
66
+ ], Be = { key: 1 }, X = /* @__PURE__ */ w({
67
67
  __name: "SlidingPillSelect",
68
68
  props: {
69
69
  options: {},
@@ -106,12 +106,12 @@ var Pe = pe({
106
106
  key: 0,
107
107
  size: 14,
108
108
  "stroke-width": 2
109
- })) : (t(), h("span", Le, v(r.label), 1))], 12, Ie))), 128))], 4));
109
+ })) : (t(), h("span", Be, v(r.label), 1))], 12, ze))), 128))], 4));
110
110
  }
111
- }), Re = { class: "tpl:mb-3.5" }, ze = ["value"], Be = { value: "" }, Ve = ["value"], He = { class: "tpl:mb-3.5" }, Ue = { class: "tpl:mb-3.5" }, We = { class: "tpl:mb-3.5" }, Ge = { class: "tpl:mb-3.5" }, Ke = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, qe = { class: "tpl:mb-3.5" }, Je = { class: "tpl:flex tpl:items-stretch" }, Ye = ["value"], Xe = { class: "tpl:mb-3.5" }, Ze = { class: "tpl:flex tpl:items-stretch" }, Qe = ["value"], $e = { class: "tpl:mb-3.5" }, et = ["value"], tt = { value: "auto" }, nt = { value: "full" }, rt = { value: "custom" }, it = {
111
+ }), Ve = { class: "tpl:mb-3.5" }, He = ["value"], Ue = { value: "" }, We = ["value"], Ge = { class: "tpl:mb-3.5" }, Ke = { class: "tpl:mb-3.5" }, qe = { class: "tpl:mb-3.5" }, Je = { class: "tpl:mb-3.5" }, Ye = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Xe = { class: "tpl:mb-3.5" }, Ze = { class: "tpl:flex tpl:items-stretch" }, Qe = ["value"], $e = { class: "tpl:mb-3.5" }, et = { class: "tpl:flex tpl:items-stretch" }, tt = ["value"], nt = { class: "tpl:mb-3.5" }, rt = ["value"], it = { value: "auto" }, at = { value: "full" }, ot = { value: "custom" }, st = {
112
112
  key: 0,
113
113
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
114
- }, at = ["value"], ot = { class: "tpl:mb-3.5" }, st = 200, ct = /* @__PURE__ */ w({
114
+ }, ct = ["value"], lt = { class: "tpl:mb-3.5" }, ut = 200, dt = /* @__PURE__ */ w({
115
115
  __name: "ButtonToolbar",
116
116
  props: {
117
117
  block: {},
@@ -119,7 +119,7 @@ var Pe = pe({
119
119
  },
120
120
  emits: ["update"],
121
121
  setup(e, { emit: n }) {
122
- let r = e, i = n, { t: o } = L(), s = S(() => r.block.width === "full" ? "full" : typeof r.block.width == "number" ? "custom" : "auto");
122
+ let r = e, i = n, { t: o } = R(), s = S(() => r.block.width === "full" ? "full" : typeof r.block.width == "number" ? "custom" : "auto");
123
123
  function c(e, t) {
124
124
  i("update", { [e]: t });
125
125
  }
@@ -129,7 +129,7 @@ var Pe = pe({
129
129
  return;
130
130
  }
131
131
  if (e === "custom") {
132
- c("width", typeof r.block.width == "number" ? r.block.width : st);
132
+ c("width", typeof r.block.width == "number" ? r.block.width : ut);
133
133
  return;
134
134
  }
135
135
  c("width", void 0);
@@ -139,20 +139,20 @@ var Pe = pe({
139
139
  !Number.isFinite(t) || t <= 0 || c("width", t);
140
140
  }
141
141
  return (n, r) => (t(), h(x, null, [
142
- m("div", Re, [m("label", { class: y(p(W)) }, v(p(o).button.fontFamily), 3), m("select", {
142
+ m("div", Ve, [m("label", { class: y(p(W)) }, v(p(o).button.fontFamily), 3), m("select", {
143
143
  class: y(p(q)),
144
144
  value: e.block.fontFamily || "",
145
145
  onChange: r[0] ||= (e) => c("fontFamily", e.target.value || void 0)
146
- }, [m("option", Be, v(p(o).button.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
146
+ }, [m("option", Ue, v(p(o).button.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
147
147
  key: e.value,
148
148
  value: e.value
149
- }, v(e.label), 9, Ve))), 128))], 42, ze)]),
150
- m("div", He, [m("label", { class: y(p(W)) }, v(p(o).button.text), 3), g(Y, {
149
+ }, v(e.label), 9, We))), 128))], 42, He)]),
150
+ m("div", Ge, [m("label", { class: y(p(W)) }, v(p(o).button.text), 3), g(Y, {
151
151
  "model-value": e.block.text,
152
152
  type: "text",
153
153
  "onUpdate:modelValue": r[1] ||= (e) => c("text", e)
154
154
  }, null, 8, ["model-value"])]),
155
- m("div", Ue, [
155
+ m("div", Ke, [
156
156
  m("label", { class: y(p(W)) }, v(p(o).button.url), 3),
157
157
  g(Y, {
158
158
  "model-value": e.block.url,
@@ -168,49 +168,49 @@ var Pe = pe({
168
168
  "onUpdate:modelValue": r[3] ||= (e) => c("openInNewTab", e)
169
169
  }, null, 8, ["model-value", "label"])) : C("", !0)
170
170
  ]),
171
- m("div", We, [m("label", { class: y(p(W)) }, v(p(o).button.background), 3), g(R, {
171
+ m("div", qe, [m("label", { class: y(p(W)) }, v(p(o).button.background), 3), g(z, {
172
172
  "model-value": e.block.backgroundColor,
173
173
  "onUpdate:modelValue": r[4] ||= (e) => c("backgroundColor", e)
174
174
  }, null, 8, ["model-value"])]),
175
- m("div", Ge, [m("label", { class: y(p(W)) }, v(p(o).button.textColor), 3), g(R, {
175
+ m("div", Je, [m("label", { class: y(p(W)) }, v(p(o).button.textColor), 3), g(z, {
176
176
  "model-value": e.block.textColor,
177
177
  "onUpdate:modelValue": r[5] ||= (e) => c("textColor", e)
178
178
  }, null, 8, ["model-value"])]),
179
- m("div", Ke, [m("div", qe, [m("label", { class: y(p(W)) }, v(p(o).button.borderRadius), 3), m("div", Je, [m("input", {
179
+ m("div", Ye, [m("div", Xe, [m("label", { class: y(p(W)) }, v(p(o).button.borderRadius), 3), m("div", Ze, [m("input", {
180
180
  type: "number",
181
181
  class: y(p(K)),
182
182
  value: e.block.borderRadius,
183
183
  min: "0",
184
184
  max: "50",
185
185
  onInput: r[6] ||= (e) => c("borderRadius", Number(e.target.value))
186
- }, null, 42, Ye), m("span", { class: y(p(G)) }, "px", 2)])]), m("div", Xe, [m("label", { class: y(p(W)) }, v(p(o).button.fontSize), 3), m("div", Ze, [m("input", {
186
+ }, null, 42, Qe), m("span", { class: y(p(G)) }, "px", 2)])]), m("div", $e, [m("label", { class: y(p(W)) }, v(p(o).button.fontSize), 3), m("div", et, [m("input", {
187
187
  type: "number",
188
188
  class: y(p(K)),
189
189
  value: e.block.fontSize,
190
190
  min: "10",
191
191
  max: "36",
192
192
  onInput: r[7] ||= (e) => c("fontSize", Number(e.target.value))
193
- }, null, 42, Qe), m("span", { class: y(p(G)) }, "px", 2)])])]),
194
- m("div", $e, [
193
+ }, null, 42, tt), m("span", { class: y(p(G)) }, "px", 2)])])]),
194
+ m("div", nt, [
195
195
  m("label", { class: y(p(W)) }, v(p(o).button.width), 3),
196
196
  m("select", {
197
197
  class: y(p(q)),
198
198
  value: s.value,
199
199
  onChange: r[8] ||= (e) => l(e.target.value)
200
200
  }, [
201
- m("option", tt, v(p(o).button.widthAuto), 1),
202
- m("option", nt, v(p(o).button.fullWidth), 1),
203
- m("option", rt, v(p(o).button.widthCustom), 1)
204
- ], 42, et),
205
- s.value === "custom" ? (t(), h("div", it, [m("input", {
201
+ m("option", it, v(p(o).button.widthAuto), 1),
202
+ m("option", at, v(p(o).button.fullWidth), 1),
203
+ m("option", ot, v(p(o).button.widthCustom), 1)
204
+ ], 42, rt),
205
+ s.value === "custom" ? (t(), h("div", st, [m("input", {
206
206
  type: "number",
207
207
  class: y(p(K)),
208
- value: typeof e.block.width == "number" ? e.block.width : st,
208
+ value: typeof e.block.width == "number" ? e.block.width : ut,
209
209
  min: "20",
210
210
  onInput: r[9] ||= (e) => u(e.target.value)
211
- }, null, 42, at), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
211
+ }, null, 42, ct), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
212
212
  ]),
213
- m("div", ot, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
213
+ m("div", lt, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
214
214
  options: [
215
215
  {
216
216
  value: "left",
@@ -230,7 +230,7 @@ var Pe = pe({
230
230
  }, null, 8, ["options", "model-value"])])
231
231
  ], 64));
232
232
  }
233
- }), lt = { class: "spacing-control" }, ut = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, dt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ft = { class: "tpl:flex tpl:items-center" }, pt = ["aria-label"], mt = ["value", "aria-label"], ht = ["aria-label"], gt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, _t = { class: "tpl:flex tpl:items-center" }, vt = ["aria-label"], yt = ["value", "aria-label"], bt = ["aria-label"], xt = ["aria-label", "title"], St = { class: "tpl:flex tpl:items-center" }, Ct = ["aria-label"], wt = ["value", "aria-label"], Tt = ["aria-label"], Et = { class: "tpl:flex tpl:items-center" }, Dt = ["aria-label"], Ot = ["value", "aria-label"], kt = ["aria-label"], Z = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", At = "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)]", jt = /*#__PURE__*/ Ee(/* @__PURE__ */ w({
233
+ }), ft = { class: "spacing-control" }, pt = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, mt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ht = { class: "tpl:flex tpl:items-center" }, gt = ["aria-label"], _t = ["value", "aria-label"], vt = ["aria-label"], yt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, bt = { class: "tpl:flex tpl:items-center" }, xt = ["aria-label"], St = ["value", "aria-label"], Ct = ["aria-label"], wt = ["aria-label", "title"], Tt = { class: "tpl:flex tpl:items-center" }, Et = ["aria-label"], Dt = ["value", "aria-label"], Ot = ["aria-label"], kt = { class: "tpl:flex tpl:items-center" }, At = ["aria-label"], jt = ["value", "aria-label"], Mt = ["aria-label"], Z = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", Nt = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", Pt = /*#__PURE__*/ ke(/* @__PURE__ */ w({
234
234
  __name: "SpacingControl",
235
235
  props: {
236
236
  modelValue: {},
@@ -238,7 +238,7 @@ var Pe = pe({
238
238
  },
239
239
  emits: ["update:modelValue"],
240
240
  setup(e, { emit: n }) {
241
- let r = e, i = n, { t: a } = L(), o = S(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), c = d(o.value);
241
+ let r = e, i = n, { t: a } = R(), o = S(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), c = d(o.value);
242
242
  s(o, (e) => {
243
243
  !e && c.value && (c.value = !1);
244
244
  });
@@ -277,130 +277,130 @@ var Pe = pe({
277
277
  });
278
278
  }
279
279
  }
280
- return (n, r) => (t(), h("div", lt, [m("label", ut, v(e.label), 1), m("div", dt, [
281
- m("div", ft, [
280
+ return (n, r) => (t(), h("div", ft, [m("label", pt, v(e.label), 1), m("div", mt, [
281
+ m("div", ht, [
282
282
  m("button", {
283
283
  "aria-label": p(a).spacingControl.decreaseTop,
284
284
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
285
285
  onClick: r[0] ||= (e) => l("top", -1)
286
- }, [g(p(z), {
286
+ }, [g(p(B), {
287
287
  size: 12,
288
288
  "stroke-width": 2
289
- })], 10, pt),
289
+ })], 10, gt),
290
290
  m("input", {
291
291
  type: "number",
292
- class: y(At),
292
+ class: y(Nt),
293
293
  value: e.modelValue.top,
294
294
  "aria-label": p(a).spacingControl.top,
295
295
  min: "0",
296
296
  onInput: r[1] ||= (e) => u("top", Number(e.target.value))
297
- }, null, 40, mt),
297
+ }, null, 40, _t),
298
298
  m("button", {
299
299
  "aria-label": p(a).spacingControl.increaseTop,
300
300
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
301
301
  onClick: r[2] ||= (e) => l("top", 1)
302
- }, [g(p(B), {
302
+ }, [g(p(V), {
303
303
  size: 12,
304
304
  "stroke-width": 2
305
- })], 10, ht)
305
+ })], 10, vt)
306
306
  ]),
307
- m("div", gt, [
308
- m("div", _t, [
307
+ m("div", yt, [
308
+ m("div", bt, [
309
309
  m("button", {
310
310
  "aria-label": p(a).spacingControl.decreaseLeft,
311
311
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
312
312
  onClick: r[3] ||= (e) => l("left", -1)
313
- }, [g(p(z), {
313
+ }, [g(p(B), {
314
314
  size: 12,
315
315
  "stroke-width": 2
316
- })], 10, vt),
316
+ })], 10, xt),
317
317
  m("input", {
318
318
  type: "number",
319
- class: y(At),
319
+ class: y(Nt),
320
320
  value: e.modelValue.left,
321
321
  "aria-label": p(a).spacingControl.left,
322
322
  min: "0",
323
323
  onInput: r[4] ||= (e) => u("left", Number(e.target.value))
324
- }, null, 40, yt),
324
+ }, null, 40, St),
325
325
  m("button", {
326
326
  "aria-label": p(a).spacingControl.increaseLeft,
327
327
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
328
328
  onClick: r[5] ||= (e) => l("left", 1)
329
- }, [g(p(B), {
329
+ }, [g(p(V), {
330
330
  size: 12,
331
331
  "stroke-width": 2
332
- })], 10, bt)
332
+ })], 10, Ct)
333
333
  ]),
334
334
  m("button", {
335
335
  class: y(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", c.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
336
336
  "aria-label": c.value ? p(a).spacingControl.unlock : p(a).spacingControl.lockAll,
337
337
  title: c.value ? p(a).spacingControl.unlock : p(a).spacingControl.lockAll,
338
338
  onClick: f
339
- }, [c.value ? (t(), b(p(Fe), {
339
+ }, [c.value ? (t(), b(p(Re), {
340
340
  key: 0,
341
341
  size: 14,
342
342
  "stroke-width": 2
343
- })) : (t(), b(p(Pe), {
343
+ })) : (t(), b(p(Le), {
344
344
  key: 1,
345
345
  size: 14,
346
346
  "stroke-width": 2
347
- }))], 10, xt),
348
- m("div", St, [
347
+ }))], 10, wt),
348
+ m("div", Tt, [
349
349
  m("button", {
350
350
  "aria-label": p(a).spacingControl.decreaseRight,
351
351
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
352
352
  onClick: r[6] ||= (e) => l("right", -1)
353
- }, [g(p(z), {
353
+ }, [g(p(B), {
354
354
  size: 12,
355
355
  "stroke-width": 2
356
- })], 10, Ct),
356
+ })], 10, Et),
357
357
  m("input", {
358
358
  type: "number",
359
- class: y(At),
359
+ class: y(Nt),
360
360
  value: e.modelValue.right,
361
361
  "aria-label": p(a).spacingControl.right,
362
362
  min: "0",
363
363
  onInput: r[7] ||= (e) => u("right", Number(e.target.value))
364
- }, null, 40, wt),
364
+ }, null, 40, Dt),
365
365
  m("button", {
366
366
  "aria-label": p(a).spacingControl.increaseRight,
367
367
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
368
368
  onClick: r[8] ||= (e) => l("right", 1)
369
- }, [g(p(B), {
369
+ }, [g(p(V), {
370
370
  size: 12,
371
371
  "stroke-width": 2
372
- })], 10, Tt)
372
+ })], 10, Ot)
373
373
  ])
374
374
  ]),
375
- m("div", Et, [
375
+ m("div", kt, [
376
376
  m("button", {
377
377
  "aria-label": p(a).spacingControl.decreaseBottom,
378
378
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
379
379
  onClick: r[9] ||= (e) => l("bottom", -1)
380
- }, [g(p(z), {
380
+ }, [g(p(B), {
381
381
  size: 12,
382
382
  "stroke-width": 2
383
- })], 10, Dt),
383
+ })], 10, At),
384
384
  m("input", {
385
385
  type: "number",
386
- class: y(At),
386
+ class: y(Nt),
387
387
  value: e.modelValue.bottom,
388
388
  "aria-label": p(a).spacingControl.bottom,
389
389
  min: "0",
390
390
  onInput: r[10] ||= (e) => u("bottom", Number(e.target.value))
391
- }, null, 40, Ot),
391
+ }, null, 40, jt),
392
392
  m("button", {
393
393
  "aria-label": p(a).spacingControl.increaseBottom,
394
394
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
395
395
  onClick: r[11] ||= (e) => l("bottom", 1)
396
- }, [g(p(B), {
396
+ }, [g(p(V), {
397
397
  size: 12,
398
398
  "stroke-width": 2
399
- })], 10, kt)
399
+ })], 10, Mt)
400
400
  ])
401
401
  ])]));
402
402
  }
403
- }), [["__scopeId", "data-v-69591c1e"]]), Mt = ["data-testid"], Nt = { class: "tpl:mt-3" }, Pt = /* @__PURE__ */ w({
403
+ }), [["__scopeId", "data-v-69591c1e"]]), Ft = ["data-testid"], It = { class: "tpl:mt-3" }, Lt = /* @__PURE__ */ w({
404
404
  __name: "CollapsibleSection",
405
405
  props: {
406
406
  title: {},
@@ -415,25 +415,25 @@ var Pe = pe({
415
415
  "data-testid": e.headerTestId,
416
416
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
417
417
  onClick: r[0] ||= (e) => n.$emit("toggle")
418
- }, [g(p(me), {
418
+ }, [g(p(ge), {
419
419
  class: y(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
420
420
  size: 12,
421
421
  "stroke-width": 2
422
- }, null, 8, ["class"]), m("span", null, v(e.title), 1)], 8, Mt), l(m("div", Nt, [o(n.$slots, "default")], 512), [[E, e.open]])], 2));
422
+ }, null, 8, ["class"]), m("span", null, v(e.title), 1)], 8, Ft), l(m("div", It, [o(n.$slots, "default")], 512), [[E, e.open]])], 2));
423
423
  }
424
- }), Ft = { class: "tpl:space-y-2" }, It = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Lt = { class: "tpl:space-y-2" }, Rt = ["value"], zt = { value: "" }, Bt = ["label"], Vt = ["value"], Ht = ["value"], Ut = {
424
+ }), Rt = { class: "tpl:space-y-2" }, zt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Bt = { class: "tpl:space-y-2" }, Vt = ["value"], Ht = { value: "" }, Ut = ["label"], Wt = ["value"], Gt = ["value"], Kt = {
425
425
  key: 0,
426
426
  value: "__custom__"
427
- }, Wt = {
427
+ }, qt = {
428
428
  key: 0,
429
429
  class: "tpl:space-y-2"
430
- }, Gt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Kt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, qt = { class: "tpl:flex tpl:justify-end" }, Jt = ["disabled"], Yt = {
430
+ }, Jt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Yt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Xt = { class: "tpl:flex tpl:justify-end" }, Zt = ["disabled"], Qt = {
431
431
  key: 0,
432
432
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
433
- }, Xt = { class: "tpl:space-y-1" }, Zt = { 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)]" }, Qt = {
433
+ }, $t = { class: "tpl:space-y-1" }, en = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, tn = {
434
434
  key: 0,
435
435
  class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
436
- }, $t = /* @__PURE__ */ w({
436
+ }, nn = /* @__PURE__ */ w({
437
437
  __name: "CommonBlockSettings",
438
438
  props: {
439
439
  block: {},
@@ -441,23 +441,23 @@ var Pe = pe({
441
441
  },
442
442
  emits: ["update"],
443
443
  setup(e, { emit: n }) {
444
- let o = e, f = n, { t: w } = L(), E = c(le, []), D = c(ue, !1), O = u(/* @__PURE__ */ new Set()), k = d(!1), A = d(""), j = d(""), ee = [{
444
+ let o = e, f = n, { t: w } = R(), E = c(ue, []), D = c(de, !1), O = u(/* @__PURE__ */ new Set()), k = d(!1), A = d(""), j = d(""), M = [{
445
445
  key: "desktop",
446
- icon: be,
446
+ icon: Se,
447
447
  labelKey: "showOnDesktop"
448
448
  }, {
449
449
  key: "mobile",
450
- icon: xe,
450
+ icon: Ce,
451
451
  labelKey: "showOnMobile"
452
452
  }];
453
- function M(e) {
453
+ function N(e) {
454
454
  O.has(e) ? O.delete(e) : O.add(e);
455
455
  }
456
- let te = S(() => E.length > 0 || D), N = S(() => o.block.displayCondition ? !E.some((e) => e.label === o.block.displayCondition?.label) : !1);
457
- function ne() {
458
- k.value = !0, N.value && o.block.displayCondition ? (A.value = o.block.displayCondition.before, j.value = o.block.displayCondition.after ?? "") : (A.value = "", j.value = "");
456
+ let P = S(() => E.length > 0 || D), F = S(() => o.block.displayCondition ? !E.some((e) => e.label === o.block.displayCondition?.label) : !1);
457
+ function ee() {
458
+ k.value = !0, F.value && o.block.displayCondition ? (A.value = o.block.displayCondition.before, j.value = o.block.displayCondition.after ?? "") : (A.value = "", j.value = "");
459
459
  }
460
- function re() {
460
+ function te() {
461
461
  A.value.trim() && (f("update", { displayCondition: {
462
462
  label: w.blockSettings.customCondition,
463
463
  before: A.value.trim(),
@@ -469,9 +469,9 @@ var Pe = pe({
469
469
  k.value = !1, A.value = "", j.value = "";
470
470
  return;
471
471
  }
472
- N.value && (A.value = e.before, j.value = e.after ?? "");
472
+ F.value && (A.value = e.before, j.value = e.after ?? "");
473
473
  }, { immediate: !0 });
474
- let ie = S(() => {
474
+ let ne = S(() => {
475
475
  let e = {};
476
476
  for (let t of E) {
477
477
  let n = t.group ?? "";
@@ -479,33 +479,33 @@ var Pe = pe({
479
479
  }
480
480
  return e;
481
481
  });
482
- function P(e, t) {
482
+ function re(e, t) {
483
483
  f("update", { styles: {
484
484
  ...o.block.styles,
485
485
  [e]: t
486
486
  } });
487
487
  }
488
- function F(e) {
488
+ function I(e) {
489
489
  return o.block.visibility?.[e] !== !1;
490
490
  }
491
- function ae(e) {
491
+ function ie(e) {
492
492
  let t = {
493
- desktop: F("desktop"),
494
- mobile: F("mobile")
493
+ desktop: I("desktop"),
494
+ mobile: I("mobile")
495
495
  };
496
496
  t[e] = !t[e], f("update", { visibility: t });
497
497
  }
498
498
  return (n, o) => (t(), h("div", { class: y(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
499
- g(Pt, {
499
+ g(Lt, {
500
500
  title: p(w).blockSettings.spacing,
501
501
  open: O.has("spacing"),
502
502
  "no-border": e.isFirstSection,
503
- onToggle: o[1] ||= (e) => M("spacing")
503
+ onToggle: o[1] ||= (e) => N("spacing")
504
504
  }, {
505
- default: r(() => [g(jt, {
505
+ default: r(() => [g(Pt, {
506
506
  label: p(w).blockSettings.padding,
507
507
  "model-value": e.block.styles.padding,
508
- "onUpdate:modelValue": o[0] ||= (e) => P("padding", e)
508
+ "onUpdate:modelValue": o[0] ||= (e) => re("padding", e)
509
509
  }, null, 8, ["label", "model-value"])]),
510
510
  _: 1
511
511
  }, 8, [
@@ -513,30 +513,30 @@ var Pe = pe({
513
513
  "open",
514
514
  "no-border"
515
515
  ]),
516
- g(Pt, {
516
+ g(Lt, {
517
517
  title: p(w).blockSettings.background,
518
518
  open: O.has("bg"),
519
- onToggle: o[3] ||= (e) => M("bg")
519
+ onToggle: o[3] ||= (e) => N("bg")
520
520
  }, {
521
- default: r(() => [m("label", { class: y(p(W)) }, v(p(w).blockSettings.color), 3), g(R, {
521
+ default: r(() => [m("label", { class: y(p(W)) }, v(p(w).blockSettings.color), 3), g(z, {
522
522
  "model-value": e.block.styles.backgroundColor ?? "",
523
- "onUpdate:modelValue": o[2] ||= (e) => P("backgroundColor", e)
523
+ "onUpdate:modelValue": o[2] ||= (e) => re("backgroundColor", e)
524
524
  }, null, 8, ["model-value"])]),
525
525
  _: 1
526
526
  }, 8, ["title", "open"]),
527
- g(Pt, {
527
+ g(Lt, {
528
528
  title: p(w).blockSettings.display,
529
529
  open: O.has("display"),
530
- onToggle: o[4] ||= (e) => M("display")
530
+ onToggle: o[4] ||= (e) => N("display")
531
531
  }, {
532
- default: r(() => [m("div", Ft, [(t(), h(x, null, a(ee, (e) => g(J, {
532
+ default: r(() => [m("div", Rt, [(t(), h(x, null, a(M, (e) => g(J, {
533
533
  key: e.key,
534
534
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
535
- "model-value": F(e.key),
535
+ "model-value": I(e.key),
536
536
  label: p(w).blockSettings[e.labelKey],
537
- "onUpdate:modelValue": (t) => ae(e.key)
537
+ "onUpdate:modelValue": (t) => ie(e.key)
538
538
  }, {
539
- default: r(() => [m("span", It, [(t(), b(i(e.icon), {
539
+ default: r(() => [m("span", zt, [(t(), b(i(e.icon), {
540
540
  size: 14,
541
541
  "stroke-width": 1.5
542
542
  })), _(" " + v(p(w).blockSettings[e.labelKey]), 1)])]),
@@ -548,21 +548,21 @@ var Pe = pe({
548
548
  ])), 64))])]),
549
549
  _: 1
550
550
  }, 8, ["title", "open"]),
551
- te.value ? (t(), b(Pt, {
551
+ P.value ? (t(), b(Lt, {
552
552
  key: 0,
553
553
  "header-test-id": "display-condition-section",
554
554
  title: p(w).blockSettings.displayCondition,
555
555
  open: O.has("condition"),
556
- onToggle: o[8] ||= (e) => M("condition")
556
+ onToggle: o[8] ||= (e) => N("condition")
557
557
  }, {
558
- default: r(() => [m("div", Lt, [m("select", {
558
+ default: r(() => [m("div", Bt, [m("select", {
559
559
  "data-testid": "display-condition-select",
560
560
  class: y(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
561
- value: k.value || N.value ? "__custom__" : e.block.displayCondition?.label ?? "",
561
+ value: k.value || F.value ? "__custom__" : e.block.displayCondition?.label ?? "",
562
562
  onChange: o[5] ||= (e) => {
563
563
  let t = e.target.value;
564
564
  if (t === "__custom__") {
565
- ne();
565
+ ee();
566
566
  return;
567
567
  }
568
568
  if (k.value = !1, !t) {
@@ -573,41 +573,41 @@ var Pe = pe({
573
573
  n && f("update", { displayCondition: n });
574
574
  }
575
575
  }, [
576
- m("option", zt, v(p(w).blockSettings.noCondition), 1),
577
- (t(!0), h(x, null, a(ie.value, (e, n) => (t(), h(x, { key: n }, [n ? (t(), h("optgroup", {
576
+ m("option", Ht, v(p(w).blockSettings.noCondition), 1),
577
+ (t(!0), h(x, null, a(ne.value, (e, n) => (t(), h(x, { key: n }, [n ? (t(), h("optgroup", {
578
578
  key: 0,
579
579
  label: String(n)
580
580
  }, [(t(!0), h(x, null, a(e, (e) => (t(), h("option", {
581
581
  key: e.label,
582
582
  value: e.label
583
- }, v(e.label), 9, Vt))), 128))], 8, Bt)) : (t(!0), h(x, { key: 1 }, a(e, (e) => (t(), h("option", {
583
+ }, v(e.label), 9, Wt))), 128))], 8, Ut)) : (t(!0), h(x, { key: 1 }, a(e, (e) => (t(), h("option", {
584
584
  key: e.label,
585
585
  value: e.label
586
- }, v(e.label), 9, Ht))), 128))], 64))), 128)),
587
- p(D) ? (t(), h("option", Ut, v(p(w).blockSettings.customCondition), 1)) : C("", !0)
588
- ], 42, Rt), k.value || N.value ? (t(), h("div", Wt, [
589
- m("div", null, [m("label", Gt, v(p(w).blockSettings.customConditionBefore), 1), l(m("textarea", {
586
+ }, v(e.label), 9, Gt))), 128))], 64))), 128)),
587
+ p(D) ? (t(), h("option", Kt, v(p(w).blockSettings.customCondition), 1)) : C("", !0)
588
+ ], 42, Vt), k.value || F.value ? (t(), h("div", qt, [
589
+ m("div", null, [m("label", Jt, v(p(w).blockSettings.customConditionBefore), 1), l(m("textarea", {
590
590
  "onUpdate:modelValue": o[6] ||= (e) => A.value = e,
591
591
  rows: "2",
592
- class: y(p(Oe))
592
+ class: y(p(je))
593
593
  }, null, 2), [[T, A.value]])]),
594
- m("div", null, [m("label", Kt, v(p(w).blockSettings.customConditionAfter), 1), l(m("textarea", {
594
+ m("div", null, [m("label", Yt, v(p(w).blockSettings.customConditionAfter), 1), l(m("textarea", {
595
595
  "onUpdate:modelValue": o[7] ||= (e) => j.value = e,
596
596
  rows: "2",
597
- class: y(p(Oe))
597
+ class: y(p(je))
598
598
  }, null, 2), [[T, j.value]])]),
599
- m("div", qt, [m("button", {
599
+ m("div", Xt, [m("button", {
600
600
  type: "button",
601
- class: y(p(Me)),
601
+ class: y(p(Fe)),
602
602
  disabled: !A.value.trim(),
603
- onClick: re
604
- }, v(p(w).blockSettings.applyCondition), 11, Jt)])
605
- ])) : e.block.displayCondition && !N.value ? (t(), h(x, { key: 1 }, [e.block.displayCondition.description ? (t(), h("p", Yt, v(e.block.displayCondition.description), 1)) : C("", !0), m("div", Xt, [m("pre", Zt, v(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (t(), h("pre", Qt, v(e.block.displayCondition.after), 1)) : C("", !0)])], 64)) : C("", !0)])]),
603
+ onClick: te
604
+ }, v(p(w).blockSettings.applyCondition), 11, Zt)])
605
+ ])) : e.block.displayCondition && !F.value ? (t(), h(x, { key: 1 }, [e.block.displayCondition.description ? (t(), h("p", Qt, v(e.block.displayCondition.description), 1)) : C("", !0), m("div", $t, [m("pre", en, v(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (t(), h("pre", tn, v(e.block.displayCondition.after), 1)) : C("", !0)])], 64)) : C("", !0)])]),
606
606
  _: 1
607
607
  }, 8, ["title", "open"])) : C("", !0)
608
608
  ], 2));
609
609
  }
610
- }), en = ["title"], tn = /* @__PURE__ */ w({
610
+ }), rn = ["title"], an = /* @__PURE__ */ w({
611
611
  __name: "BooleanField",
612
612
  props: {
613
613
  field: {},
@@ -616,7 +616,7 @@ var Pe = pe({
616
616
  },
617
617
  emits: ["update:modelValue"],
618
618
  setup(e, { emit: n }) {
619
- let i = n, { t: a } = L();
619
+ let i = n, { t: a } = R();
620
620
  return (n, o) => (t(), h("div", {
621
621
  class: "tpl:mb-3.5",
622
622
  title: e.readOnly ? p(a).customBlocks.dataSource.readOnlyTooltip : void 0
@@ -628,7 +628,7 @@ var Pe = pe({
628
628
  disabled: e.readOnly,
629
629
  "onUpdate:modelValue": o[0] ||= (e) => i("update:modelValue", e)
630
630
  }, {
631
- default: r(() => [_(v(e.field.label) + " ", 1), e.readOnly ? (t(), b(p(Fe), {
631
+ default: r(() => [_(v(e.field.label) + " ", 1), e.readOnly ? (t(), b(p(Re), {
632
632
  key: 0,
633
633
  size: 12,
634
634
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -639,9 +639,9 @@ var Pe = pe({
639
639
  "label",
640
640
  "required",
641
641
  "disabled"
642
- ])], 8, en));
642
+ ])], 8, rn));
643
643
  }
644
- }), nn = { class: "tpl:mb-3.5" }, rn = ["title"], an = { class: "tpl-sr-only" }, on = ["title"], sn = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ w({
644
+ }), on = { class: "tpl:mb-3.5" }, sn = ["title"], cn = { class: "tpl-sr-only" }, ln = ["title"], un = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ w({
645
645
  __name: "FieldWrapper",
646
646
  props: {
647
647
  label: {},
@@ -649,25 +649,25 @@ var Pe = pe({
649
649
  readOnly: { type: Boolean }
650
650
  },
651
651
  setup(e) {
652
- let { t: n } = L();
653
- return (r, i) => (t(), h("div", nn, [m("label", { class: y(p(W)) }, [
652
+ let { t: n } = R();
653
+ return (r, i) => (t(), h("div", on, [m("label", { class: y(p(W)) }, [
654
654
  _(v(e.label) + " ", 1),
655
655
  e.readOnly ? (t(), h("span", {
656
656
  key: 0,
657
657
  title: p(n).customBlocks.dataSource.readOnlyTooltip
658
- }, [g(p(Fe), {
658
+ }, [g(p(Re), {
659
659
  size: 12,
660
660
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
661
661
  "aria-hidden": "true"
662
- }), m("span", an, v(p(n).customBlocks.dataSource.readOnlyTooltip), 1)], 8, rn)) : C("", !0),
662
+ }), m("span", cn, v(p(n).customBlocks.dataSource.readOnlyTooltip), 1)], 8, sn)) : C("", !0),
663
663
  e.required ? (t(), h("span", {
664
664
  key: 1,
665
665
  class: "tpl:text-[var(--tpl-danger)]",
666
666
  title: p(n).customBlocks.fields.required
667
- }, [i[0] ||= m("span", { "aria-hidden": "true" }, "*", -1), m("span", sn, v(p(n).customBlocks.fields.required), 1)], 8, on)) : C("", !0)
667
+ }, [i[0] ||= m("span", { "aria-hidden": "true" }, "*", -1), m("span", un, v(p(n).customBlocks.fields.required), 1)], 8, ln)) : C("", !0)
668
668
  ], 2), o(r.$slots, "default")]));
669
669
  }
670
- }), cn = /* @__PURE__ */ w({
670
+ }), dn = /* @__PURE__ */ w({
671
671
  __name: "ColorField",
672
672
  props: {
673
673
  field: {},
@@ -676,13 +676,13 @@ var Pe = pe({
676
676
  },
677
677
  emits: ["update:modelValue"],
678
678
  setup(e, { emit: n }) {
679
- let i = e, a = n, { t: o } = L(), s = c(ce, fe), l = S(() => re(i.field, s));
679
+ let i = e, a = n, { t: o } = R(), s = c(L, me), l = S(() => ne(i.field, s));
680
680
  return (n, i) => (t(), b(Q, {
681
681
  label: e.field.label,
682
682
  required: e.field.required,
683
683
  "read-only": e.readOnly
684
684
  }, {
685
- default: r(() => [g(R, {
685
+ default: r(() => [g(z, {
686
686
  "model-value": e.modelValue,
687
687
  placeholder: e.field.placeholder,
688
688
  disabled: e.readOnly,
@@ -705,15 +705,15 @@ var Pe = pe({
705
705
  "read-only"
706
706
  ]));
707
707
  }
708
- }), ln = {
708
+ }), fn = {
709
709
  key: 0,
710
710
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
711
711
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
712
- }, un = [
712
+ }, pn = [
713
713
  "value",
714
714
  "placeholder",
715
715
  "title"
716
- ], dn = ["value", "placeholder"], fn = /* @__PURE__ */ w({
716
+ ], mn = ["value", "placeholder"], hn = /* @__PURE__ */ w({
717
717
  __name: "ImageField",
718
718
  props: {
719
719
  field: {},
@@ -722,7 +722,7 @@ var Pe = pe({
722
722
  },
723
723
  emits: ["update:modelValue"],
724
724
  setup(e, { emit: n }) {
725
- let i = e, a = n, { t: o } = L(), s = c(F, null), l = c(se, null), u = De(), f = S(() => !!s);
725
+ let i = e, a = n, { t: o } = R(), s = c(se, null), l = c(le, null), u = Ae(), f = S(() => !!s);
726
726
  async function w() {
727
727
  let e = await s?.({ accept: ["images"] });
728
728
  u.alive && e && a("update:modelValue", e.url);
@@ -743,7 +743,7 @@ var Pe = pe({
743
743
  }
744
744
  }
745
745
  }
746
- let { isOver: k } = te({
746
+ let { isOver: k } = F({
747
747
  target: T,
748
748
  enabled: D,
749
749
  onFiles: O
@@ -758,11 +758,11 @@ var Pe = pe({
758
758
  ref: T,
759
759
  class: "tpl:relative"
760
760
  }, [
761
- D.value && (p(k) || E.value) ? (t(), h("div", ln, [E.value ? (t(), h(x, { key: 0 }, [g(p(ye), {
761
+ D.value && (p(k) || E.value) ? (t(), h("div", fn, [E.value ? (t(), h(x, { key: 0 }, [g(p(xe), {
762
762
  class: "tpl-spinner",
763
763
  size: 18,
764
764
  "stroke-width": 2
765
- }), _(" " + v(p(o).image.uploading), 1)], 64)) : (t(), h(x, { key: 1 }, [g(p(we), {
765
+ }), _(" " + v(p(o).image.uploading), 1)], 64)) : (t(), h(x, { key: 1 }, [g(p(De), {
766
766
  size: 18,
767
767
  "stroke-width": 1.5
768
768
  }), _(" " + v(p(o).image.dropToUpload), 1)], 64))])) : C("", !0),
@@ -774,19 +774,19 @@ var Pe = pe({
774
774
  placeholder: e.field.placeholder || "https://...",
775
775
  disabled: "",
776
776
  title: p(o).customBlocks.dataSource.readOnlyTooltip
777
- }, null, 10, un)) : (t(), h("input", {
777
+ }, null, 10, pn)) : (t(), h("input", {
778
778
  key: 2,
779
779
  type: "url",
780
780
  class: y(p(q)),
781
781
  value: e.modelValue,
782
782
  placeholder: e.field.placeholder || "https://...",
783
783
  onInput: i[0] ||= (e) => a("update:modelValue", e.target.value)
784
- }, null, 42, dn)),
784
+ }, null, 42, mn)),
785
785
  f.value && !e.readOnly ? (t(), h("button", {
786
786
  key: 3,
787
787
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
788
788
  onClick: i[1] ||= (e) => w()
789
- }, [g(p(ee), {
789
+ }, [g(p(N), {
790
790
  size: 14,
791
791
  "stroke-width": 1.5
792
792
  }), _(" " + v(p(o).image.browseMedia), 1)])) : C("", !0)
@@ -798,7 +798,7 @@ var Pe = pe({
798
798
  "read-only"
799
799
  ]));
800
800
  }
801
- }), pn = [
801
+ }), gn = [
802
802
  "value",
803
803
  "placeholder",
804
804
  "min",
@@ -806,7 +806,7 @@ var Pe = pe({
806
806
  "step",
807
807
  "disabled",
808
808
  "title"
809
- ], mn = /* @__PURE__ */ w({
809
+ ], _n = /* @__PURE__ */ w({
810
810
  __name: "NumberField",
811
811
  props: {
812
812
  field: {},
@@ -815,7 +815,7 @@ var Pe = pe({
815
815
  },
816
816
  emits: ["update:modelValue"],
817
817
  setup(e, { emit: n }) {
818
- let i = n, { t: a } = L();
818
+ let i = n, { t: a } = R();
819
819
  return (n, o) => (t(), b(Q, {
820
820
  label: e.field.label,
821
821
  required: e.field.required,
@@ -832,7 +832,7 @@ var Pe = pe({
832
832
  disabled: e.readOnly,
833
833
  title: e.readOnly ? p(a).customBlocks.dataSource.readOnlyTooltip : void 0,
834
834
  onInput: o[0] ||= (t) => !e.readOnly && i("update:modelValue", Number(t.target.value))
835
- }, null, 42, pn)]),
835
+ }, null, 42, gn)]),
836
836
  _: 1
837
837
  }, 8, [
838
838
  "label",
@@ -840,13 +840,13 @@ var Pe = pe({
840
840
  "read-only"
841
841
  ]));
842
842
  }
843
- }), hn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, gn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, _n = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, vn = ["title", "onClick"], yn = {
843
+ }), vn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, yn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, bn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, xn = ["title", "onClick"], Sn = {
844
844
  key: 1,
845
845
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
846
- }, bn = {
846
+ }, Cn = {
847
847
  key: 2,
848
848
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
849
- }, xn = /* @__PURE__ */ w({
849
+ }, wn = /* @__PURE__ */ w({
850
850
  __name: "RepeatableField",
851
851
  props: {
852
852
  field: {},
@@ -855,7 +855,7 @@ var Pe = pe({
855
855
  },
856
856
  emits: ["update:modelValue"],
857
857
  setup(e, { emit: n }) {
858
- let o = e, s = n, { t: c, format: l } = L(), u = S(() => o.modelValue || []), d = S(() => !o.field.maxItems || u.value.length < o.field.maxItems), f = S(() => !o.field.minItems || u.value.length > o.field.minItems);
858
+ let o = e, s = n, { t: c, format: l } = R(), u = S(() => o.modelValue || []), d = S(() => !o.field.maxItems || u.value.length < o.field.maxItems), f = S(() => !o.field.minItems || u.value.length > o.field.minItems);
859
859
  function w() {
860
860
  if (!d.value || o.readOnly) return;
861
861
  let e = {};
@@ -879,20 +879,20 @@ var Pe = pe({
879
879
  required: e.field.required,
880
880
  "read-only": e.readOnly
881
881
  }, {
882
- default: r(() => [m("div", hn, [
882
+ default: r(() => [m("div", vn, [
883
883
  (t(!0), h(x, null, a(u.value, (n, r) => (t(), h("div", {
884
884
  key: `${e.field.key}-${r}`,
885
885
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
886
- }, [m("div", gn, [m("span", _n, " #" + v(r + 1), 1), f.value && !e.readOnly ? (t(), h("button", {
886
+ }, [m("div", yn, [m("span", bn, " #" + v(r + 1), 1), f.value && !e.readOnly ? (t(), h("button", {
887
887
  key: 0,
888
888
  type: "button",
889
889
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
890
890
  title: p(c).customBlocks.fields.removeItem,
891
891
  onClick: (e) => T(r)
892
- }, [g(p(Ce), {
892
+ }, [g(p(Ee), {
893
893
  size: 12,
894
894
  "stroke-width": 2
895
- })], 8, vn)) : C("", !0)]), (t(!0), h(x, null, a(e.field.fields, (a) => (t(), b(i(p(An)(a.type)), {
895
+ })], 8, xn)) : C("", !0)]), (t(!0), h(x, null, a(e.field.fields, (a) => (t(), b(i(p(Nn)(a.type)), {
896
896
  key: a.key,
897
897
  field: a,
898
898
  "model-value": n[a.key],
@@ -907,14 +907,14 @@ var Pe = pe({
907
907
  d.value && !e.readOnly ? (t(), h("button", {
908
908
  key: 0,
909
909
  type: "button",
910
- class: y(p(Ae)),
910
+ class: y(p(Ne)),
911
911
  onClick: w
912
- }, [g(p(B), {
912
+ }, [g(p(V), {
913
913
  size: 14,
914
914
  "stroke-width": 2
915
915
  }), _(" " + v(p(c).customBlocks.fields.addItem), 1)], 2)) : C("", !0),
916
- !d.value && !e.readOnly ? (t(), h("p", yn, v(p(c).customBlocks.fields.maxItemsReached), 1)) : C("", !0),
917
- !f.value && !e.readOnly ? (t(), h("p", bn, v(p(l)(p(c).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : C("", !0)
916
+ !d.value && !e.readOnly ? (t(), h("p", Sn, v(p(c).customBlocks.fields.maxItemsReached), 1)) : C("", !0),
917
+ !f.value && !e.readOnly ? (t(), h("p", Cn, v(p(l)(p(c).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : C("", !0)
918
918
  ])]),
919
919
  _: 1
920
920
  }, 8, [
@@ -923,11 +923,11 @@ var Pe = pe({
923
923
  "read-only"
924
924
  ]));
925
925
  }
926
- }), Sn = [
926
+ }), Tn = [
927
927
  "value",
928
928
  "disabled",
929
929
  "title"
930
- ], Cn = ["value"], wn = /* @__PURE__ */ w({
930
+ ], En = ["value"], Dn = /* @__PURE__ */ w({
931
931
  __name: "SelectField",
932
932
  props: {
933
933
  field: {},
@@ -936,7 +936,7 @@ var Pe = pe({
936
936
  },
937
937
  emits: ["update:modelValue"],
938
938
  setup(e, { emit: n }) {
939
- let i = n, { t: o } = L();
939
+ let i = n, { t: o } = R();
940
940
  return (n, s) => (t(), b(Q, {
941
941
  label: e.field.label,
942
942
  required: e.field.required,
@@ -951,7 +951,7 @@ var Pe = pe({
951
951
  }, [(t(!0), h(x, null, a(e.field.options, (e) => (t(), h("option", {
952
952
  key: e.value,
953
953
  value: e.value
954
- }, v(e.label), 9, Cn))), 128))], 42, Sn)]),
954
+ }, v(e.label), 9, En))), 128))], 42, Tn)]),
955
955
  _: 1
956
956
  }, 8, [
957
957
  "label",
@@ -959,11 +959,11 @@ var Pe = pe({
959
959
  "read-only"
960
960
  ]));
961
961
  }
962
- }), Tn = [
962
+ }), On = [
963
963
  "value",
964
964
  "placeholder",
965
965
  "title"
966
- ], En = /* @__PURE__ */ w({
966
+ ], kn = /* @__PURE__ */ w({
967
967
  __name: "TextField",
968
968
  props: {
969
969
  field: {},
@@ -972,7 +972,7 @@ var Pe = pe({
972
972
  },
973
973
  emits: ["update:modelValue"],
974
974
  setup(e, { emit: n }) {
975
- let i = n, { t: a } = L();
975
+ let i = n, { t: a } = R();
976
976
  return (n, o) => (t(), b(Q, {
977
977
  label: e.field.label,
978
978
  required: e.field.required,
@@ -986,7 +986,7 @@ var Pe = pe({
986
986
  placeholder: e.field.placeholder,
987
987
  disabled: "",
988
988
  title: p(a).customBlocks.dataSource.readOnlyTooltip
989
- }, null, 10, Tn)) : (t(), b(Y, {
989
+ }, null, 10, On)) : (t(), b(Y, {
990
990
  key: 1,
991
991
  "model-value": e.modelValue,
992
992
  placeholder: e.field.placeholder,
@@ -999,12 +999,12 @@ var Pe = pe({
999
999
  "read-only"
1000
1000
  ]));
1001
1001
  }
1002
- }), Dn = [
1002
+ }), An = [
1003
1003
  "value",
1004
1004
  "placeholder",
1005
1005
  "title"
1006
- ], On = "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", kn = {
1007
- text: En,
1006
+ ], jn = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", Mn = {
1007
+ text: kn,
1008
1008
  textarea: /* @__PURE__ */ w({
1009
1009
  __name: "TextareaField",
1010
1010
  props: {
@@ -1014,7 +1014,7 @@ var Pe = pe({
1014
1014
  },
1015
1015
  emits: ["update:modelValue"],
1016
1016
  setup(e, { emit: n }) {
1017
- let i = n, { t: a } = L();
1017
+ let i = n, { t: a } = R();
1018
1018
  return (n, o) => (t(), b(Q, {
1019
1019
  label: e.field.label,
1020
1020
  required: e.field.required,
@@ -1027,8 +1027,8 @@ var Pe = pe({
1027
1027
  rows: "3",
1028
1028
  disabled: "",
1029
1029
  title: p(a).customBlocks.dataSource.readOnlyTooltip,
1030
- class: y(On)
1031
- }, null, 8, Dn)) : (t(), b(Ne, {
1030
+ class: y(jn)
1031
+ }, null, 8, An)) : (t(), b(Ie, {
1032
1032
  key: 1,
1033
1033
  "model-value": e.modelValue,
1034
1034
  placeholder: e.field.placeholder,
@@ -1042,42 +1042,42 @@ var Pe = pe({
1042
1042
  ]));
1043
1043
  }
1044
1044
  }),
1045
- image: fn,
1046
- color: cn,
1047
- number: mn,
1048
- select: wn,
1049
- boolean: tn,
1050
- repeatable: xn
1045
+ image: hn,
1046
+ color: dn,
1047
+ number: _n,
1048
+ select: Dn,
1049
+ boolean: an,
1050
+ repeatable: wn
1051
1051
  };
1052
- function An(e) {
1053
- return kn[e] ?? En;
1052
+ function Nn(e) {
1053
+ return Mn[e] ?? kn;
1054
1054
  }
1055
1055
  //#endregion
1056
1056
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
1057
- var jn = {
1057
+ var Pn = {
1058
1058
  key: 0,
1059
1059
  class: "tpl:p-4"
1060
- }, Mn = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Nn = { key: 1 }, Pn = {
1060
+ }, Fn = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, In = { key: 1 }, Ln = {
1061
1061
  key: 0,
1062
1062
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1063
- }, Fn = {
1063
+ }, Rn = {
1064
1064
  key: 1,
1065
1065
  class: "tpl:mb-4"
1066
- }, In = {
1066
+ }, zn = {
1067
1067
  key: 1,
1068
1068
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
1069
- }, Ln = {
1069
+ }, Bn = {
1070
1070
  key: 0,
1071
1071
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1072
- }, Rn = {
1072
+ }, Vn = {
1073
1073
  key: 2,
1074
1074
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
1075
- }, zn = /* @__PURE__ */ w({
1075
+ }, Hn = /* @__PURE__ */ w({
1076
1076
  __name: "CustomBlockToolbar",
1077
1077
  props: { block: {} },
1078
1078
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1079
1079
  setup(e, { emit: n }) {
1080
- let r = e, o = n, { t: s } = L(), l = c(I, []), u = S(() => l.find((e) => e.type === r.block.customType)), d = S(() => r.block), { isFetching: f, fetchError: y, fetch: w, hasDataSource: T, needsFetch: E } = ie({
1080
+ let r = e, o = n, { t: s } = R(), l = c(fe, []), u = S(() => l.find((e) => e.type === r.block.customType)), d = S(() => r.block), { isFetching: f, fetchError: y, fetch: w, hasDataSource: T, needsFetch: E } = re({
1081
1081
  definition: u,
1082
1082
  block: d,
1083
1083
  onUpdate: (e, t) => {
@@ -1093,23 +1093,23 @@ var jn = {
1093
1093
  [e]: t
1094
1094
  });
1095
1095
  }
1096
- return (n, r) => u.value ? (t(), h("div", Nn, [
1097
- u.value.description ? (t(), h("p", Pn, v(u.value.description), 1)) : C("", !0),
1098
- p(T) ? (t(), h("div", Fn, [p(E) && !p(f) ? (t(), h("button", {
1096
+ return (n, r) => u.value ? (t(), h("div", In, [
1097
+ u.value.description ? (t(), h("p", Ln, v(u.value.description), 1)) : C("", !0),
1098
+ p(T) ? (t(), h("div", Rn, [p(E) && !p(f) ? (t(), h("button", {
1099
1099
  key: 0,
1100
1100
  type: "button",
1101
1101
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-md tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-on-primary)] tpl:transition-all tpl:bg-[var(--tpl-primary)]",
1102
1102
  onClick: r[0] ||= (...e) => p(w) && p(w)(...e)
1103
- }, v(u.value?.dataSource?.label || p(s).customBlocks.dataSource.fetchButton), 1)) : (t(), h("div", In, [p(f) ? (t(), h("div", Ln, v(p(s).customBlocks.dataSource.fetching), 1)) : (t(), h("button", {
1103
+ }, v(u.value?.dataSource?.label || p(s).customBlocks.dataSource.fetchButton), 1)) : (t(), h("div", zn, [p(f) ? (t(), h("div", Bn, v(p(s).customBlocks.dataSource.fetching), 1)) : (t(), h("button", {
1104
1104
  key: 1,
1105
1105
  type: "button",
1106
1106
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
1107
1107
  onClick: r[1] ||= (...e) => p(w) && p(w)(...e)
1108
- }, [g(p(Se), { size: 12 }), _(" " + v(p(s).customBlocks.dataSource.changeButton), 1)]))])), p(y) ? (t(), h("p", Rn, [g(p(he), {
1108
+ }, [g(p(we), { size: 12 }), _(" " + v(p(s).customBlocks.dataSource.changeButton), 1)]))])), p(y) ? (t(), h("p", Vn, [g(p(_e), {
1109
1109
  size: 14,
1110
1110
  class: "tpl:shrink-0"
1111
1111
  }), _(" " + v(p(s).customBlocks.dataSource.fetchError), 1)])) : C("", !0)])) : C("", !0),
1112
- (t(!0), h(x, null, a(u.value.fields, (n) => (t(), b(i(p(An)(n.type)), {
1112
+ (t(!0), h(x, null, a(u.value.fields, (n) => (t(), b(i(p(Nn)(n.type)), {
1113
1113
  key: n.key,
1114
1114
  field: n,
1115
1115
  "model-value": e.block.fieldValues[n.key],
@@ -1121,19 +1121,19 @@ var jn = {
1121
1121
  "read-only",
1122
1122
  "onUpdate:modelValue"
1123
1123
  ]))), 128))
1124
- ])) : (t(), h("div", jn, [m("p", Mn, v(p(s).customBlocks.toolbar.noDefinition), 1)]));
1124
+ ])) : (t(), h("div", Pn, [m("p", Fn, v(p(s).customBlocks.toolbar.noDefinition), 1)]));
1125
1125
  }
1126
- }), Bn = { class: "tpl:mb-3.5" }, Vn = { class: "tpl:mb-3.5" }, Hn = { class: "tpl:mb-3.5" }, Un = { class: "tpl:flex tpl:items-stretch" }, Wn = ["value"], Gn = /* @__PURE__ */ w({
1126
+ }), Un = { class: "tpl:mb-3.5" }, Wn = { class: "tpl:mb-3.5" }, Gn = { class: "tpl:mb-3.5" }, Kn = { class: "tpl:flex tpl:items-stretch" }, qn = ["value"], Jn = /* @__PURE__ */ w({
1127
1127
  __name: "DividerToolbar",
1128
1128
  props: { block: {} },
1129
1129
  emits: ["update"],
1130
1130
  setup(e, { emit: n }) {
1131
- let r = n, { t: i } = L();
1131
+ let r = n, { t: i } = R();
1132
1132
  function a(e, t) {
1133
1133
  r("update", { [e]: t });
1134
1134
  }
1135
1135
  return (n, r) => (t(), h(x, null, [
1136
- m("div", Bn, [m("label", { class: y(p(W)) }, v(p(i).divider.style), 3), g(X, {
1136
+ m("div", Un, [m("label", { class: y(p(W)) }, v(p(i).divider.style), 3), g(X, {
1137
1137
  options: [
1138
1138
  {
1139
1139
  value: "solid",
@@ -1151,47 +1151,47 @@ var jn = {
1151
1151
  "model-value": e.block.lineStyle,
1152
1152
  "onUpdate:modelValue": r[0] ||= (e) => a("lineStyle", e)
1153
1153
  }, null, 8, ["options", "model-value"])]),
1154
- m("div", Vn, [m("label", { class: y(p(W)) }, v(p(i).divider.color), 3), g(R, {
1154
+ m("div", Wn, [m("label", { class: y(p(W)) }, v(p(i).divider.color), 3), g(z, {
1155
1155
  "model-value": e.block.color,
1156
1156
  "onUpdate:modelValue": r[1] ||= (e) => a("color", e)
1157
1157
  }, null, 8, ["model-value"])]),
1158
- m("div", Hn, [m("label", { class: y(p(W)) }, v(p(i).divider.thickness), 3), m("div", Un, [m("input", {
1158
+ m("div", Gn, [m("label", { class: y(p(W)) }, v(p(i).divider.thickness), 3), m("div", Kn, [m("input", {
1159
1159
  type: "number",
1160
1160
  class: y(p(K)),
1161
1161
  value: e.block.thickness,
1162
1162
  min: "1",
1163
1163
  max: "10",
1164
1164
  onInput: r[2] ||= (e) => a("thickness", Number(e.target.value))
1165
- }, null, 42, Wn), m("span", { class: y(p(G)) }, "px", 2)])])
1165
+ }, null, 42, qn), m("span", { class: y(p(G)) }, "px", 2)])])
1166
1166
  ], 64));
1167
1167
  }
1168
- }), Kn = { class: "tpl:mb-3.5" }, qn = ["value"], Jn = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Yn = /* @__PURE__ */ w({
1168
+ }), Yn = { class: "tpl:mb-3.5" }, Xn = ["value"], Zn = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Qn = /* @__PURE__ */ w({
1169
1169
  __name: "HtmlToolbar",
1170
1170
  props: { block: {} },
1171
1171
  emits: ["update"],
1172
1172
  setup(e, { emit: n }) {
1173
- let r = n, { t: i } = L();
1174
- return (n, a) => (t(), h("div", Kn, [
1173
+ let r = n, { t: i } = R();
1174
+ return (n, a) => (t(), h("div", Yn, [
1175
1175
  m("label", { class: y(p(W)) }, v(p(i).html.content), 3),
1176
1176
  m("textarea", {
1177
1177
  value: e.block.content,
1178
1178
  placeholder: "<div>...</div>",
1179
1179
  rows: "10",
1180
- class: y(p(Oe)),
1180
+ class: y(p(je)),
1181
1181
  onInput: a[0] ||= (e) => r("update", { content: e.target.value })
1182
- }, null, 42, qn),
1183
- m("p", Jn, [g(p(ve), {
1182
+ }, null, 42, Xn),
1183
+ m("p", Zn, [g(p(be), {
1184
1184
  size: 12,
1185
1185
  class: "tpl:mt-0.5 tpl:shrink-0"
1186
1186
  }), _(" " + v(p(i).html.sanitizationHint), 1)])
1187
1187
  ]));
1188
1188
  }
1189
- }), Xn = { class: "tpl:flex tpl:items-stretch" }, Zn = [
1189
+ }), $n = { class: "tpl:flex tpl:items-stretch" }, er = [
1190
1190
  "data-testid",
1191
1191
  "value",
1192
1192
  "min",
1193
1193
  "max"
1194
- ], Qn = /* @__PURE__ */ w({
1194
+ ], tr = /* @__PURE__ */ w({
1195
1195
  __name: "NumberWithSuffix",
1196
1196
  props: {
1197
1197
  modelValue: {},
@@ -1207,7 +1207,7 @@ var jn = {
1207
1207
  let t = e.target;
1208
1208
  t.validity?.badInput || r("update:modelValue", Number(t.value));
1209
1209
  }
1210
- return (n, r) => (t(), h("div", Xn, [m("input", {
1210
+ return (n, r) => (t(), h("div", $n, [m("input", {
1211
1211
  type: "number",
1212
1212
  "data-testid": e.testid,
1213
1213
  class: y(p(K)),
@@ -1215,101 +1215,101 @@ var jn = {
1215
1215
  min: e.min,
1216
1216
  max: e.max,
1217
1217
  onInput: i
1218
- }, null, 42, Zn), m("span", { class: y(p(G)) }, v(e.suffix), 3)]));
1218
+ }, null, 42, er), m("span", { class: y(p(G)) }, v(e.suffix), 3)]));
1219
1219
  }
1220
- }), $n = { class: "tpl:mb-3.5" }, er = {
1220
+ }), nr = { class: "tpl:mb-3.5" }, rr = {
1221
1221
  key: 0,
1222
1222
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
1223
1223
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1224
- }, tr = {
1224
+ }, ir = {
1225
1225
  key: 0,
1226
1226
  class: "tpl:mb-3.5"
1227
- }, nr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, rr = [
1227
+ }, ar = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, or = [
1228
1228
  "value",
1229
1229
  "placeholder",
1230
1230
  "title"
1231
- ], ir = { class: "tpl:mb-3.5" }, ar = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, or = { class: "tpl:mb-3.5" }, sr = ["value"], cr = { value: "full" }, lr = { value: "custom" }, ur = {
1231
+ ], sr = { class: "tpl:mb-3.5" }, cr = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, lr = { class: "tpl:mb-3.5" }, ur = ["value"], dr = { value: "full" }, fr = { value: "custom" }, pr = {
1232
1232
  key: 0,
1233
1233
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1234
- }, dr = ["value"], fr = { class: "tpl:mb-3.5" }, pr = ["value"], mr = { value: "auto" }, hr = { value: "custom" }, gr = {
1234
+ }, mr = ["value"], hr = { class: "tpl:mb-3.5" }, gr = ["value"], _r = { value: "auto" }, vr = { value: "custom" }, yr = {
1235
1235
  key: 0,
1236
1236
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1237
- }, _r = ["value"], vr = { class: "tpl:mb-3.5" }, yr = { class: "tpl:mb-3.5" }, br = { class: "tpl:mb-3.5" }, xr = 350, Sr = 200, Cr = /* @__PURE__ */ w({
1237
+ }, br = ["value"], xr = { class: "tpl:mb-3.5" }, Sr = { class: "tpl:mb-3.5" }, Cr = { class: "tpl:mb-3.5" }, wr = 350, Tr = 200, Er = /* @__PURE__ */ w({
1238
1238
  __name: "ImageToolbar",
1239
1239
  props: { block: {} },
1240
1240
  emits: ["update"],
1241
1241
  setup(e, { emit: n }) {
1242
- let i = e, a = n, { t: o } = L(), s = c(F, null), l = c(se, null), u = c(ae, j.liquid), f = De(), w = S(() => !!s), T = d(!1), E = d(!1), { start: D } = P(() => {
1242
+ let i = e, a = n, { t: o } = R(), s = c(se, null), l = c(le, null), u = c(ce, j.liquid), f = Ae(), w = S(() => !!s), T = d(!1), E = d(!1), { start: D } = I(() => {
1243
1243
  T.value = !1;
1244
1244
  }, 1e3, { immediate: !1 }), O = [
1245
1245
  300,
1246
1246
  400,
1247
1247
  500
1248
- ], k = S(() => {
1248
+ ], A = S(() => {
1249
1249
  let e = i.block.width;
1250
1250
  return e === "full" ? "full" : O.includes(e) ? String(e) : "custom";
1251
1251
  }), M = S(() => typeof i.block.height == "number" ? "custom" : "auto");
1252
- function N(e, t) {
1252
+ function P(e, t) {
1253
1253
  a("update", { [e]: t });
1254
1254
  }
1255
- function ne(e) {
1255
+ function ee(e) {
1256
1256
  if (e === "custom") {
1257
1257
  let e = i.block.width;
1258
- (typeof e != "number" || O.includes(e)) && N("width", xr);
1258
+ (typeof e != "number" || O.includes(e)) && P("width", wr);
1259
1259
  return;
1260
1260
  }
1261
- N("width", e === "full" ? "full" : Number(e));
1261
+ P("width", e === "full" ? "full" : Number(e));
1262
1262
  }
1263
- function re(e) {
1264
- N("height", e === "custom" ? Sr : void 0);
1263
+ function te(e) {
1264
+ P("height", e === "custom" ? Tr : void 0);
1265
1265
  }
1266
- function ie(e) {
1266
+ function ne(e) {
1267
1267
  let t = Number(e);
1268
- !Number.isFinite(t) || t <= 0 || N("height", t);
1268
+ !Number.isFinite(t) || t <= 0 || P("height", t);
1269
1269
  }
1270
- function oe(e) {
1271
- !Number.isFinite(e) || e < 0 || N("borderRadius", e > 0 ? e : void 0);
1270
+ function re(e) {
1271
+ !Number.isFinite(e) || e < 0 || P("borderRadius", e > 0 ? e : void 0);
1272
1272
  }
1273
- function ce(e) {
1273
+ function ie(e) {
1274
1274
  let t = Number(e);
1275
- !Number.isFinite(t) || t <= 0 || N("width", t);
1275
+ !Number.isFinite(t) || t <= 0 || P("width", t);
1276
1276
  }
1277
- async function le() {
1277
+ async function ae() {
1278
1278
  let e = await s?.({ accept: ["images"] });
1279
- f.alive && e && (N("src", e.url), e.alt && (N("alt", e.alt), E.value = !0), T.value = !0, D());
1279
+ f.alive && e && (P("src", e.url), e.alt && (P("alt", e.alt), E.value = !0), T.value = !0, D());
1280
1280
  }
1281
- let ue = d(), I = d(!1), de = S(() => A(i.block.src, u)), fe = S(() => (l?.value ?? !!s) && !I.value && !de.value);
1282
- async function pe(e) {
1281
+ let oe = d(), L = d(!1), ue = S(() => k(i.block.src, u)), de = S(() => (l?.value ?? !!s) && !L.value && !ue.value);
1282
+ async function fe(e) {
1283
1283
  if (s) {
1284
- I.value = !0;
1284
+ L.value = !0;
1285
1285
  try {
1286
1286
  let t = await s({
1287
1287
  accept: ["images"],
1288
1288
  files: e
1289
1289
  });
1290
1290
  if (!f.alive) return;
1291
- t && (N("src", t.url), t.alt && (N("alt", t.alt), E.value = !0), T.value = !0, D());
1291
+ t && (P("src", t.url), t.alt && (P("alt", t.alt), E.value = !0), T.value = !0, D());
1292
1292
  } finally {
1293
- f.alive && (I.value = !1);
1293
+ f.alive && (L.value = !1);
1294
1294
  }
1295
1295
  }
1296
1296
  }
1297
- let { isOver: R } = te({
1298
- target: ue,
1299
- enabled: fe,
1300
- onFiles: pe
1297
+ let { isOver: pe } = F({
1298
+ target: oe,
1299
+ enabled: de,
1300
+ onFiles: fe
1301
1301
  });
1302
1302
  return (n, i) => (t(), h(x, null, [
1303
- m("div", $n, [m("label", { class: y(p(W)) }, v(p(o).image.imageUrl), 3), m("div", {
1303
+ m("div", nr, [m("label", { class: y(p(W)) }, v(p(o).image.imageUrl), 3), m("div", {
1304
1304
  ref_key: "dropZoneRef",
1305
- ref: ue,
1305
+ ref: oe,
1306
1306
  class: "tpl:relative"
1307
1307
  }, [
1308
- fe.value && (p(R) || I.value) ? (t(), h("div", er, [I.value ? (t(), h(x, { key: 0 }, [g(p(ye), {
1308
+ de.value && (p(pe) || L.value) ? (t(), h("div", rr, [L.value ? (t(), h(x, { key: 0 }, [g(p(xe), {
1309
1309
  class: "tpl-spinner",
1310
1310
  size: 18,
1311
1311
  "stroke-width": 2
1312
- }), _(" " + v(p(o).image.uploading), 1)], 64)) : (t(), h(x, { key: 1 }, [g(p(we), {
1312
+ }), _(" " + v(p(o).image.uploading), 1)], 64)) : (t(), h(x, { key: 1 }, [g(p(De), {
1313
1313
  size: 18,
1314
1314
  "stroke-width": 1.5
1315
1315
  }), _(" " + v(p(o).image.dropToUpload), 1)], 64))])) : C("", !0),
@@ -1318,7 +1318,7 @@ var jn = {
1318
1318
  type: "url",
1319
1319
  placeholder: p(o).image.imageUrlPlaceholder,
1320
1320
  pulse: T.value,
1321
- "onUpdate:modelValue": i[0] ||= (e) => N("src", e)
1321
+ "onUpdate:modelValue": i[0] ||= (e) => P("src", e)
1322
1322
  }, null, 8, [
1323
1323
  "model-value",
1324
1324
  "placeholder",
@@ -1332,21 +1332,21 @@ var jn = {
1332
1332
  color: "var(--tpl-primary)",
1333
1333
  "background-color": "var(--tpl-bg)"
1334
1334
  },
1335
- onClick: le
1336
- }, [g(p(ee), {
1335
+ onClick: ae
1336
+ }, [g(p(N), {
1337
1337
  size: 14,
1338
1338
  "stroke-width": 1.5
1339
1339
  }), _(" " + v(p(o).image.browseMedia), 1)])) : C("", !0)
1340
1340
  ], 512)]),
1341
- p(A)(e.block.src, p(u)) ? (t(), h("div", tr, [m("label", { class: y(p(W)) }, [_(v(p(o).image.placeholderUrl) + " ", 1), m("span", nr, v(p(o).image.optional), 1)], 2), m("input", {
1341
+ p(k)(e.block.src, p(u)) ? (t(), h("div", ir, [m("label", { class: y(p(W)) }, [_(v(p(o).image.placeholderUrl) + " ", 1), m("span", ar, v(p(o).image.optional), 1)], 2), m("input", {
1342
1342
  type: "url",
1343
1343
  class: y(p(q)),
1344
1344
  value: e.block.placeholderUrl || "",
1345
1345
  placeholder: p(o).image.placeholderUrlPlaceholder,
1346
1346
  title: p(o).image.placeholderUrlTooltip,
1347
- onInput: i[1] ||= (e) => N("placeholderUrl", e.target.value)
1348
- }, null, 42, rr)])) : C("", !0),
1349
- m("div", ir, [
1347
+ onInput: i[1] ||= (e) => P("placeholderUrl", e.target.value)
1348
+ }, null, 42, or)])) : C("", !0),
1349
+ m("div", sr, [
1350
1350
  m("label", { class: y(p(W)) }, v(p(o).image.altText), 3),
1351
1351
  g(Y, {
1352
1352
  "model-value": e.block.alt,
@@ -1354,7 +1354,7 @@ var jn = {
1354
1354
  placeholder: p(o).image.altTextPlaceholder,
1355
1355
  pulse: E.value,
1356
1356
  disabled: e.block.decorative === !0,
1357
- "onUpdate:modelValue": i[2] ||= (e) => N("alt", e)
1357
+ "onUpdate:modelValue": i[2] ||= (e) => P("alt", e)
1358
1358
  }, null, 8, [
1359
1359
  "model-value",
1360
1360
  "placeholder",
@@ -1365,58 +1365,58 @@ var jn = {
1365
1365
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
1366
1366
  "model-value": e.block.decorative === !0,
1367
1367
  label: p(o).image.decorative,
1368
- "onUpdate:modelValue": i[3] ||= (e) => N("decorative", e)
1368
+ "onUpdate:modelValue": i[3] ||= (e) => P("decorative", e)
1369
1369
  }, {
1370
- default: r(() => [m("span", null, [_(v(p(o).image.decorative) + " ", 1), m("span", ar, v(p(o).image.decorativeHint), 1)])]),
1370
+ default: r(() => [m("span", null, [_(v(p(o).image.decorative) + " ", 1), m("span", cr, v(p(o).image.decorativeHint), 1)])]),
1371
1371
  _: 1
1372
1372
  }, 8, ["model-value", "label"])
1373
1373
  ]),
1374
- m("div", or, [
1374
+ m("div", lr, [
1375
1375
  m("label", { class: y(p(W)) }, v(p(o).image.width), 3),
1376
1376
  m("select", {
1377
1377
  class: y(p(q)),
1378
- value: k.value,
1379
- onChange: i[4] ||= (e) => ne(e.target.value)
1378
+ value: A.value,
1379
+ onChange: i[4] ||= (e) => ee(e.target.value)
1380
1380
  }, [
1381
- m("option", cr, v(p(o).image.fullWidth), 1),
1381
+ m("option", dr, v(p(o).image.fullWidth), 1),
1382
1382
  i[11] ||= m("option", { value: "300" }, "300px", -1),
1383
1383
  i[12] ||= m("option", { value: "400" }, "400px", -1),
1384
1384
  i[13] ||= m("option", { value: "500" }, "500px", -1),
1385
- m("option", lr, v(p(o).image.widthCustom), 1)
1386
- ], 42, sr),
1387
- k.value === "custom" ? (t(), h("div", ur, [m("input", {
1385
+ m("option", fr, v(p(o).image.widthCustom), 1)
1386
+ ], 42, ur),
1387
+ A.value === "custom" ? (t(), h("div", pr, [m("input", {
1388
1388
  type: "number",
1389
1389
  class: y(p(K)),
1390
- value: typeof e.block.width == "number" ? e.block.width : xr,
1390
+ value: typeof e.block.width == "number" ? e.block.width : wr,
1391
1391
  min: "20",
1392
- onInput: i[5] ||= (e) => ce(e.target.value)
1393
- }, null, 42, dr), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1392
+ onInput: i[5] ||= (e) => ie(e.target.value)
1393
+ }, null, 42, mr), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1394
1394
  ]),
1395
- m("div", fr, [
1395
+ m("div", hr, [
1396
1396
  m("label", { class: y(p(W)) }, v(p(o).image.height), 3),
1397
1397
  m("select", {
1398
1398
  class: y(p(q)),
1399
1399
  "data-testid": "image-height-mode",
1400
1400
  value: M.value,
1401
- onChange: i[6] ||= (e) => re(e.target.value)
1402
- }, [m("option", mr, v(p(o).image.heightAuto), 1), m("option", hr, v(p(o).image.heightCustom), 1)], 42, pr),
1403
- M.value === "custom" ? (t(), h("div", gr, [m("input", {
1401
+ onChange: i[6] ||= (e) => te(e.target.value)
1402
+ }, [m("option", _r, v(p(o).image.heightAuto), 1), m("option", vr, v(p(o).image.heightCustom), 1)], 42, gr),
1403
+ M.value === "custom" ? (t(), h("div", yr, [m("input", {
1404
1404
  type: "number",
1405
1405
  "data-testid": "image-height-input",
1406
1406
  class: y(p(K)),
1407
1407
  value: e.block.height,
1408
1408
  min: "20",
1409
- onInput: i[7] ||= (e) => ie(e.target.value)
1410
- }, null, 42, _r), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1409
+ onInput: i[7] ||= (e) => ne(e.target.value)
1410
+ }, null, 42, br), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1411
1411
  ]),
1412
- m("div", vr, [m("label", { class: y(p(W)) }, v(p(o).image.borderRadius), 3), g(Qn, {
1412
+ m("div", xr, [m("label", { class: y(p(W)) }, v(p(o).image.borderRadius), 3), g(tr, {
1413
1413
  "model-value": e.block.borderRadius ?? 0,
1414
1414
  min: 0,
1415
1415
  suffix: "px",
1416
1416
  testid: "image-border-radius-input",
1417
- "onUpdate:modelValue": oe
1417
+ "onUpdate:modelValue": re
1418
1418
  }, null, 8, ["model-value"])]),
1419
- m("div", yr, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
1419
+ m("div", Sr, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
1420
1420
  options: [
1421
1421
  {
1422
1422
  value: "left",
@@ -1432,40 +1432,40 @@ var jn = {
1432
1432
  }
1433
1433
  ],
1434
1434
  "model-value": e.block.align,
1435
- "onUpdate:modelValue": i[8] ||= (e) => N("align", e)
1435
+ "onUpdate:modelValue": i[8] ||= (e) => P("align", e)
1436
1436
  }, null, 8, ["options", "model-value"])]),
1437
- m("div", br, [
1437
+ m("div", Cr, [
1438
1438
  m("label", { class: y(p(W)) }, v(p(o).image.linkUrl), 3),
1439
1439
  g(Y, {
1440
1440
  "model-value": e.block.linkUrl || "",
1441
1441
  type: "url",
1442
1442
  placeholder: p(o).image.imageUrlPlaceholder,
1443
- "onUpdate:modelValue": i[9] ||= (e) => N("linkUrl", e)
1443
+ "onUpdate:modelValue": i[9] ||= (e) => P("linkUrl", e)
1444
1444
  }, null, 8, ["model-value", "placeholder"]),
1445
1445
  e.block.linkUrl ? (t(), b(J, {
1446
1446
  key: 0,
1447
1447
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
1448
1448
  "model-value": e.block.linkOpenInNewTab ?? !1,
1449
1449
  label: p(o).image.openInNewTab,
1450
- "onUpdate:modelValue": i[10] ||= (e) => N("linkOpenInNewTab", e)
1450
+ "onUpdate:modelValue": i[10] ||= (e) => P("linkOpenInNewTab", e)
1451
1451
  }, null, 8, ["model-value", "label"])) : C("", !0)
1452
1452
  ])
1453
1453
  ], 64));
1454
1454
  }
1455
- }), wr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ w({
1455
+ }), Dr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ w({
1456
1456
  __name: "FieldRow",
1457
1457
  props: { label: {} },
1458
1458
  setup(e) {
1459
- return (n, r) => (t(), h("div", wr, [e.label ? (t(), h("label", {
1459
+ return (n, r) => (t(), h("div", Dr, [e.label ? (t(), h("label", {
1460
1460
  key: 0,
1461
1461
  class: y(p(W))
1462
1462
  }, v(e.label), 3)) : C("", !0), o(n.$slots, "default")]));
1463
1463
  }
1464
- }), Tr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Er = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Dr = [
1464
+ }), Or = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, kr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ar = [
1465
1465
  "value",
1466
1466
  "placeholder",
1467
1467
  "onInput"
1468
- ], Or = ["title", "onClick"], kr = { 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)]" }, Ar = { class: "tpl:flex tpl:items-center tpl:gap-2" }, jr = ["value"], Mr = { value: "" }, Nr = ["value"], Pr = ["value"], Fr = /* @__PURE__ */ w({
1468
+ ], jr = ["title", "onClick"], Mr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Nr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Pr = ["value"], Fr = { value: "" }, Ir = ["value"], Lr = ["value"], Rr = /* @__PURE__ */ w({
1469
1469
  __name: "MenuToolbar",
1470
1470
  props: {
1471
1471
  block: {},
@@ -1473,7 +1473,7 @@ var jn = {
1473
1473
  },
1474
1474
  emits: ["update"],
1475
1475
  setup(e, { emit: n }) {
1476
- let i = e, o = n, { t: s } = L(), c = S(() => [
1476
+ let i = e, o = n, { t: s } = R(), c = S(() => [
1477
1477
  {
1478
1478
  key: "openInNewTab",
1479
1479
  label: s.menu.openInNewTab
@@ -1490,17 +1490,17 @@ var jn = {
1490
1490
  {
1491
1491
  value: "left",
1492
1492
  label: s.title.alignLeft,
1493
- icon: U
1493
+ icon: Te
1494
1494
  },
1495
1495
  {
1496
1496
  value: "center",
1497
1497
  label: s.title.alignCenter,
1498
- icon: H
1498
+ icon: U
1499
1499
  },
1500
1500
  {
1501
1501
  value: "right",
1502
1502
  label: s.title.alignRight,
1503
- icon: V
1503
+ icon: H
1504
1504
  }
1505
1505
  ]);
1506
1506
  function u(e, t) {
@@ -1508,7 +1508,7 @@ var jn = {
1508
1508
  }
1509
1509
  function d() {
1510
1510
  let e = {
1511
- id: D(),
1511
+ id: O(),
1512
1512
  text: "",
1513
1513
  url: "",
1514
1514
  openInNewTab: !1,
@@ -1529,24 +1529,24 @@ var jn = {
1529
1529
  }
1530
1530
  return (n, i) => (t(), h(x, null, [
1531
1531
  g($, { label: p(s).menu.items }, {
1532
- default: r(() => [m("div", Tr, [(t(!0), h(x, null, a(e.block.items, (n) => (t(), h("div", {
1532
+ default: r(() => [m("div", Or, [(t(!0), h(x, null, a(e.block.items, (n) => (t(), h("div", {
1533
1533
  key: n.id,
1534
1534
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
1535
1535
  }, [
1536
- m("div", Er, [m("input", {
1536
+ m("div", kr, [m("input", {
1537
1537
  type: "text",
1538
1538
  class: y([p(q), "tpl:flex-1"]),
1539
1539
  value: n.text,
1540
1540
  placeholder: p(s).menu.text,
1541
1541
  onInput: (e) => f(n.id, "text", e.target.value)
1542
- }, null, 42, Dr), m("button", {
1543
- class: y(p(ke)),
1542
+ }, null, 42, Ar), m("button", {
1543
+ class: y(p(Me)),
1544
1544
  title: p(s).menu.removeItem,
1545
1545
  onClick: (e) => C(n.id)
1546
- }, [g(p(Te), {
1546
+ }, [g(p(Oe), {
1547
1547
  size: 14,
1548
1548
  "stroke-width": 2
1549
- })], 10, Or)]),
1549
+ })], 10, jr)]),
1550
1550
  g(Y, {
1551
1551
  "model-value": n.url,
1552
1552
  type: "url",
@@ -1557,7 +1557,7 @@ var jn = {
1557
1557
  "placeholder",
1558
1558
  "onUpdate:modelValue"
1559
1559
  ]),
1560
- m("div", kr, [(t(!0), h(x, null, a(c.value, (e) => (t(), b(J, {
1560
+ m("div", Mr, [(t(!0), h(x, null, a(c.value, (e) => (t(), b(J, {
1561
1561
  key: e.key,
1562
1562
  "model-value": n[e.key],
1563
1563
  label: e.label,
@@ -1567,15 +1567,15 @@ var jn = {
1567
1567
  "label",
1568
1568
  "onUpdate:modelValue"
1569
1569
  ]))), 128))]),
1570
- m("div", Ar, [m("label", { class: y([p(W), "tpl:!mb-0"]) }, v(p(s).menu.color), 3), g(R, {
1570
+ m("div", Nr, [m("label", { class: y([p(W), "tpl:!mb-0"]) }, v(p(s).menu.color), 3), g(z, {
1571
1571
  "swatch-only": "",
1572
1572
  "model-value": n.color || e.block.linkColor || e.block.color || "",
1573
1573
  "onUpdate:modelValue": (e) => f(n.id, "color", e)
1574
1574
  }, null, 8, ["model-value", "onUpdate:modelValue"])])
1575
1575
  ]))), 128)), m("button", {
1576
- class: y(p(Ae)),
1576
+ class: y(p(Ne)),
1577
1577
  onClick: d
1578
- }, [g(p(B), {
1578
+ }, [g(p(V), {
1579
1579
  size: 14,
1580
1580
  "stroke-width": 2
1581
1581
  }), _(" " + v(p(s).menu.addItem), 1)], 2)])]),
@@ -1586,14 +1586,14 @@ var jn = {
1586
1586
  class: y(p(q)),
1587
1587
  value: e.block.fontFamily || "",
1588
1588
  onChange: i[0] ||= (e) => u("fontFamily", e.target.value || void 0)
1589
- }, [m("option", Mr, v(p(s).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
1589
+ }, [m("option", Fr, v(p(s).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
1590
1590
  key: e.value,
1591
1591
  value: e.value
1592
- }, v(e.label), 9, Nr))), 128))], 42, jr)]),
1592
+ }, v(e.label), 9, Ir))), 128))], 42, Pr)]),
1593
1593
  _: 1
1594
1594
  }, 8, ["label"]),
1595
1595
  g($, { label: p(s).menu.fontSize }, {
1596
- default: r(() => [g(Qn, {
1596
+ default: r(() => [g(tr, {
1597
1597
  "model-value": e.block.fontSize,
1598
1598
  min: 8,
1599
1599
  max: 48,
@@ -1603,14 +1603,14 @@ var jn = {
1603
1603
  _: 1
1604
1604
  }, 8, ["label"]),
1605
1605
  g($, { label: p(s).menu.color }, {
1606
- default: r(() => [g(R, {
1606
+ default: r(() => [g(z, {
1607
1607
  "model-value": e.block.color ?? "",
1608
1608
  "onUpdate:modelValue": i[2] ||= (e) => u("color", e || void 0)
1609
1609
  }, null, 8, ["model-value"])]),
1610
1610
  _: 1
1611
1611
  }, 8, ["label"]),
1612
1612
  g($, { label: p(s).menu.linkColor }, {
1613
- default: r(() => [g(R, {
1613
+ default: r(() => [g(z, {
1614
1614
  "model-value": e.block.linkColor || e.block.color || "",
1615
1615
  "onUpdate:modelValue": i[3] ||= (e) => u("linkColor", e || void 0)
1616
1616
  }, null, 8, ["model-value"])]),
@@ -1630,18 +1630,18 @@ var jn = {
1630
1630
  class: y(p(q)),
1631
1631
  value: e.block.separator,
1632
1632
  onInput: i[5] ||= (e) => u("separator", e.target.value)
1633
- }, null, 42, Pr)]),
1633
+ }, null, 42, Lr)]),
1634
1634
  _: 1
1635
1635
  }, 8, ["label"]),
1636
1636
  g($, { label: p(s).menu.separatorColor }, {
1637
- default: r(() => [g(R, {
1637
+ default: r(() => [g(z, {
1638
1638
  "model-value": e.block.separatorColor,
1639
1639
  "onUpdate:modelValue": i[6] ||= (e) => u("separatorColor", e)
1640
1640
  }, null, 8, ["model-value"])]),
1641
1641
  _: 1
1642
1642
  }, 8, ["label"]),
1643
1643
  g($, { label: p(s).menu.spacing }, {
1644
- default: r(() => [g(Qn, {
1644
+ default: r(() => [g(tr, {
1645
1645
  "model-value": e.block.spacing,
1646
1646
  min: 0,
1647
1647
  max: 50,
@@ -1652,32 +1652,32 @@ var jn = {
1652
1652
  }, 8, ["label"])
1653
1653
  ], 64));
1654
1654
  }
1655
- }), Ir = {
1655
+ }), zr = {
1656
1656
  class: "tpl:mb-3.5",
1657
1657
  "data-testid": "paragraph-spacing"
1658
- }, Lr = { class: "tpl:flex tpl:items-stretch" }, Rr = ["value"], zr = /* @__PURE__ */ w({
1658
+ }, Br = { class: "tpl:flex tpl:items-stretch" }, Vr = ["value"], Hr = /* @__PURE__ */ w({
1659
1659
  __name: "ParagraphToolbar",
1660
1660
  props: { block: {} },
1661
1661
  emits: ["update"],
1662
1662
  setup(e, { emit: n }) {
1663
- let r = n, { t: i } = L();
1664
- return (n, a) => (t(), h("div", Ir, [m("label", { class: y(p(W)) }, v(p(i).paragraph.paragraphSpacing), 3), m("div", Lr, [m("input", {
1663
+ let r = n, { t: i } = R();
1664
+ return (n, a) => (t(), h("div", zr, [m("label", { class: y(p(W)) }, v(p(i).paragraph.paragraphSpacing), 3), m("div", Br, [m("input", {
1665
1665
  type: "number",
1666
1666
  class: y(p(K)),
1667
- value: e.block.paragraphSpacing ?? p(k).paragraphGap,
1667
+ value: e.block.paragraphSpacing ?? p(A).paragraphGap,
1668
1668
  min: "0",
1669
1669
  max: "64",
1670
1670
  onInput: a[0] ||= (e) => r("update", { paragraphSpacing: Number(e.target.value) })
1671
- }, null, 42, Rr), m("span", { class: y(p(G)) }, "px", 2)])]));
1671
+ }, null, 42, Vr), m("span", { class: y(p(G)) }, "px", 2)])]));
1672
1672
  }
1673
1673
  });
1674
1674
  //#endregion
1675
1675
  //#region src/utils/rebalanceColumnChildren.ts
1676
- function Br(e) {
1676
+ function Ur(e) {
1677
1677
  return e === "1" ? 1 : e === "3" ? 3 : 2;
1678
1678
  }
1679
- function Vr(e, t) {
1680
- let n = Br(t);
1679
+ function Wr(e, t) {
1680
+ let n = Ur(t);
1681
1681
  if (e.length === n) return e;
1682
1682
  if (e.length < n) {
1683
1683
  let t = Array.from({ length: n - e.length }, () => []);
@@ -1688,18 +1688,24 @@ function Vr(e, t) {
1688
1688
  }
1689
1689
  //#endregion
1690
1690
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
1691
- var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1691
+ var Gr = { class: "tpl:mb-3.5" }, Kr = ["value"], qr = ["value"], Jr = {
1692
1692
  key: 0,
1693
1693
  class: "tpl:mb-3.5"
1694
- }, Kr = { class: "tpl:mb-3.5" }, qr = { class: "tpl:flex tpl:items-stretch" }, Jr = ["value"], Yr = { class: "tpl:mb-3.5" }, Xr = {
1694
+ }, Yr = { class: "tpl:mb-3.5" }, Xr = { class: "tpl:flex tpl:items-stretch" }, Zr = ["value"], Qr = {
1695
+ key: 1,
1696
+ class: "tpl:mb-3.5"
1697
+ }, $r = {
1695
1698
  key: 0,
1699
+ class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1700
+ }, ei = {
1701
+ key: 1,
1696
1702
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
1697
- }, Zr = { class: "tpl:flex tpl:items-stretch" }, Qr = ["value"], $r = /* @__PURE__ */ w({
1703
+ }, ti = { class: "tpl:flex tpl:items-stretch" }, ni = ["value"], ri = /* @__PURE__ */ w({
1698
1704
  __name: "SectionToolbar",
1699
1705
  props: { block: {} },
1700
1706
  emits: ["update"],
1701
1707
  setup(e, { emit: n }) {
1702
- let r = e, i = n, { t: o } = L(), s = S(() => [
1708
+ let r = e, i = n, { t: o } = R(), s = c(ae, void 0), l = c(oe, void 0), u = s !== void 0 && D(s), d = S(() => l !== !1 || !!r.block.wrapper), f = S(() => u && !r.block.wrapper), _ = S(() => u && d.value), b = S(() => [
1703
1709
  {
1704
1710
  value: "1",
1705
1711
  label: o.section.column1
@@ -1721,21 +1727,21 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1721
1727
  label: o.section.ratio21
1722
1728
  }
1723
1729
  ]);
1724
- function c(e) {
1725
- let t = e.target.value, n = Vr(r.block.children, t);
1730
+ function w(e) {
1731
+ let t = e.target.value, n = Wr(r.block.children, t);
1726
1732
  i("update", {
1727
1733
  columns: t,
1728
1734
  children: n
1729
1735
  });
1730
1736
  }
1731
- function l(e) {
1737
+ function T(e) {
1732
1738
  i("update", { stackOnMobile: e });
1733
1739
  }
1734
- function u(e) {
1740
+ function E(e) {
1735
1741
  let t = Number(e.target.value);
1736
1742
  i("update", { borderRadius: t });
1737
1743
  }
1738
- function d(e) {
1744
+ function O(e) {
1739
1745
  i("update", { wrapper: e ? { padding: {
1740
1746
  top: 20,
1741
1747
  right: 20,
@@ -1743,84 +1749,93 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1743
1749
  left: 20
1744
1750
  } } : void 0 });
1745
1751
  }
1746
- function f(e) {
1752
+ function k(e) {
1747
1753
  i("update", { wrapper: {
1748
1754
  ...r.block.wrapper,
1749
1755
  ...e
1750
1756
  } });
1751
1757
  }
1752
- function _(e) {
1753
- f({ padding: e });
1758
+ function A(e) {
1759
+ k({ padding: e });
1754
1760
  }
1755
- function b(e) {
1756
- f({ borderRadius: Number(e.target.value) });
1761
+ function j(e) {
1762
+ k({ borderRadius: Number(e.target.value) });
1757
1763
  }
1758
1764
  return (n, r) => (t(), h(x, null, [
1759
- m("div", Hr, [m("label", { class: y(p(W)) }, v(p(o).section.columns), 3), m("select", {
1765
+ m("div", Gr, [m("label", { class: y(p(W)) }, v(p(o).section.columns), 3), m("select", {
1760
1766
  class: y(p(q)),
1761
1767
  value: e.block.columns,
1762
- onChange: c
1763
- }, [(t(!0), h(x, null, a(s.value, (e) => (t(), h("option", {
1768
+ onChange: w
1769
+ }, [(t(!0), h(x, null, a(b.value, (e) => (t(), h("option", {
1764
1770
  key: e.value,
1765
1771
  value: e.value
1766
- }, v(e.label), 9, Wr))), 128))], 42, Ur)]),
1767
- e.block.columns === "1" ? C("", !0) : (t(), h("div", Gr, [g(J, {
1772
+ }, v(e.label), 9, qr))), 128))], 42, Kr)]),
1773
+ e.block.columns === "1" ? C("", !0) : (t(), h("div", Jr, [g(J, {
1768
1774
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1769
1775
  "model-value": e.block.stackOnMobile !== !1,
1770
1776
  label: p(o).section.stackOnMobile,
1771
- "onUpdate:modelValue": r[0] ||= (e) => l(e)
1777
+ "onUpdate:modelValue": r[0] ||= (e) => T(e)
1772
1778
  }, null, 8, ["model-value", "label"])])),
1773
- m("div", Kr, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", qr, [m("input", {
1779
+ m("div", Yr, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", Xr, [m("input", {
1774
1780
  type: "number",
1775
1781
  class: y(p(K)),
1776
1782
  value: e.block.borderRadius ?? 0,
1777
1783
  min: "0",
1778
1784
  max: "50",
1779
- onInput: u
1780
- }, null, 42, Jr), m("span", { class: y(p(G)) }, "px", 2)])]),
1781
- m("div", Yr, [g(J, {
1782
- class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1783
- "model-value": !!e.block.wrapper,
1784
- label: p(o).section.wrapperEnable,
1785
- "onUpdate:modelValue": r[1] ||= (e) => d(e)
1786
- }, null, 8, ["model-value", "label"]), e.block.wrapper ? (t(), h("div", Xr, [
1787
- m("div", null, [m("label", { class: y(p(W)) }, v(p(o).blockSettings.color), 3), g(R, {
1788
- "model-value": e.block.wrapper.backgroundColor ?? "",
1789
- "onUpdate:modelValue": r[2] ||= (e) => f({ backgroundColor: e })
1790
- }, null, 8, ["model-value"])]),
1791
- g(jt, {
1792
- label: p(o).blockSettings.padding,
1793
- "model-value": e.block.wrapper.padding ?? {
1794
- top: 0,
1795
- right: 0,
1796
- bottom: 0,
1797
- left: 0
1798
- },
1799
- "onUpdate:modelValue": _
1800
- }, null, 8, ["label", "model-value"]),
1801
- m("div", null, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", Zr, [m("input", {
1802
- type: "number",
1803
- class: y(p(K)),
1804
- value: e.block.wrapper.borderRadius ?? 0,
1805
- min: "0",
1806
- max: "50",
1807
- onInput: b
1808
- }, null, 42, Qr), m("span", { class: y(p(G)) }, "px", 2)])])
1809
- ])) : C("", !0)])
1785
+ onInput: E
1786
+ }, null, 42, Zr), m("span", { class: y(p(G)) }, "px", 2)])]),
1787
+ d.value ? (t(), h("div", Qr, [
1788
+ g(J, {
1789
+ class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1790
+ "model-value": !!e.block.wrapper,
1791
+ label: p(o).section.wrapperEnable,
1792
+ disabled: f.value,
1793
+ "onUpdate:modelValue": r[1] ||= (e) => O(e)
1794
+ }, null, 8, [
1795
+ "model-value",
1796
+ "label",
1797
+ "disabled"
1798
+ ]),
1799
+ _.value ? (t(), h("p", $r, v(p(o).section.wrapperLayoutConflict), 1)) : C("", !0),
1800
+ e.block.wrapper ? (t(), h("div", ei, [
1801
+ m("div", null, [m("label", { class: y(p(W)) }, v(p(o).blockSettings.color), 3), g(z, {
1802
+ "model-value": e.block.wrapper.backgroundColor ?? "",
1803
+ "onUpdate:modelValue": r[2] ||= (e) => k({ backgroundColor: e })
1804
+ }, null, 8, ["model-value"])]),
1805
+ g(Pt, {
1806
+ label: p(o).blockSettings.padding,
1807
+ "model-value": e.block.wrapper.padding ?? {
1808
+ top: 0,
1809
+ right: 0,
1810
+ bottom: 0,
1811
+ left: 0
1812
+ },
1813
+ "onUpdate:modelValue": A
1814
+ }, null, 8, ["label", "model-value"]),
1815
+ m("div", null, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", ti, [m("input", {
1816
+ type: "number",
1817
+ class: y(p(K)),
1818
+ value: e.block.wrapper.borderRadius ?? 0,
1819
+ min: "0",
1820
+ max: "50",
1821
+ onInput: j
1822
+ }, null, 42, ni), m("span", { class: y(p(G)) }, "px", 2)])])
1823
+ ])) : C("", !0)
1824
+ ])) : C("", !0)
1810
1825
  ], 64));
1811
1826
  }
1812
- }), ei = { class: "tpl:mb-3.5" }, ti = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ni = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ri = ["value", "onChange"], ii = ["value"], ai = ["title", "onClick"], oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = { value: "solid" }, li = { value: "outlined" }, ui = { value: "rounded" }, di = { value: "square" }, fi = { value: "circle" }, pi = { class: "tpl:mb-3.5" }, mi = { class: "tpl:mb-3.5" }, hi = { class: "tpl:flex tpl:items-stretch" }, gi = ["value"], _i = { class: "tpl:mb-3.5" }, vi = /* @__PURE__ */ w({
1827
+ }), ii = { class: "tpl:mb-3.5" }, ai = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, oi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, si = ["value", "onChange"], ci = ["value"], li = ["title", "onClick"], ui = { class: "tpl:mb-3.5" }, di = ["value"], fi = { value: "solid" }, pi = { value: "outlined" }, mi = { value: "rounded" }, hi = { value: "square" }, gi = { value: "circle" }, _i = { class: "tpl:mb-3.5" }, vi = { class: "tpl:mb-3.5" }, yi = { class: "tpl:flex tpl:items-stretch" }, bi = ["value"], xi = { class: "tpl:mb-3.5" }, Si = /* @__PURE__ */ w({
1813
1828
  __name: "SocialToolbar",
1814
1829
  props: { block: {} },
1815
1830
  emits: ["update"],
1816
1831
  setup(e, { emit: n }) {
1817
- let r = e, i = n, { t: o } = L();
1832
+ let r = e, i = n, { t: o } = R();
1818
1833
  function s(e, t) {
1819
1834
  i("update", { [e]: t });
1820
1835
  }
1821
1836
  function c() {
1822
1837
  let e = {
1823
- id: D(),
1838
+ id: O(),
1824
1839
  platform: "facebook",
1825
1840
  url: ""
1826
1841
  };
@@ -1837,25 +1852,25 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1837
1852
  i("update", { icons: r.block.icons.filter((t) => t.id !== e) });
1838
1853
  }
1839
1854
  return (n, r) => (t(), h(x, null, [
1840
- m("div", ei, [m("label", { class: y(p(W)) }, v(p(o).social.icons), 3), m("div", ti, [(t(!0), h(x, null, a(e.block.icons, (e) => (t(), h("div", {
1855
+ m("div", ii, [m("label", { class: y(p(W)) }, v(p(o).social.icons), 3), m("div", ai, [(t(!0), h(x, null, a(e.block.icons, (e) => (t(), h("div", {
1841
1856
  key: e.id,
1842
1857
  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"
1843
- }, [m("div", ni, [m("select", {
1858
+ }, [m("div", oi, [m("select", {
1844
1859
  "data-testid": "social-platform-select",
1845
1860
  class: y([p(q), "tpl:flex-1"]),
1846
1861
  value: e.platform,
1847
1862
  onChange: (t) => l(e.id, "platform", t.target.value)
1848
- }, [(t(!0), h(x, null, a(p(ne), (e) => (t(), h("option", {
1863
+ }, [(t(!0), h(x, null, a(p(te), (e) => (t(), h("option", {
1849
1864
  key: e,
1850
1865
  value: e
1851
- }, v(p(o).social.platforms[e]), 9, ii))), 128))], 42, ri), m("button", {
1852
- class: y(p(ke)),
1866
+ }, v(p(o).social.platforms[e]), 9, ci))), 128))], 42, si), m("button", {
1867
+ class: y(p(Me)),
1853
1868
  title: p(o).social.removeIcon,
1854
1869
  onClick: (t) => u(e.id)
1855
- }, [g(p(Te), {
1870
+ }, [g(p(Oe), {
1856
1871
  size: 14,
1857
1872
  "stroke-width": 2
1858
- })], 10, ai)]), g(Y, {
1873
+ })], 10, li)]), g(Y, {
1859
1874
  "model-value": e.url,
1860
1875
  type: "url",
1861
1876
  placeholder: p(o).social.urlPlaceholder,
@@ -1865,24 +1880,24 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1865
1880
  "placeholder",
1866
1881
  "onUpdate:modelValue"
1867
1882
  ])]))), 128)), m("button", {
1868
- class: y(p(Ae)),
1883
+ class: y(p(Ne)),
1869
1884
  onClick: c
1870
- }, [g(p(B), {
1885
+ }, [g(p(V), {
1871
1886
  size: 14,
1872
1887
  "stroke-width": 2
1873
1888
  }), _(" " + v(p(o).social.addIcon), 1)], 2)])]),
1874
- m("div", oi, [m("label", { class: y(p(W)) }, v(p(o).social.style), 3), m("select", {
1889
+ m("div", ui, [m("label", { class: y(p(W)) }, v(p(o).social.style), 3), m("select", {
1875
1890
  class: y(p(q)),
1876
1891
  value: e.block.iconStyle,
1877
1892
  onChange: r[0] ||= (e) => s("iconStyle", e.target.value)
1878
1893
  }, [
1879
- m("option", ci, v(p(o).social.styleSolid), 1),
1880
- m("option", li, v(p(o).social.styleOutlined), 1),
1881
- m("option", ui, v(p(o).social.styleRounded), 1),
1882
- m("option", di, v(p(o).social.styleSquare), 1),
1883
- m("option", fi, v(p(o).social.styleCircle), 1)
1884
- ], 42, si)]),
1885
- m("div", pi, [m("label", { class: y(p(W)) }, v(p(o).social.size), 3), g(X, {
1894
+ m("option", fi, v(p(o).social.styleSolid), 1),
1895
+ m("option", pi, v(p(o).social.styleOutlined), 1),
1896
+ m("option", mi, v(p(o).social.styleRounded), 1),
1897
+ m("option", hi, v(p(o).social.styleSquare), 1),
1898
+ m("option", gi, v(p(o).social.styleCircle), 1)
1899
+ ], 42, di)]),
1900
+ m("div", _i, [m("label", { class: y(p(W)) }, v(p(o).social.size), 3), g(X, {
1886
1901
  options: [
1887
1902
  {
1888
1903
  value: "small",
@@ -1900,30 +1915,30 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1900
1915
  "model-value": e.block.iconSize,
1901
1916
  "onUpdate:modelValue": r[1] ||= (e) => s("iconSize", e)
1902
1917
  }, null, 8, ["options", "model-value"])]),
1903
- m("div", mi, [m("label", { class: y(p(W)) }, v(p(o).social.spacing), 3), m("div", hi, [m("input", {
1918
+ m("div", vi, [m("label", { class: y(p(W)) }, v(p(o).social.spacing), 3), m("div", yi, [m("input", {
1904
1919
  type: "number",
1905
1920
  class: y(p(K)),
1906
1921
  value: e.block.spacing,
1907
1922
  min: "0",
1908
1923
  max: "50",
1909
1924
  onInput: r[2] ||= (e) => s("spacing", Number(e.target.value))
1910
- }, null, 42, gi), m("span", { class: y(p(G)) }, "px", 2)])]),
1911
- m("div", _i, [m("label", { class: y(p(W)) }, v(p(o).social.align), 3), g(X, {
1925
+ }, null, 42, bi), m("span", { class: y(p(G)) }, "px", 2)])]),
1926
+ m("div", xi, [m("label", { class: y(p(W)) }, v(p(o).social.align), 3), g(X, {
1912
1927
  options: [
1913
1928
  {
1914
1929
  value: "left",
1915
1930
  label: p(o).title.alignLeft,
1916
- icon: p(U)
1931
+ icon: p(Te)
1917
1932
  },
1918
1933
  {
1919
1934
  value: "center",
1920
1935
  label: p(o).title.alignCenter,
1921
- icon: p(H)
1936
+ icon: p(U)
1922
1937
  },
1923
1938
  {
1924
1939
  value: "right",
1925
1940
  label: p(o).title.alignRight,
1926
- icon: p(V)
1941
+ icon: p(H)
1927
1942
  }
1928
1943
  ],
1929
1944
  "model-value": e.block.align,
@@ -1931,22 +1946,22 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1931
1946
  }, null, 8, ["options", "model-value"])])
1932
1947
  ], 64));
1933
1948
  }
1934
- }), yi = { class: "tpl:mb-3.5" }, bi = { class: "tpl:flex tpl:items-stretch" }, xi = ["value"], Si = ["value"], Ci = /* @__PURE__ */ w({
1949
+ }), Ci = { class: "tpl:mb-3.5" }, wi = { class: "tpl:flex tpl:items-stretch" }, Ti = ["value"], Ei = ["value"], Di = /* @__PURE__ */ w({
1935
1950
  __name: "SpacerToolbar",
1936
1951
  props: { block: {} },
1937
1952
  emits: ["update"],
1938
1953
  setup(e, { emit: n }) {
1939
- let r = n, { t: i } = L();
1940
- return (n, a) => (t(), h("div", yi, [
1954
+ let r = n, { t: i } = R();
1955
+ return (n, a) => (t(), h("div", Ci, [
1941
1956
  m("label", { class: y(p(W)) }, v(p(i).spacer.height), 3),
1942
- m("div", bi, [m("input", {
1957
+ m("div", wi, [m("input", {
1943
1958
  type: "number",
1944
1959
  class: y(p(K)),
1945
1960
  value: e.block.height,
1946
1961
  min: "10",
1947
1962
  max: "100",
1948
1963
  onInput: a[0] ||= (e) => r("update", { height: Number(e.target.value) })
1949
- }, null, 42, xi), m("span", { class: y(p(G)) }, "px", 2)]),
1964
+ }, null, 42, Ti), m("span", { class: y(p(G)) }, "px", 2)]),
1950
1965
  m("input", {
1951
1966
  type: "range",
1952
1967
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -1954,13 +1969,13 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1954
1969
  min: "10",
1955
1970
  max: "100",
1956
1971
  onInput: a[1] ||= (e) => r("update", { height: Number(e.target.value) })
1957
- }, null, 40, Si)
1972
+ }, null, 40, Ei)
1958
1973
  ]));
1959
1974
  }
1960
- }), wi = { class: "tpl:mb-3.5" }, Ti = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ei = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Di = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Oi = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ki = ["disabled"], Ai = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ji = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Mi = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ni = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Pi = ["disabled"], Fi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ii = { class: "tpl:mb-3.5" }, Li = {
1975
+ }), Oi = { class: "tpl:mb-3.5" }, ki = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ai = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ji = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Mi = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ni = ["disabled"], Pi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Fi = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ii = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Li = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ri = ["disabled"], zi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Bi = { class: "tpl:mb-3.5" }, Vi = {
1961
1976
  key: 0,
1962
1977
  class: "tpl:mb-3.5"
1963
- }, Ri = { class: "tpl:mb-3.5" }, zi = { class: "tpl:mb-3.5" }, Bi = { class: "tpl:flex tpl:items-stretch" }, Vi = ["value"], Hi = { class: "tpl:mb-3.5" }, Ui = { class: "tpl:flex tpl:items-stretch" }, Wi = ["value"], Gi = { class: "tpl:mb-3.5" }, Ki = ["value"], qi = { value: "" }, Ji = ["value"], Yi = { class: "tpl:mb-3.5" }, Xi = { class: "tpl:flex tpl:items-stretch" }, Zi = ["value"], Qi = { class: "tpl:mb-3.5" }, $i = { class: "tpl:mb-3.5" }, ea = /* @__PURE__ */ w({
1978
+ }, Hi = { class: "tpl:mb-3.5" }, Ui = { class: "tpl:mb-3.5" }, Wi = { class: "tpl:flex tpl:items-stretch" }, Gi = ["value"], Ki = { class: "tpl:mb-3.5" }, qi = { class: "tpl:flex tpl:items-stretch" }, Ji = ["value"], Yi = { class: "tpl:mb-3.5" }, Xi = ["value"], Zi = { value: "" }, Qi = ["value"], $i = { class: "tpl:mb-3.5" }, ea = { class: "tpl:flex tpl:items-stretch" }, ta = ["value"], na = { class: "tpl:mb-3.5" }, ra = { class: "tpl:mb-3.5" }, ia = /* @__PURE__ */ w({
1964
1979
  __name: "TableToolbar",
1965
1980
  props: {
1966
1981
  block: {},
@@ -1968,15 +1983,15 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1968
1983
  },
1969
1984
  emits: ["update"],
1970
1985
  setup(e, { emit: n }) {
1971
- let r = e, i = n, { t: o } = L(), s = S(() => r.block.rows.length > 0 ? r.block.rows[0].cells.length : 0);
1986
+ let r = e, i = n, { t: o } = R(), s = S(() => r.block.rows.length > 0 ? r.block.rows[0].cells.length : 0);
1972
1987
  function c(e, t) {
1973
1988
  i("update", { [e]: t });
1974
1989
  }
1975
1990
  function l() {
1976
1991
  let e = r.block.rows.length > 0 ? r.block.rows[0].cells.length : 3, t = {
1977
- id: D(),
1992
+ id: O(),
1978
1993
  cells: Array.from({ length: e }, () => ({
1979
- id: D(),
1994
+ id: O(),
1980
1995
  content: ""
1981
1996
  }))
1982
1997
  };
@@ -1989,7 +2004,7 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1989
2004
  let e = r.block.rows.map((e) => ({
1990
2005
  ...e,
1991
2006
  cells: [...e.cells, {
1992
- id: D(),
2007
+ id: O(),
1993
2008
  content: ""
1994
2009
  }]
1995
2010
  }));
@@ -2003,50 +2018,50 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2003
2018
  i("update", { rows: t });
2004
2019
  }
2005
2020
  return (n, r) => (t(), h(x, null, [
2006
- m("div", wi, [m("label", { class: y(p(W)) }, v(p(o).table.dimensions), 3), m("div", Ti, [m("div", Ei, [m("span", Di, v(p(o).table.rows), 1), m("div", Oi, [
2021
+ m("div", Oi, [m("label", { class: y(p(W)) }, v(p(o).table.dimensions), 3), m("div", ki, [m("div", Ai, [m("span", ji, v(p(o).table.rows), 1), m("div", Mi, [
2007
2022
  m("button", {
2008
2023
  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",
2009
2024
  disabled: e.block.rows.length <= 1,
2010
2025
  onClick: r[0] ||= (t) => u(e.block.rows[e.block.rows.length - 1].id)
2011
- }, [g(p(z), {
2026
+ }, [g(p(B), {
2012
2027
  size: 12,
2013
2028
  "stroke-width": 2
2014
- })], 8, ki),
2015
- m("span", Ai, v(e.block.rows.length), 1),
2029
+ })], 8, Ni),
2030
+ m("span", Pi, v(e.block.rows.length), 1),
2016
2031
  m("button", {
2017
2032
  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)]",
2018
2033
  onClick: l
2019
- }, [g(p(B), {
2034
+ }, [g(p(V), {
2020
2035
  size: 12,
2021
2036
  "stroke-width": 2
2022
2037
  })])
2023
- ])]), m("div", ji, [m("span", Mi, v(p(o).table.columns), 1), m("div", Ni, [
2038
+ ])]), m("div", Fi, [m("span", Ii, v(p(o).table.columns), 1), m("div", Li, [
2024
2039
  m("button", {
2025
2040
  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",
2026
2041
  disabled: s.value <= 1,
2027
2042
  onClick: r[1] ||= (e) => f(s.value - 1)
2028
- }, [g(p(z), {
2043
+ }, [g(p(B), {
2029
2044
  size: 12,
2030
2045
  "stroke-width": 2
2031
- })], 8, Pi),
2032
- m("span", Fi, v(s.value), 1),
2046
+ })], 8, Ri),
2047
+ m("span", zi, v(s.value), 1),
2033
2048
  m("button", {
2034
2049
  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)]",
2035
2050
  onClick: d
2036
- }, [g(p(B), {
2051
+ }, [g(p(V), {
2037
2052
  size: 12,
2038
2053
  "stroke-width": 2
2039
2054
  })])
2040
2055
  ])])])]),
2041
- m("div", Ii, [g(J, {
2056
+ m("div", Bi, [g(J, {
2042
2057
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
2043
2058
  "model-value": e.block.hasHeaderRow,
2044
2059
  label: p(o).table.hasHeaderRow,
2045
2060
  "onUpdate:modelValue": r[2] ||= (e) => c("hasHeaderRow", e)
2046
2061
  }, null, 8, ["model-value", "label"])]),
2047
- e.block.hasHeaderRow ? (t(), h("div", Li, [m("label", { class: y(p(W)) }, v(p(o).table.headerBackgroundColor), 3), g(R, {
2062
+ e.block.hasHeaderRow ? (t(), h("div", Vi, [m("label", { class: y(p(W)) }, v(p(o).table.headerBackgroundColor), 3), g(z, {
2048
2063
  "model-value": e.block.headerBackgroundColor ?? "",
2049
- "seed-color": p(je),
2064
+ "seed-color": p(Pe),
2050
2065
  placeholder: p(o).table.noHeaderBg,
2051
2066
  "onUpdate:modelValue": r[3] ||= (e) => c("headerBackgroundColor", e || null)
2052
2067
  }, null, 8, [
@@ -2054,62 +2069,62 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2054
2069
  "seed-color",
2055
2070
  "placeholder"
2056
2071
  ])])) : C("", !0),
2057
- m("div", Ri, [m("label", { class: y(p(W)) }, v(p(o).table.borderColor), 3), g(R, {
2072
+ m("div", Hi, [m("label", { class: y(p(W)) }, v(p(o).table.borderColor), 3), g(z, {
2058
2073
  "model-value": e.block.borderColor,
2059
2074
  "onUpdate:modelValue": r[4] ||= (e) => c("borderColor", e)
2060
2075
  }, null, 8, ["model-value"])]),
2061
- m("div", zi, [m("label", { class: y(p(W)) }, v(p(o).table.borderWidth), 3), m("div", Bi, [m("input", {
2076
+ m("div", Ui, [m("label", { class: y(p(W)) }, v(p(o).table.borderWidth), 3), m("div", Wi, [m("input", {
2062
2077
  type: "number",
2063
2078
  class: y(p(K)),
2064
2079
  value: e.block.borderWidth,
2065
2080
  min: "0",
2066
2081
  max: "10",
2067
2082
  onInput: r[5] ||= (e) => c("borderWidth", Number(e.target.value))
2068
- }, null, 42, Vi), m("span", { class: y(p(G)) }, "px", 2)])]),
2069
- m("div", Hi, [m("label", { class: y(p(W)) }, v(p(o).table.cellPadding), 3), m("div", Ui, [m("input", {
2083
+ }, null, 42, Gi), m("span", { class: y(p(G)) }, "px", 2)])]),
2084
+ m("div", Ki, [m("label", { class: y(p(W)) }, v(p(o).table.cellPadding), 3), m("div", qi, [m("input", {
2070
2085
  type: "number",
2071
2086
  class: y(p(K)),
2072
2087
  value: e.block.cellPadding,
2073
2088
  min: "0",
2074
2089
  max: "30",
2075
2090
  onInput: r[6] ||= (e) => c("cellPadding", Number(e.target.value))
2076
- }, null, 42, Wi), m("span", { class: y(p(G)) }, "px", 2)])]),
2077
- m("div", Gi, [m("label", { class: y(p(W)) }, v(p(o).table.fontFamily), 3), m("select", {
2091
+ }, null, 42, Ji), m("span", { class: y(p(G)) }, "px", 2)])]),
2092
+ m("div", Yi, [m("label", { class: y(p(W)) }, v(p(o).table.fontFamily), 3), m("select", {
2078
2093
  class: y(p(q)),
2079
2094
  value: e.block.fontFamily || "",
2080
2095
  onChange: r[7] ||= (e) => c("fontFamily", e.target.value || void 0)
2081
- }, [m("option", qi, v(p(o).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2096
+ }, [m("option", Zi, v(p(o).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2082
2097
  key: e.value,
2083
2098
  value: e.value
2084
- }, v(e.label), 9, Ji))), 128))], 42, Ki)]),
2085
- m("div", Yi, [m("label", { class: y(p(W)) }, v(p(o).table.fontSize), 3), m("div", Xi, [m("input", {
2099
+ }, v(e.label), 9, Qi))), 128))], 42, Xi)]),
2100
+ m("div", $i, [m("label", { class: y(p(W)) }, v(p(o).table.fontSize), 3), m("div", ea, [m("input", {
2086
2101
  type: "number",
2087
2102
  class: y(p(K)),
2088
2103
  value: e.block.fontSize,
2089
2104
  min: "10",
2090
2105
  max: "32",
2091
2106
  onInput: r[8] ||= (e) => c("fontSize", Number(e.target.value))
2092
- }, null, 42, Zi), m("span", { class: y(p(G)) }, "px", 2)])]),
2093
- m("div", Qi, [m("label", { class: y(p(W)) }, v(p(o).table.color), 3), g(R, {
2107
+ }, null, 42, ta), m("span", { class: y(p(G)) }, "px", 2)])]),
2108
+ m("div", na, [m("label", { class: y(p(W)) }, v(p(o).table.color), 3), g(z, {
2094
2109
  "model-value": e.block.color ?? "",
2095
2110
  "onUpdate:modelValue": r[9] ||= (e) => c("color", e || void 0)
2096
2111
  }, null, 8, ["model-value"])]),
2097
- m("div", $i, [m("label", { class: y(p(W)) }, v(p(o).table.textAlign), 3), g(X, {
2112
+ m("div", ra, [m("label", { class: y(p(W)) }, v(p(o).table.textAlign), 3), g(X, {
2098
2113
  options: [
2099
2114
  {
2100
2115
  value: "left",
2101
2116
  label: p(o).title.alignLeft,
2102
- icon: p(U)
2117
+ icon: p(Te)
2103
2118
  },
2104
2119
  {
2105
2120
  value: "center",
2106
2121
  label: p(o).title.alignCenter,
2107
- icon: p(H)
2122
+ icon: p(U)
2108
2123
  },
2109
2124
  {
2110
2125
  value: "right",
2111
2126
  label: p(o).title.alignRight,
2112
- icon: p(V)
2127
+ icon: p(H)
2113
2128
  }
2114
2129
  ],
2115
2130
  "model-value": e.block.textAlign,
@@ -2117,7 +2132,7 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2117
2132
  }, null, 8, ["options", "model-value"])])
2118
2133
  ], 64));
2119
2134
  }
2120
- }), ta = { class: "tpl:mb-3.5" }, na = ["value"], ra = { value: 1 }, ia = { value: 2 }, aa = { value: 3 }, oa = { value: 4 }, sa = { class: "tpl:mb-3.5" }, ca = ["value"], la = { value: "" }, ua = ["value"], da = { class: "tpl:mb-3.5" }, fa = { class: "tpl:mb-3.5" }, pa = /* @__PURE__ */ w({
2135
+ }), aa = { class: "tpl:mb-3.5" }, oa = ["value"], sa = { value: 1 }, ca = { value: 2 }, la = { value: 3 }, ua = { value: 4 }, da = { class: "tpl:mb-3.5" }, fa = ["value"], pa = { value: "" }, ma = ["value"], ha = { class: "tpl:mb-3.5" }, ga = { class: "tpl:mb-3.5" }, _a = /* @__PURE__ */ w({
2121
2136
  __name: "TitleToolbar",
2122
2137
  props: {
2123
2138
  block: {},
@@ -2125,49 +2140,49 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2125
2140
  },
2126
2141
  emits: ["update"],
2127
2142
  setup(e, { emit: n }) {
2128
- let r = n, { t: i } = L();
2143
+ let r = n, { t: i } = R();
2129
2144
  function o(e, t) {
2130
2145
  r("update", { [e]: t });
2131
2146
  }
2132
2147
  return (n, r) => (t(), h(x, null, [
2133
- m("div", ta, [m("label", { class: y(p(W)) }, v(p(i).title.level), 3), m("select", {
2148
+ m("div", aa, [m("label", { class: y(p(W)) }, v(p(i).title.level), 3), m("select", {
2134
2149
  class: y(p(q)),
2135
2150
  value: e.block.level,
2136
2151
  onChange: r[0] ||= (e) => o("level", Number(e.target.value))
2137
2152
  }, [
2138
- m("option", ra, v(p(i).title.heading1), 1),
2139
- m("option", ia, v(p(i).title.heading2), 1),
2140
- m("option", aa, v(p(i).title.heading3), 1),
2141
- m("option", oa, v(p(i).title.heading4), 1)
2142
- ], 42, na)]),
2143
- m("div", sa, [m("label", { class: y(p(W)) }, v(p(i).title.fontFamily), 3), m("select", {
2153
+ m("option", sa, v(p(i).title.heading1), 1),
2154
+ m("option", ca, v(p(i).title.heading2), 1),
2155
+ m("option", la, v(p(i).title.heading3), 1),
2156
+ m("option", ua, v(p(i).title.heading4), 1)
2157
+ ], 42, oa)]),
2158
+ m("div", da, [m("label", { class: y(p(W)) }, v(p(i).title.fontFamily), 3), m("select", {
2144
2159
  class: y(p(q)),
2145
2160
  value: e.block.fontFamily || "",
2146
2161
  onChange: r[1] ||= (e) => o("fontFamily", e.target.value || void 0)
2147
- }, [m("option", la, v(p(i).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2162
+ }, [m("option", pa, v(p(i).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2148
2163
  key: e.value,
2149
2164
  value: e.value
2150
- }, v(e.label), 9, ua))), 128))], 42, ca)]),
2151
- m("div", da, [m("label", { class: y(p(W)) }, v(p(i).title.color), 3), g(R, {
2165
+ }, v(e.label), 9, ma))), 128))], 42, fa)]),
2166
+ m("div", ha, [m("label", { class: y(p(W)) }, v(p(i).title.color), 3), g(z, {
2152
2167
  "model-value": e.block.color ?? "",
2153
2168
  "onUpdate:modelValue": r[2] ||= (e) => o("color", e || void 0)
2154
2169
  }, null, 8, ["model-value"])]),
2155
- m("div", fa, [m("label", { class: y(p(W)) }, v(p(i).title.align), 3), g(X, {
2170
+ m("div", ga, [m("label", { class: y(p(W)) }, v(p(i).title.align), 3), g(X, {
2156
2171
  options: [
2157
2172
  {
2158
2173
  value: "left",
2159
2174
  label: p(i).title.alignLeft,
2160
- icon: p(U)
2175
+ icon: p(Te)
2161
2176
  },
2162
2177
  {
2163
2178
  value: "center",
2164
2179
  label: p(i).title.alignCenter,
2165
- icon: p(H)
2180
+ icon: p(U)
2166
2181
  },
2167
2182
  {
2168
2183
  value: "right",
2169
2184
  label: p(i).title.alignRight,
2170
- icon: p(V)
2185
+ icon: p(H)
2171
2186
  }
2172
2187
  ],
2173
2188
  "model-value": e.block.textAlign,
@@ -2175,31 +2190,31 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2175
2190
  }, null, 8, ["options", "model-value"])])
2176
2191
  ], 64));
2177
2192
  }
2178
- }), ma = { class: "tpl:mb-3.5" }, ha = {
2193
+ }), va = { class: "tpl:mb-3.5" }, ya = {
2179
2194
  key: 0,
2180
2195
  class: "tpl:mb-3.5"
2181
- }, ga = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, _a = [
2196
+ }, ba = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xa = [
2182
2197
  "value",
2183
2198
  "placeholder",
2184
2199
  "title"
2185
- ], va = { class: "tpl:mb-3.5" }, ya = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ba = { class: "tpl:mb-3.5" }, xa = { class: "tpl:mb-3.5" }, Sa = ["value"], Ca = { value: "full" }, wa = { class: "tpl:mb-3.5" }, Ta = ["value"], Ea = { value: "auto" }, Da = { value: "custom" }, Oa = {
2200
+ ], Sa = { class: "tpl:mb-3.5" }, Ca = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, wa = { class: "tpl:mb-3.5" }, Ta = { class: "tpl:mb-3.5" }, Ea = ["value"], Da = { value: "full" }, Oa = { class: "tpl:mb-3.5" }, ka = ["value"], Aa = { value: "auto" }, ja = { value: "custom" }, Ma = {
2186
2201
  key: 0,
2187
2202
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2188
- }, ka = ["value"], Aa = { class: "tpl:mb-3.5" }, ja = 200, Ma = /* @__PURE__ */ w({
2203
+ }, Na = ["value"], Pa = { class: "tpl:mb-3.5" }, Fa = 200, Ia = /* @__PURE__ */ w({
2189
2204
  __name: "VideoToolbar",
2190
2205
  props: { block: {} },
2191
2206
  emits: ["update"],
2192
2207
  setup(e, { emit: n }) {
2193
- let r = e, i = n, { t: a } = L(), o = c(F, null), s = c(ae, j.liquid), l = De(), u = S(() => !!o), f = S(() => A(r.block.url, s)), w = S(() => typeof r.block.height == "number" ? "custom" : "auto"), T = d(!1), { start: E } = P(() => {
2208
+ let r = e, i = n, { t: a } = R(), o = c(se, null), s = c(ce, j.liquid), l = Ae(), u = S(() => !!o), f = S(() => k(r.block.url, s)), w = S(() => typeof r.block.height == "number" ? "custom" : "auto"), T = d(!1), { start: E } = I(() => {
2194
2209
  T.value = !1;
2195
2210
  }, 1e3, { immediate: !1 });
2196
2211
  function D(e, t) {
2197
2212
  i("update", { [e]: t });
2198
2213
  }
2199
2214
  function O(e) {
2200
- D("height", e === "custom" ? ja : void 0);
2215
+ D("height", e === "custom" ? Fa : void 0);
2201
2216
  }
2202
- function k(e) {
2217
+ function A(e) {
2203
2218
  let t = Number(e);
2204
2219
  !Number.isFinite(t) || t <= 0 || D("height", t);
2205
2220
  }
@@ -2208,7 +2223,7 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2208
2223
  l.alive && e && (D("thumbnailUrl", e.url), T.value = !0, E());
2209
2224
  }
2210
2225
  return (n, r) => (t(), h(x, null, [
2211
- m("div", ma, [
2226
+ m("div", va, [
2212
2227
  m("label", { class: y(p(W)) }, v(p(a).video.videoUrl), 3),
2213
2228
  g(Y, {
2214
2229
  "model-value": e.block.url,
@@ -2224,16 +2239,16 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2224
2239
  "onUpdate:modelValue": r[1] ||= (e) => D("openInNewTab", e)
2225
2240
  }, null, 8, ["model-value", "label"])) : C("", !0)
2226
2241
  ]),
2227
- f.value ? (t(), h("div", ha, [m("label", { class: y(p(W)) }, [_(v(p(a).video.placeholderUrl) + " ", 1), m("span", ga, v(p(a).video.optional), 1)], 2), m("input", {
2242
+ f.value ? (t(), h("div", ya, [m("label", { class: y(p(W)) }, [_(v(p(a).video.placeholderUrl) + " ", 1), m("span", ba, v(p(a).video.optional), 1)], 2), m("input", {
2228
2243
  type: "url",
2229
2244
  class: y(p(q)),
2230
2245
  value: e.block.placeholderUrl || "",
2231
2246
  placeholder: p(a).video.placeholderUrlPlaceholder,
2232
2247
  title: p(a).video.placeholderUrlTooltip,
2233
2248
  onInput: r[2] ||= (e) => D("placeholderUrl", e.target.value)
2234
- }, null, 42, _a)])) : C("", !0),
2235
- m("div", va, [
2236
- m("label", { class: y(p(W)) }, [_(v(p(a).video.customThumbnail) + " ", 1), m("span", ya, v(p(a).video.optional), 1)], 2),
2249
+ }, null, 42, xa)])) : C("", !0),
2250
+ m("div", Sa, [
2251
+ m("label", { class: y(p(W)) }, [_(v(p(a).video.customThumbnail) + " ", 1), m("span", Ca, v(p(a).video.optional), 1)], 2),
2237
2252
  g(Y, {
2238
2253
  "model-value": e.block.thumbnailUrl,
2239
2254
  type: "url",
@@ -2254,45 +2269,45 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2254
2269
  "background-color": "var(--tpl-bg)"
2255
2270
  },
2256
2271
  onClick: M
2257
- }, [g(p(ee), {
2272
+ }, [g(p(N), {
2258
2273
  size: 14,
2259
2274
  "stroke-width": 1.5
2260
2275
  }), _(" " + v(p(a).image.browseMedia), 1)])) : C("", !0)
2261
2276
  ]),
2262
- m("div", ba, [m("label", { class: y(p(W)) }, v(p(a).video.altText), 3), g(Y, {
2277
+ m("div", wa, [m("label", { class: y(p(W)) }, v(p(a).video.altText), 3), g(Y, {
2263
2278
  "model-value": e.block.alt,
2264
2279
  type: "text",
2265
2280
  placeholder: p(a).video.altTextPlaceholder,
2266
2281
  "onUpdate:modelValue": r[4] ||= (e) => D("alt", e)
2267
2282
  }, null, 8, ["model-value", "placeholder"])]),
2268
- m("div", xa, [m("label", { class: y(p(W)) }, v(p(a).video.width), 3), m("select", {
2283
+ m("div", Ta, [m("label", { class: y(p(W)) }, v(p(a).video.width), 3), m("select", {
2269
2284
  class: y(p(q)),
2270
2285
  value: e.block.width,
2271
2286
  onChange: r[5] ||= (e) => D("width", e.target.value === "full" ? "full" : Number(e.target.value))
2272
2287
  }, [
2273
- m("option", Ca, v(p(a).video.fullWidth), 1),
2288
+ m("option", Da, v(p(a).video.fullWidth), 1),
2274
2289
  r[9] ||= m("option", { value: "300" }, "300px", -1),
2275
2290
  r[10] ||= m("option", { value: "400" }, "400px", -1),
2276
2291
  r[11] ||= m("option", { value: "500" }, "500px", -1)
2277
- ], 42, Sa)]),
2278
- m("div", wa, [
2292
+ ], 42, Ea)]),
2293
+ m("div", Oa, [
2279
2294
  m("label", { class: y(p(W)) }, v(p(a).video.height), 3),
2280
2295
  m("select", {
2281
2296
  class: y(p(q)),
2282
2297
  "data-testid": "video-height-mode",
2283
2298
  value: w.value,
2284
2299
  onChange: r[6] ||= (e) => O(e.target.value)
2285
- }, [m("option", Ea, v(p(a).video.heightAuto), 1), m("option", Da, v(p(a).video.heightCustom), 1)], 42, Ta),
2286
- w.value === "custom" ? (t(), h("div", Oa, [m("input", {
2300
+ }, [m("option", Aa, v(p(a).video.heightAuto), 1), m("option", ja, v(p(a).video.heightCustom), 1)], 42, ka),
2301
+ w.value === "custom" ? (t(), h("div", Ma, [m("input", {
2287
2302
  type: "number",
2288
2303
  "data-testid": "video-height-input",
2289
2304
  class: y(p(K)),
2290
2305
  value: e.block.height,
2291
2306
  min: "20",
2292
- onInput: r[7] ||= (e) => k(e.target.value)
2293
- }, null, 42, ka), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
2307
+ onInput: r[7] ||= (e) => A(e.target.value)
2308
+ }, null, 42, Na), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
2294
2309
  ]),
2295
- m("div", Aa, [m("label", { class: y(p(W)) }, v(p(a).title.align), 3), g(X, {
2310
+ m("div", Pa, [m("label", { class: y(p(W)) }, v(p(a).title.align), 3), g(X, {
2296
2311
  options: [
2297
2312
  {
2298
2313
  value: "left",
@@ -2312,7 +2327,7 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2312
2327
  }, null, 8, ["options", "model-value"])])
2313
2328
  ], 64));
2314
2329
  }
2315
- }), Na = ["aria-label"], Pa = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Fa = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Ia = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, La = { class: "tpl:flex tpl:gap-1" }, Ra = ["title"], za = ["title"], Ba = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Va = /*@__PURE__*/ w({
2330
+ }), La = ["aria-label"], Ra = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, za = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Ba = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Va = { class: "tpl:flex tpl:gap-1" }, Ha = ["title"], Ua = ["title"], Wa = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Ga = /*@__PURE__*/ w({
2316
2331
  __name: "Toolbar",
2317
2332
  props: { block: {} },
2318
2333
  emits: [
@@ -2321,9 +2336,9 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2321
2336
  "duplicate"
2322
2337
  ],
2323
2338
  setup(e, { emit: n }) {
2324
- let r = f(() => import("./CountdownToolbar-nvHxu8Gu.js")), a = e, o = n, { t: s } = L(), l = oe(de, "Toolbar"), u = c(I, []), d = S(() => a.block.type), _ = S(() => O(a.block)), y = S(() => {
2339
+ let r = f(() => import("./CountdownToolbar-DkC-qSgq.js")), a = e, o = n, { t: s } = R(), l = ie(pe, "Toolbar"), u = c(fe, []), d = S(() => a.block.type), _ = S(() => M(a.block)), y = S(() => {
2325
2340
  if (_.value) return u.find((e) => e.type === a.block.customType);
2326
- }), x = S(() => _.value ? y.value?.name ?? a.block.customType : M(d.value, s)), w = l.fonts;
2341
+ }), x = S(() => _.value ? y.value?.name ?? a.block.customType : P(d.value, s)), w = l.fonts;
2327
2342
  function T(e) {
2328
2343
  o("update", e);
2329
2344
  }
@@ -2331,82 +2346,82 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2331
2346
  "data-testid": "block-toolbar",
2332
2347
  "aria-label": p(s).landmarks.blockToolbar,
2333
2348
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
2334
- }, [m("div", Pa, [m("div", Fa, [p(ge)[d.value] ? (t(), b(i(p(ge)[d.value]), {
2349
+ }, [m("div", Ra, [m("div", za, [p(ve)[d.value] ? (t(), b(i(p(ve)[d.value]), {
2335
2350
  key: 0,
2336
2351
  size: 16,
2337
2352
  "stroke-width": 1.5
2338
- })) : _.value ? (t(), b(p(N), {
2353
+ })) : _.value ? (t(), b(p(ee), {
2339
2354
  key: 1,
2340
2355
  size: 16,
2341
2356
  "stroke-width": 1.5
2342
- })) : C("", !0), m("h3", Ia, v(x.value), 1)]), m("div", La, [m("button", {
2357
+ })) : C("", !0), m("h3", Ba, v(x.value), 1)]), m("div", Va, [m("button", {
2343
2358
  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)]",
2344
2359
  title: p(s).toolbar.duplicate,
2345
2360
  onClick: a[0] ||= (e) => o("duplicate")
2346
- }, [g(p(_e), {
2361
+ }, [g(p(ye), {
2347
2362
  size: 14,
2348
2363
  "stroke-width": 2
2349
- })], 8, Ra), m("button", {
2364
+ })], 8, Ha), m("button", {
2350
2365
  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)]",
2351
2366
  title: p(s).toolbar.delete,
2352
2367
  onClick: a[1] ||= (e) => o("delete")
2353
- }, [g(p(Ce), {
2368
+ }, [g(p(Ee), {
2354
2369
  size: 14,
2355
2370
  "stroke-width": 2
2356
- })], 8, za)])]), m("div", Ba, [_.value ? (t(), b(zn, {
2371
+ })], 8, Ua)])]), m("div", Wa, [_.value ? (t(), b(Hn, {
2357
2372
  key: 0,
2358
2373
  block: e.block,
2359
2374
  onUpdateFieldValues: a[2] ||= (e) => o("update", { fieldValues: e }),
2360
2375
  onUpdateDataSourceFetched: a[3] ||= (e) => o("update", { dataSourceFetched: e })
2361
- }, null, 8, ["block"])) : d.value === "section" ? (t(), b($r, {
2376
+ }, null, 8, ["block"])) : d.value === "section" ? (t(), b(ri, {
2362
2377
  key: 1,
2363
2378
  block: e.block,
2364
2379
  onUpdate: T
2365
- }, null, 8, ["block"])) : d.value === "title" ? (t(), b(pa, {
2380
+ }, null, 8, ["block"])) : d.value === "title" ? (t(), b(_a, {
2366
2381
  key: 2,
2367
2382
  block: e.block,
2368
2383
  "font-families": p(w),
2369
2384
  onUpdate: T
2370
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (t(), b(zr, {
2385
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (t(), b(Hr, {
2371
2386
  key: 3,
2372
2387
  block: e.block,
2373
2388
  onUpdate: T
2374
- }, null, 8, ["block"])) : d.value === "image" ? (t(), b(Cr, {
2389
+ }, null, 8, ["block"])) : d.value === "image" ? (t(), b(Er, {
2375
2390
  key: 4,
2376
2391
  block: e.block,
2377
2392
  onUpdate: T
2378
- }, null, 8, ["block"])) : d.value === "video" ? (t(), b(Ma, {
2393
+ }, null, 8, ["block"])) : d.value === "video" ? (t(), b(Ia, {
2379
2394
  key: 5,
2380
2395
  block: e.block,
2381
2396
  onUpdate: T
2382
- }, null, 8, ["block"])) : d.value === "button" ? (t(), b(ct, {
2397
+ }, null, 8, ["block"])) : d.value === "button" ? (t(), b(dt, {
2383
2398
  key: 6,
2384
2399
  block: e.block,
2385
2400
  "font-families": p(w),
2386
2401
  onUpdate: T
2387
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (t(), b(Gn, {
2402
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (t(), b(Jn, {
2388
2403
  key: 7,
2389
2404
  block: e.block,
2390
2405
  onUpdate: T
2391
- }, null, 8, ["block"])) : d.value === "social" ? (t(), b(vi, {
2406
+ }, null, 8, ["block"])) : d.value === "social" ? (t(), b(Si, {
2392
2407
  key: 8,
2393
2408
  block: e.block,
2394
2409
  onUpdate: T
2395
- }, null, 8, ["block"])) : d.value === "menu" ? (t(), b(Fr, {
2410
+ }, null, 8, ["block"])) : d.value === "menu" ? (t(), b(Rr, {
2396
2411
  key: 9,
2397
2412
  block: e.block,
2398
2413
  "font-families": p(w),
2399
2414
  onUpdate: T
2400
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (t(), b(ea, {
2415
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (t(), b(ia, {
2401
2416
  key: 10,
2402
2417
  block: e.block,
2403
2418
  "font-families": p(w),
2404
2419
  onUpdate: T
2405
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (t(), b(Ci, {
2420
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (t(), b(Di, {
2406
2421
  key: 11,
2407
2422
  block: e.block,
2408
2423
  onUpdate: T
2409
- }, null, 8, ["block"])) : d.value === "html" ? (t(), b(Yn, {
2424
+ }, null, 8, ["block"])) : d.value === "html" ? (t(), b(Qn, {
2410
2425
  key: 12,
2411
2426
  block: e.block,
2412
2427
  onUpdate: T
@@ -2415,12 +2430,12 @@ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
2415
2430
  block: e.block,
2416
2431
  "font-families": p(w),
2417
2432
  onUpdate: T
2418
- }, null, 8, ["block", "font-families"])) : C("", !0), g($t, {
2433
+ }, null, 8, ["block", "font-families"])) : C("", !0), g(nn, {
2419
2434
  block: e.block,
2420
2435
  "is-first-section": d.value === "paragraph",
2421
2436
  onUpdate: T
2422
- }, null, 8, ["block", "is-first-section"])])], 8, Na));
2437
+ }, null, 8, ["block", "is-first-section"])])], 8, La));
2423
2438
  }
2424
- }), Ha = /* @__PURE__ */ e({ default: () => Ua }), Ua = /*#__PURE__*/ Ee(Va, [["__scopeId", "data-v-1038bf62"]]);
2439
+ }), Ka = /* @__PURE__ */ e({ default: () => qa }), qa = /*#__PURE__*/ ke(Ga, [["__scopeId", "data-v-1038bf62"]]);
2425
2440
  //#endregion
2426
- export { Ua as default, X as i, $ as n, Qn as r, Ha as t };
2441
+ export { qa as default, X as i, $ as n, tr as r, Ka as t };