@templatical/editor 0.25.1 → 0.26.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 (195) hide show
  1. package/dist/{AiChatSidebar-BYMdVldY.js → AiChatSidebar-c-3yyjN1.js} +14 -14
  2. package/dist/{AiFeatureMenu-BhHhnu9G.js → AiFeatureMenu-B-COyG7k.js} +7 -7
  3. package/dist/{BlockIssueBadge-De36PJC4.js → BlockIssueBadge-Buk3_6QF.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-BxSoA1QV.js → BlockPreviewCanvas-CJPHGI93.js} +3 -3
  5. package/dist/{CloudEditor-BXfuytQj.js → CloudEditor-BdSQ8hfv.js} +26 -26
  6. package/dist/{CollaboratorBar-D9AfWRTH.js → CollaboratorBar-mGoi6yye.js} +4 -4
  7. package/dist/{ColorPicker-VPq4ASC8.js → ColorPicker-ClETsjA3.js} +6 -6
  8. package/dist/{CommentsSidebar-C8BLy3Pr.js → CommentsSidebar-CdRCCSDD.js} +15 -15
  9. package/dist/{CountdownBlock-Bs2Q_bFX.js → CountdownBlock-DuyvGcr8.js} +3 -3
  10. package/dist/{CountdownToolbar-Cic6cdOw.js → CountdownToolbar-CBE9wRaV.js} +4 -4
  11. package/dist/{DesignReferenceSidebar-k-26nkJI.js → DesignReferenceSidebar-CgYkySre.js} +11 -11
  12. package/dist/{IssuesPanel-NPzwTPYW.js → IssuesPanel-Do7RLXsP.js} +8 -8
  13. package/dist/{LoadingTrack-DH3OEM3z.js → LoadingTrack-BexpNuTV.js} +1 -1
  14. package/dist/{MergeTagModeToggle-DEGyx8tw.js → MergeTagModeToggle-hAJgIKhw.js} +6 -6
  15. package/dist/{MergeTagSuggestion-DvisJ9im.js → MergeTagSuggestion-BJ43ihWR.js} +34 -32
  16. package/dist/{NumberWithSuffix-CuHCIwSn.js → NumberWithSuffix-D37ZWiZh.js} +2 -2
  17. package/dist/{ParagraphEditor-DK_IPi9H.js → ParagraphEditor-DBG63S70.js} +74 -80
  18. package/dist/{RichTextEditorContent-DznIQcdY.js → RichTextEditorContent-fbYJXAio.js} +8 -8
  19. package/dist/{SaveBlockDialog-R9PbMsy-.js → SaveBlockDialog-Dq9UVihi.js} +10 -10
  20. package/dist/{SavedBlocksBrowserModal-ttPAklPE.js → SavedBlocksBrowserModal-CtFG4zeV.js} +11 -11
  21. package/dist/{SavedBlocksPanels-BCwQgKLF.js → SavedBlocksPanels-DNVdso_W.js} +2 -2
  22. package/dist/{SavedBlocksPickBar-DD5Ddv9t.js → SavedBlocksPickBar-Cv4dIpP-.js} +4 -4
  23. package/dist/{SnapshotHistory-BXSTGgBh.js → SnapshotHistory-DsOtMHOV.js} +10 -10
  24. package/dist/{TemplateScoringPanel-Ue6Dfnjb.js → TemplateScoringPanel-BZUsb3FD.js} +15 -15
  25. package/dist/{TestEmailModal-KPFc5oSv.js → TestEmailModal-CIwqtGfr.js} +11 -11
  26. package/dist/{TestEmailPanel-b8GHTrnE.js → TestEmailPanel-l6LDmBGM.js} +2 -2
  27. package/dist/{TitleEditor-8ln7UBr_.js → TitleEditor-imoBUynh.js} +12 -12
  28. package/dist/{TplModal-D_FA3Wm3.js → TplModal-DDDHcoir.js} +5 -5
  29. package/dist/{blockTypeIcons-BoZeK6l7.js → blockTypeIcons-CfLN4A6t.js} +2 -2
  30. package/dist/bundle-stats.json +6 -6
  31. package/dist/cdn/chunks/{AiChatSidebar-D6jGwb4y.js → AiChatSidebar-BHqNxNcX.js} +35 -35
  32. package/dist/cdn/chunks/{AiChatSidebar-D6jGwb4y.js.map → AiChatSidebar-BHqNxNcX.js.map} +1 -1
  33. package/dist/cdn/chunks/{AiFeatureMenu-BtEcjxLL.js → AiFeatureMenu-D2AIDwEG.js} +13 -13
  34. package/dist/cdn/chunks/{AiFeatureMenu-BtEcjxLL.js.map → AiFeatureMenu-D2AIDwEG.js.map} +1 -1
  35. package/dist/cdn/chunks/{BlockIssueBadge-dnqZk6pl.js → BlockIssueBadge-BEEY9o2o.js} +5 -5
  36. package/dist/cdn/chunks/{BlockIssueBadge-dnqZk6pl.js.map → BlockIssueBadge-BEEY9o2o.js.map} +1 -1
  37. package/dist/cdn/chunks/{BlockPreviewCanvas-D8pfTFWi.js → BlockPreviewCanvas-DH5ULGkw.js} +22 -22
  38. package/dist/cdn/chunks/{BlockPreviewCanvas-D8pfTFWi.js.map → BlockPreviewCanvas-DH5ULGkw.js.map} +1 -1
  39. package/dist/cdn/chunks/{CloudEditor-BJ4-pPAl.js → CloudEditor-C0nB1JfD.js} +67 -67
  40. package/dist/cdn/chunks/{CloudEditor-BJ4-pPAl.js.map → CloudEditor-C0nB1JfD.js.map} +1 -1
  41. package/dist/cdn/chunks/{CollaboratorBar-SeUOuLeJ.js → CollaboratorBar-f6Ni7KNH.js} +12 -12
  42. package/dist/cdn/chunks/{CollaboratorBar-SeUOuLeJ.js.map → CollaboratorBar-f6Ni7KNH.js.map} +1 -1
  43. package/dist/cdn/chunks/{ColorPicker-yxvrro60.js → ColorPicker-W_UyiVGc.js} +131 -131
  44. package/dist/cdn/chunks/{ColorPicker-yxvrro60.js.map → ColorPicker-W_UyiVGc.js.map} +1 -1
  45. package/dist/cdn/chunks/{CommentsSidebar-FPbg-FuU.js → CommentsSidebar-BLRZRSSC.js} +112 -112
  46. package/dist/cdn/chunks/{CommentsSidebar-FPbg-FuU.js.map → CommentsSidebar-BLRZRSSC.js.map} +1 -1
  47. package/dist/cdn/chunks/{CountdownBlock-D2Oth7YY.js → CountdownBlock-vLTkTI9e.js} +11 -11
  48. package/dist/cdn/chunks/{CountdownBlock-D2Oth7YY.js.map → CountdownBlock-vLTkTI9e.js.map} +1 -1
  49. package/dist/cdn/chunks/{CountdownToolbar-BNgTBQGB.js → CountdownToolbar-DPjcgcVR.js} +41 -41
  50. package/dist/cdn/chunks/{CountdownToolbar-BNgTBQGB.js.map → CountdownToolbar-DPjcgcVR.js.map} +1 -1
  51. package/dist/cdn/chunks/{DesignReferenceSidebar-ChB_HBK1.js → DesignReferenceSidebar-DBoEBKxQ.js} +34 -34
  52. package/dist/cdn/chunks/{DesignReferenceSidebar-ChB_HBK1.js.map → DesignReferenceSidebar-DBoEBKxQ.js.map} +1 -1
  53. package/dist/cdn/chunks/{IssuesPanel-CjiZ8cLW.js → IssuesPanel-DKTS4QVb.js} +32 -32
  54. package/dist/cdn/chunks/{IssuesPanel-CjiZ8cLW.js.map → IssuesPanel-DKTS4QVb.js.map} +1 -1
  55. package/dist/cdn/chunks/{LoadingTrack-CiNg9s16.js → LoadingTrack-C52ZGL5q.js} +2 -2
  56. package/dist/cdn/chunks/{LoadingTrack-CiNg9s16.js.map → LoadingTrack-C52ZGL5q.js.map} +1 -1
  57. package/dist/cdn/chunks/{MergeTagModeToggle-CiYbOKzd.js → MergeTagModeToggle-D8iKvz7v.js} +28 -28
  58. package/dist/cdn/chunks/{MergeTagModeToggle-CiYbOKzd.js.map → MergeTagModeToggle-D8iKvz7v.js.map} +1 -1
  59. package/dist/cdn/chunks/{MergeTagSuggestion-CvZLI6Np.js → MergeTagSuggestion-Dn8dExNa.js} +18 -18
  60. package/dist/cdn/chunks/{MergeTagSuggestion-CvZLI6Np.js.map → MergeTagSuggestion-Dn8dExNa.js.map} +1 -1
  61. package/dist/cdn/chunks/{NumberWithSuffix-vVwCWrd_.js → NumberWithSuffix-BXrRdfq1.js} +22 -22
  62. package/dist/cdn/chunks/{NumberWithSuffix-vVwCWrd_.js.map → NumberWithSuffix-BXrRdfq1.js.map} +1 -1
  63. package/dist/cdn/chunks/{ParagraphEditor-o4hs9mgy.js → ParagraphEditor-Cuc83Blj.js} +58 -58
  64. package/dist/cdn/chunks/{ParagraphEditor-o4hs9mgy.js.map → ParagraphEditor-Cuc83Blj.js.map} +1 -1
  65. package/dist/cdn/chunks/{RichTextEditorContent-BAriGldd.js → RichTextEditorContent-DtL49Jpo.js} +20 -20
  66. package/dist/cdn/chunks/{RichTextEditorContent-BAriGldd.js.map → RichTextEditorContent-DtL49Jpo.js.map} +1 -1
  67. package/dist/cdn/chunks/{SaveBlockDialog-D3-oILb5.js → SaveBlockDialog-B8KHhVkI.js} +50 -50
  68. package/dist/cdn/chunks/{SaveBlockDialog-D3-oILb5.js.map → SaveBlockDialog-B8KHhVkI.js.map} +1 -1
  69. package/dist/cdn/chunks/{SavedBlocksBrowserModal-jMnNd4wn.js → SavedBlocksBrowserModal-B-sjsIJv.js} +62 -62
  70. package/dist/cdn/chunks/{SavedBlocksBrowserModal-jMnNd4wn.js.map → SavedBlocksBrowserModal-B-sjsIJv.js.map} +1 -1
  71. package/dist/cdn/chunks/{SavedBlocksPanels-BDd8FH6l.js → SavedBlocksPanels-Bb-eDMAh.js} +3 -3
  72. package/dist/cdn/chunks/{SavedBlocksPanels-BDd8FH6l.js.map → SavedBlocksPanels-Bb-eDMAh.js.map} +1 -1
  73. package/dist/cdn/chunks/{SavedBlocksPickBar-BNkLe8In.js → SavedBlocksPickBar-GudFfXa4.js} +12 -12
  74. package/dist/cdn/chunks/{SavedBlocksPickBar-BNkLe8In.js.map → SavedBlocksPickBar-GudFfXa4.js.map} +1 -1
  75. package/dist/cdn/chunks/{SnapshotHistory-CYVi7fvQ.js → SnapshotHistory-Srpzt2na.js} +26 -26
  76. package/dist/cdn/chunks/{SnapshotHistory-CYVi7fvQ.js.map → SnapshotHistory-Srpzt2na.js.map} +1 -1
  77. package/dist/cdn/chunks/{TemplateScoringPanel-D0KrxVnr.js → TemplateScoringPanel-NucRtAP0.js} +42 -42
  78. package/dist/cdn/chunks/{TemplateScoringPanel-D0KrxVnr.js.map → TemplateScoringPanel-NucRtAP0.js.map} +1 -1
  79. package/dist/cdn/chunks/{TestEmailModal-_RbTD787.js → TestEmailModal-DLeoJqaJ.js} +31 -31
  80. package/dist/cdn/chunks/{TestEmailModal-_RbTD787.js.map → TestEmailModal-DLeoJqaJ.js.map} +1 -1
  81. package/dist/cdn/chunks/{TestEmailPanel-BAnKtbSu.js → TestEmailPanel-Dr7Dkq2P.js} +3 -3
  82. package/dist/cdn/chunks/{TestEmailPanel-BAnKtbSu.js.map → TestEmailPanel-Dr7Dkq2P.js.map} +1 -1
  83. package/dist/cdn/chunks/{TitleEditor-LiUvXGPw.js → TitleEditor-DzYRr18C.js} +35 -35
  84. package/dist/cdn/chunks/{TitleEditor-LiUvXGPw.js.map → TitleEditor-DzYRr18C.js.map} +1 -1
  85. package/dist/cdn/chunks/{TplModal-C1iguuZz.js → TplModal-byw7-3wg.js} +17 -17
  86. package/dist/cdn/chunks/{TplModal-C1iguuZz.js.map → TplModal-byw7-3wg.js.map} +1 -1
  87. package/dist/cdn/chunks/blockTypeIcons-FXlMM3PL.js +21 -0
  88. package/dist/cdn/chunks/{blockTypeIcons-CrPzyP_k.js.map → blockTypeIcons-FXlMM3PL.js.map} +1 -1
  89. package/dist/cdn/chunks/{cloud-CxNsW3hp.js → cloud-CuItCnN_.js} +4 -4
  90. package/dist/cdn/chunks/{cloud-CxNsW3hp.js.map → cloud-CuItCnN_.js.map} +1 -1
  91. package/dist/cdn/chunks/{dist-BLF-S9_A.js → dist-B2HKGHnc.js} +9 -7
  92. package/dist/cdn/chunks/{dist-BLF-S9_A.js.map → dist-B2HKGHnc.js.map} +1 -1
  93. package/dist/cdn/chunks/{dist-Dp46rwVY.js → dist-C6z8AjBC.js} +2 -2
  94. package/dist/cdn/chunks/{dist-Dp46rwVY.js.map → dist-C6z8AjBC.js.map} +1 -1
  95. package/dist/cdn/chunks/{draggable-BRF_Q_jB.js → draggable-DCs9qL-b.js} +114 -92
  96. package/dist/cdn/chunks/{draggable-BRF_Q_jB.js.map → draggable-DCs9qL-b.js.map} +1 -1
  97. package/dist/cdn/chunks/{extensions-yNQlgLNE.js → extensions-B7laxHjs.js} +22 -22
  98. package/dist/cdn/chunks/{extensions-yNQlgLNE.js.map → extensions-B7laxHjs.js.map} +1 -1
  99. package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js → htmlparser-DTML8Gvz.js} +8 -7
  100. package/dist/cdn/chunks/{htmlparser-CPhs2cYE.js.map → htmlparser-DTML8Gvz.js.map} +1 -1
  101. package/dist/cdn/chunks/{icons-DN008liP.js → icons-CvYN6zrM.js} +74 -80
  102. package/dist/cdn/chunks/icons-CvYN6zrM.js.map +1 -0
  103. package/dist/cdn/chunks/{keys-CZOBuCQd.js → keys-Cmc2Yl3D.js} +2 -2
  104. package/dist/cdn/chunks/{keys-CZOBuCQd.js.map → keys-Cmc2Yl3D.js.map} +1 -1
  105. package/dist/cdn/chunks/{liquid.browser-CZaQe87t.js → liquid.browser-UlAOKBjI.js} +120 -110
  106. package/dist/cdn/chunks/liquid.browser-UlAOKBjI.js.map +1 -0
  107. package/dist/cdn/chunks/{pusher-kUlkqMvR.js → pusher-BbIHJKf3.js} +29 -25
  108. package/dist/cdn/chunks/{pusher-kUlkqMvR.js.map → pusher-BbIHJKf3.js.map} +1 -1
  109. package/dist/cdn/chunks/{src-uc_Mb_yH.js → src-BYKYmEOD.js} +7 -6
  110. package/dist/cdn/chunks/src-BYKYmEOD.js.map +1 -0
  111. package/dist/cdn/chunks/{src-D_3bXt7-.js → src-Bi-Qhtfs.js} +3 -3
  112. package/dist/cdn/chunks/{src-D_3bXt7-.js.map → src-Bi-Qhtfs.js.map} +1 -1
  113. package/dist/cdn/chunks/{src-B2LpXMIw.js → src-C0N74uvF.js} +280 -277
  114. package/dist/cdn/chunks/{src-B2LpXMIw.js.map → src-C0N74uvF.js.map} +1 -1
  115. package/dist/cdn/chunks/{src-CZjSXPYq.js → src-EKTTBQ0y.js} +3 -2
  116. package/dist/cdn/chunks/src-EKTTBQ0y.js.map +1 -0
  117. package/dist/cdn/chunks/{styles-BzP13r-I.js → styles-C7s-VtJi.js} +1112 -1094
  118. package/dist/cdn/chunks/styles-C7s-VtJi.js.map +1 -0
  119. package/dist/cdn/chunks/{tiptap-CgwK_fKJ.js → tiptap-C44S1Cmh.js} +3681 -2965
  120. package/dist/cdn/chunks/tiptap-C44S1Cmh.js.map +1 -0
  121. package/dist/cdn/chunks/{useAliveFlag-Ctyt3GgH.js → useAliveFlag-Dxwgo6P4.js} +2 -2
  122. package/dist/cdn/chunks/{useAliveFlag-Ctyt3GgH.js.map → useAliveFlag-Dxwgo6P4.js.map} +1 -1
  123. package/dist/cdn/chunks/{useCloudI18n-CML0BxqX.js → useCloudI18n-8wkJtuJD.js} +3 -3
  124. package/dist/cdn/chunks/{useCloudI18n-CML0BxqX.js.map → useCloudI18n-8wkJtuJD.js.map} +1 -1
  125. package/dist/cdn/chunks/{useEditorCore-CTYH6u4r.js → useEditorCore-C_nUXiph.js} +275 -275
  126. package/dist/cdn/chunks/useEditorCore-C_nUXiph.js.map +1 -0
  127. package/dist/cdn/chunks/{useI18n-aRMtgYRj.js → useI18n-UMs0F71x.js} +3 -3
  128. package/dist/cdn/chunks/{useI18n-aRMtgYRj.js.map → useI18n-UMs0F71x.js.map} +1 -1
  129. package/dist/cdn/chunks/{useMergeTag-8a8BnIZp.js → useMergeTag-CPa_9VOq.js} +4 -4
  130. package/dist/cdn/chunks/{useMergeTag-8a8BnIZp.js.map → useMergeTag-CPa_9VOq.js.map} +1 -1
  131. package/dist/cdn/chunks/{usePopoverPosition-Dm1jv3y5.js → usePopoverPosition-cf8Y-ynK.js} +3 -3
  132. package/dist/cdn/chunks/{usePopoverPosition-Dm1jv3y5.js.map → usePopoverPosition-cf8Y-ynK.js.map} +1 -1
  133. package/dist/cdn/editor.js +47 -47
  134. package/dist/cdn/editor.js.map +1 -1
  135. package/dist/{check-Bqimqf7l.js → check-On4TSac-.js} +1 -1
  136. package/dist/{chevron-down-CYOoeGBd.js → chevron-down-69EiBGoB.js} +1 -1
  137. package/dist/{chevron-up-DYknsfm0.js → chevron-up-Dh3MG1Dw.js} +1 -1
  138. package/dist/{circle-alert-6q_jgtv_.js → circle-alert-cilwzafX.js} +1 -1
  139. package/dist/{clock-CnadSSTD.js → clock-Dt0APH92.js} +1 -1
  140. package/dist/{cloud-BJLg_SlM.js → cloud-C7-FhzMc.js} +2 -2
  141. package/dist/{createLucideIcon-D7GKhya2.js → createLucideIcon-C8WzBYCv.js} +3 -3
  142. package/dist/dist-6YJAWMuf.js +5 -0
  143. package/dist/dist-8vlm9kfO.js +5 -0
  144. package/dist/{dist-DSIgxp0v.js → dist-BImfm-46.js} +2 -2
  145. package/dist/{dist-DDfXShPv.js → dist-BpKxrUi2.js} +1 -1
  146. package/dist/{dist-B6Px6GPj.js → dist-C08jiemd.js} +7 -7
  147. package/dist/{dist-BxbTVeY0.js → dist-C27SeFL5.js} +15 -15
  148. package/dist/{dist-nR6mxyqI.js → dist-CYx-E82k.js} +2 -2
  149. package/dist/{dist-CcQFPJMF.js → dist-ChYLhoJ4.js} +2300 -1704
  150. package/dist/{dist-C31bMR4x.js → dist-Cl8J0IES.js} +270 -182
  151. package/dist/{dist-CQ0fVBQ3.js → dist-D5zCZFdU.js} +2 -1
  152. package/dist/{dist-Dx71pluS.js → dist-DMJRSouD.js} +470 -440
  153. package/dist/{dist-DyCHUyRR.js → dist-DfpeSdmE.js} +2 -2
  154. package/dist/{dist-DX4x6mQ1.js → dist-M7m1lYRe.js} +47 -47
  155. package/dist/{dist-CRH880TV.js → dist-g6cbzhZW.js} +2 -2
  156. package/dist/{extensions-CbiWtzS6.js → extensions-CxwhoG8v.js} +19 -19
  157. package/dist/{image-up-BfukboIn.js → image-up-Ceggh_R3.js} +1 -1
  158. package/dist/{info-DSYRzSZo.js → info-DO5odBcZ.js} +1 -1
  159. package/dist/{keys-BI6VSUh4.js → keys-fwF3qZax.js} +1 -1
  160. package/dist/{liquid.browser-BECWFL5Z.js → liquid.browser-B-rGrnrQ.js} +119 -109
  161. package/dist/{list-checks-URZOyLhr.js → list-checks-BSkPKbuI.js} +1 -1
  162. package/dist/{loader-circle-GADaYcyQ.js → loader-circle-bO7o7_HD.js} +1 -1
  163. package/dist/{message-circle-B62fdo0b.js → message-circle-BEkAk65X.js} +1 -1
  164. package/dist/{pencil-BGwkOpD_.js → pencil-t6m0EtKL.js} +1 -1
  165. package/dist/{refresh-cw-Z4wXfduO.js → refresh-cw-CkOYVzK5.js} +1 -1
  166. package/dist/{runtime-dom.esm-bundler-BkOsapVg.js → runtime-dom.esm-bundler-CepEmvwF.js} +13 -10
  167. package/dist/{scan-line-D8Oh5xos.js → scan-line-DwSVj25O.js} +1 -1
  168. package/dist/{send-BYp4k38T.js → send-CWsWN8PQ.js} +1 -1
  169. package/dist/{shield-check-Cm0RePnW.js → shield-check-qje8Kufw.js} +1 -1
  170. package/dist/{sparkles-BHEE-vRD.js → sparkles-DumaWRW-.js} +1 -1
  171. package/dist/{styles-B0MEBpOK.js → styles-C_slTGwp.js} +454 -436
  172. package/dist/templatical-editor.js +11 -11
  173. package/dist/{text-align-start-CHrg3vK8.js → text-align-start-Ir8Ah4mT.js} +1 -1
  174. package/dist/{trash-2-BoNT8wbq.js → trash-2-CklAFCmO.js} +1 -1
  175. package/dist/{triangle-alert-CiN0ssB3.js → triangle-alert-BBi4n93g.js} +1 -1
  176. package/dist/{upload-WvZGBySw.js → upload-sVqqppuv.js} +1 -1
  177. package/dist/{useAliveFlag-eT67QCMf.js → useAliveFlag-cvyBxHp7.js} +1 -1
  178. package/dist/{useCloudI18n-KgIWl-IE.js → useCloudI18n-DKVm6PCa.js} +2 -2
  179. package/dist/{useEditorCore-BMbxdUbY.js → useEditorCore-r4gWzCBA.js} +893 -893
  180. package/dist/{useI18n-BkHfCWC6.js → useI18n-DoVKdCTH.js} +2 -2
  181. package/dist/{useMergeTag-CZ4XYAxu.js → useMergeTag-C-_WxrgL.js} +3 -3
  182. package/dist/{usePopoverPosition-D93u-EZm.js → usePopoverPosition-C0dPEF4X.js} +3 -3
  183. package/dist/{vue.runtime.esm-bundler-0R1UhmZB.js → vue.runtime.esm-bundler-D1diBMsm.js} +119 -95
  184. package/dist/{x-B4WnJVRx.js → x-Mby7KlhS.js} +1 -1
  185. package/package.json +23 -23
  186. package/dist/cdn/chunks/blockTypeIcons-CrPzyP_k.js +0 -21
  187. package/dist/cdn/chunks/icons-DN008liP.js.map +0 -1
  188. package/dist/cdn/chunks/liquid.browser-CZaQe87t.js.map +0 -1
  189. package/dist/cdn/chunks/src-CZjSXPYq.js.map +0 -1
  190. package/dist/cdn/chunks/src-uc_Mb_yH.js.map +0 -1
  191. package/dist/cdn/chunks/styles-BzP13r-I.js.map +0 -1
  192. package/dist/cdn/chunks/tiptap-CgwK_fKJ.js.map +0 -1
  193. package/dist/cdn/chunks/useEditorCore-CTYH6u4r.js.map +0 -1
  194. package/dist/dist-CkPvZCld.js +0 -5
  195. package/dist/dist-iCEDH3cC.js +0 -5
@@ -1,43 +1,43 @@
1
- import { A as e, Dt as t, Et as n, H as r, I as i, K as a, N as o, O as s, Ot as c, R as l, W as u, Y as d, _ as f, c as p, d as m, g as h, h as g, j as _, k as v, l as y, m as b, nt as x, q as S, r as C, s as w, u as T, w as E, x as D, y as O, z as k } from "./vue.runtime.esm-bundler-0R1UhmZB.js";
2
- import { a as A, c as j, o as M, s as N, t as P } from "./runtime-dom.esm-bundler-BkOsapVg.js";
3
- import { t as F } from "./upload-WvZGBySw.js";
4
- import { A as ee, E as I, M as L, N as R, T as z, a as B, c as V, f as te, k as ne, l as re, s as ie } from "./dist-CQ0fVBQ3.js";
5
- import { B as ae, F as oe, I as H, J as se, K as ce, L as le, N as ue, U as de, V as fe, _ as pe, a as me, b as he, c as ge, f as _e, g as ve, h as ye, i as be, k as xe, l as Se, m as Ce, n as we, o as Te, p as Ee, r as De, s as Oe, u as ke, v as Ae, w as je, y as Me, z as Ne } from "./useEditorCore-BMbxdUbY.js";
6
- import { c as Pe, m as Fe } from "./dist-DDfXShPv.js";
7
- import { a as Ie, n as Le } from "./usePopoverPosition-D93u-EZm.js";
8
- import { A as Re, B as ze, G as Be, H as Ve, I as He, M as Ue, O as We, P as Ge, R as Ke, T as qe, U as Je, V as Ye, W as Xe, c as Ze, f as Qe, g as $e, h as et, k as tt, m as nt, n as rt, o as it, p as at, r as ot, s as st, u as ct, v as lt } from "./keys-BI6VSUh4.js";
9
- import { t as U } from "./useI18n-BkHfCWC6.js";
10
- import { t as W } from "./createLucideIcon-D7GKhya2.js";
11
- import { n as ut, t as dt } from "./scan-line-D8Oh5xos.js";
12
- import { t as ft } from "./chevron-down-CYOoeGBd.js";
13
- import { t as pt } from "./circle-alert-6q_jgtv_.js";
14
- import { i as mt, n as ht, r as gt, t as _t } from "./blockTypeIcons-BoZeK6l7.js";
15
- import { n as vt, t as yt } from "./refresh-cw-Z4wXfduO.js";
16
- import { t as bt } from "./image-up-BfukboIn.js";
17
- import { t as xt } from "./info-DSYRzSZo.js";
18
- import { t as St } from "./list-checks-URZOyLhr.js";
19
- import { t as Ct } from "./loader-circle-GADaYcyQ.js";
20
- import { i as wt, r as Tt } from "./MergeTagModeToggle-DEGyx8tw.js";
21
- import { t as Et } from "./sparkles-BHEE-vRD.js";
22
- import { n as Dt, r as Ot, t as kt } from "./text-align-start-CHrg3vK8.js";
23
- import { t as At } from "./trash-2-BoNT8wbq.js";
24
- import { t as jt } from "./x-B4WnJVRx.js";
1
+ import { A as e, Dt as t, Et as n, H as r, I as i, K as a, N as o, O as s, Ot as c, R as l, W as u, Y as d, _ as f, c as p, d as m, g as h, h as g, j as _, k as v, l as y, m as b, nt as x, q as S, r as C, s as w, u as T, w as E, x as D, y as O, z as k } from "./vue.runtime.esm-bundler-D1diBMsm.js";
2
+ import { a as A, c as j, o as M, s as N, t as P } from "./runtime-dom.esm-bundler-CepEmvwF.js";
3
+ import { t as F } from "./upload-sVqqppuv.js";
4
+ import { A as ee, E as I, M as L, N as R, T as z, a as B, c as V, f as te, k as ne, l as re, s as ie } from "./dist-D5zCZFdU.js";
5
+ import { B as ae, F as oe, I as H, J as se, K as ce, L as le, N as ue, U as de, V as fe, _ as pe, a as me, b as he, c as ge, f as _e, g as ve, h as ye, i as be, k as xe, l as Se, m as Ce, n as we, o as Te, p as Ee, r as De, s as Oe, u as ke, v as Ae, w as je, y as Me, z as Ne } from "./useEditorCore-r4gWzCBA.js";
6
+ import { c as Pe, m as Fe } from "./dist-BpKxrUi2.js";
7
+ import { a as Ie, n as Le } from "./usePopoverPosition-C0dPEF4X.js";
8
+ import { A as Re, B as ze, G as Be, H as Ve, I as He, M as Ue, O as We, P as Ge, R as Ke, T as qe, U as Je, V as Ye, W as Xe, c as Ze, f as Qe, g as $e, h as et, k as tt, m as nt, n as rt, o as it, p as at, r as ot, s as st, u as ct, v as lt } from "./keys-fwF3qZax.js";
9
+ import { t as U } from "./useI18n-DoVKdCTH.js";
10
+ import { t as W } from "./createLucideIcon-C8WzBYCv.js";
11
+ import { n as ut, t as dt } from "./scan-line-DwSVj25O.js";
12
+ import { t as ft } from "./chevron-down-69EiBGoB.js";
13
+ import { t as pt } from "./circle-alert-cilwzafX.js";
14
+ import { i as mt, n as ht, r as gt, t as _t } from "./blockTypeIcons-CfLN4A6t.js";
15
+ import { n as vt, t as yt } from "./refresh-cw-CkOYVzK5.js";
16
+ import { t as bt } from "./image-up-Ceggh_R3.js";
17
+ import { t as xt } from "./info-DO5odBcZ.js";
18
+ import { t as St } from "./list-checks-BSkPKbuI.js";
19
+ import { t as Ct } from "./loader-circle-bO7o7_HD.js";
20
+ import { i as wt, r as Tt } from "./MergeTagModeToggle-hAJgIKhw.js";
21
+ import { t as Et } from "./sparkles-DumaWRW-.js";
22
+ import { n as Dt, r as Ot, t as kt } from "./text-align-start-Ir8Ah4mT.js";
23
+ import { t as At } from "./trash-2-CklAFCmO.js";
24
+ import { t as jt } from "./x-Mby7KlhS.js";
25
25
  import { t as Mt } from "./_plugin-vue_export-helper-B3ysoDQm.js";
26
- import { t as Nt } from "./useCloudI18n-KgIWl-IE.js";
27
- import { t as Pt } from "./useMergeTag-CZ4XYAxu.js";
28
- import { t as Ft } from "./useAliveFlag-eT67QCMf.js";
26
+ import { t as Nt } from "./useCloudI18n-DKVm6PCa.js";
27
+ import { t as Pt } from "./useMergeTag-C-_WxrgL.js";
28
+ import { t as Ft } from "./useAliveFlag-cvyBxHp7.js";
29
29
  import { n as It, t as Lt } from "./emailFrameWidth-BmFCN2dp.js";
30
30
  import { t as Rt } from "./readableTextColor-f8Kykfnh.js";
31
- import { _ as zt, f as G, g as Bt, h as K, i as Vt, l as Ht, m as q, n as Ut, p as J, t as Y, u as Wt } from "./ColorPicker-VPq4ASC8.js";
32
- import { n as Gt, r as Kt } from "./MergeTagSuggestion-DvisJ9im.js";
33
- import { i as X, n as Z, r as qt, t as Jt } from "./NumberWithSuffix-CuHCIwSn.js";
34
- import { t as Yt } from "./TplModal-D_FA3Wm3.js";
35
- var Xt = W("circle", [["circle", {
31
+ import { _ as zt, f as G, g as Bt, h as K, i as Vt, l as Ht, m as q, n as Ut, p as J, t as Y, u as Wt } from "./ColorPicker-ClETsjA3.js";
32
+ import { n as Gt, r as Kt } from "./MergeTagSuggestion-BJ43ihWR.js";
33
+ import { i as X, n as Z, r as Q, t as qt } from "./NumberWithSuffix-D37ZWiZh.js";
34
+ import { t as Jt } from "./TplModal-DDDHcoir.js";
35
+ var Yt = W("circle", [["circle", {
36
36
  cx: "12",
37
37
  cy: "12",
38
38
  r: "10",
39
39
  key: "1mglay"
40
- }]]), Zt = W("globe", [
40
+ }]]), Xt = W("globe", [
41
41
  ["circle", {
42
42
  cx: "12",
43
43
  cy: "12",
@@ -52,7 +52,7 @@ var Xt = W("circle", [["circle", {
52
52
  d: "M2 12h20",
53
53
  key: "9i4pu4"
54
54
  }]
55
- ]), Qt = W("layout-template", [
55
+ ]), Zt = W("layout-template", [
56
56
  ["rect", {
57
57
  width: "18",
58
58
  height: "7",
@@ -77,7 +77,7 @@ var Xt = W("circle", [["circle", {
77
77
  rx: "1",
78
78
  key: "q5h2i8"
79
79
  }]
80
- ]), $t = W("lock-open", [["rect", {
80
+ ]), Qt = W("lock-open", [["rect", {
81
81
  width: "18",
82
82
  height: "11",
83
83
  x: "3",
@@ -88,7 +88,7 @@ var Xt = W("circle", [["circle", {
88
88
  }], ["path", {
89
89
  d: "M7 11V7a5 5 0 0 1 9.9-1",
90
90
  key: "1mm8w8"
91
- }]]), en = W("lock", [["rect", {
91
+ }]]), $t = W("lock", [["rect", {
92
92
  width: "18",
93
93
  height: "11",
94
94
  x: "3",
@@ -99,10 +99,10 @@ var Xt = W("circle", [["circle", {
99
99
  }], ["path", {
100
100
  d: "M7 11V7a5 5 0 0 1 10 0v4",
101
101
  key: "fwvmzm"
102
- }]]), tn = W("moon", [["path", {
102
+ }]]), en = W("moon", [["path", {
103
103
  d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",
104
104
  key: "kfwtm"
105
- }]]), nn = W("panel-top", [["rect", {
105
+ }]]), tn = W("panel-top", [["rect", {
106
106
  width: "18",
107
107
  height: "18",
108
108
  x: "3",
@@ -112,7 +112,7 @@ var Xt = W("circle", [["circle", {
112
112
  }], ["path", {
113
113
  d: "M3 9h18",
114
114
  key: "1pudct"
115
- }]]), Q = W("plus", [["path", {
115
+ }]]), nn = W("plus", [["path", {
116
116
  d: "M5 12h14",
117
117
  key: "1ays0h"
118
118
  }], ["path", {
@@ -1234,7 +1234,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1234
1234
  }, null, 42, vr), p("span", { class: n(x(q)) }, "px", 2)])])
1235
1235
  ], 2),
1236
1236
  p("div", { class: n(x(Wt)) }, [
1237
- p("div", yr, [g(x(Xt), {
1237
+ p("div", yr, [g(x(Yt), {
1238
1238
  class: "tpl:text-[var(--tpl-text-muted)]",
1239
1239
  size: 14,
1240
1240
  "stroke-width": 2
@@ -1269,7 +1269,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1269
1269
  value: e.value
1270
1270
  }, c(e.label), 9, Tr))), 128))], 42, wr)])
1271
1271
  ], 2),
1272
- p("div", { class: n(x(Wt)) }, [p("div", Er, [g(x(Zt), {
1272
+ p("div", { class: n(x(Wt)) }, [p("div", Er, [g(x(Xt), {
1273
1273
  class: "tpl:text-[var(--tpl-text-muted)]",
1274
1274
  size: 14,
1275
1275
  "stroke-width": 2
@@ -1378,7 +1378,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1378
1378
  }), [["__scopeId", "data-v-d6563be6"]]), qr = { class: "tpl:mb-3.5" }, Jr = ["value"], Yr = { value: "" }, Xr = ["value"], Zr = { class: "tpl:mb-3.5" }, Qr = { class: "tpl:mb-3.5" }, $r = { class: "tpl:mb-3.5" }, ei = { class: "tpl:mb-3.5" }, ti = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, ni = { class: "tpl:mb-3.5" }, ri = { class: "tpl:flex tpl:items-stretch" }, ii = ["value"], ai = { class: "tpl:mb-3.5" }, oi = { class: "tpl:flex tpl:items-stretch" }, si = ["value"], ci = { class: "tpl:mb-3.5" }, li = ["value"], ui = { value: "auto" }, di = { value: "full" }, fi = { value: "custom" }, pi = {
1379
1379
  key: 0,
1380
1380
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1381
- }, mi = ["value"], hi = 200, gi = /* @__PURE__ */ f({
1381
+ }, mi = ["value"], hi = { class: "tpl:mb-3.5" }, gi = 200, _i = /* @__PURE__ */ f({
1382
1382
  __name: "ButtonToolbar",
1383
1383
  props: {
1384
1384
  block: {},
@@ -1396,7 +1396,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1396
1396
  return;
1397
1397
  }
1398
1398
  if (e === "custom") {
1399
- u("width", typeof i.block.width == "number" ? i.block.width : hi);
1399
+ u("width", typeof i.block.width == "number" ? i.block.width : gi);
1400
1400
  return;
1401
1401
  }
1402
1402
  u("width", void 0);
@@ -1472,14 +1472,32 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1472
1472
  l.value === "custom" ? (s(), m("div", pi, [p("input", {
1473
1473
  type: "number",
1474
1474
  class: n(x(J)),
1475
- value: typeof t.block.width == "number" ? t.block.width : hi,
1475
+ value: typeof t.block.width == "number" ? t.block.width : gi,
1476
1476
  min: "20",
1477
1477
  onInput: i[9] ||= (e) => f(e.target.value)
1478
1478
  }, null, 42, mi), p("span", { class: n(x(q)) }, "px", 2)])) : T("", !0)
1479
- ])
1479
+ ]),
1480
+ p("div", hi, [p("label", { class: n(x(K)) }, c(x(o).title.align), 3), g(Q, {
1481
+ options: [
1482
+ {
1483
+ value: "left",
1484
+ label: x(o).title.alignLeft
1485
+ },
1486
+ {
1487
+ value: "center",
1488
+ label: x(o).title.alignCenter
1489
+ },
1490
+ {
1491
+ value: "right",
1492
+ label: x(o).title.alignRight
1493
+ }
1494
+ ],
1495
+ "model-value": t.block.align ?? "center",
1496
+ "onUpdate:modelValue": i[10] ||= (e) => u("align", e)
1497
+ }, null, 8, ["options", "model-value"])])
1480
1498
  ], 64));
1481
1499
  }
1482
- }), _i = { class: "spacing-control" }, vi = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, yi = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, bi = { class: "tpl:flex tpl:items-center" }, xi = ["aria-label"], Si = ["value", "aria-label"], Ci = ["aria-label"], wi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ti = { class: "tpl:flex tpl:items-center" }, Ei = ["aria-label"], Di = ["value", "aria-label"], Oi = ["aria-label"], ki = ["aria-label", "title"], Ai = { class: "tpl:flex tpl:items-center" }, ji = ["aria-label"], Mi = ["value", "aria-label"], Ni = ["aria-label"], Pi = { class: "tpl:flex tpl:items-center" }, Fi = ["aria-label"], Ii = ["value", "aria-label"], Li = ["aria-label"], Ri = "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)] hover:tpl:bg-[var(--tpl-bg-hover)] hover:tpl:text-[var(--tpl-text)] active:tpl:bg-[var(--tpl-bg-active)]", zi = "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] focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", Bi = /*#__PURE__*/ Mt(/* @__PURE__ */ f({
1500
+ }), vi = { class: "spacing-control" }, yi = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, bi = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, xi = { class: "tpl:flex tpl:items-center" }, Si = ["aria-label"], Ci = ["value", "aria-label"], wi = ["aria-label"], Ti = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ei = { class: "tpl:flex tpl:items-center" }, Di = ["aria-label"], Oi = ["value", "aria-label"], ki = ["aria-label"], Ai = ["aria-label", "title"], ji = { class: "tpl:flex tpl:items-center" }, Mi = ["aria-label"], Ni = ["value", "aria-label"], Pi = ["aria-label"], Fi = { class: "tpl:flex tpl:items-center" }, Ii = ["aria-label"], Li = ["value", "aria-label"], Ri = ["aria-label"], zi = "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)] hover:tpl:bg-[var(--tpl-bg-hover)] hover:tpl:text-[var(--tpl-text)] active:tpl:bg-[var(--tpl-bg-active)]", Bi = "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] focus:tpl:border-[var(--tpl-primary)] focus:tpl:shadow-[var(--tpl-ring)]", Vi = /*#__PURE__*/ Mt(/* @__PURE__ */ f({
1483
1501
  __name: "SpacingControl",
1484
1502
  props: {
1485
1503
  modelValue: {},
@@ -1526,130 +1544,130 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1526
1544
  });
1527
1545
  }
1528
1546
  }
1529
- return (t, r) => (s(), m("div", _i, [p("label", vi, c(e.label), 1), p("div", yi, [
1530
- p("div", bi, [
1547
+ return (t, r) => (s(), m("div", vi, [p("label", yi, c(e.label), 1), p("div", bi, [
1548
+ p("div", xi, [
1531
1549
  p("button", {
1532
1550
  "aria-label": x(o).spacingControl.decreaseTop,
1533
- class: n([Ri, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1551
+ class: n([zi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1534
1552
  onClick: r[0] ||= (e) => f("top", -1)
1535
1553
  }, [g(x(mt), {
1536
1554
  size: 12,
1537
1555
  "stroke-width": 2
1538
- })], 10, xi),
1556
+ })], 10, Si),
1539
1557
  p("input", {
1540
1558
  type: "number",
1541
- class: n(zi),
1559
+ class: n(Bi),
1542
1560
  value: e.modelValue.top,
1543
1561
  "aria-label": x(o).spacingControl.top,
1544
1562
  min: "0",
1545
1563
  onInput: r[1] ||= (e) => h("top", Number(e.target.value))
1546
- }, null, 40, Si),
1564
+ }, null, 40, Ci),
1547
1565
  p("button", {
1548
1566
  "aria-label": x(o).spacingControl.increaseTop,
1549
- class: n([Ri, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1567
+ class: n([zi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1550
1568
  onClick: r[2] ||= (e) => f("top", 1)
1551
- }, [g(x(Q), {
1569
+ }, [g(x(nn), {
1552
1570
  size: 12,
1553
1571
  "stroke-width": 2
1554
- })], 10, Ci)
1572
+ })], 10, wi)
1555
1573
  ]),
1556
- p("div", wi, [
1557
- p("div", Ti, [
1574
+ p("div", Ti, [
1575
+ p("div", Ei, [
1558
1576
  p("button", {
1559
1577
  "aria-label": x(o).spacingControl.decreaseLeft,
1560
- class: n([Ri, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1578
+ class: n([zi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1561
1579
  onClick: r[3] ||= (e) => f("left", -1)
1562
1580
  }, [g(x(mt), {
1563
1581
  size: 12,
1564
1582
  "stroke-width": 2
1565
- })], 10, Ei),
1583
+ })], 10, Di),
1566
1584
  p("input", {
1567
1585
  type: "number",
1568
- class: n(zi),
1586
+ class: n(Bi),
1569
1587
  value: e.modelValue.left,
1570
1588
  "aria-label": x(o).spacingControl.left,
1571
1589
  min: "0",
1572
1590
  onInput: r[4] ||= (e) => h("left", Number(e.target.value))
1573
- }, null, 40, Di),
1591
+ }, null, 40, Oi),
1574
1592
  p("button", {
1575
1593
  "aria-label": x(o).spacingControl.increaseLeft,
1576
- class: n([Ri, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1594
+ class: n([zi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1577
1595
  onClick: r[5] ||= (e) => f("left", 1)
1578
- }, [g(x(Q), {
1596
+ }, [g(x(nn), {
1579
1597
  size: 12,
1580
1598
  "stroke-width": 2
1581
- })], 10, Oi)
1599
+ })], 10, ki)
1582
1600
  ]),
1583
1601
  p("button", {
1584
1602
  class: n(["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)]", u.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)] hover:tpl:bg-[var(--tpl-bg-hover)]"]),
1585
1603
  "aria-label": u.value ? x(o).spacingControl.unlock : x(o).spacingControl.lockAll,
1586
1604
  title: u.value ? x(o).spacingControl.unlock : x(o).spacingControl.lockAll,
1587
1605
  onClick: _
1588
- }, [u.value ? (s(), y(x(en), {
1606
+ }, [u.value ? (s(), y(x($t), {
1589
1607
  key: 0,
1590
1608
  size: 14,
1591
1609
  "stroke-width": 2
1592
- })) : (s(), y(x($t), {
1610
+ })) : (s(), y(x(Qt), {
1593
1611
  key: 1,
1594
1612
  size: 14,
1595
1613
  "stroke-width": 2
1596
- }))], 10, ki),
1597
- p("div", Ai, [
1614
+ }))], 10, Ai),
1615
+ p("div", ji, [
1598
1616
  p("button", {
1599
1617
  "aria-label": x(o).spacingControl.decreaseRight,
1600
- class: n([Ri, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1618
+ class: n([zi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1601
1619
  onClick: r[6] ||= (e) => f("right", -1)
1602
1620
  }, [g(x(mt), {
1603
1621
  size: 12,
1604
1622
  "stroke-width": 2
1605
- })], 10, ji),
1623
+ })], 10, Mi),
1606
1624
  p("input", {
1607
1625
  type: "number",
1608
- class: n(zi),
1626
+ class: n(Bi),
1609
1627
  value: e.modelValue.right,
1610
1628
  "aria-label": x(o).spacingControl.right,
1611
1629
  min: "0",
1612
1630
  onInput: r[7] ||= (e) => h("right", Number(e.target.value))
1613
- }, null, 40, Mi),
1631
+ }, null, 40, Ni),
1614
1632
  p("button", {
1615
1633
  "aria-label": x(o).spacingControl.increaseRight,
1616
- class: n([Ri, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1634
+ class: n([zi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1617
1635
  onClick: r[8] ||= (e) => f("right", 1)
1618
- }, [g(x(Q), {
1636
+ }, [g(x(nn), {
1619
1637
  size: 12,
1620
1638
  "stroke-width": 2
1621
- })], 10, Ni)
1639
+ })], 10, Pi)
1622
1640
  ])
1623
1641
  ]),
1624
- p("div", Pi, [
1642
+ p("div", Fi, [
1625
1643
  p("button", {
1626
1644
  "aria-label": x(o).spacingControl.decreaseBottom,
1627
- class: n([Ri, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1645
+ class: n([zi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1628
1646
  onClick: r[9] ||= (e) => f("bottom", -1)
1629
1647
  }, [g(x(mt), {
1630
1648
  size: 12,
1631
1649
  "stroke-width": 2
1632
- })], 10, Fi),
1650
+ })], 10, Ii),
1633
1651
  p("input", {
1634
1652
  type: "number",
1635
- class: n(zi),
1653
+ class: n(Bi),
1636
1654
  value: e.modelValue.bottom,
1637
1655
  "aria-label": x(o).spacingControl.bottom,
1638
1656
  min: "0",
1639
1657
  onInput: r[10] ||= (e) => h("bottom", Number(e.target.value))
1640
- }, null, 40, Ii),
1658
+ }, null, 40, Li),
1641
1659
  p("button", {
1642
1660
  "aria-label": x(o).spacingControl.increaseBottom,
1643
- class: n([Ri, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1661
+ class: n([zi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1644
1662
  onClick: r[11] ||= (e) => f("bottom", 1)
1645
- }, [g(x(Q), {
1663
+ }, [g(x(nn), {
1646
1664
  size: 12,
1647
1665
  "stroke-width": 2
1648
- })], 10, Li)
1666
+ })], 10, Ri)
1649
1667
  ])
1650
1668
  ])]));
1651
1669
  }
1652
- }), [["__scopeId", "data-v-9a9c8a07"]]), Vi = ["data-testid"], Hi = { class: "tpl:mt-3" }, Ui = /* @__PURE__ */ f({
1670
+ }), [["__scopeId", "data-v-9a9c8a07"]]), Hi = ["data-testid"], Ui = { class: "tpl:mt-3" }, Wi = /* @__PURE__ */ f({
1653
1671
  __name: "CollapsibleSection",
1654
1672
  props: {
1655
1673
  title: {},
@@ -1668,21 +1686,21 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1668
1686
  class: n(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1669
1687
  size: 12,
1670
1688
  "stroke-width": 2
1671
- }, null, 8, ["class"]), p("span", null, c(e.title), 1)], 8, Vi), k(p("div", Hi, [_(t.$slots, "default")], 512), [[M, e.open]])], 2));
1689
+ }, null, 8, ["class"]), p("span", null, c(e.title), 1)], 8, Hi), k(p("div", Ui, [_(t.$slots, "default")], 512), [[M, e.open]])], 2));
1672
1690
  }
1673
- }), Wi = { class: "tpl:space-y-2" }, Gi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ki = { class: "tpl:space-y-2" }, qi = ["value"], Ji = { value: "" }, Yi = ["label"], Xi = ["value"], Zi = ["value"], Qi = {
1691
+ }), Gi = { class: "tpl:space-y-2" }, Ki = { class: "tpl:flex tpl:items-center tpl:gap-2" }, qi = { class: "tpl:space-y-2" }, Ji = ["value"], Yi = { value: "" }, Xi = ["label"], Zi = ["value"], Qi = ["value"], $i = {
1674
1692
  key: 0,
1675
1693
  value: "__custom__"
1676
- }, $i = {
1694
+ }, ea = {
1677
1695
  key: 0,
1678
1696
  class: "tpl:space-y-2"
1679
- }, ea = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ta = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, na = { class: "tpl:flex tpl:justify-end" }, ra = ["disabled"], ia = {
1697
+ }, ta = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, na = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ra = { class: "tpl:flex tpl:justify-end" }, ia = ["disabled"], aa = {
1680
1698
  key: 0,
1681
1699
  class: "tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]"
1682
- }, aa = { class: "tpl:space-y-1" }, oa = { 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)]" }, sa = {
1700
+ }, oa = { class: "tpl:space-y-1" }, sa = { 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)]" }, ca = {
1683
1701
  key: 0,
1684
1702
  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)]"
1685
- }, ca = /* @__PURE__ */ f({
1703
+ }, la = /* @__PURE__ */ f({
1686
1704
  __name: "CommonBlockSettings",
1687
1705
  props: {
1688
1706
  block: {},
@@ -1745,13 +1763,13 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1745
1763
  t[e] = !t[e], u("update", { visibility: t });
1746
1764
  }
1747
1765
  return (r, i) => (s(), m("div", { class: n(["tpl:flex tpl:flex-col", t.isFirstSection ? "" : "tpl:mt-4"]) }, [
1748
- g(Ui, {
1766
+ g(Wi, {
1749
1767
  title: x(f).blockSettings.spacing,
1750
1768
  open: v.has("spacing"),
1751
1769
  "no-border": t.isFirstSection,
1752
1770
  onToggle: i[1] ||= (e) => N("spacing")
1753
1771
  }, {
1754
- default: l(() => [g(Bi, {
1772
+ default: l(() => [g(Vi, {
1755
1773
  label: x(f).blockSettings.padding,
1756
1774
  "model-value": t.block.styles.padding,
1757
1775
  "onUpdate:modelValue": i[0] ||= (e) => R("padding", e)
@@ -1762,7 +1780,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1762
1780
  "open",
1763
1781
  "no-border"
1764
1782
  ]),
1765
- g(Ui, {
1783
+ g(Wi, {
1766
1784
  title: x(f).blockSettings.background,
1767
1785
  open: v.has("bg"),
1768
1786
  onToggle: i[3] ||= (e) => N("bg")
@@ -1773,19 +1791,19 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1773
1791
  }, null, 8, ["model-value"])]),
1774
1792
  _: 1
1775
1793
  }, 8, ["title", "open"]),
1776
- g(Ui, {
1794
+ g(Wi, {
1777
1795
  title: x(f).blockSettings.display,
1778
1796
  open: v.has("display"),
1779
1797
  onToggle: i[4] ||= (e) => N("display")
1780
1798
  }, {
1781
- default: l(() => [p("div", Wi, [(s(), m(C, null, e(M, (e) => g(X, {
1799
+ default: l(() => [p("div", Gi, [(s(), m(C, null, e(M, (e) => g(X, {
1782
1800
  key: e.key,
1783
1801
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1784
1802
  "model-value": z(e.key),
1785
1803
  label: x(f).blockSettings[e.labelKey],
1786
1804
  "onUpdate:modelValue": (t) => B(e.key)
1787
1805
  }, {
1788
- default: l(() => [p("span", Gi, [(s(), y(o(e.icon), {
1806
+ default: l(() => [p("span", Ki, [(s(), y(o(e.icon), {
1789
1807
  size: 14,
1790
1808
  "stroke-width": 1.5
1791
1809
  })), b(" " + c(x(f).blockSettings[e.labelKey]), 1)])]),
@@ -1797,14 +1815,14 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1797
1815
  ])), 64))])]),
1798
1816
  _: 1
1799
1817
  }, 8, ["title", "open"]),
1800
- P.value ? (s(), y(Ui, {
1818
+ P.value ? (s(), y(Wi, {
1801
1819
  key: 0,
1802
1820
  "header-test-id": "display-condition-section",
1803
1821
  title: x(f).blockSettings.displayCondition,
1804
1822
  open: v.has("condition"),
1805
1823
  onToggle: i[8] ||= (e) => N("condition")
1806
1824
  }, {
1807
- default: l(() => [p("div", Ki, [p("select", {
1825
+ default: l(() => [p("div", qi, [p("select", {
1808
1826
  "data-testid": "display-condition-select",
1809
1827
  class: n(["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:duration-150 tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", t.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)]"]),
1810
1828
  value: E.value || F.value ? "__custom__" : t.block.displayCondition?.label ?? "",
@@ -1822,41 +1840,41 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1822
1840
  n && u("update", { displayCondition: n });
1823
1841
  }
1824
1842
  }, [
1825
- p("option", Ji, c(x(f).blockSettings.noCondition), 1),
1843
+ p("option", Yi, c(x(f).blockSettings.noCondition), 1),
1826
1844
  (s(!0), m(C, null, e(L.value, (t, n) => (s(), m(C, { key: n }, [n ? (s(), m("optgroup", {
1827
1845
  key: 0,
1828
1846
  label: String(n)
1829
1847
  }, [(s(!0), m(C, null, e(t, (e) => (s(), m("option", {
1830
1848
  key: e.label,
1831
1849
  value: e.label
1832
- }, c(e.label), 9, Xi))), 128))], 8, Yi)) : (s(!0), m(C, { key: 1 }, e(t, (e) => (s(), m("option", {
1850
+ }, c(e.label), 9, Zi))), 128))], 8, Xi)) : (s(!0), m(C, { key: 1 }, e(t, (e) => (s(), m("option", {
1833
1851
  key: e.label,
1834
1852
  value: e.label
1835
- }, c(e.label), 9, Zi))), 128))], 64))), 128)),
1836
- x(_) ? (s(), m("option", Qi, c(x(f).blockSettings.customCondition), 1)) : T("", !0)
1837
- ], 42, qi), E.value || F.value ? (s(), m("div", $i, [
1838
- p("div", null, [p("label", ea, c(x(f).blockSettings.customConditionBefore), 1), k(p("textarea", {
1853
+ }, c(e.label), 9, Qi))), 128))], 64))), 128)),
1854
+ x(_) ? (s(), m("option", $i, c(x(f).blockSettings.customCondition), 1)) : T("", !0)
1855
+ ], 42, Ji), E.value || F.value ? (s(), m("div", ea, [
1856
+ p("div", null, [p("label", ta, c(x(f).blockSettings.customConditionBefore), 1), k(p("textarea", {
1839
1857
  "onUpdate:modelValue": i[6] ||= (e) => O.value = e,
1840
1858
  rows: "2",
1841
1859
  class: n(x(Bt))
1842
1860
  }, null, 2), [[A, O.value]])]),
1843
- p("div", null, [p("label", ta, c(x(f).blockSettings.customConditionAfter), 1), k(p("textarea", {
1861
+ p("div", null, [p("label", na, c(x(f).blockSettings.customConditionAfter), 1), k(p("textarea", {
1844
1862
  "onUpdate:modelValue": i[7] ||= (e) => j.value = e,
1845
1863
  rows: "2",
1846
1864
  class: n(x(Bt))
1847
1865
  }, null, 2), [[A, j.value]])]),
1848
- p("div", na, [p("button", {
1866
+ p("div", ra, [p("button", {
1849
1867
  type: "button",
1850
1868
  class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-bg)] tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:disabled:opacity-50",
1851
1869
  disabled: !O.value.trim(),
1852
1870
  onClick: I
1853
- }, c(x(f).blockSettings.applyCondition), 9, ra)])
1854
- ])) : t.block.displayCondition && !F.value ? (s(), m(C, { key: 1 }, [t.block.displayCondition.description ? (s(), m("p", ia, c(t.block.displayCondition.description), 1)) : T("", !0), p("div", aa, [p("pre", oa, c(t.block.displayCondition.before), 1), t.block.displayCondition.after ? (s(), m("pre", sa, c(t.block.displayCondition.after), 1)) : T("", !0)])], 64)) : T("", !0)])]),
1871
+ }, c(x(f).blockSettings.applyCondition), 9, ia)])
1872
+ ])) : t.block.displayCondition && !F.value ? (s(), m(C, { key: 1 }, [t.block.displayCondition.description ? (s(), m("p", aa, c(t.block.displayCondition.description), 1)) : T("", !0), p("div", oa, [p("pre", sa, c(t.block.displayCondition.before), 1), t.block.displayCondition.after ? (s(), m("pre", ca, c(t.block.displayCondition.after), 1)) : T("", !0)])], 64)) : T("", !0)])]),
1855
1873
  _: 1
1856
1874
  }, 8, ["title", "open"])) : T("", !0)
1857
1875
  ], 2));
1858
1876
  }
1859
- }), la = ["title"], ua = /* @__PURE__ */ f({
1877
+ }), ua = ["title"], da = /* @__PURE__ */ f({
1860
1878
  __name: "BooleanField",
1861
1879
  props: {
1862
1880
  field: {},
@@ -1877,7 +1895,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1877
1895
  disabled: e.readOnly,
1878
1896
  "onUpdate:modelValue": i[0] ||= (e) => n("update:modelValue", e)
1879
1897
  }, {
1880
- default: l(() => [b(c(e.field.label) + " ", 1), e.readOnly ? (s(), y(x(en), {
1898
+ default: l(() => [b(c(e.field.label) + " ", 1), e.readOnly ? (s(), y(x($t), {
1881
1899
  key: 0,
1882
1900
  size: 12,
1883
1901
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1888,12 +1906,12 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1888
1906
  "label",
1889
1907
  "required",
1890
1908
  "disabled"
1891
- ])], 8, la));
1909
+ ])], 8, ua));
1892
1910
  }
1893
- }), da = { class: "tpl:mb-3.5" }, fa = {
1911
+ }), fa = { class: "tpl:mb-3.5" }, pa = {
1894
1912
  key: 1,
1895
1913
  class: "tpl:text-[var(--tpl-danger)]"
1896
- }, pa = /* @__PURE__ */ f({
1914
+ }, ma = /* @__PURE__ */ f({
1897
1915
  __name: "FieldWrapper",
1898
1916
  props: {
1899
1917
  label: {},
@@ -1901,17 +1919,17 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1901
1919
  readOnly: { type: Boolean }
1902
1920
  },
1903
1921
  setup(e) {
1904
- return (t, r) => (s(), m("div", da, [p("label", { class: n(x(K)) }, [
1922
+ return (t, r) => (s(), m("div", fa, [p("label", { class: n(x(K)) }, [
1905
1923
  b(c(e.label) + " ", 1),
1906
- e.readOnly ? (s(), y(x(en), {
1924
+ e.readOnly ? (s(), y(x($t), {
1907
1925
  key: 0,
1908
1926
  size: 12,
1909
1927
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
1910
1928
  })) : T("", !0),
1911
- e.required ? (s(), m("span", fa, "*")) : T("", !0)
1929
+ e.required ? (s(), m("span", pa, "*")) : T("", !0)
1912
1930
  ], 2), _(t.$slots, "default")]));
1913
1931
  }
1914
- }), ma = /* @__PURE__ */ f({
1932
+ }), ha = /* @__PURE__ */ f({
1915
1933
  __name: "ColorField",
1916
1934
  props: {
1917
1935
  field: {},
@@ -1921,7 +1939,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1921
1939
  emits: ["update:modelValue"],
1922
1940
  setup(e, { emit: t }) {
1923
1941
  let n = e, r = t, { t: i } = U(), a = D(ct, Ie), o = w(() => ae(n.field, a));
1924
- return (t, n) => (s(), y(pa, {
1942
+ return (t, n) => (s(), y(ma, {
1925
1943
  label: e.field.label,
1926
1944
  required: e.field.required,
1927
1945
  "read-only": e.readOnly
@@ -1949,15 +1967,15 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1949
1967
  "read-only"
1950
1968
  ]));
1951
1969
  }
1952
- }), ha = {
1970
+ }), ga = {
1953
1971
  key: 0,
1954
1972
  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)]",
1955
1973
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1956
- }, ga = [
1974
+ }, _a = [
1957
1975
  "value",
1958
1976
  "placeholder",
1959
1977
  "title"
1960
- ], _a = ["value", "placeholder"], va = /* @__PURE__ */ f({
1978
+ ], va = ["value", "placeholder"], ya = /* @__PURE__ */ f({
1961
1979
  __name: "ImageField",
1962
1980
  props: {
1963
1981
  field: {},
@@ -1992,7 +2010,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
1992
2010
  enabled: S,
1993
2011
  onFiles: E
1994
2012
  });
1995
- return (t, r) => (s(), y(pa, {
2013
+ return (t, r) => (s(), y(ma, {
1996
2014
  label: e.field.label,
1997
2015
  required: e.field.required,
1998
2016
  "read-only": e.readOnly
@@ -2002,7 +2020,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2002
2020
  ref: _,
2003
2021
  class: "tpl:relative"
2004
2022
  }, [
2005
- S.value && (x(O) || v.value) ? (s(), m("div", ha, [v.value ? (s(), m(C, { key: 0 }, [g(x(Ct), {
2023
+ S.value && (x(O) || v.value) ? (s(), m("div", ga, [v.value ? (s(), m(C, { key: 0 }, [g(x(Ct), {
2006
2024
  class: "tpl-spinner",
2007
2025
  size: 18,
2008
2026
  "stroke-width": 2
@@ -2018,14 +2036,14 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2018
2036
  placeholder: e.field.placeholder || "https://...",
2019
2037
  disabled: "",
2020
2038
  title: x(a).customBlocks.dataSource.readOnlyTooltip
2021
- }, null, 10, ga)) : (s(), m("input", {
2039
+ }, null, 10, _a)) : (s(), m("input", {
2022
2040
  key: 2,
2023
2041
  type: "url",
2024
2042
  class: n(x(G)),
2025
2043
  value: e.modelValue,
2026
2044
  placeholder: e.field.placeholder || "https://...",
2027
2045
  onInput: r[0] ||= (e) => i("update:modelValue", e.target.value)
2028
- }, null, 42, _a)),
2046
+ }, null, 42, va)),
2029
2047
  f.value && !e.readOnly ? (s(), m("button", {
2030
2048
  key: 3,
2031
2049
  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:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
@@ -2042,7 +2060,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2042
2060
  "read-only"
2043
2061
  ]));
2044
2062
  }
2045
- }), ya = [
2063
+ }), ba = [
2046
2064
  "value",
2047
2065
  "placeholder",
2048
2066
  "min",
@@ -2050,7 +2068,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2050
2068
  "step",
2051
2069
  "disabled",
2052
2070
  "title"
2053
- ], ba = /* @__PURE__ */ f({
2071
+ ], xa = /* @__PURE__ */ f({
2054
2072
  __name: "NumberField",
2055
2073
  props: {
2056
2074
  field: {},
@@ -2060,7 +2078,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2060
2078
  emits: ["update:modelValue"],
2061
2079
  setup(e, { emit: t }) {
2062
2080
  let r = t, { t: i } = U();
2063
- return (t, a) => (s(), y(pa, {
2081
+ return (t, a) => (s(), y(ma, {
2064
2082
  label: e.field.label,
2065
2083
  required: e.field.required,
2066
2084
  "read-only": e.readOnly
@@ -2076,7 +2094,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2076
2094
  disabled: e.readOnly,
2077
2095
  title: e.readOnly ? x(i).customBlocks.dataSource.readOnlyTooltip : void 0,
2078
2096
  onInput: a[0] ||= (t) => !e.readOnly && r("update:modelValue", Number(t.target.value))
2079
- }, null, 42, ya)]),
2097
+ }, null, 42, ba)]),
2080
2098
  _: 1
2081
2099
  }, 8, [
2082
2100
  "label",
@@ -2084,10 +2102,10 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2084
2102
  "read-only"
2085
2103
  ]));
2086
2104
  }
2087
- }), xa = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Sa = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Ca = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, wa = ["title", "onClick"], Ta = {
2105
+ }), Sa = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ca = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, wa = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Ta = ["title", "onClick"], Ea = {
2088
2106
  key: 1,
2089
2107
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
2090
- }, Ea = /* @__PURE__ */ f({
2108
+ }, Da = /* @__PURE__ */ f({
2091
2109
  __name: "RepeatableField",
2092
2110
  props: {
2093
2111
  field: {},
@@ -2115,16 +2133,16 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2115
2133
  } : r);
2116
2134
  a("update:modelValue", r);
2117
2135
  }
2118
- return (r, i) => (s(), y(pa, {
2136
+ return (r, i) => (s(), y(ma, {
2119
2137
  label: t.field.label,
2120
2138
  required: t.field.required,
2121
2139
  "read-only": t.readOnly
2122
2140
  }, {
2123
- default: l(() => [p("div", xa, [
2141
+ default: l(() => [p("div", Sa, [
2124
2142
  (s(!0), m(C, null, e(d.value, (n, r) => (s(), m("div", {
2125
2143
  key: `${t.field.key}-${r}`,
2126
2144
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
2127
- }, [p("div", Sa, [p("span", Ca, " #" + c(r + 1), 1), h.value && !t.readOnly ? (s(), m("button", {
2145
+ }, [p("div", Ca, [p("span", wa, " #" + c(r + 1), 1), h.value && !t.readOnly ? (s(), m("button", {
2128
2146
  key: 0,
2129
2147
  type: "button",
2130
2148
  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:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
@@ -2133,7 +2151,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2133
2151
  }, [g(x(At), {
2134
2152
  size: 12,
2135
2153
  "stroke-width": 2
2136
- })], 8, wa)) : T("", !0)]), (s(!0), m(C, null, e(t.field.fields, (e) => (s(), y(o(x(Fa)(e.type)), {
2154
+ })], 8, Ta)) : T("", !0)]), (s(!0), m(C, null, e(t.field.fields, (e) => (s(), y(o(x(Ia)(e.type)), {
2137
2155
  key: e.key,
2138
2156
  field: e,
2139
2157
  "model-value": n[e.key],
@@ -2150,11 +2168,11 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2150
2168
  type: "button",
2151
2169
  class: n(x(Ht)),
2152
2170
  onClick: _
2153
- }, [g(x(Q), {
2171
+ }, [g(x(nn), {
2154
2172
  size: 14,
2155
2173
  "stroke-width": 2
2156
2174
  }), b(" " + c(x(u).customBlocks.fields.addItem), 1)], 2)) : T("", !0),
2157
- !f.value && !t.readOnly ? (s(), m("p", Ta, c(x(u).customBlocks.fields.maxItemsReached), 1)) : T("", !0)
2175
+ !f.value && !t.readOnly ? (s(), m("p", Ea, c(x(u).customBlocks.fields.maxItemsReached), 1)) : T("", !0)
2158
2176
  ])]),
2159
2177
  _: 1
2160
2178
  }, 8, [
@@ -2163,11 +2181,11 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2163
2181
  "read-only"
2164
2182
  ]));
2165
2183
  }
2166
- }), Da = [
2184
+ }), Oa = [
2167
2185
  "value",
2168
2186
  "disabled",
2169
2187
  "title"
2170
- ], Oa = ["value"], ka = /* @__PURE__ */ f({
2188
+ ], ka = ["value"], Aa = /* @__PURE__ */ f({
2171
2189
  __name: "SelectField",
2172
2190
  props: {
2173
2191
  field: {},
@@ -2177,7 +2195,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2177
2195
  emits: ["update:modelValue"],
2178
2196
  setup(t, { emit: r }) {
2179
2197
  let i = r, { t: a } = U();
2180
- return (r, o) => (s(), y(pa, {
2198
+ return (r, o) => (s(), y(ma, {
2181
2199
  label: t.field.label,
2182
2200
  required: t.field.required,
2183
2201
  "read-only": t.readOnly
@@ -2191,7 +2209,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2191
2209
  }, [(s(!0), m(C, null, e(t.field.options, (e) => (s(), m("option", {
2192
2210
  key: e.value,
2193
2211
  value: e.value
2194
- }, c(e.label), 9, Oa))), 128))], 42, Da)]),
2212
+ }, c(e.label), 9, ka))), 128))], 42, Oa)]),
2195
2213
  _: 1
2196
2214
  }, 8, [
2197
2215
  "label",
@@ -2199,11 +2217,11 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2199
2217
  "read-only"
2200
2218
  ]));
2201
2219
  }
2202
- }), Aa = [
2220
+ }), ja = [
2203
2221
  "value",
2204
2222
  "placeholder",
2205
2223
  "title"
2206
- ], ja = /* @__PURE__ */ f({
2224
+ ], Ma = /* @__PURE__ */ f({
2207
2225
  __name: "TextField",
2208
2226
  props: {
2209
2227
  field: {},
@@ -2213,7 +2231,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2213
2231
  emits: ["update:modelValue"],
2214
2232
  setup(e, { emit: t }) {
2215
2233
  let r = t, { t: i } = U();
2216
- return (t, a) => (s(), y(pa, {
2234
+ return (t, a) => (s(), y(ma, {
2217
2235
  label: e.field.label,
2218
2236
  required: e.field.required,
2219
2237
  "read-only": e.readOnly
@@ -2226,7 +2244,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2226
2244
  placeholder: e.field.placeholder,
2227
2245
  disabled: "",
2228
2246
  title: x(i).customBlocks.dataSource.readOnlyTooltip
2229
- }, null, 10, Aa)) : (s(), y($, {
2247
+ }, null, 10, ja)) : (s(), y($, {
2230
2248
  key: 1,
2231
2249
  "model-value": e.modelValue,
2232
2250
  placeholder: e.field.placeholder,
@@ -2239,12 +2257,12 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2239
2257
  "read-only"
2240
2258
  ]));
2241
2259
  }
2242
- }), Ma = [
2260
+ }), Na = [
2243
2261
  "value",
2244
2262
  "placeholder",
2245
2263
  "title"
2246
- ], Na = "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", Pa = {
2247
- text: ja,
2264
+ ], Pa = "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", Fa = {
2265
+ text: Ma,
2248
2266
  textarea: /* @__PURE__ */ f({
2249
2267
  __name: "TextareaField",
2250
2268
  props: {
@@ -2255,7 +2273,7 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2255
2273
  emits: ["update:modelValue"],
2256
2274
  setup(e, { emit: t }) {
2257
2275
  let r = t, { t: i } = U();
2258
- return (t, a) => (s(), y(pa, {
2276
+ return (t, a) => (s(), y(ma, {
2259
2277
  label: e.field.label,
2260
2278
  required: e.field.required,
2261
2279
  "read-only": e.readOnly
@@ -2267,8 +2285,8 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2267
2285
  rows: "3",
2268
2286
  disabled: "",
2269
2287
  title: x(i).customBlocks.dataSource.readOnlyTooltip,
2270
- class: n(Na)
2271
- }, null, 8, Ma)) : (s(), y(ur, {
2288
+ class: n(Pa)
2289
+ }, null, 8, Na)) : (s(), y(ur, {
2272
2290
  key: 1,
2273
2291
  "model-value": e.modelValue,
2274
2292
  placeholder: e.field.placeholder,
@@ -2282,37 +2300,37 @@ var Gn = ["aria-label", "onKeydown"], Kn = ["data-tooltip"], qn = ["data-tooltip
2282
2300
  ]));
2283
2301
  }
2284
2302
  }),
2285
- image: va,
2286
- color: ma,
2287
- number: ba,
2288
- select: ka,
2289
- boolean: ua,
2290
- repeatable: Ea
2303
+ image: ya,
2304
+ color: ha,
2305
+ number: xa,
2306
+ select: Aa,
2307
+ boolean: da,
2308
+ repeatable: Da
2291
2309
  };
2292
- function Fa(e) {
2293
- return Pa[e] ?? ja;
2310
+ function Ia(e) {
2311
+ return Fa[e] ?? Ma;
2294
2312
  }
2295
2313
  //#endregion
2296
2314
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
2297
- var Ia = {
2315
+ var La = {
2298
2316
  key: 0,
2299
2317
  class: "tpl:p-4"
2300
- }, La = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ra = { key: 1 }, za = {
2318
+ }, Ra = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, za = { key: 1 }, Ba = {
2301
2319
  key: 0,
2302
2320
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
2303
- }, Ba = {
2321
+ }, Va = {
2304
2322
  key: 1,
2305
2323
  class: "tpl:mb-4"
2306
- }, Va = {
2324
+ }, Ha = {
2307
2325
  key: 1,
2308
2326
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
2309
- }, Ha = {
2327
+ }, Ua = {
2310
2328
  key: 0,
2311
2329
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2312
- }, Ua = {
2330
+ }, Wa = {
2313
2331
  key: 2,
2314
2332
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
2315
- }, Wa = /* @__PURE__ */ f({
2333
+ }, Ga = /* @__PURE__ */ f({
2316
2334
  __name: "CustomBlockToolbar",
2317
2335
  props: { block: {} },
2318
2336
  emits: ["updateFieldValues", "updateDataSourceFetched"],
@@ -2333,23 +2351,23 @@ var Ia = {
2333
2351
  [e]: t
2334
2352
  });
2335
2353
  }
2336
- return (n, r) => u.value ? (s(), m("div", Ra, [
2337
- u.value.description ? (s(), m("p", za, c(u.value.description), 1)) : T("", !0),
2338
- x(v) ? (s(), m("div", Ba, [x(S) && !x(f) ? (s(), m("button", {
2354
+ return (n, r) => u.value ? (s(), m("div", za, [
2355
+ u.value.description ? (s(), m("p", Ba, c(u.value.description), 1)) : T("", !0),
2356
+ x(v) ? (s(), m("div", Va, [x(S) && !x(f) ? (s(), m("button", {
2339
2357
  key: 0,
2340
2358
  type: "button",
2341
2359
  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-bg)] tpl:transition-all tpl:duration-150 tpl:bg-[var(--tpl-primary)]",
2342
2360
  onClick: r[0] ||= (...e) => x(_) && x(_)(...e)
2343
- }, c(u.value?.dataSource?.label || x(a).customBlocks.dataSource.fetchButton), 1)) : (s(), m("div", Va, [x(f) ? (s(), m("div", Ha, c(x(a).customBlocks.dataSource.fetching), 1)) : (s(), m("button", {
2361
+ }, c(u.value?.dataSource?.label || x(a).customBlocks.dataSource.fetchButton), 1)) : (s(), m("div", Ha, [x(f) ? (s(), m("div", Ua, c(x(a).customBlocks.dataSource.fetching), 1)) : (s(), m("button", {
2344
2362
  key: 1,
2345
2363
  type: "button",
2346
2364
  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:duration-150 tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
2347
2365
  onClick: r[1] ||= (...e) => x(_) && x(_)(...e)
2348
- }, [g(x(yt), { size: 12 }), b(" " + c(x(a).customBlocks.dataSource.changeButton), 1)]))])), x(h) ? (s(), m("p", Ua, [g(x(pt), {
2366
+ }, [g(x(yt), { size: 12 }), b(" " + c(x(a).customBlocks.dataSource.changeButton), 1)]))])), x(h) ? (s(), m("p", Wa, [g(x(pt), {
2349
2367
  size: 14,
2350
2368
  class: "tpl:shrink-0"
2351
2369
  }), b(" " + c(x(a).customBlocks.dataSource.fetchError), 1)])) : T("", !0)])) : T("", !0),
2352
- (s(!0), m(C, null, e(u.value.fields, (e) => (s(), y(o(x(Fa)(e.type)), {
2370
+ (s(!0), m(C, null, e(u.value.fields, (e) => (s(), y(o(x(Ia)(e.type)), {
2353
2371
  key: e.key,
2354
2372
  field: e,
2355
2373
  "model-value": t.block.fieldValues[e.key],
@@ -2361,9 +2379,9 @@ var Ia = {
2361
2379
  "read-only",
2362
2380
  "onUpdate:modelValue"
2363
2381
  ]))), 128))
2364
- ])) : (s(), m("div", Ia, [p("p", La, c(x(a).customBlocks.toolbar.noDefinition), 1)]));
2382
+ ])) : (s(), m("div", La, [p("p", Ra, c(x(a).customBlocks.toolbar.noDefinition), 1)]));
2365
2383
  }
2366
- }), Ga = { class: "tpl:mb-3.5" }, Ka = { class: "tpl:mb-3.5" }, qa = { class: "tpl:mb-3.5" }, Ja = { class: "tpl:flex tpl:items-stretch" }, Ya = ["value"], Xa = /* @__PURE__ */ f({
2384
+ }), Ka = { class: "tpl:mb-3.5" }, qa = { class: "tpl:mb-3.5" }, Ja = { class: "tpl:mb-3.5" }, Ya = { class: "tpl:flex tpl:items-stretch" }, Xa = ["value"], Za = /* @__PURE__ */ f({
2367
2385
  __name: "DividerToolbar",
2368
2386
  props: { block: {} },
2369
2387
  emits: ["update"],
@@ -2373,7 +2391,7 @@ var Ia = {
2373
2391
  r("update", { [e]: t });
2374
2392
  }
2375
2393
  return (t, r) => (s(), m(C, null, [
2376
- p("div", Ga, [p("label", { class: n(x(K)) }, c(x(i).divider.style), 3), g(qt, {
2394
+ p("div", Ka, [p("label", { class: n(x(K)) }, c(x(i).divider.style), 3), g(Q, {
2377
2395
  options: [
2378
2396
  {
2379
2397
  value: "solid",
@@ -2391,27 +2409,27 @@ var Ia = {
2391
2409
  "model-value": e.block.lineStyle,
2392
2410
  "onUpdate:modelValue": r[0] ||= (e) => a("lineStyle", e)
2393
2411
  }, null, 8, ["options", "model-value"])]),
2394
- p("div", Ka, [p("label", { class: n(x(K)) }, c(x(i).divider.color), 3), g(Y, {
2412
+ p("div", qa, [p("label", { class: n(x(K)) }, c(x(i).divider.color), 3), g(Y, {
2395
2413
  "model-value": e.block.color,
2396
2414
  "onUpdate:modelValue": r[1] ||= (e) => a("color", e)
2397
2415
  }, null, 8, ["model-value"])]),
2398
- p("div", qa, [p("label", { class: n(x(K)) }, c(x(i).divider.thickness), 3), p("div", Ja, [p("input", {
2416
+ p("div", Ja, [p("label", { class: n(x(K)) }, c(x(i).divider.thickness), 3), p("div", Ya, [p("input", {
2399
2417
  type: "number",
2400
2418
  class: n(x(J)),
2401
2419
  value: e.block.thickness,
2402
2420
  min: "1",
2403
2421
  max: "10",
2404
2422
  onInput: r[2] ||= (e) => a("thickness", Number(e.target.value))
2405
- }, null, 42, Ya), p("span", { class: n(x(q)) }, "px", 2)])])
2423
+ }, null, 42, Xa), p("span", { class: n(x(q)) }, "px", 2)])])
2406
2424
  ], 64));
2407
2425
  }
2408
- }), Za = { class: "tpl:mb-3.5" }, Qa = ["value"], $a = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, eo = /* @__PURE__ */ f({
2426
+ }), Qa = { class: "tpl:mb-3.5" }, $a = ["value"], eo = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, to = /* @__PURE__ */ f({
2409
2427
  __name: "HtmlToolbar",
2410
2428
  props: { block: {} },
2411
2429
  emits: ["update"],
2412
2430
  setup(e, { emit: t }) {
2413
2431
  let r = t, { t: i } = U();
2414
- return (t, a) => (s(), m("div", Za, [
2432
+ return (t, a) => (s(), m("div", Qa, [
2415
2433
  p("label", { class: n(x(K)) }, c(x(i).html.content), 3),
2416
2434
  p("textarea", {
2417
2435
  value: e.block.content,
@@ -2419,24 +2437,24 @@ var Ia = {
2419
2437
  rows: "10",
2420
2438
  class: n(x(Bt)),
2421
2439
  onInput: a[0] ||= (e) => r("update", { content: e.target.value })
2422
- }, null, 42, Qa),
2423
- p("p", $a, [g(x(xt), {
2440
+ }, null, 42, $a),
2441
+ p("p", eo, [g(x(xt), {
2424
2442
  size: 12,
2425
2443
  class: "tpl:mt-0.5 tpl:shrink-0"
2426
2444
  }), b(" " + c(x(i).html.sanitizationHint), 1)])
2427
2445
  ]));
2428
2446
  }
2429
- }), to = { class: "tpl:mb-3.5" }, no = {
2447
+ }), no = { class: "tpl:mb-3.5" }, ro = {
2430
2448
  key: 0,
2431
2449
  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)]",
2432
2450
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
2433
- }, ro = {
2451
+ }, io = {
2434
2452
  key: 0,
2435
2453
  class: "tpl:mb-3.5"
2436
- }, io = ["value", "placeholder"], ao = { class: "tpl:mb-3.5" }, oo = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, so = { class: "tpl:mb-3.5" }, co = ["value"], lo = { value: "full" }, uo = { value: "custom" }, fo = {
2454
+ }, ao = ["value", "placeholder"], oo = { class: "tpl:mb-3.5" }, so = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, co = { class: "tpl:mb-3.5" }, lo = ["value"], uo = { value: "full" }, fo = { value: "custom" }, po = {
2437
2455
  key: 0,
2438
2456
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2439
- }, po = ["value"], mo = { class: "tpl:mb-3.5" }, ho = { class: "tpl:mb-3.5" }, go = 350, _o = /* @__PURE__ */ f({
2457
+ }, mo = ["value"], ho = { class: "tpl:mb-3.5" }, go = { class: "tpl:mb-3.5" }, _o = 350, vo = /* @__PURE__ */ f({
2440
2458
  __name: "ImageToolbar",
2441
2459
  props: { block: {} },
2442
2460
  emits: ["update"],
@@ -2457,7 +2475,7 @@ var Ia = {
2457
2475
  function A(e) {
2458
2476
  if (e === "custom") {
2459
2477
  let e = r.block.width;
2460
- (typeof e != "number" || E.includes(e)) && k("width", go);
2478
+ (typeof e != "number" || E.includes(e)) && k("width", _o);
2461
2479
  return;
2462
2480
  }
2463
2481
  k("width", e === "full" ? "full" : Number(e));
@@ -2492,12 +2510,12 @@ var Ia = {
2492
2510
  onFiles: L
2493
2511
  });
2494
2512
  return (t, r) => (s(), m(C, null, [
2495
- p("div", to, [p("label", { class: n(x(K)) }, c(x(a).image.imageUrl), 3), p("div", {
2513
+ p("div", no, [p("label", { class: n(x(K)) }, c(x(a).image.imageUrl), 3), p("div", {
2496
2514
  ref_key: "dropZoneRef",
2497
2515
  ref: N,
2498
2516
  class: "tpl:relative"
2499
2517
  }, [
2500
- I.value && (x(R) || P.value) ? (s(), m("div", no, [P.value ? (s(), m(C, { key: 0 }, [g(x(Ct), {
2518
+ I.value && (x(R) || P.value) ? (s(), m("div", ro, [P.value ? (s(), m(C, { key: 0 }, [g(x(Ct), {
2501
2519
  class: "tpl-spinner",
2502
2520
  size: 18,
2503
2521
  "stroke-width": 2
@@ -2530,14 +2548,14 @@ var Ia = {
2530
2548
  "stroke-width": 1.5
2531
2549
  }), b(" " + c(x(a).image.browseMedia), 1)])) : T("", !0)
2532
2550
  ], 512)]),
2533
- x(V)(e.block.src, x(u)) ? (s(), m("div", ro, [p("label", { class: n(x(K)) }, [b(c(x(a).image.placeholderUrl) + " ", 1), r[9] ||= p("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, c("(optional)"), -1)], 2), p("input", {
2551
+ x(V)(e.block.src, x(u)) ? (s(), m("div", io, [p("label", { class: n(x(K)) }, [b(c(x(a).image.placeholderUrl) + " ", 1), r[9] ||= p("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, c("(optional)"), -1)], 2), p("input", {
2534
2552
  type: "url",
2535
2553
  class: n(x(G)),
2536
2554
  value: e.block.placeholderUrl || "",
2537
2555
  placeholder: x(a).image.placeholderUrlPlaceholder,
2538
2556
  onInput: r[1] ||= (e) => k("placeholderUrl", e.target.value)
2539
- }, null, 42, io)])) : T("", !0),
2540
- p("div", ao, [
2557
+ }, null, 42, ao)])) : T("", !0),
2558
+ p("div", oo, [
2541
2559
  p("label", { class: n(x(K)) }, c(x(a).image.altText), 3),
2542
2560
  g($, {
2543
2561
  "model-value": e.block.alt,
@@ -2558,32 +2576,32 @@ var Ia = {
2558
2576
  label: x(a).image.decorative,
2559
2577
  "onUpdate:modelValue": r[3] ||= (e) => k("decorative", e)
2560
2578
  }, {
2561
- default: l(() => [p("span", null, [b(c(x(a).image.decorative) + " ", 1), p("span", oo, c(x(a).image.decorativeHint), 1)])]),
2579
+ default: l(() => [p("span", null, [b(c(x(a).image.decorative) + " ", 1), p("span", so, c(x(a).image.decorativeHint), 1)])]),
2562
2580
  _: 1
2563
2581
  }, 8, ["model-value", "label"])
2564
2582
  ]),
2565
- p("div", so, [
2583
+ p("div", co, [
2566
2584
  p("label", { class: n(x(K)) }, c(x(a).image.width), 3),
2567
2585
  p("select", {
2568
2586
  class: n(x(G)),
2569
2587
  value: O.value,
2570
2588
  onChange: r[4] ||= (e) => A(e.target.value)
2571
2589
  }, [
2572
- p("option", lo, c(x(a).image.fullWidth), 1),
2590
+ p("option", uo, c(x(a).image.fullWidth), 1),
2573
2591
  r[10] ||= p("option", { value: "300" }, "300px", -1),
2574
2592
  r[11] ||= p("option", { value: "400" }, "400px", -1),
2575
2593
  r[12] ||= p("option", { value: "500" }, "500px", -1),
2576
- p("option", uo, c(x(a).image.widthCustom), 1)
2577
- ], 42, co),
2578
- O.value === "custom" ? (s(), m("div", fo, [p("input", {
2594
+ p("option", fo, c(x(a).image.widthCustom), 1)
2595
+ ], 42, lo),
2596
+ O.value === "custom" ? (s(), m("div", po, [p("input", {
2579
2597
  type: "number",
2580
2598
  class: n(x(J)),
2581
- value: typeof e.block.width == "number" ? e.block.width : go,
2599
+ value: typeof e.block.width == "number" ? e.block.width : _o,
2582
2600
  min: "20",
2583
2601
  onInput: r[5] ||= (e) => j(e.target.value)
2584
- }, null, 42, po), p("span", { class: n(x(q)) }, "px", 2)])) : T("", !0)
2602
+ }, null, 42, mo), p("span", { class: n(x(q)) }, "px", 2)])) : T("", !0)
2585
2603
  ]),
2586
- p("div", mo, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(qt, {
2604
+ p("div", ho, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(Q, {
2587
2605
  options: [
2588
2606
  {
2589
2607
  value: "left",
@@ -2601,7 +2619,7 @@ var Ia = {
2601
2619
  "model-value": e.block.align,
2602
2620
  "onUpdate:modelValue": r[6] ||= (e) => k("align", e)
2603
2621
  }, null, 8, ["options", "model-value"])]),
2604
- p("div", ho, [
2622
+ p("div", go, [
2605
2623
  p("label", { class: n(x(K)) }, c(x(a).image.linkUrl), 3),
2606
2624
  g($, {
2607
2625
  "model-value": e.block.linkUrl || "",
@@ -2619,11 +2637,11 @@ var Ia = {
2619
2637
  ])
2620
2638
  ], 64));
2621
2639
  }
2622
- }), vo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, yo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, bo = [
2640
+ }), yo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, bo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, xo = [
2623
2641
  "value",
2624
2642
  "placeholder",
2625
2643
  "onInput"
2626
- ], xo = ["title", "onClick"], So = { 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)]" }, Co = { class: "tpl:flex tpl:items-center tpl:gap-2" }, wo = ["value"], To = { value: "" }, Eo = ["value"], Do = ["value"], Oo = /* @__PURE__ */ f({
2644
+ ], So = ["title", "onClick"], Co = { 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)]" }, wo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, To = ["value"], Eo = { value: "" }, Do = ["value"], Oo = ["value"], ko = /* @__PURE__ */ f({
2627
2645
  __name: "MenuToolbar",
2628
2646
  props: {
2629
2647
  block: {},
@@ -2687,24 +2705,24 @@ var Ia = {
2687
2705
  }
2688
2706
  return (r, i) => (s(), m(C, null, [
2689
2707
  g(Z, { label: x(o).menu.items }, {
2690
- default: l(() => [p("div", vo, [(s(!0), m(C, null, e(t.block.items, (r) => (s(), m("div", {
2708
+ default: l(() => [p("div", yo, [(s(!0), m(C, null, e(t.block.items, (r) => (s(), m("div", {
2691
2709
  key: r.id,
2692
2710
  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"
2693
2711
  }, [
2694
- p("div", yo, [p("input", {
2712
+ p("div", bo, [p("input", {
2695
2713
  type: "text",
2696
2714
  class: n([x(G), "tpl:flex-1"]),
2697
2715
  value: r.text,
2698
2716
  placeholder: x(o).menu.text,
2699
2717
  onInput: (e) => _(r.id, "text", e.target.value)
2700
- }, null, 42, bo), p("button", {
2718
+ }, null, 42, xo), p("button", {
2701
2719
  class: n(x(zt)),
2702
2720
  title: x(o).menu.removeItem,
2703
2721
  onClick: (e) => v(r.id)
2704
2722
  }, [g(x(jt), {
2705
2723
  size: 14,
2706
2724
  "stroke-width": 2
2707
- })], 10, xo)]),
2725
+ })], 10, So)]),
2708
2726
  g($, {
2709
2727
  "model-value": r.url,
2710
2728
  type: "url",
@@ -2715,7 +2733,7 @@ var Ia = {
2715
2733
  "placeholder",
2716
2734
  "onUpdate:modelValue"
2717
2735
  ]),
2718
- p("div", So, [(s(!0), m(C, null, e(u.value, (e) => (s(), y(X, {
2736
+ p("div", Co, [(s(!0), m(C, null, e(u.value, (e) => (s(), y(X, {
2719
2737
  key: e.key,
2720
2738
  "model-value": r[e.key],
2721
2739
  label: e.label,
@@ -2725,7 +2743,7 @@ var Ia = {
2725
2743
  "label",
2726
2744
  "onUpdate:modelValue"
2727
2745
  ]))), 128))]),
2728
- p("div", Co, [p("label", { class: n([x(K), "tpl:!mb-0"]) }, c(x(o).menu.color), 3), g(Y, {
2746
+ p("div", wo, [p("label", { class: n([x(K), "tpl:!mb-0"]) }, c(x(o).menu.color), 3), g(Y, {
2729
2747
  "swatch-only": "",
2730
2748
  "model-value": r.color || t.block.linkColor || t.block.color || "",
2731
2749
  "onUpdate:modelValue": (e) => _(r.id, "color", e)
@@ -2733,7 +2751,7 @@ var Ia = {
2733
2751
  ]))), 128)), p("button", {
2734
2752
  class: n(x(Ht)),
2735
2753
  onClick: h
2736
- }, [g(x(Q), {
2754
+ }, [g(x(nn), {
2737
2755
  size: 14,
2738
2756
  "stroke-width": 2
2739
2757
  }), b(" " + c(x(o).menu.addItem), 1)], 2)])]),
@@ -2744,14 +2762,14 @@ var Ia = {
2744
2762
  class: n(x(G)),
2745
2763
  value: t.block.fontFamily || "",
2746
2764
  onChange: i[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2747
- }, [p("option", To, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
2765
+ }, [p("option", Eo, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
2748
2766
  key: e.value,
2749
2767
  value: e.value
2750
- }, c(e.label), 9, Eo))), 128))], 42, wo)]),
2768
+ }, c(e.label), 9, Do))), 128))], 42, To)]),
2751
2769
  _: 1
2752
2770
  }, 8, ["label"]),
2753
2771
  g(Z, { label: x(o).menu.fontSize }, {
2754
- default: l(() => [g(Jt, {
2772
+ default: l(() => [g(qt, {
2755
2773
  "model-value": t.block.fontSize,
2756
2774
  min: 8,
2757
2775
  max: 48,
@@ -2775,7 +2793,7 @@ var Ia = {
2775
2793
  _: 1
2776
2794
  }, 8, ["label"]),
2777
2795
  g(Z, { label: x(o).menu.textAlign }, {
2778
- default: l(() => [g(qt, {
2796
+ default: l(() => [g(Q, {
2779
2797
  options: d.value,
2780
2798
  "model-value": t.block.textAlign,
2781
2799
  "onUpdate:modelValue": i[4] ||= (e) => f("textAlign", e)
@@ -2788,7 +2806,7 @@ var Ia = {
2788
2806
  class: n(x(G)),
2789
2807
  value: t.block.separator,
2790
2808
  onInput: i[5] ||= (e) => f("separator", e.target.value)
2791
- }, null, 42, Do)]),
2809
+ }, null, 42, Oo)]),
2792
2810
  _: 1
2793
2811
  }, 8, ["label"]),
2794
2812
  g(Z, { label: x(o).menu.separatorColor }, {
@@ -2799,7 +2817,7 @@ var Ia = {
2799
2817
  _: 1
2800
2818
  }, 8, ["label"]),
2801
2819
  g(Z, { label: x(o).menu.spacing }, {
2802
- default: l(() => [g(Jt, {
2820
+ default: l(() => [g(qt, {
2803
2821
  "model-value": t.block.spacing,
2804
2822
  min: 0,
2805
2823
  max: 50,
@@ -2813,11 +2831,11 @@ var Ia = {
2813
2831
  });
2814
2832
  //#endregion
2815
2833
  //#region src/utils/rebalanceColumnChildren.ts
2816
- function ko(e) {
2834
+ function Ao(e) {
2817
2835
  return e === "1" ? 1 : e === "3" ? 3 : 2;
2818
2836
  }
2819
- function Ao(e, t) {
2820
- let n = ko(t);
2837
+ function jo(e, t) {
2838
+ let n = Ao(t);
2821
2839
  if (e.length === n) return e;
2822
2840
  if (e.length < n) {
2823
2841
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2828,13 +2846,13 @@ function Ao(e, t) {
2828
2846
  }
2829
2847
  //#endregion
2830
2848
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
2831
- var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
2849
+ var Mo = { class: "tpl:mb-3.5" }, No = ["value"], Po = ["value"], Fo = {
2832
2850
  key: 0,
2833
2851
  class: "tpl:mb-3.5"
2834
- }, Fo = { class: "tpl:mb-3.5" }, Io = { class: "tpl:flex tpl:items-stretch" }, Lo = ["value"], Ro = { class: "tpl:mb-3.5" }, zo = {
2852
+ }, Io = { class: "tpl:mb-3.5" }, Lo = { class: "tpl:flex tpl:items-stretch" }, Ro = ["value"], zo = { class: "tpl:mb-3.5" }, Bo = {
2835
2853
  key: 0,
2836
2854
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
2837
- }, Bo = { class: "tpl:flex tpl:items-stretch" }, Vo = ["value"], Ho = /* @__PURE__ */ f({
2855
+ }, Vo = { class: "tpl:flex tpl:items-stretch" }, Ho = ["value"], Uo = /* @__PURE__ */ f({
2838
2856
  __name: "SectionToolbar",
2839
2857
  props: { block: {} },
2840
2858
  emits: ["update"],
@@ -2862,7 +2880,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
2862
2880
  }
2863
2881
  ]);
2864
2882
  function u(e) {
2865
- let t = e.target.value, n = Ao(i.block.children, t);
2883
+ let t = e.target.value, n = jo(i.block.children, t);
2866
2884
  a("update", {
2867
2885
  columns: t,
2868
2886
  children: n
@@ -2896,39 +2914,39 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
2896
2914
  _({ borderRadius: Number(e.target.value) });
2897
2915
  }
2898
2916
  return (r, i) => (s(), m(C, null, [
2899
- p("div", jo, [p("label", { class: n(x(K)) }, c(x(o).section.columns), 3), p("select", {
2917
+ p("div", Mo, [p("label", { class: n(x(K)) }, c(x(o).section.columns), 3), p("select", {
2900
2918
  class: n(x(G)),
2901
2919
  value: t.block.columns,
2902
2920
  onChange: u
2903
2921
  }, [(s(!0), m(C, null, e(l.value, (e) => (s(), m("option", {
2904
2922
  key: e.value,
2905
2923
  value: e.value
2906
- }, c(e.label), 9, No))), 128))], 42, Mo)]),
2907
- t.block.columns === "1" ? T("", !0) : (s(), m("div", Po, [g(X, {
2924
+ }, c(e.label), 9, Po))), 128))], 42, No)]),
2925
+ t.block.columns === "1" ? T("", !0) : (s(), m("div", Fo, [g(X, {
2908
2926
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2909
2927
  "model-value": t.block.stackOnMobile !== !1,
2910
2928
  label: x(o).section.stackOnMobile,
2911
2929
  "onUpdate:modelValue": i[0] ||= (e) => d(e)
2912
2930
  }, null, 8, ["model-value", "label"])])),
2913
- p("div", Fo, [p("label", { class: n(x(K)) }, c(x(o).section.borderRadius), 3), p("div", Io, [p("input", {
2931
+ p("div", Io, [p("label", { class: n(x(K)) }, c(x(o).section.borderRadius), 3), p("div", Lo, [p("input", {
2914
2932
  type: "number",
2915
2933
  class: n(x(J)),
2916
2934
  value: t.block.borderRadius ?? 0,
2917
2935
  min: "0",
2918
2936
  max: "50",
2919
2937
  onInput: f
2920
- }, null, 42, Lo), p("span", { class: n(x(q)) }, "px", 2)])]),
2921
- p("div", Ro, [g(X, {
2938
+ }, null, 42, Ro), p("span", { class: n(x(q)) }, "px", 2)])]),
2939
+ p("div", zo, [g(X, {
2922
2940
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2923
2941
  "model-value": !!t.block.wrapper,
2924
2942
  label: x(o).section.wrapperEnable,
2925
2943
  "onUpdate:modelValue": i[1] ||= (e) => h(e)
2926
- }, null, 8, ["model-value", "label"]), t.block.wrapper ? (s(), m("div", zo, [
2944
+ }, null, 8, ["model-value", "label"]), t.block.wrapper ? (s(), m("div", Bo, [
2927
2945
  p("div", null, [p("label", { class: n(x(K)) }, c(x(o).blockSettings.color), 3), g(Y, {
2928
2946
  "model-value": t.block.wrapper.backgroundColor ?? "",
2929
2947
  "onUpdate:modelValue": i[2] ||= (e) => _({ backgroundColor: e })
2930
2948
  }, null, 8, ["model-value"])]),
2931
- g(Bi, {
2949
+ g(Vi, {
2932
2950
  label: x(o).blockSettings.padding,
2933
2951
  "model-value": t.block.wrapper.padding ?? {
2934
2952
  top: 0,
@@ -2938,18 +2956,18 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
2938
2956
  },
2939
2957
  "onUpdate:modelValue": v
2940
2958
  }, null, 8, ["label", "model-value"]),
2941
- p("div", null, [p("label", { class: n(x(K)) }, c(x(o).section.borderRadius), 3), p("div", Bo, [p("input", {
2959
+ p("div", null, [p("label", { class: n(x(K)) }, c(x(o).section.borderRadius), 3), p("div", Vo, [p("input", {
2942
2960
  type: "number",
2943
2961
  class: n(x(J)),
2944
2962
  value: t.block.wrapper.borderRadius ?? 0,
2945
2963
  min: "0",
2946
2964
  max: "50",
2947
2965
  onInput: y
2948
- }, null, 42, Vo), p("span", { class: n(x(q)) }, "px", 2)])])
2966
+ }, null, 42, Ho), p("span", { class: n(x(q)) }, "px", 2)])])
2949
2967
  ])) : T("", !0)])
2950
2968
  ], 64));
2951
2969
  }
2952
- }), Uo = { class: "tpl:mb-3.5" }, Wo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Go = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ko = ["value", "onChange"], qo = ["value"], Jo = ["title", "onClick"], Yo = { class: "tpl:mb-3.5" }, Xo = ["value"], Zo = { value: "solid" }, Qo = { value: "outlined" }, $o = { value: "rounded" }, es = { value: "square" }, ts = { value: "circle" }, ns = { class: "tpl:mb-3.5" }, rs = { class: "tpl:mb-3.5" }, is = { class: "tpl:flex tpl:items-stretch" }, as = ["value"], os = { class: "tpl:mb-3.5" }, ss = /* @__PURE__ */ f({
2970
+ }), Wo = { class: "tpl:mb-3.5" }, Go = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ko = { class: "tpl:flex tpl:items-center tpl:gap-2" }, qo = ["value", "onChange"], Jo = ["value"], Yo = ["title", "onClick"], Xo = { class: "tpl:mb-3.5" }, Zo = ["value"], Qo = { value: "solid" }, $o = { value: "outlined" }, es = { value: "rounded" }, ts = { value: "square" }, ns = { value: "circle" }, rs = { class: "tpl:mb-3.5" }, is = { class: "tpl:mb-3.5" }, as = { class: "tpl:flex tpl:items-stretch" }, os = ["value"], ss = { class: "tpl:mb-3.5" }, cs = /* @__PURE__ */ f({
2953
2971
  __name: "SocialToolbar",
2954
2972
  props: { block: {} },
2955
2973
  emits: ["update"],
@@ -2977,10 +2995,10 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
2977
2995
  a("update", { icons: i.block.icons.filter((t) => t.id !== e) });
2978
2996
  }
2979
2997
  return (r, i) => (s(), m(C, null, [
2980
- p("div", Uo, [p("label", { class: n(x(K)) }, c(x(o).social.icons), 3), p("div", Wo, [(s(!0), m(C, null, e(t.block.icons, (t) => (s(), m("div", {
2998
+ p("div", Wo, [p("label", { class: n(x(K)) }, c(x(o).social.icons), 3), p("div", Go, [(s(!0), m(C, null, e(t.block.icons, (t) => (s(), m("div", {
2981
2999
  key: t.id,
2982
3000
  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"
2983
- }, [p("div", Go, [p("select", {
3001
+ }, [p("div", Ko, [p("select", {
2984
3002
  "data-testid": "social-platform-select",
2985
3003
  class: n([x(G), "tpl:flex-1"]),
2986
3004
  value: t.platform,
@@ -2988,14 +3006,14 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
2988
3006
  }, [(s(!0), m(C, null, e(x(Te), (e) => (s(), m("option", {
2989
3007
  key: e,
2990
3008
  value: e
2991
- }, c(x(o).social.platforms[e]), 9, qo))), 128))], 42, Ko), p("button", {
3009
+ }, c(x(o).social.platforms[e]), 9, Jo))), 128))], 42, qo), p("button", {
2992
3010
  class: n(x(zt)),
2993
3011
  title: x(o).social.removeIcon,
2994
3012
  onClick: (e) => f(t.id)
2995
3013
  }, [g(x(jt), {
2996
3014
  size: 14,
2997
3015
  "stroke-width": 2
2998
- })], 10, Jo)]), g($, {
3016
+ })], 10, Yo)]), g($, {
2999
3017
  "model-value": t.url,
3000
3018
  type: "url",
3001
3019
  placeholder: x(o).social.urlPlaceholder,
@@ -3007,22 +3025,22 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3007
3025
  ])]))), 128)), p("button", {
3008
3026
  class: n(x(Ht)),
3009
3027
  onClick: u
3010
- }, [g(x(Q), {
3028
+ }, [g(x(nn), {
3011
3029
  size: 14,
3012
3030
  "stroke-width": 2
3013
3031
  }), b(" " + c(x(o).social.addIcon), 1)], 2)])]),
3014
- p("div", Yo, [p("label", { class: n(x(K)) }, c(x(o).social.style), 3), p("select", {
3032
+ p("div", Xo, [p("label", { class: n(x(K)) }, c(x(o).social.style), 3), p("select", {
3015
3033
  class: n(x(G)),
3016
3034
  value: t.block.iconStyle,
3017
3035
  onChange: i[0] ||= (e) => l("iconStyle", e.target.value)
3018
3036
  }, [
3019
- p("option", Zo, c(x(o).social.styleSolid), 1),
3020
- p("option", Qo, c(x(o).social.styleOutlined), 1),
3021
- p("option", $o, c(x(o).social.styleRounded), 1),
3022
- p("option", es, c(x(o).social.styleSquare), 1),
3023
- p("option", ts, c(x(o).social.styleCircle), 1)
3024
- ], 42, Xo)]),
3025
- p("div", ns, [p("label", { class: n(x(K)) }, c(x(o).social.size), 3), g(qt, {
3037
+ p("option", Qo, c(x(o).social.styleSolid), 1),
3038
+ p("option", $o, c(x(o).social.styleOutlined), 1),
3039
+ p("option", es, c(x(o).social.styleRounded), 1),
3040
+ p("option", ts, c(x(o).social.styleSquare), 1),
3041
+ p("option", ns, c(x(o).social.styleCircle), 1)
3042
+ ], 42, Zo)]),
3043
+ p("div", rs, [p("label", { class: n(x(K)) }, c(x(o).social.size), 3), g(Q, {
3026
3044
  options: [
3027
3045
  {
3028
3046
  value: "small",
@@ -3040,15 +3058,15 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3040
3058
  "model-value": t.block.iconSize,
3041
3059
  "onUpdate:modelValue": i[1] ||= (e) => l("iconSize", e)
3042
3060
  }, null, 8, ["options", "model-value"])]),
3043
- p("div", rs, [p("label", { class: n(x(K)) }, c(x(o).social.spacing), 3), p("div", is, [p("input", {
3061
+ p("div", is, [p("label", { class: n(x(K)) }, c(x(o).social.spacing), 3), p("div", as, [p("input", {
3044
3062
  type: "number",
3045
3063
  class: n(x(J)),
3046
3064
  value: t.block.spacing,
3047
3065
  min: "0",
3048
3066
  max: "50",
3049
3067
  onInput: i[2] ||= (e) => l("spacing", Number(e.target.value))
3050
- }, null, 42, as), p("span", { class: n(x(q)) }, "px", 2)])]),
3051
- p("div", os, [p("label", { class: n(x(K)) }, c(x(o).social.align), 3), g(qt, {
3068
+ }, null, 42, os), p("span", { class: n(x(q)) }, "px", 2)])]),
3069
+ p("div", ss, [p("label", { class: n(x(K)) }, c(x(o).social.align), 3), g(Q, {
3052
3070
  options: [
3053
3071
  {
3054
3072
  value: "left",
@@ -3071,22 +3089,22 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3071
3089
  }, null, 8, ["options", "model-value"])])
3072
3090
  ], 64));
3073
3091
  }
3074
- }), cs = { class: "tpl:mb-3.5" }, ls = { class: "tpl:flex tpl:items-stretch" }, us = ["value"], ds = ["value"], fs = /* @__PURE__ */ f({
3092
+ }), ls = { class: "tpl:mb-3.5" }, us = { class: "tpl:flex tpl:items-stretch" }, ds = ["value"], fs = ["value"], ps = /* @__PURE__ */ f({
3075
3093
  __name: "SpacerToolbar",
3076
3094
  props: { block: {} },
3077
3095
  emits: ["update"],
3078
3096
  setup(e, { emit: t }) {
3079
3097
  let r = t, { t: i } = U();
3080
- return (t, a) => (s(), m("div", cs, [
3098
+ return (t, a) => (s(), m("div", ls, [
3081
3099
  p("label", { class: n(x(K)) }, c(x(i).spacer.height), 3),
3082
- p("div", ls, [p("input", {
3100
+ p("div", us, [p("input", {
3083
3101
  type: "number",
3084
3102
  class: n(x(J)),
3085
3103
  value: e.block.height,
3086
3104
  min: "10",
3087
3105
  max: "100",
3088
3106
  onInput: a[0] ||= (e) => r("update", { height: Number(e.target.value) })
3089
- }, null, 42, us), p("span", { class: n(x(q)) }, "px", 2)]),
3107
+ }, null, 42, ds), p("span", { class: n(x(q)) }, "px", 2)]),
3090
3108
  p("input", {
3091
3109
  type: "range",
3092
3110
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -3094,13 +3112,13 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3094
3112
  min: "10",
3095
3113
  max: "100",
3096
3114
  onInput: a[1] ||= (e) => r("update", { height: Number(e.target.value) })
3097
- }, null, 40, ds)
3115
+ }, null, 40, fs)
3098
3116
  ]));
3099
3117
  }
3100
- }), ps = { class: "tpl:mb-3.5" }, ms = { class: "tpl:flex tpl:items-center tpl:gap-3" }, hs = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, gs = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, _s = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, vs = ["disabled"], ys = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, bs = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, xs = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ss = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Cs = ["disabled"], ws = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ts = { class: "tpl:mb-3.5" }, Es = {
3118
+ }), ms = { class: "tpl:mb-3.5" }, hs = { class: "tpl:flex tpl:items-center tpl:gap-3" }, gs = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, _s = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, vs = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ys = ["disabled"], bs = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, xs = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ss = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Cs = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ws = ["disabled"], Ts = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Es = { class: "tpl:mb-3.5" }, Ds = {
3101
3119
  key: 0,
3102
3120
  class: "tpl:mb-3.5"
3103
- }, Ds = { class: "tpl:mb-3.5" }, Os = { class: "tpl:mb-3.5" }, ks = { class: "tpl:flex tpl:items-stretch" }, As = ["value"], js = { class: "tpl:mb-3.5" }, Ms = { class: "tpl:flex tpl:items-stretch" }, Ns = ["value"], Ps = { class: "tpl:mb-3.5" }, Fs = ["value"], Is = { value: "" }, Ls = ["value"], Rs = { class: "tpl:mb-3.5" }, zs = { class: "tpl:flex tpl:items-stretch" }, Bs = ["value"], Vs = { class: "tpl:mb-3.5" }, Hs = { class: "tpl:mb-3.5" }, Us = /* @__PURE__ */ f({
3121
+ }, Os = { class: "tpl:mb-3.5" }, ks = { class: "tpl:mb-3.5" }, As = { class: "tpl:flex tpl:items-stretch" }, js = ["value"], Ms = { class: "tpl:mb-3.5" }, Ns = { class: "tpl:flex tpl:items-stretch" }, Ps = ["value"], Fs = { class: "tpl:mb-3.5" }, Is = ["value"], Ls = { value: "" }, Rs = ["value"], zs = { class: "tpl:mb-3.5" }, Bs = { class: "tpl:flex tpl:items-stretch" }, Vs = ["value"], Hs = { class: "tpl:mb-3.5" }, Us = { class: "tpl:mb-3.5" }, Ws = /* @__PURE__ */ f({
3104
3122
  __name: "TableToolbar",
3105
3123
  props: {
3106
3124
  block: {},
@@ -3143,7 +3161,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3143
3161
  a("update", { rows: t });
3144
3162
  }
3145
3163
  return (r, i) => (s(), m(C, null, [
3146
- p("div", ps, [p("label", { class: n(x(K)) }, c(x(o).table.dimensions), 3), p("div", ms, [p("div", hs, [p("span", gs, c(x(o).table.rows), 1), p("div", _s, [
3164
+ p("div", ms, [p("label", { class: n(x(K)) }, c(x(o).table.dimensions), 3), p("div", hs, [p("div", gs, [p("span", _s, c(x(o).table.rows), 1), p("div", vs, [
3147
3165
  p("button", {
3148
3166
  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:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
3149
3167
  disabled: t.block.rows.length <= 1,
@@ -3151,16 +3169,16 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3151
3169
  }, [g(x(mt), {
3152
3170
  size: 12,
3153
3171
  "stroke-width": 2
3154
- })], 8, vs),
3155
- p("span", ys, c(t.block.rows.length), 1),
3172
+ })], 8, ys),
3173
+ p("span", bs, c(t.block.rows.length), 1),
3156
3174
  p("button", {
3157
3175
  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:duration-150 tpl:hover:text-[var(--tpl-primary)]",
3158
3176
  onClick: d
3159
- }, [g(x(Q), {
3177
+ }, [g(x(nn), {
3160
3178
  size: 12,
3161
3179
  "stroke-width": 2
3162
3180
  })])
3163
- ])]), p("div", bs, [p("span", xs, c(x(o).table.columns), 1), p("div", Ss, [
3181
+ ])]), p("div", xs, [p("span", Ss, c(x(o).table.columns), 1), p("div", Cs, [
3164
3182
  p("button", {
3165
3183
  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:duration-150 tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
3166
3184
  disabled: l.value <= 1,
@@ -3168,23 +3186,23 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3168
3186
  }, [g(x(mt), {
3169
3187
  size: 12,
3170
3188
  "stroke-width": 2
3171
- })], 8, Cs),
3172
- p("span", ws, c(l.value), 1),
3189
+ })], 8, ws),
3190
+ p("span", Ts, c(l.value), 1),
3173
3191
  p("button", {
3174
3192
  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:duration-150 tpl:hover:text-[var(--tpl-primary)]",
3175
3193
  onClick: h
3176
- }, [g(x(Q), {
3194
+ }, [g(x(nn), {
3177
3195
  size: 12,
3178
3196
  "stroke-width": 2
3179
3197
  })])
3180
3198
  ])])])]),
3181
- p("div", Ts, [g(X, {
3199
+ p("div", Es, [g(X, {
3182
3200
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
3183
3201
  "model-value": t.block.hasHeaderRow,
3184
3202
  label: x(o).table.hasHeaderRow,
3185
3203
  "onUpdate:modelValue": i[2] ||= (e) => u("hasHeaderRow", e)
3186
3204
  }, null, 8, ["model-value", "label"])]),
3187
- t.block.hasHeaderRow ? (s(), m("div", Es, [p("label", { class: n(x(K)) }, c(x(o).table.headerBackgroundColor), 3), g(Y, {
3205
+ t.block.hasHeaderRow ? (s(), m("div", Ds, [p("label", { class: n(x(K)) }, c(x(o).table.headerBackgroundColor), 3), g(Y, {
3188
3206
  "model-value": t.block.headerBackgroundColor ?? "",
3189
3207
  "seed-color": x(Vt),
3190
3208
  placeholder: x(o).table.noHeaderBg,
@@ -3194,47 +3212,47 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3194
3212
  "seed-color",
3195
3213
  "placeholder"
3196
3214
  ])])) : T("", !0),
3197
- p("div", Ds, [p("label", { class: n(x(K)) }, c(x(o).table.borderColor), 3), g(Y, {
3215
+ p("div", Os, [p("label", { class: n(x(K)) }, c(x(o).table.borderColor), 3), g(Y, {
3198
3216
  "model-value": t.block.borderColor,
3199
3217
  "onUpdate:modelValue": i[4] ||= (e) => u("borderColor", e)
3200
3218
  }, null, 8, ["model-value"])]),
3201
- p("div", Os, [p("label", { class: n(x(K)) }, c(x(o).table.borderWidth), 3), p("div", ks, [p("input", {
3219
+ p("div", ks, [p("label", { class: n(x(K)) }, c(x(o).table.borderWidth), 3), p("div", As, [p("input", {
3202
3220
  type: "number",
3203
3221
  class: n(x(J)),
3204
3222
  value: t.block.borderWidth,
3205
3223
  min: "0",
3206
3224
  max: "10",
3207
3225
  onInput: i[5] ||= (e) => u("borderWidth", Number(e.target.value))
3208
- }, null, 42, As), p("span", { class: n(x(q)) }, "px", 2)])]),
3209
- p("div", js, [p("label", { class: n(x(K)) }, c(x(o).table.cellPadding), 3), p("div", Ms, [p("input", {
3226
+ }, null, 42, js), p("span", { class: n(x(q)) }, "px", 2)])]),
3227
+ p("div", Ms, [p("label", { class: n(x(K)) }, c(x(o).table.cellPadding), 3), p("div", Ns, [p("input", {
3210
3228
  type: "number",
3211
3229
  class: n(x(J)),
3212
3230
  value: t.block.cellPadding,
3213
3231
  min: "0",
3214
3232
  max: "30",
3215
3233
  onInput: i[6] ||= (e) => u("cellPadding", Number(e.target.value))
3216
- }, null, 42, Ns), p("span", { class: n(x(q)) }, "px", 2)])]),
3217
- p("div", Ps, [p("label", { class: n(x(K)) }, c(x(o).table.fontFamily), 3), p("select", {
3234
+ }, null, 42, Ps), p("span", { class: n(x(q)) }, "px", 2)])]),
3235
+ p("div", Fs, [p("label", { class: n(x(K)) }, c(x(o).table.fontFamily), 3), p("select", {
3218
3236
  class: n(x(G)),
3219
3237
  value: t.block.fontFamily || "",
3220
3238
  onChange: i[7] ||= (e) => u("fontFamily", e.target.value || void 0)
3221
- }, [p("option", Is, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3239
+ }, [p("option", Ls, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3222
3240
  key: e.value,
3223
3241
  value: e.value
3224
- }, c(e.label), 9, Ls))), 128))], 42, Fs)]),
3225
- p("div", Rs, [p("label", { class: n(x(K)) }, c(x(o).table.fontSize), 3), p("div", zs, [p("input", {
3242
+ }, c(e.label), 9, Rs))), 128))], 42, Is)]),
3243
+ p("div", zs, [p("label", { class: n(x(K)) }, c(x(o).table.fontSize), 3), p("div", Bs, [p("input", {
3226
3244
  type: "number",
3227
3245
  class: n(x(J)),
3228
3246
  value: t.block.fontSize,
3229
3247
  min: "10",
3230
3248
  max: "32",
3231
3249
  onInput: i[8] ||= (e) => u("fontSize", Number(e.target.value))
3232
- }, null, 42, Bs), p("span", { class: n(x(q)) }, "px", 2)])]),
3233
- p("div", Vs, [p("label", { class: n(x(K)) }, c(x(o).table.color), 3), g(Y, {
3250
+ }, null, 42, Vs), p("span", { class: n(x(q)) }, "px", 2)])]),
3251
+ p("div", Hs, [p("label", { class: n(x(K)) }, c(x(o).table.color), 3), g(Y, {
3234
3252
  "model-value": t.block.color ?? "",
3235
3253
  "onUpdate:modelValue": i[9] ||= (e) => u("color", e || void 0)
3236
3254
  }, null, 8, ["model-value"])]),
3237
- p("div", Hs, [p("label", { class: n(x(K)) }, c(x(o).table.textAlign), 3), g(qt, {
3255
+ p("div", Us, [p("label", { class: n(x(K)) }, c(x(o).table.textAlign), 3), g(Q, {
3238
3256
  options: [
3239
3257
  {
3240
3258
  value: "left",
@@ -3257,7 +3275,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3257
3275
  }, null, 8, ["options", "model-value"])])
3258
3276
  ], 64));
3259
3277
  }
3260
- }), Ws = { class: "tpl:mb-3.5" }, Gs = ["value"], Ks = { value: 1 }, qs = { value: 2 }, Js = { value: 3 }, Ys = { value: 4 }, Xs = { class: "tpl:mb-3.5" }, Zs = ["value"], Qs = { value: "" }, $s = ["value"], ec = { class: "tpl:mb-3.5" }, tc = { class: "tpl:mb-3.5" }, nc = /* @__PURE__ */ f({
3278
+ }), Gs = { class: "tpl:mb-3.5" }, Ks = ["value"], qs = { value: 1 }, Js = { value: 2 }, Ys = { value: 3 }, Xs = { value: 4 }, Zs = { class: "tpl:mb-3.5" }, Qs = ["value"], $s = { value: "" }, ec = ["value"], tc = { class: "tpl:mb-3.5" }, nc = { class: "tpl:mb-3.5" }, rc = /* @__PURE__ */ f({
3261
3279
  __name: "TitleToolbar",
3262
3280
  props: {
3263
3281
  block: {},
@@ -3270,29 +3288,29 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3270
3288
  i("update", { [e]: t });
3271
3289
  }
3272
3290
  return (r, i) => (s(), m(C, null, [
3273
- p("div", Ws, [p("label", { class: n(x(K)) }, c(x(a).title.level), 3), p("select", {
3291
+ p("div", Gs, [p("label", { class: n(x(K)) }, c(x(a).title.level), 3), p("select", {
3274
3292
  class: n(x(G)),
3275
3293
  value: t.block.level,
3276
3294
  onChange: i[0] ||= (e) => o("level", Number(e.target.value))
3277
3295
  }, [
3278
- p("option", Ks, c(x(a).title.heading1), 1),
3279
- p("option", qs, c(x(a).title.heading2), 1),
3280
- p("option", Js, c(x(a).title.heading3), 1),
3281
- p("option", Ys, c(x(a).title.heading4), 1)
3282
- ], 42, Gs)]),
3283
- p("div", Xs, [p("label", { class: n(x(K)) }, c(x(a).title.fontFamily), 3), p("select", {
3296
+ p("option", qs, c(x(a).title.heading1), 1),
3297
+ p("option", Js, c(x(a).title.heading2), 1),
3298
+ p("option", Ys, c(x(a).title.heading3), 1),
3299
+ p("option", Xs, c(x(a).title.heading4), 1)
3300
+ ], 42, Ks)]),
3301
+ p("div", Zs, [p("label", { class: n(x(K)) }, c(x(a).title.fontFamily), 3), p("select", {
3284
3302
  class: n(x(G)),
3285
3303
  value: t.block.fontFamily || "",
3286
3304
  onChange: i[1] ||= (e) => o("fontFamily", e.target.value || void 0)
3287
- }, [p("option", Qs, c(x(a).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3305
+ }, [p("option", $s, c(x(a).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3288
3306
  key: e.value,
3289
3307
  value: e.value
3290
- }, c(e.label), 9, $s))), 128))], 42, Zs)]),
3291
- p("div", ec, [p("label", { class: n(x(K)) }, c(x(a).title.color), 3), g(Y, {
3308
+ }, c(e.label), 9, ec))), 128))], 42, Qs)]),
3309
+ p("div", tc, [p("label", { class: n(x(K)) }, c(x(a).title.color), 3), g(Y, {
3292
3310
  "model-value": t.block.color ?? "",
3293
3311
  "onUpdate:modelValue": i[2] ||= (e) => o("color", e || void 0)
3294
3312
  }, null, 8, ["model-value"])]),
3295
- p("div", tc, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(qt, {
3313
+ p("div", nc, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(Q, {
3296
3314
  options: [
3297
3315
  {
3298
3316
  value: "left",
@@ -3315,14 +3333,14 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3315
3333
  }, null, 8, ["options", "model-value"])])
3316
3334
  ], 64));
3317
3335
  }
3318
- }), rc = { class: "tpl:mb-3.5" }, ic = {
3336
+ }), ic = { class: "tpl:mb-3.5" }, ac = {
3319
3337
  key: 0,
3320
3338
  class: "tpl:mb-3.5"
3321
- }, ac = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, oc = [
3339
+ }, oc = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, sc = [
3322
3340
  "value",
3323
3341
  "placeholder",
3324
3342
  "title"
3325
- ], sc = { class: "tpl:mb-3.5" }, cc = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, lc = { class: "tpl:mb-3.5" }, uc = { class: "tpl:mb-3.5" }, dc = ["value"], fc = { value: "full" }, pc = { class: "tpl:mb-3.5" }, mc = /* @__PURE__ */ f({
3343
+ ], cc = { class: "tpl:mb-3.5" }, lc = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, uc = { class: "tpl:mb-3.5" }, dc = { class: "tpl:mb-3.5" }, fc = ["value"], pc = { value: "full" }, mc = { class: "tpl:mb-3.5" }, hc = /* @__PURE__ */ f({
3326
3344
  __name: "VideoToolbar",
3327
3345
  props: { block: {} },
3328
3346
  emits: ["update"],
@@ -3338,7 +3356,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3338
3356
  u.alive && e && (S("thumbnailUrl", e.url), _.value = !0, v());
3339
3357
  }
3340
3358
  return (t, r) => (s(), m(C, null, [
3341
- p("div", rc, [
3359
+ p("div", ic, [
3342
3360
  p("label", { class: n(x(K)) }, c(x(a).video.videoUrl), 3),
3343
3361
  g($, {
3344
3362
  "model-value": e.block.url,
@@ -3354,16 +3372,16 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3354
3372
  "onUpdate:modelValue": r[1] ||= (e) => S("openInNewTab", e)
3355
3373
  }, null, 8, ["model-value", "label"])) : T("", !0)
3356
3374
  ]),
3357
- h.value ? (s(), m("div", ic, [p("label", { class: n(x(K)) }, [b(c(x(a).video.placeholderUrl) + " ", 1), p("span", ac, c(x(a).video.optional), 1)], 2), p("input", {
3375
+ h.value ? (s(), m("div", ac, [p("label", { class: n(x(K)) }, [b(c(x(a).video.placeholderUrl) + " ", 1), p("span", oc, c(x(a).video.optional), 1)], 2), p("input", {
3358
3376
  type: "url",
3359
3377
  class: n(x(G)),
3360
3378
  value: e.block.placeholderUrl || "",
3361
3379
  placeholder: x(a).video.placeholderUrlPlaceholder,
3362
3380
  title: x(a).video.placeholderUrlTooltip,
3363
3381
  onInput: r[2] ||= (e) => S("placeholderUrl", e.target.value)
3364
- }, null, 42, oc)])) : T("", !0),
3365
- p("div", sc, [
3366
- p("label", { class: n(x(K)) }, [b(c(x(a).video.customThumbnail) + " ", 1), p("span", cc, c(x(a).video.optional), 1)], 2),
3382
+ }, null, 42, sc)])) : T("", !0),
3383
+ p("div", cc, [
3384
+ p("label", { class: n(x(K)) }, [b(c(x(a).video.customThumbnail) + " ", 1), p("span", lc, c(x(a).video.optional), 1)], 2),
3367
3385
  g($, {
3368
3386
  "model-value": e.block.thumbnailUrl,
3369
3387
  type: "url",
@@ -3389,23 +3407,23 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3389
3407
  "stroke-width": 1.5
3390
3408
  }), b(" " + c(x(a).image.browseMedia), 1)])) : T("", !0)
3391
3409
  ]),
3392
- p("div", lc, [p("label", { class: n(x(K)) }, c(x(a).video.altText), 3), g($, {
3410
+ p("div", uc, [p("label", { class: n(x(K)) }, c(x(a).video.altText), 3), g($, {
3393
3411
  "model-value": e.block.alt,
3394
3412
  type: "text",
3395
3413
  placeholder: x(a).video.altTextPlaceholder,
3396
3414
  "onUpdate:modelValue": r[4] ||= (e) => S("alt", e)
3397
3415
  }, null, 8, ["model-value", "placeholder"])]),
3398
- p("div", uc, [p("label", { class: n(x(K)) }, c(x(a).video.width), 3), p("select", {
3416
+ p("div", dc, [p("label", { class: n(x(K)) }, c(x(a).video.width), 3), p("select", {
3399
3417
  class: n(x(G)),
3400
3418
  value: e.block.width,
3401
3419
  onChange: r[5] ||= (e) => S("width", e.target.value === "full" ? "full" : Number(e.target.value))
3402
3420
  }, [
3403
- p("option", fc, c(x(a).video.fullWidth), 1),
3421
+ p("option", pc, c(x(a).video.fullWidth), 1),
3404
3422
  r[7] ||= p("option", { value: "300" }, "300px", -1),
3405
3423
  r[8] ||= p("option", { value: "400" }, "400px", -1),
3406
3424
  r[9] ||= p("option", { value: "500" }, "500px", -1)
3407
- ], 42, dc)]),
3408
- p("div", pc, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(qt, {
3425
+ ], 42, fc)]),
3426
+ p("div", mc, [p("label", { class: n(x(K)) }, c(x(a).title.align), 3), g(Q, {
3409
3427
  options: [
3410
3428
  {
3411
3429
  value: "left",
@@ -3425,7 +3443,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3425
3443
  }, null, 8, ["options", "model-value"])])
3426
3444
  ], 64));
3427
3445
  }
3428
- }), hc = ["aria-label"], gc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, _c = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, vc = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, yc = { class: "tpl:flex tpl:gap-1" }, bc = ["title"], xc = ["title"], Sc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Cc = /*#__PURE__*/ Mt(/* @__PURE__ */ f({
3446
+ }), gc = ["aria-label"], _c = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, vc = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, yc = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, bc = { class: "tpl:flex tpl:gap-1" }, xc = ["title"], Sc = ["title"], Cc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, wc = /*#__PURE__*/ Mt(/* @__PURE__ */ f({
3429
3447
  __name: "Toolbar",
3430
3448
  props: { block: {} },
3431
3449
  emits: [
@@ -3434,7 +3452,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3434
3452
  "duplicate"
3435
3453
  ],
3436
3454
  setup(e, { emit: t }) {
3437
- let n = h(() => import("./CountdownToolbar-Cic6cdOw.js")), r = e, i = t, { t: a } = U(), l = Be(lt, "Toolbar"), u = D(at, []), d = w(() => r.block.type), f = w(() => L(r.block)), _ = w(() => {
3455
+ let n = h(() => import("./CountdownToolbar-CBE9wRaV.js")), r = e, i = t, { t: a } = U(), l = Be(lt, "Toolbar"), u = D(at, []), d = w(() => r.block.type), f = w(() => L(r.block)), _ = w(() => {
3438
3456
  if (f.value) return u.find((e) => e.type === r.block.customType);
3439
3457
  }), v = w(() => f.value ? _.value?.name ?? r.block.customType : de(d.value, a)), b = l.fonts;
3440
3458
  function S(e) {
@@ -3443,7 +3461,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3443
3461
  return (t, r) => (s(), m("aside", {
3444
3462
  "aria-label": x(a).landmarks.blockToolbar,
3445
3463
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
3446
- }, [p("div", gc, [p("div", _c, [x(_t)[d.value] ? (s(), y(o(x(_t)[d.value]), {
3464
+ }, [p("div", _c, [p("div", vc, [x(_t)[d.value] ? (s(), y(o(x(_t)[d.value]), {
3447
3465
  key: 0,
3448
3466
  size: 16,
3449
3467
  "stroke-width": 1.5
@@ -3451,70 +3469,70 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3451
3469
  key: 1,
3452
3470
  size: 16,
3453
3471
  "stroke-width": 1.5
3454
- })) : T("", !0), p("h3", vc, c(v.value), 1)]), p("div", yc, [p("button", {
3472
+ })) : T("", !0), p("h3", yc, c(v.value), 1)]), p("div", bc, [p("button", {
3455
3473
  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:duration-150 tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
3456
3474
  title: x(a).toolbar.duplicate,
3457
3475
  onClick: r[0] ||= (e) => i("duplicate")
3458
3476
  }, [g(x(H), {
3459
3477
  size: 14,
3460
3478
  "stroke-width": 2
3461
- })], 8, bc), p("button", {
3479
+ })], 8, xc), p("button", {
3462
3480
  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:duration-150 tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
3463
3481
  title: x(a).toolbar.delete,
3464
3482
  onClick: r[1] ||= (e) => i("delete")
3465
3483
  }, [g(x(At), {
3466
3484
  size: 14,
3467
3485
  "stroke-width": 2
3468
- })], 8, xc)])]), p("div", Sc, [f.value ? (s(), y(Wa, {
3486
+ })], 8, Sc)])]), p("div", Cc, [f.value ? (s(), y(Ga, {
3469
3487
  key: 0,
3470
3488
  block: e.block,
3471
3489
  onUpdateFieldValues: r[2] ||= (e) => i("update", { fieldValues: e }),
3472
3490
  onUpdateDataSourceFetched: r[3] ||= (e) => i("update", { dataSourceFetched: e })
3473
- }, null, 8, ["block"])) : d.value === "section" ? (s(), y(Ho, {
3491
+ }, null, 8, ["block"])) : d.value === "section" ? (s(), y(Uo, {
3474
3492
  key: 1,
3475
3493
  block: e.block,
3476
3494
  onUpdate: S
3477
- }, null, 8, ["block"])) : d.value === "title" ? (s(), y(nc, {
3495
+ }, null, 8, ["block"])) : d.value === "title" ? (s(), y(rc, {
3478
3496
  key: 2,
3479
3497
  block: e.block,
3480
3498
  "font-families": x(b),
3481
3499
  onUpdate: S
3482
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), m(C, { key: 3 }, [], 64)) : d.value === "image" ? (s(), y(_o, {
3500
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), m(C, { key: 3 }, [], 64)) : d.value === "image" ? (s(), y(vo, {
3483
3501
  key: 4,
3484
3502
  block: e.block,
3485
3503
  onUpdate: S
3486
- }, null, 8, ["block"])) : d.value === "video" ? (s(), y(mc, {
3504
+ }, null, 8, ["block"])) : d.value === "video" ? (s(), y(hc, {
3487
3505
  key: 5,
3488
3506
  block: e.block,
3489
3507
  onUpdate: S
3490
- }, null, 8, ["block"])) : d.value === "button" ? (s(), y(gi, {
3508
+ }, null, 8, ["block"])) : d.value === "button" ? (s(), y(_i, {
3491
3509
  key: 6,
3492
3510
  block: e.block,
3493
3511
  "font-families": x(b),
3494
3512
  onUpdate: S
3495
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), y(Xa, {
3513
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), y(Za, {
3496
3514
  key: 7,
3497
3515
  block: e.block,
3498
3516
  onUpdate: S
3499
- }, null, 8, ["block"])) : d.value === "social" ? (s(), y(ss, {
3517
+ }, null, 8, ["block"])) : d.value === "social" ? (s(), y(cs, {
3500
3518
  key: 8,
3501
3519
  block: e.block,
3502
3520
  onUpdate: S
3503
- }, null, 8, ["block"])) : d.value === "menu" ? (s(), y(Oo, {
3521
+ }, null, 8, ["block"])) : d.value === "menu" ? (s(), y(ko, {
3504
3522
  key: 9,
3505
3523
  block: e.block,
3506
3524
  "font-families": x(b),
3507
3525
  onUpdate: S
3508
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), y(Us, {
3526
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), y(Ws, {
3509
3527
  key: 10,
3510
3528
  block: e.block,
3511
3529
  "font-families": x(b),
3512
3530
  onUpdate: S
3513
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), y(fs, {
3531
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), y(ps, {
3514
3532
  key: 11,
3515
3533
  block: e.block,
3516
3534
  onUpdate: S
3517
- }, null, 8, ["block"])) : d.value === "html" ? (s(), y(eo, {
3535
+ }, null, 8, ["block"])) : d.value === "html" ? (s(), y(to, {
3518
3536
  key: 12,
3519
3537
  block: e.block,
3520
3538
  onUpdate: S
@@ -3523,52 +3541,52 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3523
3541
  block: e.block,
3524
3542
  "font-families": x(b),
3525
3543
  onUpdate: S
3526
- }, null, 8, ["block", "font-families"])) : T("", !0), g(ca, {
3544
+ }, null, 8, ["block", "font-families"])) : T("", !0), g(la, {
3527
3545
  block: e.block,
3528
3546
  "is-first-section": d.value === "paragraph",
3529
3547
  onUpdate: S
3530
- }, null, 8, ["block", "is-first-section"])])], 8, hc));
3548
+ }, null, 8, ["block", "is-first-section"])])], 8, gc));
3531
3549
  }
3532
- }), [["__scopeId", "data-v-2ac88283"]]), wc = ["aria-label"], Tc = {
3550
+ }), [["__scopeId", "data-v-2ac88283"]]), Tc = ["aria-label"], Ec = {
3533
3551
  role: "tablist",
3534
3552
  class: "tpl:relative tpl:flex tpl:gap-1 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-active)] tpl:p-1.5"
3535
- }, Ec = [
3553
+ }, Dc = [
3536
3554
  "aria-selected",
3537
3555
  "aria-label",
3538
3556
  "title"
3539
- ], Dc = { key: 0 }, Oc = [
3557
+ ], Oc = { key: 0 }, kc = [
3540
3558
  "aria-selected",
3541
3559
  "aria-label",
3542
3560
  "title"
3543
- ], kc = { key: 0 }, Ac = [
3561
+ ], Ac = { key: 0 }, jc = [
3544
3562
  "aria-selected",
3545
3563
  "aria-label",
3546
3564
  "title"
3547
- ], jc = { key: 0 }, Mc = {
3565
+ ], Mc = { key: 0 }, Nc = {
3548
3566
  key: 1,
3549
3567
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
3550
- }, Nc = {
3568
+ }, Pc = {
3551
3569
  key: 0,
3552
3570
  id: "tpl-tabpanel-content",
3553
3571
  role: "tabpanel",
3554
3572
  "aria-labelledby": "tpl-tab-content",
3555
3573
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3556
- }, Pc = {
3574
+ }, Fc = {
3557
3575
  key: 1,
3558
3576
  class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:px-6 tpl:py-10 tpl:text-center tpl:text-[var(--tpl-text-muted)]"
3559
- }, Fc = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, Ic = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Lc = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Rc = {
3577
+ }, Ic = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, Lc = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Rc = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, zc = {
3560
3578
  key: 1,
3561
3579
  id: "tpl-tabpanel-settings",
3562
3580
  role: "tabpanel",
3563
3581
  "aria-labelledby": "tpl-tab-settings",
3564
3582
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3565
- }, zc = {
3583
+ }, Bc = {
3566
3584
  key: 2,
3567
3585
  id: "tpl-tabpanel-issues",
3568
3586
  role: "tabpanel",
3569
3587
  "aria-labelledby": "tpl-tab-issues",
3570
3588
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3571
- }, Bc = /* @__PURE__ */ f({
3589
+ }, Vc = /* @__PURE__ */ f({
3572
3590
  __name: "RightSidebar",
3573
3591
  props: {
3574
3592
  selectedBlock: {},
@@ -3582,7 +3600,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3582
3600
  "update-settings"
3583
3601
  ],
3584
3602
  setup(e, { emit: r }) {
3585
- let a = h(() => import("./IssuesPanel-NPzwTPYW.js")), o = e, l = r, { t: u } = U(), f = d("content"), _ = D(ze, null), v = w(() => _ !== null), b = w(() => _?.issues.value.length ?? 0);
3603
+ let a = h(() => import("./IssuesPanel-Do7RLXsP.js")), o = e, l = r, { t: u } = U(), f = d("content"), _ = D(ze, null), v = w(() => _ !== null), b = w(() => _?.issues.value.length ?? 0);
3586
3604
  function S(e) {
3587
3605
  return f.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] hover:tpl:text-[var(--tpl-text)]";
3588
3606
  }
@@ -3598,7 +3616,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3598
3616
  "aria-label": x(u).landmarks.rightSidebar,
3599
3617
  class: n(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
3600
3618
  }, [
3601
- p("div", Tc, [
3619
+ p("div", Ec, [
3602
3620
  p("button", {
3603
3621
  id: "tpl-tab-content",
3604
3622
  role: "tab",
@@ -3609,10 +3627,10 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3609
3627
  class: n(["tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", S("content")]),
3610
3628
  style: t(C("content")),
3611
3629
  onClick: i[0] ||= (e) => f.value = "content"
3612
- }, [g(x(nn), {
3630
+ }, [g(x(tn), {
3613
3631
  size: 14,
3614
3632
  "stroke-width": 2
3615
- }), f.value === "content" ? (s(), m("span", Dc, c(x(u).sidebar.content), 1)) : T("", !0)], 14, Ec),
3633
+ }), f.value === "content" ? (s(), m("span", Oc, c(x(u).sidebar.content), 1)) : T("", !0)], 14, Dc),
3616
3634
  p("button", {
3617
3635
  id: "tpl-tab-settings",
3618
3636
  role: "tab",
@@ -3626,7 +3644,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3626
3644
  }, [g(x(an), {
3627
3645
  size: 14,
3628
3646
  "stroke-width": 1.5
3629
- }), f.value === "settings" ? (s(), m("span", kc, c(x(u).sidebar.settings), 1)) : T("", !0)], 14, Oc),
3647
+ }), f.value === "settings" ? (s(), m("span", Ac, c(x(u).sidebar.settings), 1)) : T("", !0)], 14, kc),
3630
3648
  v.value ? (s(), m("button", {
3631
3649
  key: 0,
3632
3650
  id: "tpl-tab-issues",
@@ -3643,54 +3661,54 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3643
3661
  size: 14,
3644
3662
  "stroke-width": 1.5
3645
3663
  }),
3646
- f.value === "issues" ? (s(), m("span", jc, c(x(u).issues.panelTabLabel), 1)) : T("", !0),
3647
- b.value > 0 ? (s(), m("span", Mc, c(b.value), 1)) : T("", !0)
3648
- ], 14, Ac)) : T("", !0)
3664
+ f.value === "issues" ? (s(), m("span", Mc, c(x(u).issues.panelTabLabel), 1)) : T("", !0),
3665
+ b.value > 0 ? (s(), m("span", Nc, c(b.value), 1)) : T("", !0)
3666
+ ], 14, jc)) : T("", !0)
3649
3667
  ]),
3650
- f.value === "content" ? (s(), m("div", Nc, [e.selectedBlock ? (s(), y(Cc, {
3668
+ f.value === "content" ? (s(), m("div", Pc, [e.selectedBlock ? (s(), y(wc, {
3651
3669
  key: 0,
3652
3670
  block: e.selectedBlock,
3653
3671
  onUpdate: i[3] ||= (e) => l("update-block", e),
3654
3672
  onDelete: i[4] ||= (e) => l("delete-block"),
3655
3673
  onDuplicate: i[5] ||= (e) => l("duplicate-block")
3656
- }, null, 8, ["block"])) : (s(), m("div", Pc, [
3657
- p("div", Fc, [g(x(Qt), {
3674
+ }, null, 8, ["block"])) : (s(), m("div", Fc, [
3675
+ p("div", Ic, [g(x(Zt), {
3658
3676
  size: 40,
3659
3677
  "stroke-width": 1.5
3660
3678
  })]),
3661
- p("h3", Ic, c(x(u).sidebar.noSelection), 1),
3662
- p("p", Lc, c(x(u).sidebar.noSelectionHint), 1)
3679
+ p("h3", Lc, c(x(u).sidebar.noSelection), 1),
3680
+ p("p", Rc, c(x(u).sidebar.noSelectionHint), 1)
3663
3681
  ]))])) : T("", !0),
3664
- f.value === "settings" ? (s(), m("div", Rc, [g(Br, {
3682
+ f.value === "settings" ? (s(), m("div", zc, [g(Br, {
3665
3683
  settings: e.settings,
3666
3684
  onUpdate: i[6] ||= (e) => l("update-settings", e)
3667
3685
  }, null, 8, ["settings"])])) : T("", !0),
3668
- f.value === "issues" && v.value ? (s(), m("div", zc, [g(x(a))])) : T("", !0)
3669
- ], 10, wc));
3686
+ f.value === "issues" && v.value ? (s(), m("div", Bc, [g(x(a))])) : T("", !0)
3687
+ ], 10, Tc));
3670
3688
  }
3671
- }), Vc = {
3689
+ }), Hc = {
3672
3690
  class: "tpl-small-screen-notice tpl:absolute tpl:inset-0 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-4 tpl:px-6 tpl:py-10 tpl:text-center tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)]",
3673
3691
  style: { "z-index": "10001" },
3674
3692
  role: "status",
3675
3693
  "data-testid": "small-screen-notice"
3676
- }, Hc = { class: "tpl:text-[var(--tpl-text-dim)]" }, Uc = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Wc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Gc = /* @__PURE__ */ f({
3694
+ }, Uc = { class: "tpl:text-[var(--tpl-text-dim)]" }, Wc = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Gc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Kc = /* @__PURE__ */ f({
3677
3695
  __name: "SmallScreenNotice",
3678
3696
  setup(e) {
3679
3697
  let { t } = U();
3680
- return (e, n) => (s(), m("div", Vc, [
3681
- p("div", Hc, [g(x(wt), {
3698
+ return (e, n) => (s(), m("div", Hc, [
3699
+ p("div", Uc, [g(x(wt), {
3682
3700
  size: 48,
3683
3701
  "stroke-width": 1.5
3684
3702
  })]),
3685
- p("h2", Uc, c(x(t).smallScreen.title), 1),
3686
- p("p", Wc, c(x(t).smallScreen.message), 1)
3703
+ p("h2", Wc, c(x(t).smallScreen.title), 1),
3704
+ p("p", Gc, c(x(t).smallScreen.message), 1)
3687
3705
  ]));
3688
3706
  }
3689
- }), Kc = [
3707
+ }), qc = [
3690
3708
  "aria-label",
3691
3709
  "title",
3692
3710
  "aria-pressed"
3693
- ], qc = /*#__PURE__*/ Mt(/* @__PURE__ */ f({
3711
+ ], Jc = /*#__PURE__*/ Mt(/* @__PURE__ */ f({
3694
3712
  __name: "PreviewToggle",
3695
3713
  props: { previewMode: { type: Boolean } },
3696
3714
  emits: ["change"],
@@ -3723,13 +3741,13 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3723
3741
  "stroke-width": 1.5
3724
3742
  }))]),
3725
3743
  _: 1
3726
- })], 12, Kc));
3744
+ })], 12, qc));
3727
3745
  }
3728
- }), [["__scopeId", "data-v-af87d02a"]]), Jc = [
3746
+ }), [["__scopeId", "data-v-af87d02a"]]), Yc = [
3729
3747
  "aria-label",
3730
3748
  "title",
3731
3749
  "aria-pressed"
3732
- ], Yc = /*#__PURE__*/ Mt(/* @__PURE__ */ f({
3750
+ ], Xc = /*#__PURE__*/ Mt(/* @__PURE__ */ f({
3733
3751
  __name: "DarkModeToggle",
3734
3752
  props: { darkMode: { type: Boolean } },
3735
3753
  emits: ["change"],
@@ -3752,7 +3770,7 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3752
3770
  "leave-to-class": "tpl-icon-leave-to",
3753
3771
  mode: "out-in"
3754
3772
  }, {
3755
- default: l(() => [e.darkMode ? (s(), y(x(tn), {
3773
+ default: l(() => [e.darkMode ? (s(), y(x(en), {
3756
3774
  key: "moon",
3757
3775
  size: 18,
3758
3776
  "stroke-width": 1.5
@@ -3762,27 +3780,27 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3762
3780
  "stroke-width": 1.5
3763
3781
  }))]),
3764
3782
  _: 1
3765
- })], 12, Jc));
3783
+ })], 12, Yc));
3766
3784
  }
3767
- }), [["__scopeId", "data-v-f8694f76"]]), Xc = {
3785
+ }), [["__scopeId", "data-v-f8694f76"]]), Zc = {
3768
3786
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
3769
3787
  style: {
3770
3788
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
3771
3789
  "backdrop-filter": "blur(8px)",
3772
3790
  "-webkit-backdrop-filter": "blur(8px)"
3773
3791
  }
3774
- }, Zc = {
3792
+ }, Qc = {
3775
3793
  href: "https://github.com/templatical/sdk",
3776
3794
  target: "_blank",
3777
3795
  rel: "noopener noreferrer",
3778
3796
  class: "tpl:transition-colors tpl:duration-150 hover:tpl:opacity-80 tpl:text-[var(--tpl-text-dim)]",
3779
3797
  style: { "text-decoration": "none" }
3780
- }, Qc = /* @__PURE__ */ f({
3798
+ }, $c = /* @__PURE__ */ f({
3781
3799
  __name: "EditorFooter",
3782
3800
  props: { positionClass: {} },
3783
3801
  setup(e) {
3784
3802
  let { t } = U();
3785
- return (r, i) => (s(), m("footer", { class: n(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [p("div", Xc, [
3803
+ return (r, i) => (s(), m("footer", { class: n(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [p("div", Zc, [
3786
3804
  p("span", null, c(x(t).footer.poweredBy), 1),
3787
3805
  i[0] ||= p("a", {
3788
3806
  href: "https://templatical.com",
@@ -3797,32 +3815,32 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3797
3815
  alt: ""
3798
3816
  }), b(" Templatical ")], -1),
3799
3817
  i[1] ||= p("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
3800
- p("a", Zc, c(x(t).footer.openSource), 1)
3818
+ p("a", Qc, c(x(t).footer.openSource), 1)
3801
3819
  ])], 2));
3802
3820
  }
3803
- }), $c = ["aria-labelledby", "data-tpl-theme"], el = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, tl = ["id"], nl = ["aria-label"], rl = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, il = [
3821
+ }), el = ["aria-labelledby", "data-tpl-theme"], tl = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, nl = ["id"], rl = ["aria-label"], il = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, al = [
3804
3822
  "id",
3805
3823
  "placeholder",
3806
3824
  "aria-label",
3807
3825
  "aria-activedescendant"
3808
- ], al = {
3826
+ ], ol = {
3809
3827
  key: 0,
3810
3828
  class: "tpl:flex tpl:gap-1.5 tpl:overflow-x-auto tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2",
3811
3829
  "data-testid": "merge-tag-picker-group-pills"
3812
- }, ol = ["data-group-name", "onClick"], sl = ["aria-label"], cl = {
3830
+ }, sl = ["data-group-name", "onClick"], cl = ["aria-label"], ll = {
3813
3831
  key: 0,
3814
3832
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3815
3833
  "data-testid": "merge-tag-picker-empty"
3816
- }, ll = {
3834
+ }, ul = {
3817
3835
  key: 1,
3818
3836
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3819
3837
  "data-testid": "merge-tag-picker-empty"
3820
- }, ul = [
3838
+ }, dl = [
3821
3839
  "aria-expanded",
3822
3840
  "data-group-name",
3823
3841
  "data-group-collapsed",
3824
3842
  "onClick"
3825
- ], dl = { class: "tpl:ml-1 tpl:font-normal" }, fl = [
3843
+ ], fl = { class: "tpl:ml-1 tpl:font-normal" }, pl = [
3826
3844
  "id",
3827
3845
  "aria-selected",
3828
3846
  "data-selected",
@@ -3831,14 +3849,14 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3831
3849
  "title",
3832
3850
  "onMousemove",
3833
3851
  "onClick"
3834
- ], pl = { class: "tpl:text-sm tpl:font-medium" }, ml = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, hl = {
3852
+ ], ml = { class: "tpl:text-sm tpl:font-medium" }, hl = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, gl = {
3835
3853
  key: 0,
3836
3854
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3837
- }, gl = {
3855
+ }, _l = {
3838
3856
  key: 1,
3839
3857
  "data-testid": "merge-tag-picker-sample",
3840
3858
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3841
- }, _l = "tpl-merge-tag-picker-list", vl = /* @__PURE__ */ f({
3859
+ }, vl = "tpl-merge-tag-picker-list", yl = /* @__PURE__ */ f({
3842
3860
  __name: "MergeTagPickerModal",
3843
3861
  setup(r) {
3844
3862
  let a = Be(We, "MergeTagPickerModal"), { t: o, format: u } = U(), f = D(Ye, null), h = D(Je, null), _ = d(""), v = Pe(_, 200), b = d(null), S = w(() => v.value.trim().length > 0), O = d(0), M = w(() => a.tags.value.some((e) => !!e.group)), P = d(/* @__PURE__ */ new Set());
@@ -3951,13 +3969,13 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3951
3969
  }
3952
3970
  }
3953
3971
  function se() {
3954
- if (z.value.length !== 0) return `${_l}-opt-${O.value}`;
3972
+ if (z.value.length !== 0) return `${vl}-opt-${O.value}`;
3955
3973
  }
3956
3974
  function ce(e) {
3957
- return `${_l}-opt-${e}`;
3975
+ return `${vl}-opt-${e}`;
3958
3976
  }
3959
3977
  let le = w(() => a.tags.value.length === 0), ue = w(() => !le.value && I.value.length === 0), de = w(() => M.value && L.value.length > 1 && !S.value);
3960
- return (r, i) => (s(), y(Yt, {
3978
+ return (r, i) => (s(), y(Jt, {
3961
3979
  visible: x(a).isOpen.value,
3962
3980
  onClose: V,
3963
3981
  onKeydown: H
@@ -3965,16 +3983,16 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3965
3983
  default: l(() => [p("div", {
3966
3984
  role: "dialog",
3967
3985
  "aria-modal": "true",
3968
- "aria-labelledby": `${_l}-title`,
3986
+ "aria-labelledby": `${vl}-title`,
3969
3987
  "data-tpl-theme": x(h),
3970
3988
  "data-testid": "merge-tag-picker-modal",
3971
3989
  class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:shadow-[var(--tpl-shadow-lg)]",
3972
3990
  style: t(x(f))
3973
3991
  }, [
3974
- p("header", el, [p("h2", {
3975
- id: `${_l}-title`,
3992
+ p("header", tl, [p("h2", {
3993
+ id: `${vl}-title`,
3976
3994
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3977
- }, c(x(o).mergeTag.picker.title), 9, tl), p("button", {
3995
+ }, c(x(o).mergeTag.picker.title), 9, nl), p("button", {
3978
3996
  type: "button",
3979
3997
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
3980
3998
  "aria-label": x(o).mergeTag.picker.close,
@@ -3983,13 +4001,13 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3983
4001
  }, [g(x(jt), {
3984
4002
  size: 16,
3985
4003
  "stroke-width": 2
3986
- })], 8, nl)]),
3987
- p("div", rl, [g(x(ht), {
4004
+ })], 8, rl)]),
4005
+ p("div", il, [g(x(ht), {
3988
4006
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
3989
4007
  size: 14,
3990
4008
  "stroke-width": 2
3991
4009
  }), k(p("input", {
3992
- id: `${_l}-search`,
4010
+ id: `${vl}-search`,
3993
4011
  ref_key: "searchInputRef",
3994
4012
  ref: b,
3995
4013
  "onUpdate:modelValue": i[0] ||= (e) => _.value = e,
@@ -3997,34 +4015,34 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
3997
4015
  class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)]",
3998
4016
  placeholder: x(o).mergeTag.picker.searchPlaceholder,
3999
4017
  "aria-label": x(o).mergeTag.picker.searchAriaLabel,
4000
- "aria-controls": _l,
4018
+ "aria-controls": vl,
4001
4019
  "aria-activedescendant": se(),
4002
4020
  "data-testid": "merge-tag-picker-search",
4003
4021
  onKeydown: i[1] ||= N(j(() => {}, ["prevent"]), ["enter"])
4004
- }, null, 40, il), [[A, _.value]])]),
4005
- de.value ? (s(), m("div", al, [(s(!0), m(C, null, e(L.value, (e) => (s(), m("button", {
4022
+ }, null, 40, al), [[A, _.value]])]),
4023
+ de.value ? (s(), m("div", ol, [(s(!0), m(C, null, e(L.value, (e) => (s(), m("button", {
4006
4024
  key: e,
4007
4025
  type: "button",
4008
4026
  class: "tpl:flex tpl:flex-shrink-0 tpl:cursor-pointer tpl:items-center tpl:rounded-full tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-2.5 tpl:py-0.5 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
4009
4027
  "data-testid": "merge-tag-picker-group-pill",
4010
4028
  "data-group-name": e,
4011
4029
  onClick: (t) => oe(e)
4012
- }, c(e), 9, ol))), 128))])) : T("", !0),
4030
+ }, c(e), 9, sl))), 128))])) : T("", !0),
4013
4031
  p("div", {
4014
- id: _l,
4032
+ id: vl,
4015
4033
  ref_key: "listRef",
4016
4034
  ref: ne,
4017
4035
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
4018
4036
  role: "listbox",
4019
4037
  "aria-label": x(o).mergeTag.picker.title,
4020
4038
  "data-testid": "merge-tag-picker-list"
4021
- }, [le.value ? (s(), m("div", cl, c(x(o).mergeTag.picker.empty), 1)) : ue.value ? (s(), m("div", ll, c(x(o).mergeTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(R.value, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("button", {
4039
+ }, [le.value ? (s(), m("div", ll, c(x(o).mergeTag.picker.empty), 1)) : ue.value ? (s(), m("div", ul, c(x(o).mergeTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(R.value, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("button", {
4022
4040
  key: 0,
4023
4041
  ref_for: !0,
4024
4042
  ref: (t) => ie(e.group, t),
4025
4043
  type: "button",
4026
4044
  "aria-expanded": !F(e.group),
4027
- "aria-controls": _l,
4045
+ "aria-controls": vl,
4028
4046
  class: "tpl:sticky tpl:top-0 tpl:z-10 tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-left tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)]",
4029
4047
  "data-testid": "merge-tag-picker-group-header",
4030
4048
  "data-group-name": e.group,
@@ -4037,8 +4055,8 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
4037
4055
  class: n(["tpl:transition-transform", F(e.group) ? "tpl:-rotate-90" : ""])
4038
4056
  }, null, 8, ["class"]),
4039
4057
  p("span", null, c(e.group), 1),
4040
- p("span", dl, " (" + c(x(u)(x(o).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
4041
- ], 8, ul)) : (s(), m("button", {
4058
+ p("span", fl, " (" + c(x(u)(x(o).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
4059
+ ], 8, dl)) : (s(), m("button", {
4042
4060
  key: 1,
4043
4061
  id: ce(e.index),
4044
4062
  type: "button",
@@ -4053,16 +4071,16 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
4053
4071
  onMousemove: (t) => O.value = e.index,
4054
4072
  onClick: (t) => B(e.tag)
4055
4073
  }, [
4056
- p("span", pl, c(e.tag.label), 1),
4057
- p("span", ml, c(e.tag.value), 1),
4058
- e.tag.description ? (s(), m("span", hl, c(e.tag.description), 1)) : T("", !0),
4059
- e.tag.sample === void 0 ? T("", !0) : (s(), m("span", gl, c(x(u)(x(o).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
4060
- ], 42, fl))], 64))), 128))], 8, sl)
4061
- ], 12, $c)]),
4074
+ p("span", ml, c(e.tag.label), 1),
4075
+ p("span", hl, c(e.tag.value), 1),
4076
+ e.tag.description ? (s(), m("span", gl, c(e.tag.description), 1)) : T("", !0),
4077
+ e.tag.sample === void 0 ? T("", !0) : (s(), m("span", _l, c(x(u)(x(o).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
4078
+ ], 42, pl))], 64))), 128))], 8, cl)
4079
+ ], 12, el)]),
4062
4080
  _: 1
4063
4081
  }, 8, ["visible"]));
4064
4082
  }
4065
- }), yl = ["data-logic-keyword"], bl = /* @__PURE__ */ f({
4083
+ }), bl = ["data-logic-keyword"], xl = /* @__PURE__ */ f({
4066
4084
  __name: "LogicTagBadge",
4067
4085
  props: {
4068
4086
  value: {},
@@ -4079,22 +4097,22 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
4079
4097
  },
4080
4098
  "data-testid": "merge-tag-logic-badge",
4081
4099
  "data-logic-keyword": r.value
4082
- }, c(r.value), 9, yl)) : T("", !0);
4100
+ }, c(r.value), 9, bl)) : T("", !0);
4083
4101
  }
4084
- }), xl = ["aria-labelledby", "data-tpl-theme"], Sl = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Cl = ["id"], wl = ["aria-label"], Tl = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, El = [
4102
+ }), Sl = ["aria-labelledby", "data-tpl-theme"], Cl = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:gap-3 tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, wl = ["id"], Tl = ["aria-label"], El = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Dl = [
4085
4103
  "id",
4086
4104
  "placeholder",
4087
4105
  "aria-label",
4088
4106
  "aria-activedescendant"
4089
- ], Dl = ["aria-label"], Ol = {
4107
+ ], Ol = ["aria-label"], kl = {
4090
4108
  key: 0,
4091
4109
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
4092
4110
  "data-testid": "logic-picker-empty"
4093
- }, kl = {
4111
+ }, Al = {
4094
4112
  key: 1,
4095
4113
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
4096
4114
  "data-testid": "logic-picker-empty"
4097
- }, Al = ["data-group-name"], jl = [
4115
+ }, jl = ["data-group-name"], Ml = [
4098
4116
  "id",
4099
4117
  "aria-selected",
4100
4118
  "data-selected",
@@ -4102,16 +4120,16 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
4102
4120
  "data-logic-kind",
4103
4121
  "onMousemove",
4104
4122
  "onClick"
4105
- ], Ml = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Nl = { class: "tpl:text-sm tpl:font-medium" }, Pl = {
4123
+ ], Nl = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Pl = { class: "tpl:text-sm tpl:font-medium" }, Fl = {
4106
4124
  key: 0,
4107
4125
  class: "tpl:flex tpl:items-center"
4108
- }, Fl = {
4126
+ }, Il = {
4109
4127
  key: 1,
4110
4128
  class: "tpl:flex tpl:items-center tpl:gap-1"
4111
- }, Il = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Ll = {
4129
+ }, Ll = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Rl = {
4112
4130
  key: 0,
4113
4131
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
4114
- }, Rl = "tpl-logic-picker-list", zl = /* @__PURE__ */ f({
4132
+ }, zl = "tpl-logic-picker-list", Bl = /* @__PURE__ */ f({
4115
4133
  __name: "LogicTagPickerModal",
4116
4134
  setup(r) {
4117
4135
  let a = Be(qe, "LogicTagPickerModal"), { t: o } = U(), u = D(Re, B.liquid), f = D(Ye, null), h = D(Je, null), _ = d(""), v = Pe(_, 200), b = d(null), S = w(() => v.value.trim().length > 0), O = d(0);
@@ -4197,12 +4215,12 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
4197
4215
  }
4198
4216
  }
4199
4217
  function H(e) {
4200
- return `${Rl}-opt-${e}`;
4218
+ return `${zl}-opt-${e}`;
4201
4219
  }
4202
4220
  function se() {
4203
- return z.value.length === 0 ? void 0 : `${Rl}-opt-${O.value}`;
4221
+ return z.value.length === 0 ? void 0 : `${zl}-opt-${O.value}`;
4204
4222
  }
4205
- return (r, i) => (s(), y(Yt, {
4223
+ return (r, i) => (s(), y(Jt, {
4206
4224
  visible: x(a).isOpen.value,
4207
4225
  onClose: ie,
4208
4226
  onKeydown: oe
@@ -4210,16 +4228,16 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
4210
4228
  default: l(() => [p("div", {
4211
4229
  role: "dialog",
4212
4230
  "aria-modal": "true",
4213
- "aria-labelledby": `${Rl}-title`,
4231
+ "aria-labelledby": `${zl}-title`,
4214
4232
  "data-tpl-theme": x(h),
4215
4233
  "data-testid": "logic-picker-modal",
4216
4234
  class: "tpl tpl:flex tpl:max-h-[80vh] tpl:w-[min(420px,92vw)] tpl:flex-col tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:shadow-[var(--tpl-shadow-lg)]",
4217
4235
  style: t(x(f))
4218
4236
  }, [
4219
- p("header", Sl, [p("h2", {
4220
- id: `${Rl}-title`,
4237
+ p("header", Cl, [p("h2", {
4238
+ id: `${zl}-title`,
4221
4239
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
4222
- }, c(x(o).logicTag.picker.title), 9, Cl), p("button", {
4240
+ }, c(x(o).logicTag.picker.title), 9, wl), p("button", {
4223
4241
  type: "button",
4224
4242
  class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
4225
4243
  "aria-label": x(o).logicTag.picker.close,
@@ -4228,13 +4246,13 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
4228
4246
  }, [g(x(jt), {
4229
4247
  size: 16,
4230
4248
  "stroke-width": 2
4231
- })], 8, wl)]),
4232
- p("div", Tl, [g(x(ht), {
4249
+ })], 8, Tl)]),
4250
+ p("div", El, [g(x(ht), {
4233
4251
  class: "tpl:pointer-events-none tpl:absolute tpl:top-1/2 tpl:left-5 tpl:-translate-y-1/2 tpl:text-[var(--tpl-text-dim)]",
4234
4252
  size: 14,
4235
4253
  "stroke-width": 2
4236
4254
  }), k(p("input", {
4237
- id: `${Rl}-search`,
4255
+ id: `${zl}-search`,
4238
4256
  ref_key: "searchInputRef",
4239
4257
  ref: b,
4240
4258
  "onUpdate:modelValue": i[0] ||= (e) => _.value = e,
@@ -4242,25 +4260,25 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
4242
4260
  class: "tpl:w-full tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)]",
4243
4261
  placeholder: x(o).logicTag.picker.searchPlaceholder,
4244
4262
  "aria-label": x(o).logicTag.picker.searchAriaLabel,
4245
- "aria-controls": Rl,
4263
+ "aria-controls": zl,
4246
4264
  "aria-activedescendant": se(),
4247
4265
  "data-testid": "logic-picker-search",
4248
4266
  onKeydown: i[1] ||= N(j(() => {}, ["prevent"]), ["enter"])
4249
- }, null, 40, El), [[A, _.value]])]),
4267
+ }, null, 40, Dl), [[A, _.value]])]),
4250
4268
  p("div", {
4251
- id: Rl,
4269
+ id: zl,
4252
4270
  ref_key: "listRef",
4253
4271
  ref: ne,
4254
4272
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
4255
4273
  role: "listbox",
4256
4274
  "aria-label": x(o).logicTag.picker.title,
4257
4275
  "data-testid": "logic-picker-list"
4258
- }, [V.value ? (s(), m("div", Ol, c(x(o).logicTag.picker.empty), 1)) : te.value ? (s(), m("div", kl, c(x(o).logicTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(R.value.rows, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("div", {
4276
+ }, [V.value ? (s(), m("div", kl, c(x(o).logicTag.picker.empty), 1)) : te.value ? (s(), m("div", Al, c(x(o).logicTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(R.value.rows, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("div", {
4259
4277
  key: 0,
4260
4278
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
4261
4279
  "data-testid": "logic-picker-header",
4262
4280
  "data-group-name": e.label
4263
- }, c(e.label), 9, Al)) : (s(), m("button", {
4281
+ }, c(e.label), 9, jl)) : (s(), m("button", {
4264
4282
  key: 1,
4265
4283
  id: H(e.index),
4266
4284
  type: "button",
@@ -4274,27 +4292,27 @@ var jo = { class: "tpl:mb-3.5" }, Mo = ["value"], No = ["value"], Po = {
4274
4292
  onMousemove: (t) => O.value = e.index,
4275
4293
  onClick: (t) => re(e.kind === "tag" ? e.tag : e.pair)
4276
4294
  }, [
4277
- p("span", Ml, [p("span", Nl, c(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), m("span", Pl, [g(bl, {
4295
+ p("span", Nl, [p("span", Pl, c(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), m("span", Fl, [g(xl, {
4278
4296
  value: e.tag.value,
4279
4297
  syntax: x(u)
4280
- }, null, 8, ["value", "syntax"])])) : (s(), m("span", Fl, [
4281
- g(bl, {
4298
+ }, null, 8, ["value", "syntax"])])) : (s(), m("span", Il, [
4299
+ g(xl, {
4282
4300
  value: e.pair.before,
4283
4301
  syntax: x(u)
4284
4302
  }, null, 8, ["value", "syntax"]),
4285
4303
  i[2] ||= p("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
4286
- g(bl, {
4304
+ g(xl, {
4287
4305
  value: e.pair.after,
4288
4306
  syntax: x(u)
4289
4307
  }, null, 8, ["value", "syntax"])
4290
4308
  ]))]),
4291
- p("span", Il, c(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
4292
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), m("span", Ll, c(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : T("", !0)
4293
- ], 42, jl))], 64))), 128))], 8, Dl)
4294
- ], 12, xl)]),
4309
+ p("span", Ll, c(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
4310
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), m("span", Rl, c(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : T("", !0)
4311
+ ], 42, Ml))], 64))), 128))], 8, Ol)
4312
+ ], 12, Sl)]),
4295
4313
  _: 1
4296
4314
  }, 8, ["visible"]));
4297
4315
  }
4298
4316
  });
4299
4317
  //#endregion
4300
- export { qc as a, Ln as c, mn as d, pn as f, rn as h, Yc as i, On as l, ln as m, vl as n, Gc as o, dn as p, Qc as r, Bc as s, zl as t, Dn as u };
4318
+ export { Jc as a, Ln as c, mn as d, pn as f, rn as h, Xc as i, On as l, ln as m, yl as n, Kc as o, dn as p, $c as r, Vc as s, Bl as t, Dn as u };