@templatical/editor 0.24.0 → 0.24.1

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 (198) hide show
  1. package/dist/{AiChatSidebar-Nq-jrGaf.js → AiChatSidebar-X4viKtvs.js} +14 -14
  2. package/dist/{AiFeatureMenu-tg_zMKMK.js → AiFeatureMenu-DDAamRaA.js} +7 -7
  3. package/dist/{BlockIssueBadge-Bd94kIiw.js → BlockIssueBadge-Qxrl7Ujl.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-B34aMhHe.js → BlockPreviewCanvas-Cf-kxbEr.js} +3 -3
  5. package/dist/{CloudEditor-DjN_9Yso.js → CloudEditor-JIzhj1Xq.js} +26 -26
  6. package/dist/{CollaboratorBar-Bhazzcg-.js → CollaboratorBar-tC7AACTb.js} +4 -4
  7. package/dist/{ColorPicker-DXGrcJxJ.js → ColorPicker--_2PbzFk.js} +7 -9
  8. package/dist/{CommentsSidebar-ku1kt10u.js → CommentsSidebar-Ci2Ov8FG.js} +15 -15
  9. package/dist/{CountdownBlock-CN9Lc23W.js → CountdownBlock-aZIKfBWY.js} +3 -3
  10. package/dist/{CountdownToolbar-VEsIyKV6.js → CountdownToolbar-DHp6T0Q_.js} +4 -4
  11. package/dist/DesignReferenceSidebar-DQsC-3hB.js +264 -0
  12. package/dist/{IssuesPanel-CEfzOpS_.js → IssuesPanel-CoOfib44.js} +8 -8
  13. package/dist/{LoadingTrack-KIcREPlS.js → LoadingTrack-XK_eeUdq.js} +1 -1
  14. package/dist/{MergeTagModeToggle-C3V2xGAg.js → MergeTagModeToggle-CiFiSV0C.js} +6 -6
  15. package/dist/{MergeTagSuggestion-Dn8ww9nV.js → MergeTagSuggestion-D0OHRv7L.js} +8 -12
  16. package/dist/{NumberWithSuffix-BGocZkj9.js → NumberWithSuffix-CXFbUqsx.js} +2 -2
  17. package/dist/{ParagraphEditor-D-fz0kUb.js → ParagraphEditor-Cy-bpEjI.js} +44 -44
  18. package/dist/{RichTextEditorContent-DydrqFts.js → RichTextEditorContent-CYJko6id.js} +8 -8
  19. package/dist/{SaveBlockDialog-BDDFbAWF.js → SaveBlockDialog-CNTSaMEa.js} +10 -10
  20. package/dist/{SavedBlocksBrowserModal-Djik_fJh.js → SavedBlocksBrowserModal-CvxS5-YX.js} +11 -11
  21. package/dist/{SavedBlocksPanels-CxemyPxL.js → SavedBlocksPanels-CNdUxS89.js} +2 -2
  22. package/dist/{SavedBlocksPickBar-Dlhipmob.js → SavedBlocksPickBar-BvXKhblL.js} +4 -4
  23. package/dist/{SnapshotHistory-DPbM4ons.js → SnapshotHistory-BqPSIV9L.js} +10 -10
  24. package/dist/{TemplateScoringPanel-BFYgweDX.js → TemplateScoringPanel-CMEuz9yF.js} +15 -15
  25. package/dist/{TestEmailModal-IZfwgya-.js → TestEmailModal-BDhnnCBx.js} +10 -10
  26. package/dist/{TestEmailPanel-QEEx_PkN.js → TestEmailPanel--RwnwLn2.js} +2 -2
  27. package/dist/{TitleEditor-BB4YlIBF.js → TitleEditor-F7E_pU9H.js} +12 -12
  28. package/dist/TplModal-BIiS24Of.js +49 -0
  29. package/dist/{blockTypeIcons-Wzd7W_2x.js → blockTypeIcons-C6PnLMp7.js} +26 -26
  30. package/dist/bundle-stats.json +6 -6
  31. package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js → AiChatSidebar-UbF3ePzR.js} +8 -8
  32. package/dist/cdn/chunks/{AiChatSidebar-CN-0DIuA.js.map → AiChatSidebar-UbF3ePzR.js.map} +1 -1
  33. package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js → AiFeatureMenu-OIwoJzHG.js} +6 -6
  34. package/dist/cdn/chunks/{AiFeatureMenu-B5pV6Iux.js.map → AiFeatureMenu-OIwoJzHG.js.map} +1 -1
  35. package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js → BlockIssueBadge-Bd2EuT1C.js} +5 -5
  36. package/dist/cdn/chunks/{BlockIssueBadge-aanOjeyi.js.map → BlockIssueBadge-Bd2EuT1C.js.map} +1 -1
  37. package/dist/cdn/chunks/{BlockPreviewCanvas-Dc4F4HzY.js → BlockPreviewCanvas-C-ut8GkJ.js} +5 -5
  38. package/dist/cdn/chunks/{BlockPreviewCanvas-Dc4F4HzY.js.map → BlockPreviewCanvas-C-ut8GkJ.js.map} +1 -1
  39. package/dist/cdn/chunks/{CloudEditor-CeKaWWO5.js → CloudEditor-D87qsqbZ.js} +20 -20
  40. package/dist/cdn/chunks/{CloudEditor-CeKaWWO5.js.map → CloudEditor-D87qsqbZ.js.map} +1 -1
  41. package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js → CollaboratorBar-Br4RvNrA.js} +5 -5
  42. package/dist/cdn/chunks/{CollaboratorBar-CEdKr0A2.js.map → CollaboratorBar-Br4RvNrA.js.map} +1 -1
  43. package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js → ColorPicker-B-ymPPtU.js} +8 -10
  44. package/dist/cdn/chunks/{ColorPicker-BckwEfcN.js.map → ColorPicker-B-ymPPtU.js.map} +1 -1
  45. package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js → CommentsSidebar-Tv_WTcJv.js} +6 -6
  46. package/dist/cdn/chunks/{CommentsSidebar-6PfpJKh-.js.map → CommentsSidebar-Tv_WTcJv.js.map} +1 -1
  47. package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js → CountdownBlock-cEcXSK91.js} +4 -4
  48. package/dist/cdn/chunks/{CountdownBlock-CoBmvQKv.js.map → CountdownBlock-cEcXSK91.js.map} +1 -1
  49. package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js → CountdownToolbar-CLp3_ebk.js} +5 -5
  50. package/dist/cdn/chunks/{CountdownToolbar-CdV8RTQu.js.map → CountdownToolbar-CLp3_ebk.js.map} +1 -1
  51. package/dist/cdn/chunks/DesignReferenceSidebar-YeqxSsxO.js +223 -0
  52. package/dist/cdn/chunks/{DesignReferenceSidebar-BjlaP69l.js.map → DesignReferenceSidebar-YeqxSsxO.js.map} +1 -1
  53. package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js → IssuesPanel-BhsvC3XQ.js} +5 -5
  54. package/dist/cdn/chunks/{IssuesPanel-CkkEnhxZ.js.map → IssuesPanel-BhsvC3XQ.js.map} +1 -1
  55. package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js → LoadingTrack-G2tuXqCJ.js} +2 -2
  56. package/dist/cdn/chunks/{LoadingTrack-D-CW2tUa.js.map → LoadingTrack-G2tuXqCJ.js.map} +1 -1
  57. package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js → MergeTagModeToggle-DrdxQA0K.js} +6 -6
  58. package/dist/cdn/chunks/{MergeTagModeToggle-DmtR300G.js.map → MergeTagModeToggle-DrdxQA0K.js.map} +1 -1
  59. package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js → MergeTagSuggestion-Ces5Ua78.js} +3 -3
  60. package/dist/cdn/chunks/{MergeTagSuggestion-Cvlkw_PM.js.map → MergeTagSuggestion-Ces5Ua78.js.map} +1 -1
  61. package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js → NumberWithSuffix-BK_Xh4w4.js} +3 -3
  62. package/dist/cdn/chunks/{NumberWithSuffix-BOcMN26z.js.map → NumberWithSuffix-BK_Xh4w4.js.map} +1 -1
  63. package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js → ParagraphEditor-DKz4vTWB.js} +131 -131
  64. package/dist/cdn/chunks/{ParagraphEditor-CX1yks4N.js.map → ParagraphEditor-DKz4vTWB.js.map} +1 -1
  65. package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js → RichTextEditorContent-CJ2WVicQ.js} +7 -7
  66. package/dist/cdn/chunks/{RichTextEditorContent-z9s7qxs3.js.map → RichTextEditorContent-CJ2WVicQ.js.map} +1 -1
  67. package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js → SaveBlockDialog-DTemkKPX.js} +8 -8
  68. package/dist/cdn/chunks/{SaveBlockDialog-D2CtW4lC.js.map → SaveBlockDialog-DTemkKPX.js.map} +1 -1
  69. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js → SavedBlocksBrowserModal-DbMaIbeH.js} +9 -9
  70. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdUKJzzF.js.map → SavedBlocksBrowserModal-DbMaIbeH.js.map} +1 -1
  71. package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js → SavedBlocksPanels-CUffuDAC.js} +3 -3
  72. package/dist/cdn/chunks/{SavedBlocksPanels-1kVbqdpc.js.map → SavedBlocksPanels-CUffuDAC.js.map} +1 -1
  73. package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js → SavedBlocksPickBar-D7SmNz2n.js} +5 -5
  74. package/dist/cdn/chunks/{SavedBlocksPickBar--noDJIyN.js.map → SavedBlocksPickBar-D7SmNz2n.js.map} +1 -1
  75. package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js → SnapshotHistory-m5Z8bTej.js} +7 -7
  76. package/dist/cdn/chunks/{SnapshotHistory-DFuNJRc9.js.map → SnapshotHistory-m5Z8bTej.js.map} +1 -1
  77. package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js → TemplateScoringPanel-DgRU5fty.js} +6 -6
  78. package/dist/cdn/chunks/{TemplateScoringPanel-DG1dAjQk.js.map → TemplateScoringPanel-DgRU5fty.js.map} +1 -1
  79. package/dist/cdn/chunks/{TestEmailModal-CiPfOn2v.js → TestEmailModal-Ce8-vzGh.js} +9 -9
  80. package/dist/cdn/chunks/{TestEmailModal-CiPfOn2v.js.map → TestEmailModal-Ce8-vzGh.js.map} +1 -1
  81. package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js → TestEmailPanel-BlmIKKSL.js} +3 -3
  82. package/dist/cdn/chunks/{TestEmailPanel-saOfnpjz.js.map → TestEmailPanel-BlmIKKSL.js.map} +1 -1
  83. package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js → TitleEditor-C6_bQxYR.js} +12 -12
  84. package/dist/cdn/chunks/{TitleEditor-08KM_VzZ.js.map → TitleEditor-C6_bQxYR.js.map} +1 -1
  85. package/dist/cdn/chunks/TplModal-D6bFON2K.js +50 -0
  86. package/dist/cdn/chunks/TplModal-D6bFON2K.js.map +1 -0
  87. package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js → blockTypeIcons-B8s3_ahs.js} +2 -2
  88. package/dist/cdn/chunks/{blockTypeIcons-DvohkXqi.js.map → blockTypeIcons-B8s3_ahs.js.map} +1 -1
  89. package/dist/cdn/chunks/{cloud-C2I0P9qj.js → cloud-CRlDc0Ev.js} +13 -17
  90. package/dist/cdn/chunks/{cloud-C2I0P9qj.js.map → cloud-CRlDc0Ev.js.map} +1 -1
  91. package/dist/cdn/chunks/{dist-CxTt8FRE.js → dist-B8AX9np4.js} +16 -12
  92. package/dist/cdn/chunks/dist-B8AX9np4.js.map +1 -0
  93. package/dist/cdn/chunks/{dist-CiBEt0VR.js → dist-lZgXNk4G.js} +36 -20
  94. package/dist/cdn/chunks/dist-lZgXNk4G.js.map +1 -0
  95. package/dist/cdn/chunks/{draggable-D840DIZB.js → draggable-JcMTNF3U.js} +14 -15
  96. package/dist/cdn/chunks/{draggable-D840DIZB.js.map → draggable-JcMTNF3U.js.map} +1 -1
  97. package/dist/cdn/chunks/{extensions-DBWF_lxx.js → extensions-CKMD_er_.js} +15 -11
  98. package/dist/cdn/chunks/{extensions-DBWF_lxx.js.map → extensions-CKMD_er_.js.map} +1 -1
  99. package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js → htmlparser-CPhs2cYE.js} +3 -5
  100. package/dist/cdn/chunks/{htmlparser-CZa2V5cF.js.map → htmlparser-CPhs2cYE.js.map} +1 -1
  101. package/dist/cdn/chunks/{icons-Cqxvwgz7.js → icons-Cp4ZIJw-.js} +31 -31
  102. package/dist/cdn/chunks/{icons-Cqxvwgz7.js.map → icons-Cp4ZIJw-.js.map} +1 -1
  103. package/dist/cdn/chunks/{keys-B5uoP9P7.js → keys-CswSK7eb.js} +2 -2
  104. package/dist/cdn/chunks/{keys-B5uoP9P7.js.map → keys-CswSK7eb.js.map} +1 -1
  105. package/dist/cdn/chunks/{liquid.browser-BJOEu6Cg.js → liquid.browser-CZaQe87t.js} +756 -718
  106. package/dist/cdn/chunks/liquid.browser-CZaQe87t.js.map +1 -0
  107. package/dist/cdn/chunks/{pusher-R0v5p99W.js → pusher-kUlkqMvR.js} +21 -28
  108. package/dist/cdn/chunks/{pusher-R0v5p99W.js.map → pusher-kUlkqMvR.js.map} +1 -1
  109. package/dist/cdn/chunks/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  110. package/dist/cdn/chunks/{src-C45kfA2t.js → src-B3HKHglu.js} +5 -9
  111. package/dist/cdn/chunks/{src-C45kfA2t.js.map → src-B3HKHglu.js.map} +1 -1
  112. package/dist/cdn/chunks/{src-YVsPFLNJ.js → src-B4UhYbI8.js} +4 -4
  113. package/dist/cdn/chunks/{src-YVsPFLNJ.js.map → src-B4UhYbI8.js.map} +1 -1
  114. package/dist/cdn/chunks/{src-XQmI_Xs1.js → src-CumZZNXZ.js} +523 -787
  115. package/dist/cdn/chunks/{src-XQmI_Xs1.js.map → src-CumZZNXZ.js.map} +1 -1
  116. package/dist/cdn/chunks/{src-BCJna-6p.js → src-D5mfLR4V.js} +2 -2
  117. package/dist/cdn/chunks/{src-BCJna-6p.js.map → src-D5mfLR4V.js.map} +1 -1
  118. package/dist/cdn/chunks/{styles-BohMfIBd.js → styles--m9OCb_Z.js} +530 -530
  119. package/dist/cdn/chunks/{styles-BohMfIBd.js.map → styles--m9OCb_Z.js.map} +1 -1
  120. package/dist/cdn/chunks/timeouts-SsLMC4a3.js +6 -0
  121. package/dist/cdn/chunks/{timeouts-Bmi_yePw.js.map → timeouts-SsLMC4a3.js.map} +1 -1
  122. package/dist/cdn/chunks/{tiptap-DRKu__AX.js → tiptap-rsib432n.js} +132 -119
  123. package/dist/cdn/chunks/tiptap-rsib432n.js.map +1 -0
  124. package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js → useAliveFlag-CseYNikC.js} +2 -2
  125. package/dist/cdn/chunks/{useAliveFlag-aanU8uqB.js.map → useAliveFlag-CseYNikC.js.map} +1 -1
  126. package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js → useCloudI18n-sx1pqEbY.js} +3 -3
  127. package/dist/cdn/chunks/{useCloudI18n-Bem8DUjH.js.map → useCloudI18n-sx1pqEbY.js.map} +1 -1
  128. package/dist/cdn/chunks/{useEditorCore-B_vwuKdI.js → useEditorCore-ZqF7P99K.js} +201 -199
  129. package/dist/cdn/chunks/{useEditorCore-B_vwuKdI.js.map → useEditorCore-ZqF7P99K.js.map} +1 -1
  130. package/dist/cdn/chunks/{useI18n-graz19nI.js → useI18n-vD57BfVR.js} +3 -3
  131. package/dist/cdn/chunks/{useI18n-graz19nI.js.map → useI18n-vD57BfVR.js.map} +1 -1
  132. package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js → useMergeTag-HatzNGgc.js} +4 -4
  133. package/dist/cdn/chunks/{useMergeTag-rTzAFMlr.js.map → useMergeTag-HatzNGgc.js.map} +1 -1
  134. package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js → usePopoverPosition-BdQ3Sv4B.js} +3 -3
  135. package/dist/cdn/chunks/{usePopoverPosition-BaFxLP3w.js.map → usePopoverPosition-BdQ3Sv4B.js.map} +1 -1
  136. package/dist/cdn/editor.js +10 -10
  137. package/dist/cdn/editor.js.map +1 -1
  138. package/dist/{check-BpQDKiPz.js → check-CIhIDh4h.js} +1 -1
  139. package/dist/{chevron-down-j8GrdTyz.js → chevron-down-CZ0m6G3s.js} +1 -1
  140. package/dist/{chevron-up-BACyVhyC.js → chevron-up-BH_tJLeb.js} +1 -1
  141. package/dist/{circle-alert-CgtE46ND.js → circle-alert-DkEXnGPV.js} +1 -1
  142. package/dist/{clock-BzKLLW5L.js → clock-BDIJZUET.js} +1 -1
  143. package/dist/{cloud-DsUct4Zq.js → cloud-R8ci6yR1.js} +10 -14
  144. package/dist/{createLucideIcon-JWHwTI6N.js → createLucideIcon-AEltGIse.js} +3 -3
  145. package/dist/{dist-BAkGuPYm.js → dist-B6Px6GPj.js} +1 -1
  146. package/dist/{dist-DPHqs0Yh.js → dist-Ba5Q-UX1.js} +1 -1
  147. package/dist/{dist-9uhI32Q4.js → dist-BxbTVeY0.js} +1 -1
  148. package/dist/{dist-DWu9QWFl.js → dist-CIqhVQ1O.js} +5 -5
  149. package/dist/{dist-CkCVlKj_.js → dist-CRH880TV.js} +1 -1
  150. package/dist/{dist-ByJVlKWy.js → dist-CcQFPJMF.js} +116 -100
  151. package/dist/{dist-JXOq1hib.js → dist-CkPvZCld.js} +1 -1
  152. package/dist/{dist-IGetXrbO.js → dist-DSIgxp0v.js} +1 -1
  153. package/dist/{dist-DYv_Pttj.js → dist-DT1XnEnj.js} +33 -17
  154. package/dist/{dist-C_kAE1sC.js → dist-DX4x6mQ1.js} +3 -3
  155. package/dist/{dist-DFO896yT.js → dist-Dx71pluS.js} +16 -11
  156. package/dist/{dist-CQiAZlTt.js → dist-DyCHUyRR.js} +1 -1
  157. package/dist/{dist-BIYm-U9x.js → dist-iCEDH3cC.js} +1 -1
  158. package/dist/{dist-C5tigvDF.js → dist-nR6mxyqI.js} +1 -1
  159. package/dist/{extensions-C0DXnYdA.js → extensions-CGxj6-2o.js} +16 -12
  160. package/dist/{image-up-CQdtq8ge.js → image-up-8ktdYdaZ.js} +1 -1
  161. package/dist/{info-BUJBXoE6.js → info-CvrCgTLH.js} +1 -1
  162. package/dist/{keys-BVlG5Ozc.js → keys-uWpGv4Pq.js} +1 -1
  163. package/dist/{liquid.browser-DZLtv26k.js → liquid.browser-BECWFL5Z.js} +755 -717
  164. package/dist/{list-checks-BGHaCSD5.js → list-checks-yzGT93ZL.js} +1 -1
  165. package/dist/{loader-circle-C-Z6kgI6.js → loader-circle-B6euendB.js} +1 -1
  166. package/dist/{message-circle-CEm5qckV.js → message-circle-BMldLVcA.js} +1 -1
  167. package/dist/{pencil-DdwmkKLb.js → pencil-CkKkSd6N.js} +1 -1
  168. package/dist/{refresh-cw-maKlg0dl.js → refresh-cw-fBPgB97G.js} +1 -1
  169. package/dist/{runtime-dom.esm-bundler-GdMI8WqG.js → runtime-dom.esm-bundler-CBbDt7sw.js} +2 -2
  170. package/dist/{scan-line-BFgesTOY.js → scan-line-CRoEOUiK.js} +1 -1
  171. package/dist/{send-B70aQDrA.js → send-B9Tt2qBi.js} +1 -1
  172. package/dist/{shield-check-B7x5OKt5.js → shield-check-QfZkYeIo.js} +1 -1
  173. package/dist/{sparkles-DVlm1Ipp.js → sparkles-8UeMmZb8.js} +1 -1
  174. package/dist/{styles-BTTD0Je4.js → styles-C9AMvkJk.js} +541 -541
  175. package/dist/templatical-editor.js +11 -11
  176. package/dist/{text-align-start-Vay3Kvo2.js → text-align-start-Dn8uIheW.js} +1 -1
  177. package/dist/{trash-2-DE8CmxAG.js → trash-2-DDyvqj0E.js} +1 -1
  178. package/dist/{triangle-alert-Djg6IG8N.js → triangle-alert-B3PydLzl.js} +1 -1
  179. package/dist/{upload-BwwE0U6G.js → upload-hE8ItfyG.js} +2 -2
  180. package/dist/{useAliveFlag-C43EhZFY.js → useAliveFlag-AfoTE_AY.js} +1 -1
  181. package/dist/{useCloudI18n-DGr3b2SX.js → useCloudI18n-BC_QV2Z7.js} +2 -2
  182. package/dist/{useEditorCore-DOrGex_t.js → useEditorCore-Dojb-P2f.js} +655 -655
  183. package/dist/{useI18n-BhAejA-x.js → useI18n-DzOcl2wl.js} +2 -2
  184. package/dist/{useMergeTag-Ce95YIOO.js → useMergeTag-BFxXCv3p.js} +3 -3
  185. package/dist/{usePopoverPosition-vjKJaqJf.js → usePopoverPosition-Dtr1Mp1x.js} +13 -13
  186. package/dist/{vue.runtime.esm-bundler-B0xoGkDv.js → vue.runtime.esm-bundler-Xpz-L9Fn.js} +27 -22
  187. package/dist/{x-CkD6A1iB.js → x-C4lETLDx.js} +1 -1
  188. package/package.json +12 -12
  189. package/dist/DesignReferenceSidebar-C4pTMzQE.js +0 -264
  190. package/dist/TplModal-DPH4vV8M.js +0 -49
  191. package/dist/cdn/chunks/DesignReferenceSidebar-BjlaP69l.js +0 -223
  192. package/dist/cdn/chunks/TplModal-Cu4tBBnF.js +0 -50
  193. package/dist/cdn/chunks/TplModal-Cu4tBBnF.js.map +0 -1
  194. package/dist/cdn/chunks/dist-CiBEt0VR.js.map +0 -1
  195. package/dist/cdn/chunks/dist-CxTt8FRE.js.map +0 -1
  196. package/dist/cdn/chunks/liquid.browser-BJOEu6Cg.js.map +0 -1
  197. package/dist/cdn/chunks/timeouts-Bmi_yePw.js +0 -6
  198. package/dist/cdn/chunks/tiptap-DRKu__AX.js.map +0 -1
@@ -1,22 +1,22 @@
1
- import { C as e, F as t, G as n, H as r, J as i, K as a, L as o, M as s, N as c, O as l, P as u, T as d, V as f, Y as p, Z as m, b as h, c as g, ct as _, f as v, g as y, h as b, it as x, l as S, m as C, n as w, o as T, ot as E, p as D, s as O, st as k, t as A, u as j, v as M, x as N, y as P, z as F } from "./draggable-D840DIZB.js";
2
- import { P as I, S as L, c as R, i as z, n as B, r as V, s as H, u as ee, v as te, y as ne, z as re } from "./src-BCJna-6p.js";
3
- import { A as ie, C as U, F as ae, I as oe, N as se, O as ce, _ as le, a as ue, c as de, d as fe, f as pe, g as me, h as he, i as ge, j as _e, k as ve, l as ye, m as be, n as xe, o as Se, p as Ce, r as we, s as Te, v as Ee, y as De } from "./useEditorCore-B_vwuKdI.js";
4
- import { _ as Oe, d as ke } from "./dist-CiBEt0VR.js";
5
- import { B as Ae, D as je, F as Me, H as Ne, L as Pe, N as Fe, O as Ie, R as Le, V as Re, _ as ze, a as Be, d as Ve, f as He, h as Ue, j as We, k as Ge, l as Ke, m as qe, n as Je, o as Ye, p as Xe, s as Ze, w as Qe, z as $e } from "./keys-B5uoP9P7.js";
6
- import { t as W } from "./useI18n-graz19nI.js";
7
- import { a as et, n as tt } from "./usePopoverPosition-BaFxLP3w.js";
8
- import { $ as nt, C as rt, Ct as it, D as at, Dt as ot, Ft as st, Lt as ct, N as lt, P as ut, Q as dt, T as ft, Tt as pt, U as G, Y as mt, _t as ht, d as gt, dt as _t, et as vt, ft as yt, g as bt, h as xt, it as St, j as Ct, jt as wt, kt as Tt, lt as Et, m as Dt, n as Ot, nt as kt, pt as At, q as jt, rt as Mt, s as Nt, st as Pt, w as Ft, wt as It, y as Lt, z as Rt } from "./icons-Cqxvwgz7.js";
1
+ import { C as e, F as t, G as n, H as r, J as i, K as a, L as o, M as s, N as c, O as l, P as u, T as d, V as f, Y as p, Z as m, b as h, c as g, ct as _, f as v, g as y, h as b, it as x, l as S, m as C, n as w, o as T, ot as E, p as D, s as O, st as k, t as A, u as j, v as M, x as N, y as P, z as F } from "./draggable-JcMTNF3U.js";
2
+ import { P as I, S as L, c as R, i as z, n as B, r as V, s as H, u as ee, v as te, y as ne, z as re } from "./src-D5mfLR4V.js";
3
+ import { A as ie, C as U, F as ae, I as oe, N as se, O as ce, _ as le, a as ue, c as de, d as fe, f as pe, g as me, h as he, i as ge, j as _e, k as ve, l as ye, m as be, n as xe, o as Se, p as Ce, r as we, s as Te, v as Ee, y as De } from "./useEditorCore-ZqF7P99K.js";
4
+ import { _ as Oe, d as ke } from "./dist-lZgXNk4G.js";
5
+ import { B as Ae, D as je, F as Me, H as Ne, L as Pe, N as Fe, O as Ie, R as Le, V as Re, _ as ze, a as Be, d as Ve, f as He, h as Ue, j as We, k as Ge, l as Ke, m as qe, n as Je, o as Ye, p as Xe, s as Ze, w as Qe, z as $e } from "./keys-CswSK7eb.js";
6
+ import { t as W } from "./useI18n-vD57BfVR.js";
7
+ import { a as et, n as tt } from "./usePopoverPosition-BdQ3Sv4B.js";
8
+ import { $ as nt, C as rt, Ct as it, Dt as at, E as ot, Ft as st, Lt as ct, N as lt, P as ut, Q as dt, T as ft, Tt as pt, U as G, Y as mt, _t as ht, d as gt, dt as _t, et as vt, ft as yt, g as bt, h as xt, it as St, j as Ct, jt as wt, kt as Tt, lt as Et, m as Dt, n as Ot, nt as kt, pt as At, q as jt, rt as Mt, s as Nt, st as Pt, w as Ft, wt as It, y as Lt, z as Rt } from "./icons-Cp4ZIJw-.js";
9
9
  import { t as zt } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
- import { t as Bt } from "./useCloudI18n-Bem8DUjH.js";
11
- import { t as Vt } from "./useMergeTag-rTzAFMlr.js";
12
- import { t as Ht } from "./useAliveFlag-aanU8uqB.js";
10
+ import { t as Bt } from "./useCloudI18n-sx1pqEbY.js";
11
+ import { t as Vt } from "./useMergeTag-HatzNGgc.js";
12
+ import { t as Ht } from "./useAliveFlag-CseYNikC.js";
13
13
  import { n as Ut, t as Wt } from "./emailFrameWidth-BmFCN2dp.js";
14
14
  import { t as Gt } from "./readableTextColor-f8Kykfnh.js";
15
- import { t as Kt } from "./blockTypeIcons-DvohkXqi.js";
16
- import { _ as qt, f as K, g as Jt, h as q, i as Yt, l as Xt, m as J, n as Zt, p as Y, t as X, u as Qt } from "./ColorPicker-BckwEfcN.js";
17
- import { n as $t, r as en } from "./MergeTagSuggestion-Cvlkw_PM.js";
18
- import { i as Z, n as Q, r as tn, t as nn } from "./NumberWithSuffix-BOcMN26z.js";
19
- import { t as rn } from "./TplModal-Cu4tBBnF.js";
15
+ import { t as Kt } from "./blockTypeIcons-B8s3_ahs.js";
16
+ import { _ as qt, f as K, g as Jt, h as q, i as Yt, l as Xt, m as J, n as Zt, p as Y, t as X, u as Qt } from "./ColorPicker-B-ymPPtU.js";
17
+ import { n as $t, r as en } from "./MergeTagSuggestion-Ces5Ua78.js";
18
+ import { i as Z, n as Q, r as tn, t as nn } from "./NumberWithSuffix-BK_Xh4w4.js";
19
+ import { t as rn } from "./TplModal-D6bFON2K.js";
20
20
  //#region src/composables/useSavedBlocksFeature.ts
21
21
  function an(e) {
22
22
  let { provider: t, editor: n } = e, r = ae({
@@ -102,7 +102,7 @@ function an(e) {
102
102
  //#region src/utils/toMjml.ts
103
103
  async function on() {
104
104
  try {
105
- return await import("./src-C45kfA2t.js");
105
+ return await import("./src-B3HKHglu.js");
106
106
  } catch {
107
107
  return null;
108
108
  }
@@ -213,7 +213,7 @@ var dn = ["aria-label"], fn = {
213
213
  }, vn = { class: "tpl:relative" }, yn = {
214
214
  class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
215
215
  style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
216
- }, bn = 96, xn = /*#__PURE__*/ zt(/* @__PURE__ */ N({
216
+ }, bn = /*#__PURE__*/ zt(/* @__PURE__ */ N({
217
217
  __name: "Canvas",
218
218
  props: {
219
219
  viewport: {},
@@ -253,7 +253,7 @@ var dn = ["aria-label"], fn = {
253
253
  blocks: e
254
254
  });
255
255
  }
256
- }), L = v(() => Ut(i.content.settings, i.viewport)), R = v(() => L.value + bn * 2), z = v(() => fe(i.content.settings)), B = v(() => I.value.length === 0 && !i.previewMode), V = m(0), H = v(() => B.value && V.value > 0);
256
+ }), L = v(() => Ut(i.content.settings, i.viewport)), R = v(() => L.value + 192), z = v(() => fe(i.content.settings)), B = v(() => I.value.length === 0 && !i.previewMode), V = m(0), H = v(() => B.value && V.value > 0);
257
257
  function ee() {
258
258
  B.value && (V.value += 1);
259
259
  }
@@ -424,7 +424,7 @@ var dn = ["aria-label"], fn = {
424
424
  "class"
425
425
  ])], 6)], 12, dn)], 4));
426
426
  }
427
- }), [["__scopeId", "data-v-236bcafd"]]), Sn = N({
427
+ }), [["__scopeId", "data-v-236bcafd"]]), xn = N({
428
428
  name: "CustomBlockStylesheets",
429
429
  setup() {
430
430
  let t = d(Xe, null);
@@ -437,7 +437,7 @@ var dn = ["aria-label"], fn = {
437
437
  });
438
438
  //#endregion
439
439
  //#region src/utils/resolvePaletteBlocks.ts
440
- function Cn(e, t) {
440
+ function Sn(e, t) {
441
441
  if (!t || t.length === 0) return {
442
442
  items: e,
443
443
  unknown: []
@@ -456,21 +456,21 @@ function Cn(e, t) {
456
456
  }
457
457
  //#endregion
458
458
  //#region src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
459
- var wn = ["aria-label"], Tn = {
459
+ var Cn = ["aria-label"], wn = {
460
460
  key: 0,
461
461
  class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
462
- }, En = ["aria-label"], Dn = {
462
+ }, Tn = ["aria-label"], En = {
463
463
  key: 0,
464
464
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
465
- }, On = [
465
+ }, Dn = [
466
466
  "data-palette-type",
467
467
  "aria-label",
468
468
  "onClick",
469
469
  "onKeydown"
470
- ], kn = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:scale-105" }, An = {
470
+ ], On = { class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-center tpl:transition-transform tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] hover:tpl:scale-105" }, kn = {
471
471
  key: 0,
472
472
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
473
- }, jn = /* @__PURE__ */ N({
473
+ }, An = /* @__PURE__ */ N({
474
474
  __name: "Sidebar",
475
475
  setup(e) {
476
476
  let { t, format: n } = W(), r = d(He, []), i = d(Fe, void 0), a = d(Be, void 0), c = d(Ue, null), l = d(Ze, {}), p = v(() => l.savedBlocks?.isAvailable.value === !0), h = m(!1), g = m(!1);
@@ -510,7 +510,7 @@ var wn = ["aria-label"], Tn = {
510
510
  label: e.name,
511
511
  isCustom: !0,
512
512
  icon: e.icon
513
- }))), N = v(() => [...O.value, ...M.value]), I = v(() => Cn(N.value, i)), R = v(() => I.value.items), z = /* @__PURE__ */ new Set();
513
+ }))), N = v(() => [...O.value, ...M.value]), I = v(() => Sn(N.value, i)), R = v(() => I.value.items), z = /* @__PURE__ */ new Set();
514
514
  F(() => I.value.unknown, (e) => {
515
515
  for (let t of e) z.has(t) || (z.add(t), _e.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
516
516
  }, { immediate: !0 });
@@ -543,7 +543,7 @@ var wn = ["aria-label"], Tn = {
543
543
  onMouseleave: S,
544
544
  onFocusin: r[2] ||= (e) => h.value = !0,
545
545
  onFocusout: r[3] ||= (e) => h.value = !1
546
- }, [p.value ? (s(), y("div", Tn, [D("button", {
546
+ }, [p.value ? (s(), y("div", wn, [D("button", {
547
547
  type: "button",
548
548
  "aria-label": x(t).sidebarNav.browseSavedBlocks,
549
549
  class: "tpl:flex tpl:h-10 tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-3 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-3 tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)]",
@@ -553,7 +553,7 @@ var wn = ["aria-label"], Tn = {
553
553
  size: 20,
554
554
  "stroke-width": 1.5,
555
555
  class: "tpl:shrink-0"
556
- }), h.value ? (s(), y("span", Dn, _(x(t).savedBlocks.title), 1)) : b("", !0)], 12, En)])) : b("", !0), P(x(A), {
556
+ }), h.value ? (s(), y("span", En, _(x(t).savedBlocks.title), 1)) : b("", !0)], 12, Tn)])) : b("", !0), P(x(A), {
557
557
  "model-value": R.value,
558
558
  group: {
559
559
  name: "blocks",
@@ -577,7 +577,7 @@ var wn = ["aria-label"], Tn = {
577
577
  style: k({ justifyContent: h.value ? "flex-start" : "center" }),
578
578
  onClick: (t) => V(e),
579
579
  onKeydown: (t) => H(t, e)
580
- }, [D("div", kn, [x(Kt)[e.type] ? (s(), C(o(x(Kt)[e.type]), {
580
+ }, [D("div", On, [x(Kt)[e.type] ? (s(), C(o(x(Kt)[e.type]), {
581
581
  key: 0,
582
582
  size: 20,
583
583
  "stroke-width": 1.5
@@ -585,14 +585,14 @@ var wn = ["aria-label"], Tn = {
585
585
  key: 1,
586
586
  icon: e.icon,
587
587
  size: 20
588
- }, null, 8, ["icon"])) : b("", !0)]), h.value ? (s(), y("span", An, _(e.label), 1)) : b("", !0)], 44, On))), 128))]),
588
+ }, null, 8, ["icon"])) : b("", !0)]), h.value ? (s(), y("span", kn, _(e.label), 1)) : b("", !0)], 44, Dn))), 128))]),
589
589
  _: 1
590
- }, 8, ["model-value"])], 44, wn));
590
+ }, 8, ["model-value"])], 44, Cn));
591
591
  }
592
592
  });
593
593
  //#endregion
594
594
  //#region src/utils/mergeTagTrigger.ts
595
- function Mn(e, t, n, r) {
595
+ function jn(e, t, n, r) {
596
596
  if (!n) return null;
597
597
  let i = e.slice(0, t), a = i.lastIndexOf(n);
598
598
  if (a === -1) return null;
@@ -605,8 +605,8 @@ function Mn(e, t, n, r) {
605
605
  }
606
606
  //#endregion
607
607
  //#region src/utils/textFieldCaret.ts
608
- var Nn = /* @__PURE__ */ "boxSizing.width.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderStyle.paddingTop.paddingRight.paddingBottom.paddingLeft.fontStyle.fontVariant.fontWeight.fontStretch.fontSize.lineHeight.fontFamily.textAlign.textTransform.textIndent.letterSpacing.wordSpacing.tabSize.whiteSpace.wordWrap.wordBreak".split(".");
609
- function Pn(e, t, n) {
608
+ var Mn = /* @__PURE__ */ "boxSizing.width.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderStyle.paddingTop.paddingRight.paddingBottom.paddingLeft.fontStyle.fontVariant.fontWeight.fontStretch.fontSize.lineHeight.fontFamily.textAlign.textTransform.textIndent.letterSpacing.wordSpacing.tabSize.whiteSpace.wordWrap.wordBreak".split(".");
609
+ function Nn(e, t, n) {
610
610
  return {
611
611
  left: e,
612
612
  top: t,
@@ -619,7 +619,7 @@ function Pn(e, t, n) {
619
619
  toJSON: () => ({})
620
620
  };
621
621
  }
622
- function Fn(e, t) {
622
+ function Pn(e, t) {
623
623
  let n = e.ownerDocument, r = n.defaultView;
624
624
  if (!r) return null;
625
625
  let i = e.tagName === "INPUT", a = r.getComputedStyle(e), o = n.createElement("div");
@@ -627,7 +627,7 @@ function Fn(e, t) {
627
627
  let s = o.style;
628
628
  s.position = "absolute", s.visibility = "hidden", s.top = "0", s.left = "0", s.overflow = "hidden", s.whiteSpace = i ? "pre" : "pre-wrap", s.wordWrap = i ? "normal" : "break-word";
629
629
  let c = s, l = a;
630
- for (let e of Nn) c[e] = l[e];
630
+ for (let e of Mn) c[e] = l[e];
631
631
  i && (s.width = "auto", s.whiteSpace = "pre");
632
632
  let u = e.value, d = u.slice(0, t);
633
633
  i && (d = d.replace(/\s/g, "\xA0")), o.textContent = d;
@@ -636,78 +636,78 @@ function Fn(e, t) {
636
636
  let p = f.offsetTop, m = f.offsetLeft;
637
637
  n.body.removeChild(o);
638
638
  let h = e.getBoundingClientRect(), g = parseFloat(a.borderTopWidth) || 0, _ = parseFloat(a.borderLeftWidth) || 0, v = parseFloat(a.lineHeight) || parseFloat(a.fontSize) || 0, y = h.left + m + _ - e.scrollLeft;
639
- if (i) return Pn(y, h.top, h.bottom);
639
+ if (i) return Nn(y, h.top, h.bottom);
640
640
  let b = h.top + p + g - e.scrollTop;
641
- return Pn(y, b, b + v);
641
+ return Nn(y, b, b + v);
642
642
  }
643
643
  //#endregion
644
644
  //#region src/composables/useMergeTagAutocomplete.ts
645
- var In = /* @__PURE__ */ new Set([
645
+ var Fn = /* @__PURE__ */ new Set([
646
646
  "ArrowLeft",
647
647
  "ArrowRight",
648
648
  "Home",
649
649
  "End"
650
650
  ]);
651
- function Ln(e) {
652
- let { elementRef: t, modelValue: r, emit: o, mergeTags: s, syntax: c, enabled: u, onInsert: f } = e, p = R(c), m = H(c), h = u && p !== null && s.length > 0, g = d($e, null), _ = $t((a(g) ? g.value : g)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", tt()), v = !1;
651
+ function In(e) {
652
+ let { elementRef: t, modelValue: r, emit: o, mergeTags: s, syntax: c, enabled: u, onInsert: f } = e, p = R(c), m = H(c), h = u && p !== null && s.length > 0, g = d($e, null), _ = (a(g) ? g.value : g)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", v = tt(), y = $t(_, v), b = !1;
653
653
  n() && i(() => {
654
- v = !0, _.close();
654
+ b = !0, y.close();
655
655
  });
656
- function y(e) {
656
+ function x(e) {
657
657
  let t = e.value ?? "";
658
- return Mn(t, e.selectionStart ?? t.length, p, m);
658
+ return jn(t, e.selectionStart ?? t.length, p, m);
659
659
  }
660
- function b(e, n, i) {
660
+ function S(e, n, i) {
661
661
  let a = e.value ?? r(), s = a.slice(n.caret), c = m && s.startsWith(m) ? m.length : 0, u = a.slice(0, n.triggerStart), d = a.slice(n.caret + c), p = u + i.value + d, h = u.length + i.value.length;
662
- f?.(), o(p), _.close(), l(() => {
663
- if (v) return;
662
+ f?.(), o(p), y.close(), l(() => {
663
+ if (b) return;
664
664
  let e = t.value;
665
665
  e?.focus(), e?.setSelectionRange(h, h);
666
666
  });
667
667
  }
668
- function x() {
669
- if (!h || v) return;
668
+ function C() {
669
+ if (!h || b) return;
670
670
  let e = t.value;
671
671
  if (!e) {
672
- _.close();
672
+ y.close();
673
673
  return;
674
674
  }
675
- let n = y(e);
675
+ let n = x(e);
676
676
  if (!n) {
677
- _.close();
677
+ y.close();
678
678
  return;
679
679
  }
680
- let r = en(s, n.query), i = () => Fn(e, n.triggerStart), a = (t) => b(e, n, t);
681
- _.isOpen() ? _.update({
680
+ let r = en(s, n.query), i = () => Pn(e, n.triggerStart), a = (t) => S(e, n, t);
681
+ y.isOpen() ? y.update({
682
682
  items: r,
683
683
  getRect: i,
684
684
  onCommand: a
685
- }) : _.open({
685
+ }) : y.open({
686
686
  items: r,
687
687
  getRect: i,
688
688
  anchorEl: e,
689
689
  onCommand: a
690
690
  });
691
691
  }
692
- function S(e) {
693
- return _.isOpen() ? e.key === "Escape" ? (_.close(), !0) : In.has(e.key) ? (_.close(), !1) : _.handleKeyDown(e) : !1;
692
+ function w(e) {
693
+ return y.isOpen() ? e.key === "Escape" ? (y.close(), !0) : Fn.has(e.key) ? (y.close(), !1) : y.handleKeyDown(e) : !1;
694
694
  }
695
695
  return {
696
696
  available: h,
697
- refresh: x,
698
- handleKeydown: S,
699
- close: () => _.close(),
700
- isOpen: () => _.isOpen()
697
+ refresh: C,
698
+ handleKeydown: w,
699
+ close: () => y.close(),
700
+ isOpen: () => y.isOpen()
701
701
  };
702
702
  }
703
703
  //#endregion
704
704
  //#region src/composables/useMergeTagField.ts
705
- function Rn(e) {
705
+ function Ln(e) {
706
706
  let { modelValue: t, emit: r, elementRef: a } = e, { mergeTags: o, canRequestMergeTag: s, isRequesting: c, isMergeTagValue: u, getMergeTagLabel: d, requestMergeTag: f, syntax: p, autocomplete: h } = Vt(), { canInsertLogicTag: g, isRequesting: _, requestLogicTag: y } = U(), b = m(!1), x = !1, S = !1;
707
707
  n() && i(() => {
708
708
  S = !0;
709
709
  });
710
- let C = Ln({
710
+ let C = In({
711
711
  elementRef: a,
712
712
  modelValue: t,
713
713
  emit: r,
@@ -829,10 +829,10 @@ function Rn(e) {
829
829
  }
830
830
  //#endregion
831
831
  //#region src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
832
- var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip"], Hn = {
832
+ var Rn = ["aria-label", "onKeydown"], zn = ["data-tooltip"], Bn = ["data-tooltip"], Vn = {
833
833
  key: 2,
834
834
  class: "tpl:text-sm tpl:text-[var(--tpl-text)]"
835
- }, Un = ["aria-label", "title"], Wn = /* @__PURE__ */ N({
835
+ }, Hn = ["aria-label", "title"], Un = /* @__PURE__ */ N({
836
836
  __name: "MergeTagSegments",
837
837
  props: {
838
838
  segments: {},
@@ -860,7 +860,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
860
860
  "background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
861
861
  color: "var(--tpl-primary)"
862
862
  }
863
- }, _(e.label), 9, Bn)) : e.type === "logicMergeTag" ? (s(), y("span", {
863
+ }, _(e.label), 9, zn)) : e.type === "logicMergeTag" ? (s(), y("span", {
864
864
  key: 1,
865
865
  class: "tpl-tooltip tpl:inline-flex tpl:items-center tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase",
866
866
  "data-tooltip": e.value,
@@ -869,7 +869,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
869
869
  border: "1.5px solid\n color-mix(in srgb, var(--tpl-primary) 50%, transparent)",
870
870
  color: "var(--tpl-primary)"
871
871
  }
872
- }, _(e.keyword), 9, Vn)) : (s(), y("span", Hn, _(e.value), 1))], 64))), 128)), D("button", {
872
+ }, _(e.keyword), 9, Bn)) : (s(), y("span", Vn, _(e.value), 1))], 64))), 128)), D("button", {
873
873
  type: "button",
874
874
  class: "tpl:ml-auto tpl:flex tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-full tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-dim)] tpl:opacity-60 tpl:transition-all hover:tpl:text-[var(--tpl-danger)] hover:tpl:opacity-100",
875
875
  "aria-label": x(r).mergeTag.remove,
@@ -878,13 +878,13 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
878
878
  }, [P(x(Ot), {
879
879
  size: 12,
880
880
  "stroke-width": 2.5
881
- })], 8, Un)], 42, zn));
881
+ })], 8, Hn)], 42, Rn));
882
882
  }
883
- }), Gn = [
883
+ }), Wn = [
884
884
  "aria-label",
885
885
  "title",
886
886
  "disabled"
887
- ], Kn = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] hover:tpl:border-[var(--tpl-primary)]", qn = /* @__PURE__ */ N({
887
+ ], Gn = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] hover:tpl:border-[var(--tpl-primary)]", Kn = /* @__PURE__ */ N({
888
888
  __name: "MergeTagInsertButton",
889
889
  props: { disabled: { type: Boolean } },
890
890
  emits: ["insert"],
@@ -892,7 +892,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
892
892
  let { t } = W();
893
893
  return (n, r) => (s(), y("button", {
894
894
  type: "button",
895
- class: E([Kn, "tpl:mt-1.5"]),
895
+ class: E([Gn, "tpl:mt-1.5"]),
896
896
  "aria-label": x(t).mergeTag.insert,
897
897
  title: x(t).mergeTag.insert,
898
898
  disabled: e.disabled,
@@ -901,13 +901,13 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
901
901
  }, [P(x(ut), {
902
902
  size: 12,
903
903
  "stroke-width": 2
904
- }), M(" " + _(x(t).mergeTag.insertShort), 1)], 42, Gn));
904
+ }), M(" " + _(x(t).mergeTag.insertShort), 1)], 42, Wn));
905
905
  }
906
- }), Jn = [
906
+ }), qn = [
907
907
  "aria-label",
908
908
  "title",
909
909
  "disabled"
910
- ], Yn = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] hover:tpl:border-[var(--tpl-primary)]", Xn = /* @__PURE__ */ N({
910
+ ], Jn = "tpl:flex tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-xs tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-[120ms] hover:tpl:bg-[var(--tpl-primary-light)] hover:tpl:text-[var(--tpl-primary)] hover:tpl:border-[var(--tpl-primary)]", Yn = /* @__PURE__ */ N({
911
911
  __name: "LogicTagInsertButton",
912
912
  props: { disabled: { type: Boolean } },
913
913
  emits: ["insert"],
@@ -915,7 +915,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
915
915
  let { t } = W();
916
916
  return (n, r) => (s(), y("button", {
917
917
  type: "button",
918
- class: E([Yn, "tpl:mt-1.5"]),
918
+ class: E([Jn, "tpl:mt-1.5"]),
919
919
  "aria-label": x(t).logicTag.insert,
920
920
  title: x(t).logicTag.insert,
921
921
  disabled: e.disabled,
@@ -925,19 +925,19 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
925
925
  }, [P(x(ct), {
926
926
  size: 12,
927
927
  "stroke-width": 2
928
- }), M(" " + _(x(t).logicTag.insertShort), 1)], 42, Jn));
928
+ }), M(" " + _(x(t).logicTag.insertShort), 1)], 42, qn));
929
929
  }
930
- }), Zn = { key: 0 }, Qn = {
930
+ }), Xn = { key: 0 }, Zn = {
931
931
  key: 0,
932
932
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
933
- }, $n = { key: 1 }, er = [
933
+ }, Qn = { key: 1 }, $n = [
934
934
  "value",
935
935
  "placeholder",
936
936
  "rows"
937
- ], tr = {
937
+ ], er = {
938
938
  key: 0,
939
939
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
940
- }, nr = "tpl:w-full tpl:resize-y tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs 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:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", rr = "tpl:flex tpl:w-full tpl:min-h-20 tpl:cursor-pointer tpl:items-start tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", ir = /* @__PURE__ */ N({
940
+ }, tr = "tpl:w-full tpl:resize-y tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs 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:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", nr = "tpl:flex tpl:w-full tpl:min-h-20 tpl:cursor-pointer tpl:items-start tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", rr = /* @__PURE__ */ N({
941
941
  __name: "MergeTagTextarea",
942
942
  props: {
943
943
  modelValue: {},
@@ -946,32 +946,32 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
946
946
  },
947
947
  emits: ["update:modelValue"],
948
948
  setup(e, { emit: t }) {
949
- let n = e, r = t, i = m(null), { segments: a, hasMergeTags: o, canRequestMergeTag: c, isRequestingMergeTag: l, canInsertLogicTag: u, isRequestingLogicTag: d, isEditing: f, startEditing: p, handleInput: h, handleKeydown: g, handleClick: _, handleBlur: v, clearValue: S, insertMergeTag: w, insertLogicTag: T } = Rn({
949
+ let n = e, r = t, i = m(null), { segments: a, hasMergeTags: o, canRequestMergeTag: c, isRequestingMergeTag: l, canInsertLogicTag: u, isRequestingLogicTag: d, isEditing: f, startEditing: p, handleInput: h, handleKeydown: g, handleClick: _, handleBlur: v, clearValue: S, insertMergeTag: w, insertLogicTag: T } = Ln({
950
950
  modelValue: () => n.modelValue,
951
951
  emit: (e) => r("update:modelValue", e),
952
952
  elementRef: i
953
953
  });
954
- return (t, n) => x(o) && !x(f) ? (s(), y("div", Zn, [P(Wn, {
954
+ return (t, n) => x(o) && !x(f) ? (s(), y("div", Xn, [P(Un, {
955
955
  segments: x(a),
956
- "display-class": rr,
956
+ "display-class": nr,
957
957
  onEdit: x(p),
958
958
  onClear: x(S)
959
959
  }, null, 8, [
960
960
  "segments",
961
961
  "onEdit",
962
962
  "onClear"
963
- ]), x(c) || x(u) ? (s(), y("div", Qn, [x(c) ? (s(), C(qn, {
963
+ ]), x(c) || x(u) ? (s(), y("div", Zn, [x(c) ? (s(), C(Kn, {
964
964
  key: 0,
965
965
  disabled: x(l),
966
966
  onInsert: x(w)
967
- }, null, 8, ["disabled", "onInsert"])) : b("", !0), x(u) ? (s(), C(Xn, {
967
+ }, null, 8, ["disabled", "onInsert"])) : b("", !0), x(u) ? (s(), C(Yn, {
968
968
  key: 1,
969
969
  disabled: x(d),
970
970
  onInsert: x(T)
971
- }, null, 8, ["disabled", "onInsert"])) : b("", !0)])) : b("", !0)])) : (s(), y("div", $n, [D("textarea", {
971
+ }, null, 8, ["disabled", "onInsert"])) : b("", !0)])) : b("", !0)])) : (s(), y("div", Qn, [D("textarea", {
972
972
  ref_key: "textareaRef",
973
973
  ref: i,
974
- class: E(nr),
974
+ class: E(tr),
975
975
  value: e.modelValue,
976
976
  placeholder: e.placeholder,
977
977
  rows: e.rows,
@@ -979,17 +979,17 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
979
979
  onKeydown: n[1] ||= (...e) => x(g) && x(g)(...e),
980
980
  onClick: n[2] ||= (...e) => x(_) && x(_)(...e),
981
981
  onBlur: n[3] ||= (...e) => x(v) && x(v)(...e)
982
- }, null, 40, er), x(c) || x(u) ? (s(), y("div", tr, [x(c) ? (s(), C(qn, {
982
+ }, null, 40, $n), x(c) || x(u) ? (s(), y("div", er, [x(c) ? (s(), C(Kn, {
983
983
  key: 0,
984
984
  disabled: x(l),
985
985
  onInsert: x(w)
986
- }, null, 8, ["disabled", "onInsert"])) : b("", !0), x(u) ? (s(), C(Xn, {
986
+ }, null, 8, ["disabled", "onInsert"])) : b("", !0), x(u) ? (s(), C(Yn, {
987
987
  key: 1,
988
988
  disabled: x(d),
989
989
  onInsert: x(T)
990
990
  }, null, 8, ["disabled", "onInsert"])) : b("", !0)])) : b("", !0)]));
991
991
  }
992
- }), ar = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, or = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, sr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, cr = { class: "tpl:mb-3.5" }, lr = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, ur = ["onClick"], dr = { class: "tpl:flex tpl:items-stretch" }, fr = ["value"], pr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, mr = { class: "tpl:mb-3.5" }, hr = { class: "tpl:mb-3.5" }, gr = { class: "tpl:mb-3.5" }, _r = { class: "tpl:mb-3.5" }, vr = ["value"], yr = ["value"], br = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, xr = ["value"], Sr = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Cr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, wr = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, Tr = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Er = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, Dr = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, Or = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, kr = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Ar = { class: "tpl:mb-1 tpl:last:mb-0" }, jr = { class: "tpl:mb-1 tpl:last:mb-0" }, Mr = { class: "tpl:mb-1 tpl:last:mb-0" }, Nr = 150, Pr = /* @__PURE__ */ N({
992
+ }), ir = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, ar = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, or = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, sr = { class: "tpl:mb-3.5" }, cr = { class: "tpl:grid tpl:grid-cols-4 tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, lr = ["onClick"], ur = { class: "tpl:flex tpl:items-stretch" }, dr = ["value"], fr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, pr = { class: "tpl:mb-3.5" }, mr = { class: "tpl:mb-3.5" }, hr = { class: "tpl:mb-3.5" }, gr = { class: "tpl:mb-3.5" }, _r = ["value"], vr = ["value"], yr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, br = ["value"], xr = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Sr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Cr = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, wr = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Tr = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, Er = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, Dr = { class: "tpl:mb-2.5 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text-muted)]" }, Or = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, kr = { class: "tpl:mb-1 tpl:last:mb-0" }, Ar = { class: "tpl:mb-1 tpl:last:mb-0" }, jr = { class: "tpl:mb-1 tpl:last:mb-0" }, Mr = 150, Nr = /* @__PURE__ */ N({
993
993
  __name: "TemplateSettings",
994
994
  props: { settings: {} },
995
995
  emits: ["update"],
@@ -1012,14 +1012,14 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1012
1012
  label: "800px"
1013
1013
  }
1014
1014
  ];
1015
- return (t, n) => (s(), y("aside", ar, [D("div", or, [
1015
+ return (t, n) => (s(), y("aside", ir, [D("div", ar, [
1016
1016
  D("div", { class: E(x(Qt)) }, [
1017
- D("div", sr, [P(x(rt), {
1017
+ D("div", or, [P(x(rt), {
1018
1018
  class: "tpl:text-[var(--tpl-text-muted)]",
1019
1019
  size: 14,
1020
1020
  "stroke-width": 2
1021
1021
  }), D("span", null, _(x(i).templateSettings.layout), 1)]),
1022
- D("div", cr, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.widthPreset), 3), D("div", lr, [(s(), y(j, null, u(l, (t) => D("button", {
1022
+ D("div", sr, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.widthPreset), 3), D("div", cr, [(s(), y(j, null, u(l, (t) => D("button", {
1023
1023
  key: t.value,
1024
1024
  class: "tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:px-2 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
1025
1025
  style: k({
@@ -1028,38 +1028,38 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1028
1028
  boxShadow: e.settings.width === t.value ? "var(--tpl-shadow)" : "none"
1029
1029
  }),
1030
1030
  onClick: (e) => r("update", { width: t.value })
1031
- }, _(t.label), 13, ur)), 64))])]),
1032
- D("div", null, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.customWidth), 3), D("div", dr, [D("input", {
1031
+ }, _(t.label), 13, lr)), 64))])]),
1032
+ D("div", null, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.customWidth), 3), D("div", ur, [D("input", {
1033
1033
  type: "number",
1034
1034
  class: E(x(Y)),
1035
1035
  value: e.settings.width,
1036
1036
  min: "300",
1037
1037
  max: "900",
1038
1038
  onInput: n[0] ||= (e) => r("update", { width: Number(e.target.value) })
1039
- }, null, 42, fr), D("span", { class: E(x(J)) }, "px", 2)])])
1039
+ }, null, 42, dr), D("span", { class: E(x(J)) }, "px", 2)])])
1040
1040
  ], 2),
1041
1041
  D("div", { class: E(x(Qt)) }, [
1042
- D("div", pr, [P(x(Tt), {
1042
+ D("div", fr, [P(x(Tt), {
1043
1043
  class: "tpl:text-[var(--tpl-text-muted)]",
1044
1044
  size: 14,
1045
1045
  "stroke-width": 2
1046
1046
  }), D("span", null, _(x(i).templateSettings.appearance), 1)]),
1047
- D("div", mr, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.backgroundColor), 3), P(X, {
1047
+ D("div", pr, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.backgroundColor), 3), P(X, {
1048
1048
  "model-value": e.settings.backgroundColor,
1049
1049
  placeholder: x(Zt),
1050
1050
  "onUpdate:modelValue": n[1] ||= (e) => r("update", { backgroundColor: e })
1051
1051
  }, null, 8, ["model-value", "placeholder"])]),
1052
- D("div", hr, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.textColor), 3), P(X, {
1052
+ D("div", mr, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.textColor), 3), P(X, {
1053
1053
  "model-value": e.settings.textColor ?? "",
1054
1054
  "seed-color": "#1a1a1a",
1055
1055
  "onUpdate:modelValue": n[2] ||= (e) => r("update", { textColor: e })
1056
1056
  }, null, 8, ["model-value"])]),
1057
- D("div", gr, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.linkColor), 3), P(X, {
1057
+ D("div", hr, [D("label", { class: E(x(q)) }, _(x(i).templateSettings.linkColor), 3), P(X, {
1058
1058
  "model-value": e.settings.linkColor ?? "",
1059
1059
  "seed-color": "#0066cc",
1060
1060
  "onUpdate:modelValue": n[3] ||= (e) => r("update", { linkColor: e || void 0 })
1061
1061
  }, null, 8, ["model-value"])]),
1062
- D("div", _r, [P(Z, {
1062
+ D("div", gr, [P(Z, {
1063
1063
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
1064
1064
  "model-value": e.settings.linkUnderline,
1065
1065
  label: x(i).templateSettings.linkUnderline,
@@ -1072,9 +1072,9 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1072
1072
  }, [(s(!0), y(j, null, u(o.value, (e) => (s(), y("option", {
1073
1073
  key: e.value,
1074
1074
  value: e.value
1075
- }, _(e.label), 9, yr))), 128))], 42, vr)])
1075
+ }, _(e.label), 9, vr))), 128))], 42, _r)])
1076
1076
  ], 2),
1077
- D("div", { class: E(x(Qt)) }, [D("div", br, [P(x(ht), {
1077
+ D("div", { class: E(x(Qt)) }, [D("div", yr, [P(x(ht), {
1078
1078
  class: "tpl:text-[var(--tpl-text-muted)]",
1079
1079
  size: 14,
1080
1080
  "stroke-width": 2
@@ -1089,40 +1089,40 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1089
1089
  autocapitalize: "off",
1090
1090
  autocomplete: "off",
1091
1091
  onInput: n[6] ||= (e) => r("update", { locale: e.target.value.trim() || void 0 })
1092
- }, null, 42, xr),
1093
- D("p", Sr, _(x(i).templateSettings.contentLocaleHint), 1)
1092
+ }, null, 42, br),
1093
+ D("p", xr, _(x(i).templateSettings.contentLocaleHint), 1)
1094
1094
  ])], 2),
1095
- D("div", { class: E(x(Qt)) }, [D("div", Cr, [P(x(it), {
1095
+ D("div", { class: E(x(Qt)) }, [D("div", Sr, [P(x(it), {
1096
1096
  class: "tpl:text-[var(--tpl-text-muted)]",
1097
1097
  size: 14,
1098
1098
  "stroke-width": 2
1099
- }), D("span", null, _(x(i).templateSettings.preheaderText), 1)]), D("div", null, [P(ir, {
1099
+ }), D("span", null, _(x(i).templateSettings.preheaderText), 1)]), D("div", null, [P(rr, {
1100
1100
  "model-value": e.settings.preheaderText ?? "",
1101
1101
  placeholder: x(i).templateSettings.preheaderTextPlaceholder,
1102
1102
  rows: 2,
1103
1103
  "onUpdate:modelValue": n[7] ||= (e) => r("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
1104
- }, null, 8, ["model-value", "placeholder"]), D("div", wr, [D("span", Tr, _(x(i).templateSettings.preheaderTextHint), 1), D("span", Er, _((e.settings.preheaderText ?? "").length) + "/" + _(Nr), 1)])])], 2),
1105
- D("div", Dr, [D("div", Or, [P(x(_t), {
1104
+ }, null, 8, ["model-value", "placeholder"]), D("div", Cr, [D("span", wr, _(x(i).templateSettings.preheaderTextHint), 1), D("span", Tr, _((e.settings.preheaderText ?? "").length) + "/" + _(Mr), 1)])])], 2),
1105
+ D("div", Er, [D("div", Dr, [P(x(_t), {
1106
1106
  size: 14,
1107
1107
  "stroke-width": 2
1108
- }), D("span", null, _(x(i).templateSettings.tips), 1)]), D("ul", kr, [
1109
- D("li", Ar, _(x(i).templateSettings.tip1), 1),
1110
- D("li", jr, _(x(i).templateSettings.tip2), 1),
1111
- D("li", Mr, _(x(i).templateSettings.tip3), 1)
1108
+ }), D("span", null, _(x(i).templateSettings.tips), 1)]), D("ul", Or, [
1109
+ D("li", kr, _(x(i).templateSettings.tip1), 1),
1110
+ D("li", Ar, _(x(i).templateSettings.tip2), 1),
1111
+ D("li", jr, _(x(i).templateSettings.tip3), 1)
1112
1112
  ])])
1113
1113
  ])]));
1114
1114
  }
1115
- }), Fr = { key: 0 }, Ir = {
1115
+ }), Pr = { key: 0 }, Fr = {
1116
1116
  key: 0,
1117
1117
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1118
- }, Lr = { key: 1 }, Rr = [
1118
+ }, Ir = { key: 1 }, Lr = [
1119
1119
  "type",
1120
1120
  "value",
1121
1121
  "placeholder"
1122
- ], zr = {
1122
+ ], Rr = {
1123
1123
  key: 0,
1124
1124
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1125
- }, Br = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", $ = /*#__PURE__*/ zt(/* @__PURE__ */ N({
1125
+ }, zr = "tpl:flex tpl:w-full tpl:min-h-10 tpl:cursor-pointer tpl:items-center tpl:flex-wrap tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:shadow-xs tpl:bg-[var(--tpl-bg)] tpl:border-[var(--tpl-border)] tpl:px-3.5 tpl:py-1.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", $ = /*#__PURE__*/ zt(/* @__PURE__ */ N({
1126
1126
  __name: "MergeTagInput",
1127
1127
  props: {
1128
1128
  modelValue: {},
@@ -1135,14 +1135,14 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1135
1135
  },
1136
1136
  emits: ["update:modelValue"],
1137
1137
  setup(e, { emit: t }) {
1138
- let n = e, r = t, i = m(null), { segments: a, hasMergeTags: o, canRequestMergeTag: c, isRequestingMergeTag: l, canInsertLogicTag: u, isRequestingLogicTag: d, isEditing: f, startEditing: p, handleInput: h, handleKeydown: g, handleClick: _, handleBlur: v, clearValue: S, insertMergeTag: w, insertLogicTag: T } = Rn({
1138
+ let n = e, r = t, i = m(null), { segments: a, hasMergeTags: o, canRequestMergeTag: c, isRequestingMergeTag: l, canInsertLogicTag: u, isRequestingLogicTag: d, isEditing: f, startEditing: p, handleInput: h, handleKeydown: g, handleClick: _, handleBlur: v, clearValue: S, insertMergeTag: w, insertLogicTag: T } = Ln({
1139
1139
  modelValue: () => n.modelValue,
1140
1140
  emit: (e) => r("update:modelValue", e),
1141
1141
  elementRef: i
1142
1142
  });
1143
- return (t, n) => x(o) && !x(f) ? (s(), y("div", Fr, [P(Wn, {
1143
+ return (t, n) => x(o) && !x(f) ? (s(), y("div", Pr, [P(Un, {
1144
1144
  segments: x(a),
1145
- "display-class": Br,
1145
+ "display-class": zr,
1146
1146
  pulse: e.pulse,
1147
1147
  onEdit: x(p),
1148
1148
  onClear: x(S)
@@ -1151,15 +1151,15 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1151
1151
  "pulse",
1152
1152
  "onEdit",
1153
1153
  "onClear"
1154
- ]), x(c) || x(u) ? (s(), y("div", Ir, [x(c) ? (s(), C(qn, {
1154
+ ]), x(c) || x(u) ? (s(), y("div", Fr, [x(c) ? (s(), C(Kn, {
1155
1155
  key: 0,
1156
1156
  disabled: x(l),
1157
1157
  onInsert: x(w)
1158
- }, null, 8, ["disabled", "onInsert"])) : b("", !0), x(u) ? (s(), C(Xn, {
1158
+ }, null, 8, ["disabled", "onInsert"])) : b("", !0), x(u) ? (s(), C(Yn, {
1159
1159
  key: 1,
1160
1160
  disabled: x(d),
1161
1161
  onInsert: x(T)
1162
- }, null, 8, ["disabled", "onInsert"])) : b("", !0)])) : b("", !0)])) : (s(), y("div", Lr, [D("input", {
1162
+ }, null, 8, ["disabled", "onInsert"])) : b("", !0)])) : b("", !0)])) : (s(), y("div", Ir, [D("input", {
1163
1163
  ref_key: "inputRef",
1164
1164
  ref: i,
1165
1165
  type: e.type,
@@ -1170,20 +1170,20 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1170
1170
  onKeydown: n[1] ||= (...e) => x(g) && x(g)(...e),
1171
1171
  onClick: n[2] ||= (...e) => x(_) && x(_)(...e),
1172
1172
  onBlur: n[3] ||= (...e) => x(v) && x(v)(...e)
1173
- }, null, 42, Rr), x(c) || x(u) ? (s(), y("div", zr, [x(c) ? (s(), C(qn, {
1173
+ }, null, 42, Lr), x(c) || x(u) ? (s(), y("div", Rr, [x(c) ? (s(), C(Kn, {
1174
1174
  key: 0,
1175
1175
  disabled: x(l),
1176
1176
  onInsert: x(w)
1177
- }, null, 8, ["disabled", "onInsert"])) : b("", !0), x(u) ? (s(), C(Xn, {
1177
+ }, null, 8, ["disabled", "onInsert"])) : b("", !0), x(u) ? (s(), C(Yn, {
1178
1178
  key: 1,
1179
1179
  disabled: x(d),
1180
1180
  onInsert: x(T)
1181
1181
  }, null, 8, ["disabled", "onInsert"])) : b("", !0)])) : b("", !0)]));
1182
1182
  }
1183
- }), [["__scopeId", "data-v-d6563be6"]]), Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = { value: "" }, Wr = ["value"], Gr = { class: "tpl:mb-3.5" }, Kr = { class: "tpl:mb-3.5" }, qr = { class: "tpl:mb-3.5" }, Jr = { class: "tpl:mb-3.5" }, Yr = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Xr = { class: "tpl:mb-3.5" }, Zr = { class: "tpl:flex tpl:items-stretch" }, Qr = ["value"], $r = { class: "tpl:mb-3.5" }, ei = { class: "tpl:flex tpl:items-stretch" }, ti = ["value"], ni = { class: "tpl:mb-3.5" }, ri = ["value"], ii = { value: "auto" }, ai = { value: "full" }, oi = { value: "custom" }, si = {
1183
+ }), [["__scopeId", "data-v-d6563be6"]]), Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = { value: "" }, Ur = ["value"], Wr = { class: "tpl:mb-3.5" }, Gr = { class: "tpl:mb-3.5" }, Kr = { class: "tpl:mb-3.5" }, qr = { class: "tpl:mb-3.5" }, Jr = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Yr = { class: "tpl:mb-3.5" }, Xr = { class: "tpl:flex tpl:items-stretch" }, Zr = ["value"], Qr = { class: "tpl:mb-3.5" }, $r = { class: "tpl:flex tpl:items-stretch" }, ei = ["value"], ti = { class: "tpl:mb-3.5" }, ni = ["value"], ri = { value: "auto" }, ii = { value: "full" }, ai = { value: "custom" }, oi = {
1184
1184
  key: 0,
1185
1185
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1186
- }, ci = ["value"], li = 200, ui = /* @__PURE__ */ N({
1186
+ }, si = ["value"], ci = 200, li = /* @__PURE__ */ N({
1187
1187
  __name: "ButtonToolbar",
1188
1188
  props: {
1189
1189
  block: {},
@@ -1201,7 +1201,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1201
1201
  return;
1202
1202
  }
1203
1203
  if (e === "custom") {
1204
- o("width", typeof n.block.width == "number" ? n.block.width : li);
1204
+ o("width", typeof n.block.width == "number" ? n.block.width : ci);
1205
1205
  return;
1206
1206
  }
1207
1207
  o("width", void 0);
@@ -1211,20 +1211,20 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1211
1211
  !Number.isFinite(t) || t <= 0 || o("width", t);
1212
1212
  }
1213
1213
  return (t, n) => (s(), y(j, null, [
1214
- D("div", Vr, [D("label", { class: E(x(q)) }, _(x(i).button.fontFamily), 3), D("select", {
1214
+ D("div", Br, [D("label", { class: E(x(q)) }, _(x(i).button.fontFamily), 3), D("select", {
1215
1215
  class: E(x(K)),
1216
1216
  value: e.block.fontFamily || "",
1217
1217
  onChange: n[0] ||= (e) => o("fontFamily", e.target.value || void 0)
1218
- }, [D("option", Ur, _(x(i).button.inheritFont), 1), (s(!0), y(j, null, u(e.fontFamilies, (e) => (s(), y("option", {
1218
+ }, [D("option", Hr, _(x(i).button.inheritFont), 1), (s(!0), y(j, null, u(e.fontFamilies, (e) => (s(), y("option", {
1219
1219
  key: e.value,
1220
1220
  value: e.value
1221
- }, _(e.label), 9, Wr))), 128))], 42, Hr)]),
1222
- D("div", Gr, [D("label", { class: E(x(q)) }, _(x(i).button.text), 3), P($, {
1221
+ }, _(e.label), 9, Ur))), 128))], 42, Vr)]),
1222
+ D("div", Wr, [D("label", { class: E(x(q)) }, _(x(i).button.text), 3), P($, {
1223
1223
  "model-value": e.block.text,
1224
1224
  type: "text",
1225
1225
  "onUpdate:modelValue": n[1] ||= (e) => o("text", e)
1226
1226
  }, null, 8, ["model-value"])]),
1227
- D("div", Kr, [
1227
+ D("div", Gr, [
1228
1228
  D("label", { class: E(x(q)) }, _(x(i).button.url), 3),
1229
1229
  P($, {
1230
1230
  "model-value": e.block.url,
@@ -1240,51 +1240,51 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1240
1240
  "onUpdate:modelValue": n[3] ||= (e) => o("openInNewTab", e)
1241
1241
  }, null, 8, ["model-value", "label"])) : b("", !0)
1242
1242
  ]),
1243
- D("div", qr, [D("label", { class: E(x(q)) }, _(x(i).button.background), 3), P(X, {
1243
+ D("div", Kr, [D("label", { class: E(x(q)) }, _(x(i).button.background), 3), P(X, {
1244
1244
  "model-value": e.block.backgroundColor,
1245
1245
  "onUpdate:modelValue": n[4] ||= (e) => o("backgroundColor", e)
1246
1246
  }, null, 8, ["model-value"])]),
1247
- D("div", Jr, [D("label", { class: E(x(q)) }, _(x(i).button.textColor), 3), P(X, {
1247
+ D("div", qr, [D("label", { class: E(x(q)) }, _(x(i).button.textColor), 3), P(X, {
1248
1248
  "model-value": e.block.textColor,
1249
1249
  "onUpdate:modelValue": n[5] ||= (e) => o("textColor", e)
1250
1250
  }, null, 8, ["model-value"])]),
1251
- D("div", Yr, [D("div", Xr, [D("label", { class: E(x(q)) }, _(x(i).button.borderRadius), 3), D("div", Zr, [D("input", {
1251
+ D("div", Jr, [D("div", Yr, [D("label", { class: E(x(q)) }, _(x(i).button.borderRadius), 3), D("div", Xr, [D("input", {
1252
1252
  type: "number",
1253
1253
  class: E(x(Y)),
1254
1254
  value: e.block.borderRadius,
1255
1255
  min: "0",
1256
1256
  max: "50",
1257
1257
  onInput: n[6] ||= (e) => o("borderRadius", Number(e.target.value))
1258
- }, null, 42, Qr), D("span", { class: E(x(J)) }, "px", 2)])]), D("div", $r, [D("label", { class: E(x(q)) }, _(x(i).button.fontSize), 3), D("div", ei, [D("input", {
1258
+ }, null, 42, Zr), D("span", { class: E(x(J)) }, "px", 2)])]), D("div", Qr, [D("label", { class: E(x(q)) }, _(x(i).button.fontSize), 3), D("div", $r, [D("input", {
1259
1259
  type: "number",
1260
1260
  class: E(x(Y)),
1261
1261
  value: e.block.fontSize,
1262
1262
  min: "10",
1263
1263
  max: "36",
1264
1264
  onInput: n[7] ||= (e) => o("fontSize", Number(e.target.value))
1265
- }, null, 42, ti), D("span", { class: E(x(J)) }, "px", 2)])])]),
1266
- D("div", ni, [
1265
+ }, null, 42, ei), D("span", { class: E(x(J)) }, "px", 2)])])]),
1266
+ D("div", ti, [
1267
1267
  D("label", { class: E(x(q)) }, _(x(i).button.width), 3),
1268
1268
  D("select", {
1269
1269
  class: E(x(K)),
1270
1270
  value: a.value,
1271
1271
  onChange: n[8] ||= (e) => c(e.target.value)
1272
1272
  }, [
1273
- D("option", ii, _(x(i).button.widthAuto), 1),
1274
- D("option", ai, _(x(i).button.fullWidth), 1),
1275
- D("option", oi, _(x(i).button.widthCustom), 1)
1276
- ], 42, ri),
1277
- a.value === "custom" ? (s(), y("div", si, [D("input", {
1273
+ D("option", ri, _(x(i).button.widthAuto), 1),
1274
+ D("option", ii, _(x(i).button.fullWidth), 1),
1275
+ D("option", ai, _(x(i).button.widthCustom), 1)
1276
+ ], 42, ni),
1277
+ a.value === "custom" ? (s(), y("div", oi, [D("input", {
1278
1278
  type: "number",
1279
1279
  class: E(x(Y)),
1280
- value: typeof e.block.width == "number" ? e.block.width : li,
1280
+ value: typeof e.block.width == "number" ? e.block.width : ci,
1281
1281
  min: "20",
1282
1282
  onInput: n[9] ||= (e) => l(e.target.value)
1283
- }, null, 42, ci), D("span", { class: E(x(J)) }, "px", 2)])) : b("", !0)
1283
+ }, null, 42, si), D("span", { class: E(x(J)) }, "px", 2)])) : b("", !0)
1284
1284
  ])
1285
1285
  ], 64));
1286
1286
  }
1287
- }), di = { class: "spacing-control" }, fi = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, pi = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, mi = { class: "tpl:flex tpl:items-center" }, hi = ["aria-label"], gi = ["value", "aria-label"], _i = ["aria-label"], vi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, yi = { class: "tpl:flex tpl:items-center" }, bi = ["aria-label"], xi = ["value", "aria-label"], Si = ["aria-label"], Ci = ["aria-label", "title"], wi = { class: "tpl:flex tpl:items-center" }, Ti = ["aria-label"], Ei = ["value", "aria-label"], Di = ["aria-label"], Oi = { class: "tpl:flex tpl:items-center" }, ki = ["aria-label"], Ai = ["value", "aria-label"], ji = ["aria-label"], Mi = "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)]", Ni = "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)]", Pi = /*#__PURE__*/ zt(/* @__PURE__ */ N({
1287
+ }), ui = { class: "spacing-control" }, di = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, fi = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, pi = { class: "tpl:flex tpl:items-center" }, mi = ["aria-label"], hi = ["value", "aria-label"], gi = ["aria-label"], _i = { class: "tpl:flex tpl:items-center tpl:gap-2" }, vi = { class: "tpl:flex tpl:items-center" }, yi = ["aria-label"], bi = ["value", "aria-label"], xi = ["aria-label"], Si = ["aria-label", "title"], Ci = { class: "tpl:flex tpl:items-center" }, wi = ["aria-label"], Ti = ["value", "aria-label"], Ei = ["aria-label"], Di = { class: "tpl:flex tpl:items-center" }, Oi = ["aria-label"], ki = ["value", "aria-label"], Ai = ["aria-label"], ji = "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)]", Mi = "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)]", Ni = /*#__PURE__*/ zt(/* @__PURE__ */ N({
1288
1288
  __name: "SpacingControl",
1289
1289
  props: {
1290
1290
  modelValue: {},
@@ -1331,59 +1331,59 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1331
1331
  });
1332
1332
  }
1333
1333
  }
1334
- return (t, n) => (s(), y("div", di, [D("label", fi, _(e.label), 1), D("div", pi, [
1335
- D("div", mi, [
1334
+ return (t, n) => (s(), y("div", ui, [D("label", di, _(e.label), 1), D("div", fi, [
1335
+ D("div", pi, [
1336
1336
  D("button", {
1337
1337
  "aria-label": x(i).spacingControl.decreaseTop,
1338
- class: E([Mi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1338
+ class: E([ji, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1339
1339
  onClick: n[0] ||= (e) => c("top", -1)
1340
1340
  }, [P(x(vt), {
1341
1341
  size: 12,
1342
1342
  "stroke-width": 2
1343
- })], 10, hi),
1343
+ })], 10, mi),
1344
1344
  D("input", {
1345
1345
  type: "number",
1346
- class: E(Ni),
1346
+ class: E(Mi),
1347
1347
  value: e.modelValue.top,
1348
1348
  "aria-label": x(i).spacingControl.top,
1349
1349
  min: "0",
1350
1350
  onInput: n[1] ||= (e) => l("top", Number(e.target.value))
1351
- }, null, 40, gi),
1351
+ }, null, 40, hi),
1352
1352
  D("button", {
1353
1353
  "aria-label": x(i).spacingControl.increaseTop,
1354
- class: E([Mi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1354
+ class: E([ji, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1355
1355
  onClick: n[2] ||= (e) => c("top", 1)
1356
1356
  }, [P(x(G), {
1357
1357
  size: 12,
1358
1358
  "stroke-width": 2
1359
- })], 10, _i)
1359
+ })], 10, gi)
1360
1360
  ]),
1361
- D("div", vi, [
1362
- D("div", yi, [
1361
+ D("div", _i, [
1362
+ D("div", vi, [
1363
1363
  D("button", {
1364
1364
  "aria-label": x(i).spacingControl.decreaseLeft,
1365
- class: E([Mi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1365
+ class: E([ji, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1366
1366
  onClick: n[3] ||= (e) => c("left", -1)
1367
1367
  }, [P(x(vt), {
1368
1368
  size: 12,
1369
1369
  "stroke-width": 2
1370
- })], 10, bi),
1370
+ })], 10, yi),
1371
1371
  D("input", {
1372
1372
  type: "number",
1373
- class: E(Ni),
1373
+ class: E(Mi),
1374
1374
  value: e.modelValue.left,
1375
1375
  "aria-label": x(i).spacingControl.left,
1376
1376
  min: "0",
1377
1377
  onInput: n[4] ||= (e) => l("left", Number(e.target.value))
1378
- }, null, 40, xi),
1378
+ }, null, 40, bi),
1379
1379
  D("button", {
1380
1380
  "aria-label": x(i).spacingControl.increaseLeft,
1381
- class: E([Mi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1381
+ class: E([ji, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1382
1382
  onClick: n[5] ||= (e) => c("left", 1)
1383
1383
  }, [P(x(G), {
1384
1384
  size: 12,
1385
1385
  "stroke-width": 2
1386
- })], 10, Si)
1386
+ })], 10, xi)
1387
1387
  ]),
1388
1388
  D("button", {
1389
1389
  class: E(["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)]", o.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)]"]),
@@ -1398,63 +1398,63 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1398
1398
  key: 1,
1399
1399
  size: 14,
1400
1400
  "stroke-width": 2
1401
- }))], 10, Ci),
1402
- D("div", wi, [
1401
+ }))], 10, Si),
1402
+ D("div", Ci, [
1403
1403
  D("button", {
1404
1404
  "aria-label": x(i).spacingControl.decreaseRight,
1405
- class: E([Mi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1405
+ class: E([ji, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1406
1406
  onClick: n[6] ||= (e) => c("right", -1)
1407
1407
  }, [P(x(vt), {
1408
1408
  size: 12,
1409
1409
  "stroke-width": 2
1410
- })], 10, Ti),
1410
+ })], 10, wi),
1411
1411
  D("input", {
1412
1412
  type: "number",
1413
- class: E(Ni),
1413
+ class: E(Mi),
1414
1414
  value: e.modelValue.right,
1415
1415
  "aria-label": x(i).spacingControl.right,
1416
1416
  min: "0",
1417
1417
  onInput: n[7] ||= (e) => l("right", Number(e.target.value))
1418
- }, null, 40, Ei),
1418
+ }, null, 40, Ti),
1419
1419
  D("button", {
1420
1420
  "aria-label": x(i).spacingControl.increaseRight,
1421
- class: E([Mi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1421
+ class: E([ji, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1422
1422
  onClick: n[8] ||= (e) => c("right", 1)
1423
1423
  }, [P(x(G), {
1424
1424
  size: 12,
1425
1425
  "stroke-width": 2
1426
- })], 10, Di)
1426
+ })], 10, Ei)
1427
1427
  ])
1428
1428
  ]),
1429
- D("div", Oi, [
1429
+ D("div", Di, [
1430
1430
  D("button", {
1431
1431
  "aria-label": x(i).spacingControl.decreaseBottom,
1432
- class: E([Mi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1432
+ class: E([ji, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1433
1433
  onClick: n[9] ||= (e) => c("bottom", -1)
1434
1434
  }, [P(x(vt), {
1435
1435
  size: 12,
1436
1436
  "stroke-width": 2
1437
- })], 10, ki),
1437
+ })], 10, Oi),
1438
1438
  D("input", {
1439
1439
  type: "number",
1440
- class: E(Ni),
1440
+ class: E(Mi),
1441
1441
  value: e.modelValue.bottom,
1442
1442
  "aria-label": x(i).spacingControl.bottom,
1443
1443
  min: "0",
1444
1444
  onInput: n[10] ||= (e) => l("bottom", Number(e.target.value))
1445
- }, null, 40, Ai),
1445
+ }, null, 40, ki),
1446
1446
  D("button", {
1447
1447
  "aria-label": x(i).spacingControl.increaseBottom,
1448
- class: E([Mi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1448
+ class: E([ji, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1449
1449
  onClick: n[11] ||= (e) => c("bottom", 1)
1450
1450
  }, [P(x(G), {
1451
1451
  size: 12,
1452
1452
  "stroke-width": 2
1453
- })], 10, ji)
1453
+ })], 10, Ai)
1454
1454
  ])
1455
1455
  ])]));
1456
1456
  }
1457
- }), [["__scopeId", "data-v-9a9c8a07"]]), Fi = { class: "tpl:mt-3" }, Ii = /* @__PURE__ */ N({
1457
+ }), [["__scopeId", "data-v-9a9c8a07"]]), Pi = { class: "tpl:mt-3" }, Fi = /* @__PURE__ */ N({
1458
1458
  __name: "CollapsibleSection",
1459
1459
  props: {
1460
1460
  title: {},
@@ -1471,21 +1471,21 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1471
1471
  class: E(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1472
1472
  size: 12,
1473
1473
  "stroke-width": 2
1474
- }, null, 8, ["class"]), D("span", null, _(e.title), 1)]), r(D("div", Fi, [t(n.$slots, "default")], 512), [[O, e.open]])], 2));
1474
+ }, null, 8, ["class"]), D("span", null, _(e.title), 1)]), r(D("div", Pi, [t(n.$slots, "default")], 512), [[O, e.open]])], 2));
1475
1475
  }
1476
- }), Li = { class: "tpl:space-y-2" }, Ri = { class: "tpl:flex tpl:items-center tpl:gap-2" }, zi = { class: "tpl:space-y-2" }, Bi = ["value"], Vi = { value: "" }, Hi = ["label"], Ui = ["value"], Wi = ["value"], Gi = {
1476
+ }), Ii = { class: "tpl:space-y-2" }, Li = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ri = { class: "tpl:space-y-2" }, zi = ["value"], Bi = { value: "" }, Vi = ["label"], Hi = ["value"], Ui = ["value"], Wi = {
1477
1477
  key: 0,
1478
1478
  value: "__custom__"
1479
- }, Ki = {
1479
+ }, Gi = {
1480
1480
  key: 0,
1481
1481
  class: "tpl:space-y-2"
1482
- }, qi = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Ji = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Yi = { class: "tpl:flex tpl:justify-end" }, Xi = ["disabled"], Zi = {
1482
+ }, Ki = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, qi = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Ji = { class: "tpl:flex tpl:justify-end" }, Yi = ["disabled"], Xi = {
1483
1483
  key: 0,
1484
1484
  class: "tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]"
1485
- }, Qi = { class: "tpl:space-y-1" }, $i = { 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)]" }, ea = {
1485
+ }, Zi = { class: "tpl:space-y-1" }, Qi = { 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)]" }, $i = {
1486
1486
  key: 0,
1487
1487
  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)]"
1488
- }, ta = /* @__PURE__ */ N({
1488
+ }, ea = /* @__PURE__ */ N({
1489
1489
  __name: "CommonBlockSettings",
1490
1490
  props: {
1491
1491
  block: {},
@@ -1499,7 +1499,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1499
1499
  labelKey: "showOnDesktop"
1500
1500
  }, {
1501
1501
  key: "mobile",
1502
- icon: at,
1502
+ icon: ot,
1503
1503
  labelKey: "showOnMobile"
1504
1504
  }];
1505
1505
  function k(e) {
@@ -1548,13 +1548,13 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1548
1548
  t[e] = !t[e], i("update", { visibility: t });
1549
1549
  }
1550
1550
  return (t, n) => (s(), y("div", { class: E(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1551
- P(Ii, {
1551
+ P(Fi, {
1552
1552
  title: x(a).blockSettings.spacing,
1553
1553
  open: h.has("spacing"),
1554
1554
  "no-border": e.isFirstSection,
1555
1555
  onToggle: n[1] ||= (e) => k("spacing")
1556
1556
  }, {
1557
- default: f(() => [P(Pi, {
1557
+ default: f(() => [P(Ni, {
1558
1558
  label: x(a).blockSettings.padding,
1559
1559
  "model-value": e.block.styles.padding,
1560
1560
  "onUpdate:modelValue": n[0] ||= (e) => z("padding", e)
@@ -1565,7 +1565,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1565
1565
  "open",
1566
1566
  "no-border"
1567
1567
  ]),
1568
- P(Ii, {
1568
+ P(Fi, {
1569
1569
  title: x(a).blockSettings.background,
1570
1570
  open: h.has("bg"),
1571
1571
  onToggle: n[3] ||= (e) => k("bg")
@@ -1576,19 +1576,19 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1576
1576
  }, null, 8, ["model-value"])]),
1577
1577
  _: 1
1578
1578
  }, 8, ["title", "open"]),
1579
- P(Ii, {
1579
+ P(Fi, {
1580
1580
  title: x(a).blockSettings.display,
1581
1581
  open: h.has("display"),
1582
1582
  onToggle: n[4] ||= (e) => k("display")
1583
1583
  }, {
1584
- default: f(() => [D("div", Li, [(s(), y(j, null, u(O, (e) => P(Z, {
1584
+ default: f(() => [D("div", Ii, [(s(), y(j, null, u(O, (e) => P(Z, {
1585
1585
  key: e.key,
1586
1586
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1587
1587
  "model-value": B(e.key),
1588
1588
  label: x(a).blockSettings[e.labelKey],
1589
1589
  "onUpdate:modelValue": (t) => V(e.key)
1590
1590
  }, {
1591
- default: f(() => [D("span", Ri, [(s(), C(o(e.icon), {
1591
+ default: f(() => [D("span", Li, [(s(), C(o(e.icon), {
1592
1592
  size: 14,
1593
1593
  "stroke-width": 1.5
1594
1594
  })), M(" " + _(x(a).blockSettings[e.labelKey]), 1)])]),
@@ -1600,13 +1600,13 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1600
1600
  ])), 64))])]),
1601
1601
  _: 1
1602
1602
  }, 8, ["title", "open"]),
1603
- A.value ? (s(), C(Ii, {
1603
+ A.value ? (s(), C(Fi, {
1604
1604
  key: 0,
1605
1605
  title: x(a).blockSettings.displayCondition,
1606
1606
  open: h.has("condition"),
1607
1607
  onToggle: n[8] ||= (e) => k("condition")
1608
1608
  }, {
1609
- default: f(() => [D("div", zi, [D("select", {
1609
+ default: f(() => [D("div", Ri, [D("select", {
1610
1610
  class: E(["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)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1611
1611
  value: g.value || N.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1612
1612
  onChange: n[5] ||= (e) => {
@@ -1623,41 +1623,41 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1623
1623
  n && i("update", { displayCondition: n });
1624
1624
  }
1625
1625
  }, [
1626
- D("option", Vi, _(x(a).blockSettings.noCondition), 1),
1626
+ D("option", Bi, _(x(a).blockSettings.noCondition), 1),
1627
1627
  (s(!0), y(j, null, u(R.value, (e, t) => (s(), y(j, { key: t }, [t ? (s(), y("optgroup", {
1628
1628
  key: 0,
1629
1629
  label: String(t)
1630
1630
  }, [(s(!0), y(j, null, u(e, (e) => (s(), y("option", {
1631
1631
  key: e.label,
1632
1632
  value: e.label
1633
- }, _(e.label), 9, Ui))), 128))], 8, Hi)) : (s(!0), y(j, { key: 1 }, u(e, (e) => (s(), y("option", {
1633
+ }, _(e.label), 9, Hi))), 128))], 8, Vi)) : (s(!0), y(j, { key: 1 }, u(e, (e) => (s(), y("option", {
1634
1634
  key: e.label,
1635
1635
  value: e.label
1636
- }, _(e.label), 9, Wi))), 128))], 64))), 128)),
1637
- x(l) ? (s(), y("option", Gi, _(x(a).blockSettings.customCondition), 1)) : b("", !0)
1638
- ], 42, Bi), g.value || N.value ? (s(), y("div", Ki, [
1639
- D("div", null, [D("label", qi, _(x(a).blockSettings.customConditionBefore), 1), r(D("textarea", {
1636
+ }, _(e.label), 9, Ui))), 128))], 64))), 128)),
1637
+ x(l) ? (s(), y("option", Wi, _(x(a).blockSettings.customCondition), 1)) : b("", !0)
1638
+ ], 42, zi), g.value || N.value ? (s(), y("div", Gi, [
1639
+ D("div", null, [D("label", Ki, _(x(a).blockSettings.customConditionBefore), 1), r(D("textarea", {
1640
1640
  "onUpdate:modelValue": n[6] ||= (e) => S.value = e,
1641
1641
  rows: "2",
1642
1642
  class: E(x(Jt))
1643
1643
  }, null, 2), [[T, S.value]])]),
1644
- D("div", null, [D("label", Ji, _(x(a).blockSettings.customConditionAfter), 1), r(D("textarea", {
1644
+ D("div", null, [D("label", qi, _(x(a).blockSettings.customConditionAfter), 1), r(D("textarea", {
1645
1645
  "onUpdate:modelValue": n[7] ||= (e) => w.value = e,
1646
1646
  rows: "2",
1647
1647
  class: E(x(Jt))
1648
1648
  }, null, 2), [[T, w.value]])]),
1649
- D("div", Yi, [D("button", {
1649
+ D("div", Ji, [D("button", {
1650
1650
  type: "button",
1651
1651
  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",
1652
1652
  disabled: !S.value.trim(),
1653
1653
  onClick: L
1654
- }, _(x(a).blockSettings.applyCondition), 9, Xi)])
1655
- ])) : e.block.displayCondition && !N.value ? (s(), y(j, { key: 1 }, [e.block.displayCondition.description ? (s(), y("p", Zi, _(e.block.displayCondition.description), 1)) : b("", !0), D("div", Qi, [D("pre", $i, _(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (s(), y("pre", ea, _(e.block.displayCondition.after), 1)) : b("", !0)])], 64)) : b("", !0)])]),
1654
+ }, _(x(a).blockSettings.applyCondition), 9, Yi)])
1655
+ ])) : e.block.displayCondition && !N.value ? (s(), y(j, { key: 1 }, [e.block.displayCondition.description ? (s(), y("p", Xi, _(e.block.displayCondition.description), 1)) : b("", !0), D("div", Zi, [D("pre", Qi, _(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (s(), y("pre", $i, _(e.block.displayCondition.after), 1)) : b("", !0)])], 64)) : b("", !0)])]),
1656
1656
  _: 1
1657
1657
  }, 8, ["title", "open"])) : b("", !0)
1658
1658
  ], 2));
1659
1659
  }
1660
- }), na = ["title"], ra = /* @__PURE__ */ N({
1660
+ }), ta = ["title"], na = /* @__PURE__ */ N({
1661
1661
  __name: "BooleanField",
1662
1662
  props: {
1663
1663
  field: {},
@@ -1689,12 +1689,12 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1689
1689
  "label",
1690
1690
  "required",
1691
1691
  "disabled"
1692
- ])], 8, na));
1692
+ ])], 8, ta));
1693
1693
  }
1694
- }), ia = { class: "tpl:mb-3.5" }, aa = {
1694
+ }), ra = { class: "tpl:mb-3.5" }, ia = {
1695
1695
  key: 1,
1696
1696
  class: "tpl:text-[var(--tpl-danger)]"
1697
- }, oa = /* @__PURE__ */ N({
1697
+ }, aa = /* @__PURE__ */ N({
1698
1698
  __name: "FieldWrapper",
1699
1699
  props: {
1700
1700
  label: {},
@@ -1702,17 +1702,17 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1702
1702
  readOnly: { type: Boolean }
1703
1703
  },
1704
1704
  setup(e) {
1705
- return (n, r) => (s(), y("div", ia, [D("label", { class: E(x(q)) }, [
1705
+ return (n, r) => (s(), y("div", ra, [D("label", { class: E(x(q)) }, [
1706
1706
  M(_(e.label) + " ", 1),
1707
1707
  e.readOnly ? (s(), C(x(kt), {
1708
1708
  key: 0,
1709
1709
  size: 12,
1710
1710
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
1711
1711
  })) : b("", !0),
1712
- e.required ? (s(), y("span", aa, "*")) : b("", !0)
1712
+ e.required ? (s(), y("span", ia, "*")) : b("", !0)
1713
1713
  ], 2), t(n.$slots, "default")]));
1714
1714
  }
1715
- }), sa = /* @__PURE__ */ N({
1715
+ }), oa = /* @__PURE__ */ N({
1716
1716
  __name: "ColorField",
1717
1717
  props: {
1718
1718
  field: {},
@@ -1722,7 +1722,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1722
1722
  emits: ["update:modelValue"],
1723
1723
  setup(e, { emit: t }) {
1724
1724
  let n = e, r = t, { t: i } = W(), a = d(Ke, et), o = v(() => ie(n.field, a));
1725
- return (t, n) => (s(), C(oa, {
1725
+ return (t, n) => (s(), C(aa, {
1726
1726
  label: e.field.label,
1727
1727
  required: e.field.required,
1728
1728
  "read-only": e.readOnly
@@ -1750,15 +1750,15 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1750
1750
  "read-only"
1751
1751
  ]));
1752
1752
  }
1753
- }), ca = {
1753
+ }), sa = {
1754
1754
  key: 0,
1755
1755
  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)]",
1756
1756
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1757
- }, la = [
1757
+ }, ca = [
1758
1758
  "value",
1759
1759
  "placeholder",
1760
1760
  "title"
1761
- ], ua = ["value", "placeholder"], da = /* @__PURE__ */ N({
1761
+ ], la = ["value", "placeholder"], ua = /* @__PURE__ */ N({
1762
1762
  __name: "ImageField",
1763
1763
  props: {
1764
1764
  field: {},
@@ -1793,7 +1793,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1793
1793
  enabled: h,
1794
1794
  onFiles: g
1795
1795
  });
1796
- return (t, n) => (s(), C(oa, {
1796
+ return (t, n) => (s(), C(aa, {
1797
1797
  label: e.field.label,
1798
1798
  required: e.field.required,
1799
1799
  "read-only": e.readOnly
@@ -1803,7 +1803,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1803
1803
  ref: u,
1804
1804
  class: "tpl:relative"
1805
1805
  }, [
1806
- h.value && (x(S) || p.value) ? (s(), y("div", ca, [p.value ? (s(), y(j, { key: 0 }, [P(x(St), {
1806
+ h.value && (x(S) || p.value) ? (s(), y("div", sa, [p.value ? (s(), y(j, { key: 0 }, [P(x(St), {
1807
1807
  class: "tpl-spinner",
1808
1808
  size: 18,
1809
1809
  "stroke-width": 2
@@ -1819,14 +1819,14 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1819
1819
  placeholder: e.field.placeholder || "https://...",
1820
1820
  disabled: "",
1821
1821
  title: x(i).customBlocks.dataSource.readOnlyTooltip
1822
- }, null, 10, la)) : (s(), y("input", {
1822
+ }, null, 10, ca)) : (s(), y("input", {
1823
1823
  key: 2,
1824
1824
  type: "url",
1825
1825
  class: E(x(K)),
1826
1826
  value: e.modelValue,
1827
1827
  placeholder: e.field.placeholder || "https://...",
1828
1828
  onInput: n[0] ||= (e) => r("update:modelValue", e.target.value)
1829
- }, null, 42, ua)),
1829
+ }, null, 42, la)),
1830
1830
  c.value && !e.readOnly ? (s(), y("button", {
1831
1831
  key: 3,
1832
1832
  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)]",
@@ -1843,7 +1843,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1843
1843
  "read-only"
1844
1844
  ]));
1845
1845
  }
1846
- }), fa = [
1846
+ }), da = [
1847
1847
  "value",
1848
1848
  "placeholder",
1849
1849
  "min",
@@ -1851,7 +1851,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1851
1851
  "step",
1852
1852
  "disabled",
1853
1853
  "title"
1854
- ], pa = /* @__PURE__ */ N({
1854
+ ], fa = /* @__PURE__ */ N({
1855
1855
  __name: "NumberField",
1856
1856
  props: {
1857
1857
  field: {},
@@ -1861,7 +1861,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1861
1861
  emits: ["update:modelValue"],
1862
1862
  setup(e, { emit: t }) {
1863
1863
  let n = t, { t: r } = W();
1864
- return (t, i) => (s(), C(oa, {
1864
+ return (t, i) => (s(), C(aa, {
1865
1865
  label: e.field.label,
1866
1866
  required: e.field.required,
1867
1867
  "read-only": e.readOnly
@@ -1877,7 +1877,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1877
1877
  disabled: e.readOnly,
1878
1878
  title: e.readOnly ? x(r).customBlocks.dataSource.readOnlyTooltip : void 0,
1879
1879
  onInput: i[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
1880
- }, null, 42, fa)]),
1880
+ }, null, 42, da)]),
1881
1881
  _: 1
1882
1882
  }, 8, [
1883
1883
  "label",
@@ -1885,10 +1885,10 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1885
1885
  "read-only"
1886
1886
  ]));
1887
1887
  }
1888
- }), ma = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ha = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, ga = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, _a = ["title", "onClick"], va = {
1888
+ }), pa = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ma = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, ha = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, ga = ["title", "onClick"], _a = {
1889
1889
  key: 1,
1890
1890
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1891
- }, ya = /* @__PURE__ */ N({
1891
+ }, va = /* @__PURE__ */ N({
1892
1892
  __name: "RepeatableField",
1893
1893
  props: {
1894
1894
  field: {},
@@ -1916,16 +1916,16 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1916
1916
  } : r);
1917
1917
  r("update:modelValue", i);
1918
1918
  }
1919
- return (t, n) => (s(), C(oa, {
1919
+ return (t, n) => (s(), C(aa, {
1920
1920
  label: e.field.label,
1921
1921
  required: e.field.required,
1922
1922
  "read-only": e.readOnly
1923
1923
  }, {
1924
- default: f(() => [D("div", ma, [
1924
+ default: f(() => [D("div", pa, [
1925
1925
  (s(!0), y(j, null, u(a.value, (t, n) => (s(), y("div", {
1926
1926
  key: `${e.field.key}-${n}`,
1927
1927
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
1928
- }, [D("div", ha, [D("span", ga, " #" + _(n + 1), 1), l.value && !e.readOnly ? (s(), y("button", {
1928
+ }, [D("div", ma, [D("span", ha, " #" + _(n + 1), 1), l.value && !e.readOnly ? (s(), y("button", {
1929
1929
  key: 0,
1930
1930
  type: "button",
1931
1931
  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)]",
@@ -1934,7 +1934,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1934
1934
  }, [P(x(gt), {
1935
1935
  size: 12,
1936
1936
  "stroke-width": 2
1937
- })], 8, _a)) : b("", !0)]), (s(!0), y(j, null, u(e.field.fields, (r) => (s(), C(o(x(Oa)(r.type)), {
1937
+ })], 8, ga)) : b("", !0)]), (s(!0), y(j, null, u(e.field.fields, (r) => (s(), C(o(x(Da)(r.type)), {
1938
1938
  key: r.key,
1939
1939
  field: r,
1940
1940
  "model-value": t[r.key],
@@ -1955,7 +1955,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1955
1955
  size: 14,
1956
1956
  "stroke-width": 2
1957
1957
  }), M(" " + _(x(i).customBlocks.fields.addItem), 1)], 2)) : b("", !0),
1958
- !c.value && !e.readOnly ? (s(), y("p", va, _(x(i).customBlocks.fields.maxItemsReached), 1)) : b("", !0)
1958
+ !c.value && !e.readOnly ? (s(), y("p", _a, _(x(i).customBlocks.fields.maxItemsReached), 1)) : b("", !0)
1959
1959
  ])]),
1960
1960
  _: 1
1961
1961
  }, 8, [
@@ -1964,11 +1964,11 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1964
1964
  "read-only"
1965
1965
  ]));
1966
1966
  }
1967
- }), ba = [
1967
+ }), ya = [
1968
1968
  "value",
1969
1969
  "disabled",
1970
1970
  "title"
1971
- ], xa = ["value"], Sa = /* @__PURE__ */ N({
1971
+ ], ba = ["value"], xa = /* @__PURE__ */ N({
1972
1972
  __name: "SelectField",
1973
1973
  props: {
1974
1974
  field: {},
@@ -1978,7 +1978,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1978
1978
  emits: ["update:modelValue"],
1979
1979
  setup(e, { emit: t }) {
1980
1980
  let n = t, { t: r } = W();
1981
- return (t, i) => (s(), C(oa, {
1981
+ return (t, i) => (s(), C(aa, {
1982
1982
  label: e.field.label,
1983
1983
  required: e.field.required,
1984
1984
  "read-only": e.readOnly
@@ -1992,7 +1992,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
1992
1992
  }, [(s(!0), y(j, null, u(e.field.options, (e) => (s(), y("option", {
1993
1993
  key: e.value,
1994
1994
  value: e.value
1995
- }, _(e.label), 9, xa))), 128))], 42, ba)]),
1995
+ }, _(e.label), 9, ba))), 128))], 42, ya)]),
1996
1996
  _: 1
1997
1997
  }, 8, [
1998
1998
  "label",
@@ -2000,11 +2000,11 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
2000
2000
  "read-only"
2001
2001
  ]));
2002
2002
  }
2003
- }), Ca = [
2003
+ }), Sa = [
2004
2004
  "value",
2005
2005
  "placeholder",
2006
2006
  "title"
2007
- ], wa = /* @__PURE__ */ N({
2007
+ ], Ca = /* @__PURE__ */ N({
2008
2008
  __name: "TextField",
2009
2009
  props: {
2010
2010
  field: {},
@@ -2014,7 +2014,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
2014
2014
  emits: ["update:modelValue"],
2015
2015
  setup(e, { emit: t }) {
2016
2016
  let n = t, { t: r } = W();
2017
- return (t, i) => (s(), C(oa, {
2017
+ return (t, i) => (s(), C(aa, {
2018
2018
  label: e.field.label,
2019
2019
  required: e.field.required,
2020
2020
  "read-only": e.readOnly
@@ -2027,7 +2027,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
2027
2027
  placeholder: e.field.placeholder,
2028
2028
  disabled: "",
2029
2029
  title: x(r).customBlocks.dataSource.readOnlyTooltip
2030
- }, null, 10, Ca)) : (s(), C($, {
2030
+ }, null, 10, Sa)) : (s(), C($, {
2031
2031
  key: 1,
2032
2032
  "model-value": e.modelValue,
2033
2033
  placeholder: e.field.placeholder,
@@ -2040,12 +2040,12 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
2040
2040
  "read-only"
2041
2041
  ]));
2042
2042
  }
2043
- }), Ta = [
2043
+ }), wa = [
2044
2044
  "value",
2045
2045
  "placeholder",
2046
2046
  "title"
2047
- ], Ea = "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", Da = {
2048
- text: wa,
2047
+ ], Ta = "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", Ea = {
2048
+ text: Ca,
2049
2049
  textarea: /* @__PURE__ */ N({
2050
2050
  __name: "TextareaField",
2051
2051
  props: {
@@ -2056,7 +2056,7 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
2056
2056
  emits: ["update:modelValue"],
2057
2057
  setup(e, { emit: t }) {
2058
2058
  let n = t, { t: r } = W();
2059
- return (t, i) => (s(), C(oa, {
2059
+ return (t, i) => (s(), C(aa, {
2060
2060
  label: e.field.label,
2061
2061
  required: e.field.required,
2062
2062
  "read-only": e.readOnly
@@ -2068,8 +2068,8 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
2068
2068
  rows: "3",
2069
2069
  disabled: "",
2070
2070
  title: x(r).customBlocks.dataSource.readOnlyTooltip,
2071
- class: E(Ea)
2072
- }, null, 8, Ta)) : (s(), C(ir, {
2071
+ class: E(Ta)
2072
+ }, null, 8, wa)) : (s(), C(rr, {
2073
2073
  key: 1,
2074
2074
  "model-value": e.modelValue,
2075
2075
  placeholder: e.field.placeholder,
@@ -2083,88 +2083,88 @@ var zn = ["aria-label", "onKeydown"], Bn = ["data-tooltip"], Vn = ["data-tooltip
2083
2083
  ]));
2084
2084
  }
2085
2085
  }),
2086
- image: da,
2087
- color: sa,
2088
- number: pa,
2089
- select: Sa,
2090
- boolean: ra,
2091
- repeatable: ya
2086
+ image: ua,
2087
+ color: oa,
2088
+ number: fa,
2089
+ select: xa,
2090
+ boolean: na,
2091
+ repeatable: va
2092
2092
  };
2093
- function Oa(e) {
2094
- return Da[e] ?? wa;
2093
+ function Da(e) {
2094
+ return Ea[e] ?? Ca;
2095
2095
  }
2096
2096
  //#endregion
2097
2097
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
2098
- var ka = {
2098
+ var Oa = {
2099
2099
  key: 0,
2100
2100
  class: "tpl:p-4"
2101
- }, Aa = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, ja = { key: 1 }, Ma = {
2101
+ }, ka = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Aa = { key: 1 }, ja = {
2102
2102
  key: 0,
2103
2103
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
2104
- }, Na = {
2104
+ }, Ma = {
2105
2105
  key: 1,
2106
2106
  class: "tpl:mb-4"
2107
- }, Pa = {
2107
+ }, Na = {
2108
2108
  key: 1,
2109
2109
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
2110
- }, Fa = {
2110
+ }, Pa = {
2111
2111
  key: 0,
2112
2112
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2113
- }, Ia = {
2113
+ }, Fa = {
2114
2114
  key: 2,
2115
2115
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
2116
- }, La = /* @__PURE__ */ N({
2116
+ }, Ia = /* @__PURE__ */ N({
2117
2117
  __name: "CustomBlockToolbar",
2118
2118
  props: { block: {} },
2119
2119
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2120
2120
  setup(e, { emit: t }) {
2121
- let n = e, r = t, { t: i } = W(), a = d(He, []), c = v(() => a.find((e) => e.type === n.block.customType)), { isFetching: l, fetchError: f, fetch: p, hasDataSource: m, needsFetch: h } = oe({
2121
+ let n = e, r = t, { t: i } = W(), a = d(He, []), c = v(() => a.find((e) => e.type === n.block.customType)), l = v(() => n.block), { isFetching: f, fetchError: p, fetch: m, hasDataSource: h, needsFetch: g } = oe({
2122
2122
  definition: c,
2123
- block: v(() => n.block),
2123
+ block: l,
2124
2124
  onUpdate: (e, t) => {
2125
2125
  r("updateFieldValues", e), r("updateDataSourceFetched", t);
2126
2126
  }
2127
2127
  });
2128
- function g(e) {
2129
- return e.readOnly === !0 && m.value && !!n.block.dataSourceFetched;
2128
+ function S(e) {
2129
+ return e.readOnly === !0 && h.value && !!n.block.dataSourceFetched;
2130
2130
  }
2131
- function S(e, t) {
2131
+ function w(e, t) {
2132
2132
  r("updateFieldValues", {
2133
2133
  ...n.block.fieldValues,
2134
2134
  [e]: t
2135
2135
  });
2136
2136
  }
2137
- return (t, n) => c.value ? (s(), y("div", ja, [
2138
- c.value.description ? (s(), y("p", Ma, _(c.value.description), 1)) : b("", !0),
2139
- x(m) ? (s(), y("div", Na, [x(h) && !x(l) ? (s(), y("button", {
2137
+ return (t, n) => c.value ? (s(), y("div", Aa, [
2138
+ c.value.description ? (s(), y("p", ja, _(c.value.description), 1)) : b("", !0),
2139
+ x(h) ? (s(), y("div", Ma, [x(g) && !x(f) ? (s(), y("button", {
2140
2140
  key: 0,
2141
2141
  type: "button",
2142
2142
  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)]",
2143
- onClick: n[0] ||= (...e) => x(p) && x(p)(...e)
2144
- }, _(c.value?.dataSource?.label || x(i).customBlocks.dataSource.fetchButton), 1)) : (s(), y("div", Pa, [x(l) ? (s(), y("div", Fa, _(x(i).customBlocks.dataSource.fetching), 1)) : (s(), y("button", {
2143
+ onClick: n[0] ||= (...e) => x(m) && x(m)(...e)
2144
+ }, _(c.value?.dataSource?.label || x(i).customBlocks.dataSource.fetchButton), 1)) : (s(), y("div", Na, [x(f) ? (s(), y("div", Pa, _(x(i).customBlocks.dataSource.fetching), 1)) : (s(), y("button", {
2145
2145
  key: 1,
2146
2146
  type: "button",
2147
2147
  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)]",
2148
- onClick: n[1] ||= (...e) => x(p) && x(p)(...e)
2149
- }, [P(x(Rt), { size: 12 }), M(" " + _(x(i).customBlocks.dataSource.changeButton), 1)]))])), x(f) ? (s(), y("p", Ia, [P(x(wt), {
2148
+ onClick: n[1] ||= (...e) => x(m) && x(m)(...e)
2149
+ }, [P(x(Rt), { size: 12 }), M(" " + _(x(i).customBlocks.dataSource.changeButton), 1)]))])), x(p) ? (s(), y("p", Fa, [P(x(wt), {
2150
2150
  size: 14,
2151
2151
  class: "tpl:shrink-0"
2152
2152
  }), M(" " + _(x(i).customBlocks.dataSource.fetchError), 1)])) : b("", !0)])) : b("", !0),
2153
- (s(!0), y(j, null, u(c.value.fields, (t) => (s(), C(o(x(Oa)(t.type)), {
2153
+ (s(!0), y(j, null, u(c.value.fields, (t) => (s(), C(o(x(Da)(t.type)), {
2154
2154
  key: t.key,
2155
2155
  field: t,
2156
2156
  "model-value": e.block.fieldValues[t.key],
2157
- "read-only": g(t),
2158
- "onUpdate:modelValue": (e) => S(t.key, e)
2157
+ "read-only": S(t),
2158
+ "onUpdate:modelValue": (e) => w(t.key, e)
2159
2159
  }, null, 8, [
2160
2160
  "field",
2161
2161
  "model-value",
2162
2162
  "read-only",
2163
2163
  "onUpdate:modelValue"
2164
2164
  ]))), 128))
2165
- ])) : (s(), y("div", ka, [D("p", Aa, _(x(i).customBlocks.toolbar.noDefinition), 1)]));
2165
+ ])) : (s(), y("div", Oa, [D("p", ka, _(x(i).customBlocks.toolbar.noDefinition), 1)]));
2166
2166
  }
2167
- }), Ra = { class: "tpl:mb-3.5" }, za = { class: "tpl:mb-3.5" }, Ba = { class: "tpl:mb-3.5" }, Va = { class: "tpl:flex tpl:items-stretch" }, Ha = ["value"], Ua = /* @__PURE__ */ N({
2167
+ }), La = { class: "tpl:mb-3.5" }, Ra = { class: "tpl:mb-3.5" }, za = { class: "tpl:mb-3.5" }, Ba = { class: "tpl:flex tpl:items-stretch" }, Va = ["value"], Ha = /* @__PURE__ */ N({
2168
2168
  __name: "DividerToolbar",
2169
2169
  props: { block: {} },
2170
2170
  emits: ["update"],
@@ -2174,7 +2174,7 @@ var ka = {
2174
2174
  n("update", { [e]: t });
2175
2175
  }
2176
2176
  return (t, n) => (s(), y(j, null, [
2177
- D("div", Ra, [D("label", { class: E(x(q)) }, _(x(r).divider.style), 3), P(tn, {
2177
+ D("div", La, [D("label", { class: E(x(q)) }, _(x(r).divider.style), 3), P(tn, {
2178
2178
  options: [
2179
2179
  {
2180
2180
  value: "solid",
@@ -2192,27 +2192,27 @@ var ka = {
2192
2192
  "model-value": e.block.lineStyle,
2193
2193
  "onUpdate:modelValue": n[0] ||= (e) => i("lineStyle", e)
2194
2194
  }, null, 8, ["options", "model-value"])]),
2195
- D("div", za, [D("label", { class: E(x(q)) }, _(x(r).divider.color), 3), P(X, {
2195
+ D("div", Ra, [D("label", { class: E(x(q)) }, _(x(r).divider.color), 3), P(X, {
2196
2196
  "model-value": e.block.color,
2197
2197
  "onUpdate:modelValue": n[1] ||= (e) => i("color", e)
2198
2198
  }, null, 8, ["model-value"])]),
2199
- D("div", Ba, [D("label", { class: E(x(q)) }, _(x(r).divider.thickness), 3), D("div", Va, [D("input", {
2199
+ D("div", za, [D("label", { class: E(x(q)) }, _(x(r).divider.thickness), 3), D("div", Ba, [D("input", {
2200
2200
  type: "number",
2201
2201
  class: E(x(Y)),
2202
2202
  value: e.block.thickness,
2203
2203
  min: "1",
2204
2204
  max: "10",
2205
2205
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
2206
- }, null, 42, Ha), D("span", { class: E(x(J)) }, "px", 2)])])
2206
+ }, null, 42, Va), D("span", { class: E(x(J)) }, "px", 2)])])
2207
2207
  ], 64));
2208
2208
  }
2209
- }), Wa = { class: "tpl:mb-3.5" }, Ga = ["value"], Ka = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, qa = /* @__PURE__ */ N({
2209
+ }), Ua = { class: "tpl:mb-3.5" }, Wa = ["value"], Ga = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, Ka = /* @__PURE__ */ N({
2210
2210
  __name: "HtmlToolbar",
2211
2211
  props: { block: {} },
2212
2212
  emits: ["update"],
2213
2213
  setup(e, { emit: t }) {
2214
2214
  let n = t, { t: r } = W();
2215
- return (t, i) => (s(), y("div", Wa, [
2215
+ return (t, i) => (s(), y("div", Ua, [
2216
2216
  D("label", { class: E(x(q)) }, _(x(r).html.content), 3),
2217
2217
  D("textarea", {
2218
2218
  value: e.block.content,
@@ -2220,24 +2220,24 @@ var ka = {
2220
2220
  rows: "10",
2221
2221
  class: E(x(Jt)),
2222
2222
  onInput: i[0] ||= (e) => n("update", { content: e.target.value })
2223
- }, null, 42, Ga),
2224
- D("p", Ka, [P(x(_t), {
2223
+ }, null, 42, Wa),
2224
+ D("p", Ga, [P(x(_t), {
2225
2225
  size: 12,
2226
2226
  class: "tpl:mt-0.5 tpl:shrink-0"
2227
2227
  }), M(" " + _(x(r).html.sanitizationHint), 1)])
2228
2228
  ]));
2229
2229
  }
2230
- }), Ja = { class: "tpl:mb-3.5" }, Ya = {
2230
+ }), qa = { class: "tpl:mb-3.5" }, Ja = {
2231
2231
  key: 0,
2232
2232
  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)]",
2233
2233
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
2234
- }, Xa = {
2234
+ }, Ya = {
2235
2235
  key: 0,
2236
2236
  class: "tpl:mb-3.5"
2237
- }, Za = ["value", "placeholder"], Qa = { class: "tpl:mb-3.5" }, $a = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, eo = { class: "tpl:mb-3.5" }, to = ["value"], no = { value: "full" }, ro = { value: "custom" }, io = {
2237
+ }, Xa = ["value", "placeholder"], Za = { class: "tpl:mb-3.5" }, Qa = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, $a = { class: "tpl:mb-3.5" }, eo = ["value"], to = { value: "full" }, no = { value: "custom" }, ro = {
2238
2238
  key: 0,
2239
2239
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2240
- }, ao = ["value"], oo = { class: "tpl:mb-3.5" }, so = { class: "tpl:mb-3.5" }, co = 350, lo = /* @__PURE__ */ N({
2240
+ }, io = ["value"], ao = { class: "tpl:mb-3.5" }, oo = { class: "tpl:mb-3.5" }, so = 350, co = /* @__PURE__ */ N({
2241
2241
  __name: "ImageToolbar",
2242
2242
  props: { block: {} },
2243
2243
  emits: ["update"],
@@ -2258,7 +2258,7 @@ var ka = {
2258
2258
  function T(e) {
2259
2259
  if (e === "custom") {
2260
2260
  let e = n.block.width;
2261
- (typeof e != "number" || g.includes(e)) && w("width", co);
2261
+ (typeof e != "number" || g.includes(e)) && w("width", so);
2262
2262
  return;
2263
2263
  }
2264
2264
  w("width", e === "full" ? "full" : Number(e));
@@ -2293,12 +2293,12 @@ var ka = {
2293
2293
  onFiles: L
2294
2294
  });
2295
2295
  return (t, n) => (s(), y(j, null, [
2296
- D("div", Ja, [D("label", { class: E(x(q)) }, _(x(i).image.imageUrl), 3), D("div", {
2296
+ D("div", qa, [D("label", { class: E(x(q)) }, _(x(i).image.imageUrl), 3), D("div", {
2297
2297
  ref_key: "dropZoneRef",
2298
2298
  ref: A,
2299
2299
  class: "tpl:relative"
2300
2300
  }, [
2301
- I.value && (x(R) || N.value) ? (s(), y("div", Ya, [N.value ? (s(), y(j, { key: 0 }, [P(x(St), {
2301
+ I.value && (x(R) || N.value) ? (s(), y("div", Ja, [N.value ? (s(), y(j, { key: 0 }, [P(x(St), {
2302
2302
  class: "tpl-spinner",
2303
2303
  size: 18,
2304
2304
  "stroke-width": 2
@@ -2331,14 +2331,14 @@ var ka = {
2331
2331
  "stroke-width": 1.5
2332
2332
  }), M(" " + _(x(i).image.browseMedia), 1)])) : b("", !0)
2333
2333
  ], 512)]),
2334
- x(V)(e.block.src, x(o)) ? (s(), y("div", Xa, [D("label", { class: E(x(q)) }, [M(_(x(i).image.placeholderUrl) + " ", 1), n[9] ||= D("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, _("(optional)"), -1)], 2), D("input", {
2334
+ x(V)(e.block.src, x(o)) ? (s(), y("div", Ya, [D("label", { class: E(x(q)) }, [M(_(x(i).image.placeholderUrl) + " ", 1), n[9] ||= D("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, _("(optional)"), -1)], 2), D("input", {
2335
2335
  type: "url",
2336
2336
  class: E(x(K)),
2337
2337
  value: e.block.placeholderUrl || "",
2338
2338
  placeholder: x(i).image.placeholderUrlPlaceholder,
2339
2339
  onInput: n[1] ||= (e) => w("placeholderUrl", e.target.value)
2340
- }, null, 42, Za)])) : b("", !0),
2341
- D("div", Qa, [
2340
+ }, null, 42, Xa)])) : b("", !0),
2341
+ D("div", Za, [
2342
2342
  D("label", { class: E(x(q)) }, _(x(i).image.altText), 3),
2343
2343
  P($, {
2344
2344
  "model-value": e.block.alt,
@@ -2359,32 +2359,32 @@ var ka = {
2359
2359
  label: x(i).image.decorative,
2360
2360
  "onUpdate:modelValue": n[3] ||= (e) => w("decorative", e)
2361
2361
  }, {
2362
- default: f(() => [D("span", null, [M(_(x(i).image.decorative) + " ", 1), D("span", $a, _(x(i).image.decorativeHint), 1)])]),
2362
+ default: f(() => [D("span", null, [M(_(x(i).image.decorative) + " ", 1), D("span", Qa, _(x(i).image.decorativeHint), 1)])]),
2363
2363
  _: 1
2364
2364
  }, 8, ["model-value", "label"])
2365
2365
  ]),
2366
- D("div", eo, [
2366
+ D("div", $a, [
2367
2367
  D("label", { class: E(x(q)) }, _(x(i).image.width), 3),
2368
2368
  D("select", {
2369
2369
  class: E(x(K)),
2370
2370
  value: S.value,
2371
2371
  onChange: n[4] ||= (e) => T(e.target.value)
2372
2372
  }, [
2373
- D("option", no, _(x(i).image.fullWidth), 1),
2373
+ D("option", to, _(x(i).image.fullWidth), 1),
2374
2374
  n[10] ||= D("option", { value: "300" }, "300px", -1),
2375
2375
  n[11] ||= D("option", { value: "400" }, "400px", -1),
2376
2376
  n[12] ||= D("option", { value: "500" }, "500px", -1),
2377
- D("option", ro, _(x(i).image.widthCustom), 1)
2378
- ], 42, to),
2379
- S.value === "custom" ? (s(), y("div", io, [D("input", {
2377
+ D("option", no, _(x(i).image.widthCustom), 1)
2378
+ ], 42, eo),
2379
+ S.value === "custom" ? (s(), y("div", ro, [D("input", {
2380
2380
  type: "number",
2381
2381
  class: E(x(Y)),
2382
- value: typeof e.block.width == "number" ? e.block.width : co,
2382
+ value: typeof e.block.width == "number" ? e.block.width : so,
2383
2383
  min: "20",
2384
2384
  onInput: n[5] ||= (e) => O(e.target.value)
2385
- }, null, 42, ao), D("span", { class: E(x(J)) }, "px", 2)])) : b("", !0)
2385
+ }, null, 42, io), D("span", { class: E(x(J)) }, "px", 2)])) : b("", !0)
2386
2386
  ]),
2387
- D("div", oo, [D("label", { class: E(x(q)) }, _(x(i).title.align), 3), P(tn, {
2387
+ D("div", ao, [D("label", { class: E(x(q)) }, _(x(i).title.align), 3), P(tn, {
2388
2388
  options: [
2389
2389
  {
2390
2390
  value: "left",
@@ -2402,7 +2402,7 @@ var ka = {
2402
2402
  "model-value": e.block.align,
2403
2403
  "onUpdate:modelValue": n[6] ||= (e) => w("align", e)
2404
2404
  }, null, 8, ["options", "model-value"])]),
2405
- D("div", so, [
2405
+ D("div", oo, [
2406
2406
  D("label", { class: E(x(q)) }, _(x(i).image.linkUrl), 3),
2407
2407
  P($, {
2408
2408
  "model-value": e.block.linkUrl || "",
@@ -2420,11 +2420,11 @@ var ka = {
2420
2420
  ])
2421
2421
  ], 64));
2422
2422
  }
2423
- }), uo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, fo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, po = [
2423
+ }), lo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, uo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, fo = [
2424
2424
  "value",
2425
2425
  "placeholder",
2426
2426
  "onInput"
2427
- ], mo = ["title", "onClick"], ho = { 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)]" }, go = { class: "tpl:flex tpl:items-center tpl:gap-2" }, _o = ["value"], vo = { value: "" }, yo = ["value"], bo = ["value"], xo = /* @__PURE__ */ N({
2427
+ ], po = ["title", "onClick"], mo = { 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)]" }, ho = { class: "tpl:flex tpl:items-center tpl:gap-2" }, go = ["value"], _o = { value: "" }, vo = ["value"], yo = ["value"], bo = /* @__PURE__ */ N({
2428
2428
  __name: "MenuToolbar",
2429
2429
  props: {
2430
2430
  block: {},
@@ -2488,24 +2488,24 @@ var ka = {
2488
2488
  }
2489
2489
  return (t, n) => (s(), y(j, null, [
2490
2490
  P(Q, { label: x(i).menu.items }, {
2491
- default: f(() => [D("div", uo, [(s(!0), y(j, null, u(e.block.items, (t) => (s(), y("div", {
2491
+ default: f(() => [D("div", lo, [(s(!0), y(j, null, u(e.block.items, (t) => (s(), y("div", {
2492
2492
  key: t.id,
2493
2493
  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"
2494
2494
  }, [
2495
- D("div", fo, [D("input", {
2495
+ D("div", uo, [D("input", {
2496
2496
  type: "text",
2497
2497
  class: E([x(K), "tpl:flex-1"]),
2498
2498
  value: t.text,
2499
2499
  placeholder: x(i).menu.text,
2500
2500
  onInput: (e) => d(t.id, "text", e.target.value)
2501
- }, null, 42, po), D("button", {
2501
+ }, null, 42, fo), D("button", {
2502
2502
  class: E(x(qt)),
2503
2503
  title: x(i).menu.removeItem,
2504
2504
  onClick: (e) => p(t.id)
2505
2505
  }, [P(x(Ot), {
2506
2506
  size: 14,
2507
2507
  "stroke-width": 2
2508
- })], 10, mo)]),
2508
+ })], 10, po)]),
2509
2509
  P($, {
2510
2510
  "model-value": t.url,
2511
2511
  type: "url",
@@ -2516,7 +2516,7 @@ var ka = {
2516
2516
  "placeholder",
2517
2517
  "onUpdate:modelValue"
2518
2518
  ]),
2519
- D("div", ho, [(s(!0), y(j, null, u(a.value, (e) => (s(), C(Z, {
2519
+ D("div", mo, [(s(!0), y(j, null, u(a.value, (e) => (s(), C(Z, {
2520
2520
  key: e.key,
2521
2521
  "model-value": t[e.key],
2522
2522
  label: e.label,
@@ -2526,7 +2526,7 @@ var ka = {
2526
2526
  "label",
2527
2527
  "onUpdate:modelValue"
2528
2528
  ]))), 128))]),
2529
- D("div", go, [D("label", { class: E([x(q), "tpl:!mb-0"]) }, _(x(i).menu.color), 3), P(X, {
2529
+ D("div", ho, [D("label", { class: E([x(q), "tpl:!mb-0"]) }, _(x(i).menu.color), 3), P(X, {
2530
2530
  "swatch-only": "",
2531
2531
  "model-value": t.color || e.block.linkColor || e.block.color || "",
2532
2532
  "onUpdate:modelValue": (e) => d(t.id, "color", e)
@@ -2545,10 +2545,10 @@ var ka = {
2545
2545
  class: E(x(K)),
2546
2546
  value: e.block.fontFamily || "",
2547
2547
  onChange: n[0] ||= (e) => c("fontFamily", e.target.value || void 0)
2548
- }, [D("option", vo, _(x(i).title.inheritFont), 1), (s(!0), y(j, null, u(e.fontFamilies, (e) => (s(), y("option", {
2548
+ }, [D("option", _o, _(x(i).title.inheritFont), 1), (s(!0), y(j, null, u(e.fontFamilies, (e) => (s(), y("option", {
2549
2549
  key: e.value,
2550
2550
  value: e.value
2551
- }, _(e.label), 9, yo))), 128))], 42, _o)]),
2551
+ }, _(e.label), 9, vo))), 128))], 42, go)]),
2552
2552
  _: 1
2553
2553
  }, 8, ["label"]),
2554
2554
  P(Q, { label: x(i).menu.fontSize }, {
@@ -2589,7 +2589,7 @@ var ka = {
2589
2589
  class: E(x(K)),
2590
2590
  value: e.block.separator,
2591
2591
  onInput: n[5] ||= (e) => c("separator", e.target.value)
2592
- }, null, 42, bo)]),
2592
+ }, null, 42, yo)]),
2593
2593
  _: 1
2594
2594
  }, 8, ["label"]),
2595
2595
  P(Q, { label: x(i).menu.separatorColor }, {
@@ -2614,11 +2614,11 @@ var ka = {
2614
2614
  });
2615
2615
  //#endregion
2616
2616
  //#region src/utils/rebalanceColumnChildren.ts
2617
- function So(e) {
2617
+ function xo(e) {
2618
2618
  return e === "1" ? 1 : e === "3" ? 3 : 2;
2619
2619
  }
2620
- function Co(e, t) {
2621
- let n = So(t);
2620
+ function So(e, t) {
2621
+ let n = xo(t);
2622
2622
  if (e.length === n) return e;
2623
2623
  if (e.length < n) {
2624
2624
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2629,13 +2629,13 @@ function Co(e, t) {
2629
2629
  }
2630
2630
  //#endregion
2631
2631
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
2632
- var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2632
+ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = {
2633
2633
  key: 0,
2634
2634
  class: "tpl:mb-3.5"
2635
- }, Oo = { class: "tpl:mb-3.5" }, ko = { class: "tpl:flex tpl:items-stretch" }, Ao = ["value"], jo = { class: "tpl:mb-3.5" }, Mo = {
2635
+ }, Do = { class: "tpl:mb-3.5" }, Oo = { class: "tpl:flex tpl:items-stretch" }, ko = ["value"], Ao = { class: "tpl:mb-3.5" }, jo = {
2636
2636
  key: 0,
2637
2637
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
2638
- }, No = { class: "tpl:flex tpl:items-stretch" }, Po = ["value"], Fo = /* @__PURE__ */ N({
2638
+ }, Mo = { class: "tpl:flex tpl:items-stretch" }, No = ["value"], Po = /* @__PURE__ */ N({
2639
2639
  __name: "SectionToolbar",
2640
2640
  props: { block: {} },
2641
2641
  emits: ["update"],
@@ -2663,7 +2663,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2663
2663
  }
2664
2664
  ]);
2665
2665
  function o(e) {
2666
- let t = e.target.value, i = Co(n.block.children, t);
2666
+ let t = e.target.value, i = So(n.block.children, t);
2667
2667
  r("update", {
2668
2668
  columns: t,
2669
2669
  children: i
@@ -2697,39 +2697,39 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2697
2697
  f({ borderRadius: Number(e.target.value) });
2698
2698
  }
2699
2699
  return (t, n) => (s(), y(j, null, [
2700
- D("div", wo, [D("label", { class: E(x(q)) }, _(x(i).section.columns), 3), D("select", {
2700
+ D("div", Co, [D("label", { class: E(x(q)) }, _(x(i).section.columns), 3), D("select", {
2701
2701
  class: E(x(K)),
2702
2702
  value: e.block.columns,
2703
2703
  onChange: o
2704
2704
  }, [(s(!0), y(j, null, u(a.value, (e) => (s(), y("option", {
2705
2705
  key: e.value,
2706
2706
  value: e.value
2707
- }, _(e.label), 9, Eo))), 128))], 42, To)]),
2708
- e.block.columns === "1" ? b("", !0) : (s(), y("div", Do, [P(Z, {
2707
+ }, _(e.label), 9, To))), 128))], 42, wo)]),
2708
+ e.block.columns === "1" ? b("", !0) : (s(), y("div", Eo, [P(Z, {
2709
2709
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2710
2710
  "model-value": e.block.stackOnMobile !== !1,
2711
2711
  label: x(i).section.stackOnMobile,
2712
2712
  "onUpdate:modelValue": n[0] ||= (e) => c(e)
2713
2713
  }, null, 8, ["model-value", "label"])])),
2714
- D("div", Oo, [D("label", { class: E(x(q)) }, _(x(i).section.borderRadius), 3), D("div", ko, [D("input", {
2714
+ D("div", Do, [D("label", { class: E(x(q)) }, _(x(i).section.borderRadius), 3), D("div", Oo, [D("input", {
2715
2715
  type: "number",
2716
2716
  class: E(x(Y)),
2717
2717
  value: e.block.borderRadius ?? 0,
2718
2718
  min: "0",
2719
2719
  max: "50",
2720
2720
  onInput: l
2721
- }, null, 42, Ao), D("span", { class: E(x(J)) }, "px", 2)])]),
2722
- D("div", jo, [P(Z, {
2721
+ }, null, 42, ko), D("span", { class: E(x(J)) }, "px", 2)])]),
2722
+ D("div", Ao, [P(Z, {
2723
2723
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2724
2724
  "model-value": !!e.block.wrapper,
2725
2725
  label: x(i).section.wrapperEnable,
2726
2726
  "onUpdate:modelValue": n[1] ||= (e) => d(e)
2727
- }, null, 8, ["model-value", "label"]), e.block.wrapper ? (s(), y("div", Mo, [
2727
+ }, null, 8, ["model-value", "label"]), e.block.wrapper ? (s(), y("div", jo, [
2728
2728
  D("div", null, [D("label", { class: E(x(q)) }, _(x(i).blockSettings.color), 3), P(X, {
2729
2729
  "model-value": e.block.wrapper.backgroundColor ?? "",
2730
2730
  "onUpdate:modelValue": n[2] ||= (e) => f({ backgroundColor: e })
2731
2731
  }, null, 8, ["model-value"])]),
2732
- P(Pi, {
2732
+ P(Ni, {
2733
2733
  label: x(i).blockSettings.padding,
2734
2734
  "model-value": e.block.wrapper.padding ?? {
2735
2735
  top: 0,
@@ -2739,18 +2739,18 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2739
2739
  },
2740
2740
  "onUpdate:modelValue": p
2741
2741
  }, null, 8, ["label", "model-value"]),
2742
- D("div", null, [D("label", { class: E(x(q)) }, _(x(i).section.borderRadius), 3), D("div", No, [D("input", {
2742
+ D("div", null, [D("label", { class: E(x(q)) }, _(x(i).section.borderRadius), 3), D("div", Mo, [D("input", {
2743
2743
  type: "number",
2744
2744
  class: E(x(Y)),
2745
2745
  value: e.block.wrapper.borderRadius ?? 0,
2746
2746
  min: "0",
2747
2747
  max: "50",
2748
2748
  onInput: m
2749
- }, null, 42, Po), D("span", { class: E(x(J)) }, "px", 2)])])
2749
+ }, null, 42, No), D("span", { class: E(x(J)) }, "px", 2)])])
2750
2750
  ])) : b("", !0)])
2751
2751
  ], 64));
2752
2752
  }
2753
- }), Io = { class: "tpl:mb-3.5" }, Lo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ro = { class: "tpl:flex tpl:items-center tpl:gap-2" }, zo = ["value", "onChange"], Bo = ["value"], Vo = ["title", "onClick"], Ho = { class: "tpl:mb-3.5" }, Uo = ["value"], Wo = { value: "solid" }, Go = { value: "outlined" }, Ko = { value: "rounded" }, qo = { value: "square" }, Jo = { value: "circle" }, Yo = { class: "tpl:mb-3.5" }, Xo = { class: "tpl:mb-3.5" }, Zo = { class: "tpl:flex tpl:items-stretch" }, Qo = ["value"], $o = { class: "tpl:mb-3.5" }, es = /* @__PURE__ */ N({
2753
+ }), Fo = { class: "tpl:mb-3.5" }, Io = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Lo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ro = ["value", "onChange"], zo = ["value"], Bo = ["title", "onClick"], Vo = { class: "tpl:mb-3.5" }, Ho = ["value"], Uo = { value: "solid" }, Wo = { value: "outlined" }, Go = { value: "rounded" }, Ko = { value: "square" }, qo = { value: "circle" }, Jo = { class: "tpl:mb-3.5" }, Yo = { class: "tpl:mb-3.5" }, Xo = { class: "tpl:flex tpl:items-stretch" }, Zo = ["value"], Qo = { class: "tpl:mb-3.5" }, $o = /* @__PURE__ */ N({
2754
2754
  __name: "SocialToolbar",
2755
2755
  props: { block: {} },
2756
2756
  emits: ["update"],
@@ -2778,10 +2778,10 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2778
2778
  r("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2779
2779
  }
2780
2780
  return (t, n) => (s(), y(j, null, [
2781
- D("div", Io, [D("label", { class: E(x(q)) }, _(x(i).social.icons), 3), D("div", Lo, [(s(!0), y(j, null, u(e.block.icons, (e) => (s(), y("div", {
2781
+ D("div", Fo, [D("label", { class: E(x(q)) }, _(x(i).social.icons), 3), D("div", Io, [(s(!0), y(j, null, u(e.block.icons, (e) => (s(), y("div", {
2782
2782
  key: e.id,
2783
2783
  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"
2784
- }, [D("div", Ro, [D("select", {
2784
+ }, [D("div", Lo, [D("select", {
2785
2785
  "data-testid": "social-platform-select",
2786
2786
  class: E([x(K), "tpl:flex-1"]),
2787
2787
  value: e.platform,
@@ -2789,14 +2789,14 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2789
2789
  }, [(s(!0), y(j, null, u(x(Se), (e) => (s(), y("option", {
2790
2790
  key: e,
2791
2791
  value: e
2792
- }, _(x(i).social.platforms[e]), 9, Bo))), 128))], 42, zo), D("button", {
2792
+ }, _(x(i).social.platforms[e]), 9, zo))), 128))], 42, Ro), D("button", {
2793
2793
  class: E(x(qt)),
2794
2794
  title: x(i).social.removeIcon,
2795
2795
  onClick: (t) => l(e.id)
2796
2796
  }, [P(x(Ot), {
2797
2797
  size: 14,
2798
2798
  "stroke-width": 2
2799
- })], 10, Vo)]), P($, {
2799
+ })], 10, Bo)]), P($, {
2800
2800
  "model-value": e.url,
2801
2801
  type: "url",
2802
2802
  placeholder: x(i).social.urlPlaceholder,
@@ -2812,18 +2812,18 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2812
2812
  size: 14,
2813
2813
  "stroke-width": 2
2814
2814
  }), M(" " + _(x(i).social.addIcon), 1)], 2)])]),
2815
- D("div", Ho, [D("label", { class: E(x(q)) }, _(x(i).social.style), 3), D("select", {
2815
+ D("div", Vo, [D("label", { class: E(x(q)) }, _(x(i).social.style), 3), D("select", {
2816
2816
  class: E(x(K)),
2817
2817
  value: e.block.iconStyle,
2818
2818
  onChange: n[0] ||= (e) => a("iconStyle", e.target.value)
2819
2819
  }, [
2820
- D("option", Wo, _(x(i).social.styleSolid), 1),
2821
- D("option", Go, _(x(i).social.styleOutlined), 1),
2822
- D("option", Ko, _(x(i).social.styleRounded), 1),
2823
- D("option", qo, _(x(i).social.styleSquare), 1),
2824
- D("option", Jo, _(x(i).social.styleCircle), 1)
2825
- ], 42, Uo)]),
2826
- D("div", Yo, [D("label", { class: E(x(q)) }, _(x(i).social.size), 3), P(tn, {
2820
+ D("option", Uo, _(x(i).social.styleSolid), 1),
2821
+ D("option", Wo, _(x(i).social.styleOutlined), 1),
2822
+ D("option", Go, _(x(i).social.styleRounded), 1),
2823
+ D("option", Ko, _(x(i).social.styleSquare), 1),
2824
+ D("option", qo, _(x(i).social.styleCircle), 1)
2825
+ ], 42, Ho)]),
2826
+ D("div", Jo, [D("label", { class: E(x(q)) }, _(x(i).social.size), 3), P(tn, {
2827
2827
  options: [
2828
2828
  {
2829
2829
  value: "small",
@@ -2841,15 +2841,15 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2841
2841
  "model-value": e.block.iconSize,
2842
2842
  "onUpdate:modelValue": n[1] ||= (e) => a("iconSize", e)
2843
2843
  }, null, 8, ["options", "model-value"])]),
2844
- D("div", Xo, [D("label", { class: E(x(q)) }, _(x(i).social.spacing), 3), D("div", Zo, [D("input", {
2844
+ D("div", Yo, [D("label", { class: E(x(q)) }, _(x(i).social.spacing), 3), D("div", Xo, [D("input", {
2845
2845
  type: "number",
2846
2846
  class: E(x(Y)),
2847
2847
  value: e.block.spacing,
2848
2848
  min: "0",
2849
2849
  max: "50",
2850
2850
  onInput: n[2] ||= (e) => a("spacing", Number(e.target.value))
2851
- }, null, 42, Qo), D("span", { class: E(x(J)) }, "px", 2)])]),
2852
- D("div", $o, [D("label", { class: E(x(q)) }, _(x(i).social.align), 3), P(tn, {
2851
+ }, null, 42, Zo), D("span", { class: E(x(J)) }, "px", 2)])]),
2852
+ D("div", Qo, [D("label", { class: E(x(q)) }, _(x(i).social.align), 3), P(tn, {
2853
2853
  options: [
2854
2854
  {
2855
2855
  value: "left",
@@ -2872,22 +2872,22 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2872
2872
  }, null, 8, ["options", "model-value"])])
2873
2873
  ], 64));
2874
2874
  }
2875
- }), ts = { class: "tpl:mb-3.5" }, ns = { class: "tpl:flex tpl:items-stretch" }, rs = ["value"], is = ["value"], as = /* @__PURE__ */ N({
2875
+ }), es = { class: "tpl:mb-3.5" }, ts = { class: "tpl:flex tpl:items-stretch" }, ns = ["value"], rs = ["value"], is = /* @__PURE__ */ N({
2876
2876
  __name: "SpacerToolbar",
2877
2877
  props: { block: {} },
2878
2878
  emits: ["update"],
2879
2879
  setup(e, { emit: t }) {
2880
2880
  let n = t, { t: r } = W();
2881
- return (t, i) => (s(), y("div", ts, [
2881
+ return (t, i) => (s(), y("div", es, [
2882
2882
  D("label", { class: E(x(q)) }, _(x(r).spacer.height), 3),
2883
- D("div", ns, [D("input", {
2883
+ D("div", ts, [D("input", {
2884
2884
  type: "number",
2885
2885
  class: E(x(Y)),
2886
2886
  value: e.block.height,
2887
2887
  min: "10",
2888
2888
  max: "100",
2889
2889
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
2890
- }, null, 42, rs), D("span", { class: E(x(J)) }, "px", 2)]),
2890
+ }, null, 42, ns), D("span", { class: E(x(J)) }, "px", 2)]),
2891
2891
  D("input", {
2892
2892
  type: "range",
2893
2893
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -2895,13 +2895,13 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2895
2895
  min: "10",
2896
2896
  max: "100",
2897
2897
  onInput: i[1] ||= (e) => n("update", { height: Number(e.target.value) })
2898
- }, null, 40, is)
2898
+ }, null, 40, rs)
2899
2899
  ]));
2900
2900
  }
2901
- }), os = { class: "tpl:mb-3.5" }, ss = { class: "tpl:flex tpl:items-center tpl:gap-3" }, cs = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ls = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, us = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ds = ["disabled"], fs = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ps = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ms = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, hs = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, gs = ["disabled"], _s = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, vs = { class: "tpl:mb-3.5" }, ys = {
2901
+ }), as = { class: "tpl:mb-3.5" }, os = { class: "tpl:flex tpl:items-center tpl:gap-3" }, ss = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, cs = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ls = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, us = ["disabled"], ds = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, fs = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ps = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ms = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, hs = ["disabled"], gs = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, _s = { class: "tpl:mb-3.5" }, vs = {
2902
2902
  key: 0,
2903
2903
  class: "tpl:mb-3.5"
2904
- }, bs = { class: "tpl:mb-3.5" }, xs = { class: "tpl:mb-3.5" }, Ss = { class: "tpl:flex tpl:items-stretch" }, Cs = ["value"], ws = { class: "tpl:mb-3.5" }, Ts = { class: "tpl:flex tpl:items-stretch" }, Es = ["value"], Ds = { class: "tpl:mb-3.5" }, Os = ["value"], ks = { value: "" }, As = ["value"], js = { class: "tpl:mb-3.5" }, Ms = { class: "tpl:flex tpl:items-stretch" }, Ns = ["value"], Ps = { class: "tpl:mb-3.5" }, Fs = { class: "tpl:mb-3.5" }, Is = /* @__PURE__ */ N({
2904
+ }, ys = { class: "tpl:mb-3.5" }, bs = { class: "tpl:mb-3.5" }, xs = { class: "tpl:flex tpl:items-stretch" }, Ss = ["value"], Cs = { class: "tpl:mb-3.5" }, ws = { class: "tpl:flex tpl:items-stretch" }, Ts = ["value"], Es = { class: "tpl:mb-3.5" }, Ds = ["value"], Os = { value: "" }, ks = ["value"], As = { class: "tpl:mb-3.5" }, js = { class: "tpl:flex tpl:items-stretch" }, Ms = ["value"], Ns = { class: "tpl:mb-3.5" }, Ps = { class: "tpl:mb-3.5" }, Fs = /* @__PURE__ */ N({
2905
2905
  __name: "TableToolbar",
2906
2906
  props: {
2907
2907
  block: {},
@@ -2944,7 +2944,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2944
2944
  r("update", { rows: t });
2945
2945
  }
2946
2946
  return (t, n) => (s(), y(j, null, [
2947
- D("div", os, [D("label", { class: E(x(q)) }, _(x(i).table.dimensions), 3), D("div", ss, [D("div", cs, [D("span", ls, _(x(i).table.rows), 1), D("div", us, [
2947
+ D("div", as, [D("label", { class: E(x(q)) }, _(x(i).table.dimensions), 3), D("div", os, [D("div", ss, [D("span", cs, _(x(i).table.rows), 1), D("div", ls, [
2948
2948
  D("button", {
2949
2949
  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",
2950
2950
  disabled: e.block.rows.length <= 1,
@@ -2952,8 +2952,8 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2952
2952
  }, [P(x(vt), {
2953
2953
  size: 12,
2954
2954
  "stroke-width": 2
2955
- })], 8, ds),
2956
- D("span", fs, _(e.block.rows.length), 1),
2955
+ })], 8, us),
2956
+ D("span", ds, _(e.block.rows.length), 1),
2957
2957
  D("button", {
2958
2958
  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)]",
2959
2959
  onClick: c
@@ -2961,7 +2961,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2961
2961
  size: 12,
2962
2962
  "stroke-width": 2
2963
2963
  })])
2964
- ])]), D("div", ps, [D("span", ms, _(x(i).table.columns), 1), D("div", hs, [
2964
+ ])]), D("div", fs, [D("span", ps, _(x(i).table.columns), 1), D("div", ms, [
2965
2965
  D("button", {
2966
2966
  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",
2967
2967
  disabled: a.value <= 1,
@@ -2969,8 +2969,8 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2969
2969
  }, [P(x(vt), {
2970
2970
  size: 12,
2971
2971
  "stroke-width": 2
2972
- })], 8, gs),
2973
- D("span", _s, _(a.value), 1),
2972
+ })], 8, hs),
2973
+ D("span", gs, _(a.value), 1),
2974
2974
  D("button", {
2975
2975
  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)]",
2976
2976
  onClick: d
@@ -2979,13 +2979,13 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2979
2979
  "stroke-width": 2
2980
2980
  })])
2981
2981
  ])])])]),
2982
- D("div", vs, [P(Z, {
2982
+ D("div", _s, [P(Z, {
2983
2983
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
2984
2984
  "model-value": e.block.hasHeaderRow,
2985
2985
  label: x(i).table.hasHeaderRow,
2986
2986
  "onUpdate:modelValue": n[2] ||= (e) => o("hasHeaderRow", e)
2987
2987
  }, null, 8, ["model-value", "label"])]),
2988
- e.block.hasHeaderRow ? (s(), y("div", ys, [D("label", { class: E(x(q)) }, _(x(i).table.headerBackgroundColor), 3), P(X, {
2988
+ e.block.hasHeaderRow ? (s(), y("div", vs, [D("label", { class: E(x(q)) }, _(x(i).table.headerBackgroundColor), 3), P(X, {
2989
2989
  "model-value": e.block.headerBackgroundColor ?? "",
2990
2990
  "seed-color": x(Yt),
2991
2991
  placeholder: x(i).table.noHeaderBg,
@@ -2995,47 +2995,47 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
2995
2995
  "seed-color",
2996
2996
  "placeholder"
2997
2997
  ])])) : b("", !0),
2998
- D("div", bs, [D("label", { class: E(x(q)) }, _(x(i).table.borderColor), 3), P(X, {
2998
+ D("div", ys, [D("label", { class: E(x(q)) }, _(x(i).table.borderColor), 3), P(X, {
2999
2999
  "model-value": e.block.borderColor,
3000
3000
  "onUpdate:modelValue": n[4] ||= (e) => o("borderColor", e)
3001
3001
  }, null, 8, ["model-value"])]),
3002
- D("div", xs, [D("label", { class: E(x(q)) }, _(x(i).table.borderWidth), 3), D("div", Ss, [D("input", {
3002
+ D("div", bs, [D("label", { class: E(x(q)) }, _(x(i).table.borderWidth), 3), D("div", xs, [D("input", {
3003
3003
  type: "number",
3004
3004
  class: E(x(Y)),
3005
3005
  value: e.block.borderWidth,
3006
3006
  min: "0",
3007
3007
  max: "10",
3008
3008
  onInput: n[5] ||= (e) => o("borderWidth", Number(e.target.value))
3009
- }, null, 42, Cs), D("span", { class: E(x(J)) }, "px", 2)])]),
3010
- D("div", ws, [D("label", { class: E(x(q)) }, _(x(i).table.cellPadding), 3), D("div", Ts, [D("input", {
3009
+ }, null, 42, Ss), D("span", { class: E(x(J)) }, "px", 2)])]),
3010
+ D("div", Cs, [D("label", { class: E(x(q)) }, _(x(i).table.cellPadding), 3), D("div", ws, [D("input", {
3011
3011
  type: "number",
3012
3012
  class: E(x(Y)),
3013
3013
  value: e.block.cellPadding,
3014
3014
  min: "0",
3015
3015
  max: "30",
3016
3016
  onInput: n[6] ||= (e) => o("cellPadding", Number(e.target.value))
3017
- }, null, 42, Es), D("span", { class: E(x(J)) }, "px", 2)])]),
3018
- D("div", Ds, [D("label", { class: E(x(q)) }, _(x(i).table.fontFamily), 3), D("select", {
3017
+ }, null, 42, Ts), D("span", { class: E(x(J)) }, "px", 2)])]),
3018
+ D("div", Es, [D("label", { class: E(x(q)) }, _(x(i).table.fontFamily), 3), D("select", {
3019
3019
  class: E(x(K)),
3020
3020
  value: e.block.fontFamily || "",
3021
3021
  onChange: n[7] ||= (e) => o("fontFamily", e.target.value || void 0)
3022
- }, [D("option", ks, _(x(i).title.inheritFont), 1), (s(!0), y(j, null, u(e.fontFamilies, (e) => (s(), y("option", {
3022
+ }, [D("option", Os, _(x(i).title.inheritFont), 1), (s(!0), y(j, null, u(e.fontFamilies, (e) => (s(), y("option", {
3023
3023
  key: e.value,
3024
3024
  value: e.value
3025
- }, _(e.label), 9, As))), 128))], 42, Os)]),
3026
- D("div", js, [D("label", { class: E(x(q)) }, _(x(i).table.fontSize), 3), D("div", Ms, [D("input", {
3025
+ }, _(e.label), 9, ks))), 128))], 42, Ds)]),
3026
+ D("div", As, [D("label", { class: E(x(q)) }, _(x(i).table.fontSize), 3), D("div", js, [D("input", {
3027
3027
  type: "number",
3028
3028
  class: E(x(Y)),
3029
3029
  value: e.block.fontSize,
3030
3030
  min: "10",
3031
3031
  max: "32",
3032
3032
  onInput: n[8] ||= (e) => o("fontSize", Number(e.target.value))
3033
- }, null, 42, Ns), D("span", { class: E(x(J)) }, "px", 2)])]),
3034
- D("div", Ps, [D("label", { class: E(x(q)) }, _(x(i).table.color), 3), P(X, {
3033
+ }, null, 42, Ms), D("span", { class: E(x(J)) }, "px", 2)])]),
3034
+ D("div", Ns, [D("label", { class: E(x(q)) }, _(x(i).table.color), 3), P(X, {
3035
3035
  "model-value": e.block.color ?? "",
3036
3036
  "onUpdate:modelValue": n[9] ||= (e) => o("color", e || void 0)
3037
3037
  }, null, 8, ["model-value"])]),
3038
- D("div", Fs, [D("label", { class: E(x(q)) }, _(x(i).table.textAlign), 3), P(tn, {
3038
+ D("div", Ps, [D("label", { class: E(x(q)) }, _(x(i).table.textAlign), 3), P(tn, {
3039
3039
  options: [
3040
3040
  {
3041
3041
  value: "left",
@@ -3058,7 +3058,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3058
3058
  }, null, 8, ["options", "model-value"])])
3059
3059
  ], 64));
3060
3060
  }
3061
- }), Ls = { class: "tpl:mb-3.5" }, Rs = ["value"], zs = { value: 1 }, Bs = { value: 2 }, Vs = { value: 3 }, Hs = { value: 4 }, Us = { class: "tpl:mb-3.5" }, Ws = ["value"], Gs = { value: "" }, Ks = ["value"], qs = { class: "tpl:mb-3.5" }, Js = { class: "tpl:mb-3.5" }, Ys = /* @__PURE__ */ N({
3061
+ }), Is = { class: "tpl:mb-3.5" }, Ls = ["value"], Rs = { value: 1 }, zs = { value: 2 }, Bs = { value: 3 }, Vs = { value: 4 }, Hs = { class: "tpl:mb-3.5" }, Us = ["value"], Ws = { value: "" }, Gs = ["value"], Ks = { class: "tpl:mb-3.5" }, qs = { class: "tpl:mb-3.5" }, Js = /* @__PURE__ */ N({
3062
3062
  __name: "TitleToolbar",
3063
3063
  props: {
3064
3064
  block: {},
@@ -3071,29 +3071,29 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3071
3071
  n("update", { [e]: t });
3072
3072
  }
3073
3073
  return (t, n) => (s(), y(j, null, [
3074
- D("div", Ls, [D("label", { class: E(x(q)) }, _(x(r).title.level), 3), D("select", {
3074
+ D("div", Is, [D("label", { class: E(x(q)) }, _(x(r).title.level), 3), D("select", {
3075
3075
  class: E(x(K)),
3076
3076
  value: e.block.level,
3077
3077
  onChange: n[0] ||= (e) => i("level", Number(e.target.value))
3078
3078
  }, [
3079
- D("option", zs, _(x(r).title.heading1), 1),
3080
- D("option", Bs, _(x(r).title.heading2), 1),
3081
- D("option", Vs, _(x(r).title.heading3), 1),
3082
- D("option", Hs, _(x(r).title.heading4), 1)
3083
- ], 42, Rs)]),
3084
- D("div", Us, [D("label", { class: E(x(q)) }, _(x(r).title.fontFamily), 3), D("select", {
3079
+ D("option", Rs, _(x(r).title.heading1), 1),
3080
+ D("option", zs, _(x(r).title.heading2), 1),
3081
+ D("option", Bs, _(x(r).title.heading3), 1),
3082
+ D("option", Vs, _(x(r).title.heading4), 1)
3083
+ ], 42, Ls)]),
3084
+ D("div", Hs, [D("label", { class: E(x(q)) }, _(x(r).title.fontFamily), 3), D("select", {
3085
3085
  class: E(x(K)),
3086
3086
  value: e.block.fontFamily || "",
3087
3087
  onChange: n[1] ||= (e) => i("fontFamily", e.target.value || void 0)
3088
- }, [D("option", Gs, _(x(r).title.inheritFont), 1), (s(!0), y(j, null, u(e.fontFamilies, (e) => (s(), y("option", {
3088
+ }, [D("option", Ws, _(x(r).title.inheritFont), 1), (s(!0), y(j, null, u(e.fontFamilies, (e) => (s(), y("option", {
3089
3089
  key: e.value,
3090
3090
  value: e.value
3091
- }, _(e.label), 9, Ks))), 128))], 42, Ws)]),
3092
- D("div", qs, [D("label", { class: E(x(q)) }, _(x(r).title.color), 3), P(X, {
3091
+ }, _(e.label), 9, Gs))), 128))], 42, Us)]),
3092
+ D("div", Ks, [D("label", { class: E(x(q)) }, _(x(r).title.color), 3), P(X, {
3093
3093
  "model-value": e.block.color ?? "",
3094
3094
  "onUpdate:modelValue": n[2] ||= (e) => i("color", e || void 0)
3095
3095
  }, null, 8, ["model-value"])]),
3096
- D("div", Js, [D("label", { class: E(x(q)) }, _(x(r).title.align), 3), P(tn, {
3096
+ D("div", qs, [D("label", { class: E(x(q)) }, _(x(r).title.align), 3), P(tn, {
3097
3097
  options: [
3098
3098
  {
3099
3099
  value: "left",
@@ -3116,14 +3116,14 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3116
3116
  }, null, 8, ["options", "model-value"])])
3117
3117
  ], 64));
3118
3118
  }
3119
- }), Xs = { class: "tpl:mb-3.5" }, Zs = {
3119
+ }), Ys = { class: "tpl:mb-3.5" }, Xs = {
3120
3120
  key: 0,
3121
3121
  class: "tpl:mb-3.5"
3122
- }, Qs = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, $s = [
3122
+ }, Zs = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Qs = [
3123
3123
  "value",
3124
3124
  "placeholder",
3125
3125
  "title"
3126
- ], ec = { class: "tpl:mb-3.5" }, tc = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, nc = { class: "tpl:mb-3.5" }, rc = { class: "tpl:mb-3.5" }, ic = ["value"], ac = { value: "full" }, oc = { class: "tpl:mb-3.5" }, sc = /* @__PURE__ */ N({
3126
+ ], $s = { class: "tpl:mb-3.5" }, ec = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, tc = { class: "tpl:mb-3.5" }, nc = { class: "tpl:mb-3.5" }, rc = ["value"], ic = { value: "full" }, ac = { class: "tpl:mb-3.5" }, oc = /* @__PURE__ */ N({
3127
3127
  __name: "VideoToolbar",
3128
3128
  props: { block: {} },
3129
3129
  emits: ["update"],
@@ -3139,7 +3139,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3139
3139
  c.alive && e && (h("thumbnailUrl", e.url), f.value = !0, p());
3140
3140
  }
3141
3141
  return (t, n) => (s(), y(j, null, [
3142
- D("div", Xs, [
3142
+ D("div", Ys, [
3143
3143
  D("label", { class: E(x(q)) }, _(x(i).video.videoUrl), 3),
3144
3144
  P($, {
3145
3145
  "model-value": e.block.url,
@@ -3155,16 +3155,16 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3155
3155
  "onUpdate:modelValue": n[1] ||= (e) => h("openInNewTab", e)
3156
3156
  }, null, 8, ["model-value", "label"])) : b("", !0)
3157
3157
  ]),
3158
- u.value ? (s(), y("div", Zs, [D("label", { class: E(x(q)) }, [M(_(x(i).video.placeholderUrl) + " ", 1), D("span", Qs, _(x(i).video.optional), 1)], 2), D("input", {
3158
+ u.value ? (s(), y("div", Xs, [D("label", { class: E(x(q)) }, [M(_(x(i).video.placeholderUrl) + " ", 1), D("span", Zs, _(x(i).video.optional), 1)], 2), D("input", {
3159
3159
  type: "url",
3160
3160
  class: E(x(K)),
3161
3161
  value: e.block.placeholderUrl || "",
3162
3162
  placeholder: x(i).video.placeholderUrlPlaceholder,
3163
3163
  title: x(i).video.placeholderUrlTooltip,
3164
3164
  onInput: n[2] ||= (e) => h("placeholderUrl", e.target.value)
3165
- }, null, 42, $s)])) : b("", !0),
3166
- D("div", ec, [
3167
- D("label", { class: E(x(q)) }, [M(_(x(i).video.customThumbnail) + " ", 1), D("span", tc, _(x(i).video.optional), 1)], 2),
3165
+ }, null, 42, Qs)])) : b("", !0),
3166
+ D("div", $s, [
3167
+ D("label", { class: E(x(q)) }, [M(_(x(i).video.customThumbnail) + " ", 1), D("span", ec, _(x(i).video.optional), 1)], 2),
3168
3168
  P($, {
3169
3169
  "model-value": e.block.thumbnailUrl,
3170
3170
  type: "url",
@@ -3190,23 +3190,23 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3190
3190
  "stroke-width": 1.5
3191
3191
  }), M(" " + _(x(i).image.browseMedia), 1)])) : b("", !0)
3192
3192
  ]),
3193
- D("div", nc, [D("label", { class: E(x(q)) }, _(x(i).video.altText), 3), P($, {
3193
+ D("div", tc, [D("label", { class: E(x(q)) }, _(x(i).video.altText), 3), P($, {
3194
3194
  "model-value": e.block.alt,
3195
3195
  type: "text",
3196
3196
  placeholder: x(i).video.altTextPlaceholder,
3197
3197
  "onUpdate:modelValue": n[4] ||= (e) => h("alt", e)
3198
3198
  }, null, 8, ["model-value", "placeholder"])]),
3199
- D("div", rc, [D("label", { class: E(x(q)) }, _(x(i).video.width), 3), D("select", {
3199
+ D("div", nc, [D("label", { class: E(x(q)) }, _(x(i).video.width), 3), D("select", {
3200
3200
  class: E(x(K)),
3201
3201
  value: e.block.width,
3202
3202
  onChange: n[5] ||= (e) => h("width", e.target.value === "full" ? "full" : Number(e.target.value))
3203
3203
  }, [
3204
- D("option", ac, _(x(i).video.fullWidth), 1),
3204
+ D("option", ic, _(x(i).video.fullWidth), 1),
3205
3205
  n[7] ||= D("option", { value: "300" }, "300px", -1),
3206
3206
  n[8] ||= D("option", { value: "400" }, "400px", -1),
3207
3207
  n[9] ||= D("option", { value: "500" }, "500px", -1)
3208
- ], 42, ic)]),
3209
- D("div", oc, [D("label", { class: E(x(q)) }, _(x(i).title.align), 3), P(tn, {
3208
+ ], 42, rc)]),
3209
+ D("div", ac, [D("label", { class: E(x(q)) }, _(x(i).title.align), 3), P(tn, {
3210
3210
  options: [
3211
3211
  {
3212
3212
  value: "left",
@@ -3226,7 +3226,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3226
3226
  }, null, 8, ["options", "model-value"])])
3227
3227
  ], 64));
3228
3228
  }
3229
- }), cc = ["aria-label"], lc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, uc = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, dc = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, fc = { class: "tpl:flex tpl:gap-1" }, pc = ["title"], mc = ["title"], hc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, gc = /*#__PURE__*/ zt(/* @__PURE__ */ N({
3229
+ }), sc = ["aria-label"], cc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, lc = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, uc = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, dc = { class: "tpl:flex tpl:gap-1" }, fc = ["title"], pc = ["title"], mc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, hc = /*#__PURE__*/ zt(/* @__PURE__ */ N({
3230
3230
  __name: "Toolbar",
3231
3231
  props: { block: {} },
3232
3232
  emits: [
@@ -3235,7 +3235,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3235
3235
  "duplicate"
3236
3236
  ],
3237
3237
  setup(e, { emit: t }) {
3238
- let n = h(() => import("./CountdownToolbar-CdV8RTQu.js")), r = e, i = t, { t: a } = W(), c = Ne(ze, "Toolbar"), l = d(He, []), u = v(() => r.block.type), f = v(() => re(r.block)), p = v(() => {
3238
+ let n = h(() => import("./CountdownToolbar-CLp3_ebk.js")), r = e, i = t, { t: a } = W(), c = Ne(ze, "Toolbar"), l = d(He, []), u = v(() => r.block.type), f = v(() => re(r.block)), p = v(() => {
3239
3239
  if (f.value) return l.find((e) => e.type === r.block.customType);
3240
3240
  }), m = v(() => f.value ? p.value?.name ?? r.block.customType : se(u.value, a)), g = c.fonts;
3241
3241
  function S(e) {
@@ -3244,78 +3244,78 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3244
3244
  return (t, r) => (s(), y("aside", {
3245
3245
  "aria-label": x(a).landmarks.blockToolbar,
3246
3246
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
3247
- }, [D("div", lc, [D("div", uc, [x(Kt)[u.value] ? (s(), C(o(x(Kt)[u.value]), {
3247
+ }, [D("div", cc, [D("div", lc, [x(Kt)[u.value] ? (s(), C(o(x(Kt)[u.value]), {
3248
3248
  key: 0,
3249
3249
  size: 16,
3250
3250
  "stroke-width": 1.5
3251
- })) : f.value ? (s(), C(x(ot), {
3251
+ })) : f.value ? (s(), C(x(at), {
3252
3252
  key: 1,
3253
3253
  size: 16,
3254
3254
  "stroke-width": 1.5
3255
- })) : b("", !0), D("h3", dc, _(m.value), 1)]), D("div", fc, [D("button", {
3255
+ })) : b("", !0), D("h3", uc, _(m.value), 1)]), D("div", dc, [D("button", {
3256
3256
  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)]",
3257
3257
  title: x(a).toolbar.duplicate,
3258
3258
  onClick: r[0] ||= (e) => i("duplicate")
3259
3259
  }, [P(x(pt), {
3260
3260
  size: 14,
3261
3261
  "stroke-width": 2
3262
- })], 8, pc), D("button", {
3262
+ })], 8, fc), D("button", {
3263
3263
  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)]",
3264
3264
  title: x(a).toolbar.delete,
3265
3265
  onClick: r[1] ||= (e) => i("delete")
3266
3266
  }, [P(x(gt), {
3267
3267
  size: 14,
3268
3268
  "stroke-width": 2
3269
- })], 8, mc)])]), D("div", hc, [f.value ? (s(), C(La, {
3269
+ })], 8, pc)])]), D("div", mc, [f.value ? (s(), C(Ia, {
3270
3270
  key: 0,
3271
3271
  block: e.block,
3272
3272
  onUpdateFieldValues: r[2] ||= (e) => i("update", { fieldValues: e }),
3273
3273
  onUpdateDataSourceFetched: r[3] ||= (e) => i("update", { dataSourceFetched: e })
3274
- }, null, 8, ["block"])) : u.value === "section" ? (s(), C(Fo, {
3274
+ }, null, 8, ["block"])) : u.value === "section" ? (s(), C(Po, {
3275
3275
  key: 1,
3276
3276
  block: e.block,
3277
3277
  onUpdate: S
3278
- }, null, 8, ["block"])) : u.value === "title" ? (s(), C(Ys, {
3278
+ }, null, 8, ["block"])) : u.value === "title" ? (s(), C(Js, {
3279
3279
  key: 2,
3280
3280
  block: e.block,
3281
3281
  "font-families": x(g),
3282
3282
  onUpdate: S
3283
- }, null, 8, ["block", "font-families"])) : u.value === "paragraph" ? (s(), y(j, { key: 3 }, [], 64)) : u.value === "image" ? (s(), C(lo, {
3283
+ }, null, 8, ["block", "font-families"])) : u.value === "paragraph" ? (s(), y(j, { key: 3 }, [], 64)) : u.value === "image" ? (s(), C(co, {
3284
3284
  key: 4,
3285
3285
  block: e.block,
3286
3286
  onUpdate: S
3287
- }, null, 8, ["block"])) : u.value === "video" ? (s(), C(sc, {
3287
+ }, null, 8, ["block"])) : u.value === "video" ? (s(), C(oc, {
3288
3288
  key: 5,
3289
3289
  block: e.block,
3290
3290
  onUpdate: S
3291
- }, null, 8, ["block"])) : u.value === "button" ? (s(), C(ui, {
3291
+ }, null, 8, ["block"])) : u.value === "button" ? (s(), C(li, {
3292
3292
  key: 6,
3293
3293
  block: e.block,
3294
3294
  "font-families": x(g),
3295
3295
  onUpdate: S
3296
- }, null, 8, ["block", "font-families"])) : u.value === "divider" ? (s(), C(Ua, {
3296
+ }, null, 8, ["block", "font-families"])) : u.value === "divider" ? (s(), C(Ha, {
3297
3297
  key: 7,
3298
3298
  block: e.block,
3299
3299
  onUpdate: S
3300
- }, null, 8, ["block"])) : u.value === "social" ? (s(), C(es, {
3300
+ }, null, 8, ["block"])) : u.value === "social" ? (s(), C($o, {
3301
3301
  key: 8,
3302
3302
  block: e.block,
3303
3303
  onUpdate: S
3304
- }, null, 8, ["block"])) : u.value === "menu" ? (s(), C(xo, {
3304
+ }, null, 8, ["block"])) : u.value === "menu" ? (s(), C(bo, {
3305
3305
  key: 9,
3306
3306
  block: e.block,
3307
3307
  "font-families": x(g),
3308
3308
  onUpdate: S
3309
- }, null, 8, ["block", "font-families"])) : u.value === "table" ? (s(), C(Is, {
3309
+ }, null, 8, ["block", "font-families"])) : u.value === "table" ? (s(), C(Fs, {
3310
3310
  key: 10,
3311
3311
  block: e.block,
3312
3312
  "font-families": x(g),
3313
3313
  onUpdate: S
3314
- }, null, 8, ["block", "font-families"])) : u.value === "spacer" ? (s(), C(as, {
3314
+ }, null, 8, ["block", "font-families"])) : u.value === "spacer" ? (s(), C(is, {
3315
3315
  key: 11,
3316
3316
  block: e.block,
3317
3317
  onUpdate: S
3318
- }, null, 8, ["block"])) : u.value === "html" ? (s(), C(qa, {
3318
+ }, null, 8, ["block"])) : u.value === "html" ? (s(), C(Ka, {
3319
3319
  key: 12,
3320
3320
  block: e.block,
3321
3321
  onUpdate: S
@@ -3324,52 +3324,52 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3324
3324
  block: e.block,
3325
3325
  "font-families": x(g),
3326
3326
  onUpdate: S
3327
- }, null, 8, ["block", "font-families"])) : b("", !0), P(ta, {
3327
+ }, null, 8, ["block", "font-families"])) : b("", !0), P(ea, {
3328
3328
  block: e.block,
3329
3329
  "is-first-section": u.value === "paragraph",
3330
3330
  onUpdate: S
3331
- }, null, 8, ["block", "is-first-section"])])], 8, cc));
3331
+ }, null, 8, ["block", "is-first-section"])])], 8, sc));
3332
3332
  }
3333
- }), [["__scopeId", "data-v-2ac88283"]]), _c = ["aria-label"], vc = {
3333
+ }), [["__scopeId", "data-v-2ac88283"]]), gc = ["aria-label"], _c = {
3334
3334
  role: "tablist",
3335
3335
  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"
3336
- }, yc = [
3336
+ }, vc = [
3337
3337
  "aria-selected",
3338
3338
  "aria-label",
3339
3339
  "title"
3340
- ], bc = { key: 0 }, xc = [
3340
+ ], yc = { key: 0 }, bc = [
3341
3341
  "aria-selected",
3342
3342
  "aria-label",
3343
3343
  "title"
3344
- ], Sc = { key: 0 }, Cc = [
3344
+ ], xc = { key: 0 }, Sc = [
3345
3345
  "aria-selected",
3346
3346
  "aria-label",
3347
3347
  "title"
3348
- ], wc = { key: 0 }, Tc = {
3348
+ ], Cc = { key: 0 }, wc = {
3349
3349
  key: 1,
3350
3350
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
3351
- }, Ec = {
3351
+ }, Tc = {
3352
3352
  key: 0,
3353
3353
  id: "tpl-tabpanel-content",
3354
3354
  role: "tabpanel",
3355
3355
  "aria-labelledby": "tpl-tab-content",
3356
3356
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3357
- }, Dc = {
3357
+ }, Ec = {
3358
3358
  key: 1,
3359
3359
  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)]"
3360
- }, Oc = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, kc = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ac = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, jc = {
3360
+ }, Dc = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, Oc = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, kc = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Ac = {
3361
3361
  key: 1,
3362
3362
  id: "tpl-tabpanel-settings",
3363
3363
  role: "tabpanel",
3364
3364
  "aria-labelledby": "tpl-tab-settings",
3365
3365
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3366
- }, Mc = {
3366
+ }, jc = {
3367
3367
  key: 2,
3368
3368
  id: "tpl-tabpanel-issues",
3369
3369
  role: "tabpanel",
3370
3370
  "aria-labelledby": "tpl-tab-issues",
3371
3371
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3372
- }, Nc = /* @__PURE__ */ N({
3372
+ }, Mc = /* @__PURE__ */ N({
3373
3373
  __name: "RightSidebar",
3374
3374
  props: {
3375
3375
  selectedBlock: {},
@@ -3383,7 +3383,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3383
3383
  "update-settings"
3384
3384
  ],
3385
3385
  setup(e, { emit: t }) {
3386
- let n = h(() => import("./IssuesPanel-CkkEnhxZ.js")), r = e, i = t, { t: a } = W(), o = m("content"), c = d(Pe, null), l = v(() => c !== null), u = v(() => c?.issues.value.length ?? 0);
3386
+ let n = h(() => import("./IssuesPanel-BhsvC3XQ.js")), r = e, i = t, { t: a } = W(), o = m("content"), c = d(Pe, null), l = v(() => c !== null), u = v(() => c?.issues.value.length ?? 0);
3387
3387
  function f(e) {
3388
3388
  return o.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)]";
3389
3389
  }
@@ -3399,7 +3399,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3399
3399
  "aria-label": x(a).landmarks.rightSidebar,
3400
3400
  class: E(["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"])
3401
3401
  }, [
3402
- D("div", vc, [
3402
+ D("div", _c, [
3403
3403
  D("button", {
3404
3404
  id: "tpl-tab-content",
3405
3405
  role: "tab",
@@ -3413,7 +3413,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3413
3413
  }, [P(x(jt), {
3414
3414
  size: 14,
3415
3415
  "stroke-width": 2
3416
- }), o.value === "content" ? (s(), y("span", bc, _(x(a).sidebar.content), 1)) : b("", !0)], 14, yc),
3416
+ }), o.value === "content" ? (s(), y("span", yc, _(x(a).sidebar.content), 1)) : b("", !0)], 14, vc),
3417
3417
  D("button", {
3418
3418
  id: "tpl-tab-settings",
3419
3419
  role: "tab",
@@ -3427,7 +3427,7 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3427
3427
  }, [P(x(Ct), {
3428
3428
  size: 14,
3429
3429
  "stroke-width": 1.5
3430
- }), o.value === "settings" ? (s(), y("span", Sc, _(x(a).sidebar.settings), 1)) : b("", !0)], 14, xc),
3430
+ }), o.value === "settings" ? (s(), y("span", xc, _(x(a).sidebar.settings), 1)) : b("", !0)], 14, bc),
3431
3431
  l.value ? (s(), y("button", {
3432
3432
  key: 0,
3433
3433
  id: "tpl-tab-issues",
@@ -3444,54 +3444,54 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3444
3444
  size: 14,
3445
3445
  "stroke-width": 1.5
3446
3446
  }),
3447
- o.value === "issues" ? (s(), y("span", wc, _(x(a).issues.panelTabLabel), 1)) : b("", !0),
3448
- u.value > 0 ? (s(), y("span", Tc, _(u.value), 1)) : b("", !0)
3449
- ], 14, Cc)) : b("", !0)
3447
+ o.value === "issues" ? (s(), y("span", Cc, _(x(a).issues.panelTabLabel), 1)) : b("", !0),
3448
+ u.value > 0 ? (s(), y("span", wc, _(u.value), 1)) : b("", !0)
3449
+ ], 14, Sc)) : b("", !0)
3450
3450
  ]),
3451
- o.value === "content" ? (s(), y("div", Ec, [e.selectedBlock ? (s(), C(gc, {
3451
+ o.value === "content" ? (s(), y("div", Tc, [e.selectedBlock ? (s(), C(hc, {
3452
3452
  key: 0,
3453
3453
  block: e.selectedBlock,
3454
3454
  onUpdate: r[3] ||= (e) => i("update-block", e),
3455
3455
  onDelete: r[4] ||= (e) => i("delete-block"),
3456
3456
  onDuplicate: r[5] ||= (e) => i("duplicate-block")
3457
- }, null, 8, ["block"])) : (s(), y("div", Dc, [
3458
- D("div", Oc, [P(x(Et), {
3457
+ }, null, 8, ["block"])) : (s(), y("div", Ec, [
3458
+ D("div", Dc, [P(x(Et), {
3459
3459
  size: 40,
3460
3460
  "stroke-width": 1.5
3461
3461
  })]),
3462
- D("h3", kc, _(x(a).sidebar.noSelection), 1),
3463
- D("p", Ac, _(x(a).sidebar.noSelectionHint), 1)
3462
+ D("h3", Oc, _(x(a).sidebar.noSelection), 1),
3463
+ D("p", kc, _(x(a).sidebar.noSelectionHint), 1)
3464
3464
  ]))])) : b("", !0),
3465
- o.value === "settings" ? (s(), y("div", jc, [P(Pr, {
3465
+ o.value === "settings" ? (s(), y("div", Ac, [P(Nr, {
3466
3466
  settings: e.settings,
3467
3467
  onUpdate: r[6] ||= (e) => i("update-settings", e)
3468
3468
  }, null, 8, ["settings"])])) : b("", !0),
3469
- o.value === "issues" && l.value ? (s(), y("div", Mc, [P(x(n))])) : b("", !0)
3470
- ], 10, _c));
3469
+ o.value === "issues" && l.value ? (s(), y("div", jc, [P(x(n))])) : b("", !0)
3470
+ ], 10, gc));
3471
3471
  }
3472
- }), Pc = {
3472
+ }), Nc = {
3473
3473
  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)]",
3474
3474
  style: { "z-index": "10001" },
3475
3475
  role: "status",
3476
3476
  "data-testid": "small-screen-notice"
3477
- }, Fc = { class: "tpl:text-[var(--tpl-text-dim)]" }, Ic = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Lc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Rc = /* @__PURE__ */ N({
3477
+ }, Pc = { class: "tpl:text-[var(--tpl-text-dim)]" }, Fc = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ic = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Lc = /* @__PURE__ */ N({
3478
3478
  __name: "SmallScreenNotice",
3479
3479
  setup(e) {
3480
3480
  let { t } = W();
3481
- return (e, n) => (s(), y("div", Pc, [
3482
- D("div", Fc, [P(x(nt), {
3481
+ return (e, n) => (s(), y("div", Nc, [
3482
+ D("div", Pc, [P(x(nt), {
3483
3483
  size: 48,
3484
3484
  "stroke-width": 1.5
3485
3485
  })]),
3486
- D("h2", Ic, _(x(t).smallScreen.title), 1),
3487
- D("p", Lc, _(x(t).smallScreen.message), 1)
3486
+ D("h2", Fc, _(x(t).smallScreen.title), 1),
3487
+ D("p", Ic, _(x(t).smallScreen.message), 1)
3488
3488
  ]));
3489
3489
  }
3490
- }), zc = [
3490
+ }), Rc = [
3491
3491
  "aria-label",
3492
3492
  "title",
3493
3493
  "aria-pressed"
3494
- ], Bc = /*#__PURE__*/ zt(/* @__PURE__ */ N({
3494
+ ], zc = /*#__PURE__*/ zt(/* @__PURE__ */ N({
3495
3495
  __name: "PreviewToggle",
3496
3496
  props: { previewMode: { type: Boolean } },
3497
3497
  emits: ["change"],
@@ -3524,13 +3524,13 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3524
3524
  "stroke-width": 1.5
3525
3525
  }))]),
3526
3526
  _: 1
3527
- })], 12, zc));
3527
+ })], 12, Rc));
3528
3528
  }
3529
- }), [["__scopeId", "data-v-af87d02a"]]), Vc = [
3529
+ }), [["__scopeId", "data-v-af87d02a"]]), Bc = [
3530
3530
  "aria-label",
3531
3531
  "title",
3532
3532
  "aria-pressed"
3533
- ], Hc = /*#__PURE__*/ zt(/* @__PURE__ */ N({
3533
+ ], Vc = /*#__PURE__*/ zt(/* @__PURE__ */ N({
3534
3534
  __name: "DarkModeToggle",
3535
3535
  props: { darkMode: { type: Boolean } },
3536
3536
  emits: ["change"],
@@ -3563,27 +3563,27 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3563
3563
  "stroke-width": 1.5
3564
3564
  }))]),
3565
3565
  _: 1
3566
- })], 12, Vc));
3566
+ })], 12, Bc));
3567
3567
  }
3568
- }), [["__scopeId", "data-v-f8694f76"]]), Uc = {
3568
+ }), [["__scopeId", "data-v-f8694f76"]]), Hc = {
3569
3569
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
3570
3570
  style: {
3571
3571
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
3572
3572
  "backdrop-filter": "blur(8px)",
3573
3573
  "-webkit-backdrop-filter": "blur(8px)"
3574
3574
  }
3575
- }, Wc = {
3575
+ }, Uc = {
3576
3576
  href: "https://github.com/templatical/sdk",
3577
3577
  target: "_blank",
3578
3578
  rel: "noopener noreferrer",
3579
3579
  class: "tpl:transition-colors tpl:duration-150 hover:tpl:opacity-80 tpl:text-[var(--tpl-text-dim)]",
3580
3580
  style: { "text-decoration": "none" }
3581
- }, Gc = /* @__PURE__ */ N({
3581
+ }, Wc = /* @__PURE__ */ N({
3582
3582
  __name: "EditorFooter",
3583
3583
  props: { positionClass: {} },
3584
3584
  setup(e) {
3585
3585
  let { t } = W();
3586
- return (n, r) => (s(), y("footer", { class: E(["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]) }, [D("div", Uc, [
3586
+ return (n, r) => (s(), y("footer", { class: E(["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]) }, [D("div", Hc, [
3587
3587
  D("span", null, _(x(t).footer.poweredBy), 1),
3588
3588
  r[0] ||= D("a", {
3589
3589
  href: "https://templatical.com",
@@ -3598,32 +3598,32 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3598
3598
  alt: ""
3599
3599
  }), M(" Templatical ")], -1),
3600
3600
  r[1] ||= D("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
3601
- D("a", Wc, _(x(t).footer.openSource), 1)
3601
+ D("a", Uc, _(x(t).footer.openSource), 1)
3602
3602
  ])], 2));
3603
3603
  }
3604
- }), Kc = ["aria-labelledby", "data-tpl-theme"], qc = { 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" }, Jc = ["id"], Yc = ["aria-label"], Xc = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Zc = [
3604
+ }), Gc = ["aria-labelledby", "data-tpl-theme"], Kc = { 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" }, qc = ["id"], Jc = ["aria-label"], Yc = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Xc = [
3605
3605
  "id",
3606
3606
  "placeholder",
3607
3607
  "aria-label",
3608
3608
  "aria-activedescendant"
3609
- ], Qc = {
3609
+ ], Zc = {
3610
3610
  key: 0,
3611
3611
  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",
3612
3612
  "data-testid": "merge-tag-picker-group-pills"
3613
- }, $c = ["data-group-name", "onClick"], el = ["aria-label"], tl = {
3613
+ }, Qc = ["data-group-name", "onClick"], $c = ["aria-label"], el = {
3614
3614
  key: 0,
3615
3615
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3616
3616
  "data-testid": "merge-tag-picker-empty"
3617
- }, nl = {
3617
+ }, tl = {
3618
3618
  key: 1,
3619
3619
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3620
3620
  "data-testid": "merge-tag-picker-empty"
3621
- }, rl = [
3621
+ }, nl = [
3622
3622
  "aria-expanded",
3623
3623
  "data-group-name",
3624
3624
  "data-group-collapsed",
3625
3625
  "onClick"
3626
- ], il = { class: "tpl:ml-1 tpl:font-normal" }, al = [
3626
+ ], rl = { class: "tpl:ml-1 tpl:font-normal" }, il = [
3627
3627
  "id",
3628
3628
  "aria-selected",
3629
3629
  "data-selected",
@@ -3632,14 +3632,14 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3632
3632
  "title",
3633
3633
  "onMousemove",
3634
3634
  "onClick"
3635
- ], ol = { class: "tpl:text-sm tpl:font-medium" }, sl = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, cl = {
3635
+ ], al = { class: "tpl:text-sm tpl:font-medium" }, ol = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, sl = {
3636
3636
  key: 0,
3637
3637
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3638
- }, ll = {
3638
+ }, cl = {
3639
3639
  key: 1,
3640
3640
  "data-testid": "merge-tag-picker-sample",
3641
3641
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3642
- }, ul = "tpl-merge-tag-picker-list", dl = /* @__PURE__ */ N({
3642
+ }, ll = "tpl-merge-tag-picker-list", ul = /* @__PURE__ */ N({
3643
3643
  __name: "MergeTagPickerModal",
3644
3644
  setup(e) {
3645
3645
  let t = Ne(je, "MergeTagPickerModal"), { t: n, format: i } = W(), a = d(Le, null), o = d(Ae, null), c = m(""), p = ke(c, 200), h = m(null), w = v(() => p.value.trim().length > 0), O = m(0), A = v(() => t.tags.value.some((e) => !!e.group)), M = m(/* @__PURE__ */ new Set());
@@ -3752,10 +3752,10 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3752
3752
  }
3753
3753
  }
3754
3754
  function oe() {
3755
- if (B.value.length !== 0) return `${ul}-opt-${O.value}`;
3755
+ if (B.value.length !== 0) return `${ll}-opt-${O.value}`;
3756
3756
  }
3757
3757
  function se(e) {
3758
- return `${ul}-opt-${e}`;
3758
+ return `${ll}-opt-${e}`;
3759
3759
  }
3760
3760
  let ce = v(() => t.tags.value.length === 0), le = v(() => !ce.value && L.value.length === 0), ue = v(() => A.value && R.value.length > 1 && !w.value);
3761
3761
  return (e, l) => (s(), C(rn, {
@@ -3766,16 +3766,16 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3766
3766
  default: f(() => [D("div", {
3767
3767
  role: "dialog",
3768
3768
  "aria-modal": "true",
3769
- "aria-labelledby": `${ul}-title`,
3769
+ "aria-labelledby": `${ll}-title`,
3770
3770
  "data-tpl-theme": x(o),
3771
3771
  "data-testid": "merge-tag-picker-modal",
3772
3772
  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)]",
3773
3773
  style: k(x(a))
3774
3774
  }, [
3775
- D("header", qc, [D("h2", {
3776
- id: `${ul}-title`,
3775
+ D("header", Kc, [D("h2", {
3776
+ id: `${ll}-title`,
3777
3777
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3778
- }, _(x(n).mergeTag.picker.title), 9, Jc), D("button", {
3778
+ }, _(x(n).mergeTag.picker.title), 9, qc), D("button", {
3779
3779
  type: "button",
3780
3780
  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)]",
3781
3781
  "aria-label": x(n).mergeTag.picker.close,
@@ -3784,13 +3784,13 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3784
3784
  }, [P(x(Ot), {
3785
3785
  size: 16,
3786
3786
  "stroke-width": 2
3787
- })], 8, Yc)]),
3788
- D("div", Xc, [P(x(lt), {
3787
+ })], 8, Jc)]),
3788
+ D("div", Yc, [P(x(lt), {
3789
3789
  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)]",
3790
3790
  size: 14,
3791
3791
  "stroke-width": 2
3792
3792
  }), r(D("input", {
3793
- id: `${ul}-search`,
3793
+ id: `${ll}-search`,
3794
3794
  ref_key: "searchInputRef",
3795
3795
  ref: h,
3796
3796
  "onUpdate:modelValue": l[0] ||= (e) => c.value = e,
@@ -3798,34 +3798,34 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3798
3798
  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)]",
3799
3799
  placeholder: x(n).mergeTag.picker.searchPlaceholder,
3800
3800
  "aria-label": x(n).mergeTag.picker.searchAriaLabel,
3801
- "aria-controls": ul,
3801
+ "aria-controls": ll,
3802
3802
  "aria-activedescendant": oe(),
3803
3803
  "data-testid": "merge-tag-picker-search",
3804
3804
  onKeydown: l[1] ||= g(S(() => {}, ["prevent"]), ["enter"])
3805
- }, null, 40, Zc), [[T, c.value]])]),
3806
- ue.value ? (s(), y("div", Qc, [(s(!0), y(j, null, u(R.value, (e) => (s(), y("button", {
3805
+ }, null, 40, Xc), [[T, c.value]])]),
3806
+ ue.value ? (s(), y("div", Zc, [(s(!0), y(j, null, u(R.value, (e) => (s(), y("button", {
3807
3807
  key: e,
3808
3808
  type: "button",
3809
3809
  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)]",
3810
3810
  "data-testid": "merge-tag-picker-group-pill",
3811
3811
  "data-group-name": e,
3812
3812
  onClick: (t) => U(e)
3813
- }, _(e), 9, $c))), 128))])) : b("", !0),
3813
+ }, _(e), 9, Qc))), 128))])) : b("", !0),
3814
3814
  D("div", {
3815
- id: ul,
3815
+ id: ll,
3816
3816
  ref_key: "listRef",
3817
3817
  ref: te,
3818
3818
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3819
3819
  role: "listbox",
3820
3820
  "aria-label": x(n).mergeTag.picker.title,
3821
3821
  "data-testid": "merge-tag-picker-list"
3822
- }, [ce.value ? (s(), y("div", tl, _(x(n).mergeTag.picker.empty), 1)) : le.value ? (s(), y("div", nl, _(x(n).mergeTag.picker.noResults), 1)) : (s(!0), y(j, { key: 2 }, u(z.value, (e, t) => (s(), y(j, { key: t }, [e.kind === "header" ? (s(), y("button", {
3822
+ }, [ce.value ? (s(), y("div", el, _(x(n).mergeTag.picker.empty), 1)) : le.value ? (s(), y("div", tl, _(x(n).mergeTag.picker.noResults), 1)) : (s(!0), y(j, { key: 2 }, u(z.value, (e, t) => (s(), y(j, { key: t }, [e.kind === "header" ? (s(), y("button", {
3823
3823
  key: 0,
3824
3824
  ref_for: !0,
3825
3825
  ref: (t) => re(e.group, t),
3826
3826
  type: "button",
3827
3827
  "aria-expanded": !N(e.group),
3828
- "aria-controls": ul,
3828
+ "aria-controls": ll,
3829
3829
  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)]",
3830
3830
  "data-testid": "merge-tag-picker-group-header",
3831
3831
  "data-group-name": e.group,
@@ -3838,8 +3838,8 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3838
3838
  class: E(["tpl:transition-transform", N(e.group) ? "tpl:-rotate-90" : ""])
3839
3839
  }, null, 8, ["class"]),
3840
3840
  D("span", null, _(e.group), 1),
3841
- D("span", il, " (" + _(x(i)(x(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3842
- ], 8, rl)) : (s(), y("button", {
3841
+ D("span", rl, " (" + _(x(i)(x(n).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
3842
+ ], 8, nl)) : (s(), y("button", {
3843
3843
  key: 1,
3844
3844
  id: se(e.index),
3845
3845
  type: "button",
@@ -3854,16 +3854,16 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3854
3854
  onMousemove: (t) => O.value = e.index,
3855
3855
  onClick: (t) => V(e.tag)
3856
3856
  }, [
3857
- D("span", ol, _(e.tag.label), 1),
3858
- D("span", sl, _(e.tag.value), 1),
3859
- e.tag.description ? (s(), y("span", cl, _(e.tag.description), 1)) : b("", !0),
3860
- e.tag.sample === void 0 ? b("", !0) : (s(), y("span", ll, _(x(i)(x(n).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3861
- ], 42, al))], 64))), 128))], 8, el)
3862
- ], 12, Kc)]),
3857
+ D("span", al, _(e.tag.label), 1),
3858
+ D("span", ol, _(e.tag.value), 1),
3859
+ e.tag.description ? (s(), y("span", sl, _(e.tag.description), 1)) : b("", !0),
3860
+ e.tag.sample === void 0 ? b("", !0) : (s(), y("span", cl, _(x(i)(x(n).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
3861
+ ], 42, il))], 64))), 128))], 8, $c)
3862
+ ], 12, Gc)]),
3863
3863
  _: 1
3864
3864
  }, 8, ["visible"]));
3865
3865
  }
3866
- }), fl = ["data-logic-keyword"], pl = /* @__PURE__ */ N({
3866
+ }), dl = ["data-logic-keyword"], fl = /* @__PURE__ */ N({
3867
3867
  __name: "LogicTagBadge",
3868
3868
  props: {
3869
3869
  value: {},
@@ -3880,22 +3880,22 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3880
3880
  },
3881
3881
  "data-testid": "merge-tag-logic-badge",
3882
3882
  "data-logic-keyword": r.value
3883
- }, _(r.value), 9, fl)) : b("", !0);
3883
+ }, _(r.value), 9, dl)) : b("", !0);
3884
3884
  }
3885
- }), ml = ["aria-labelledby", "data-tpl-theme"], hl = { 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" }, gl = ["id"], _l = ["aria-label"], vl = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, yl = [
3885
+ }), pl = ["aria-labelledby", "data-tpl-theme"], ml = { 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" }, hl = ["id"], gl = ["aria-label"], _l = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, vl = [
3886
3886
  "id",
3887
3887
  "placeholder",
3888
3888
  "aria-label",
3889
3889
  "aria-activedescendant"
3890
- ], bl = ["aria-label"], xl = {
3890
+ ], yl = ["aria-label"], bl = {
3891
3891
  key: 0,
3892
3892
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3893
3893
  "data-testid": "logic-picker-empty"
3894
- }, Sl = {
3894
+ }, xl = {
3895
3895
  key: 1,
3896
3896
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3897
3897
  "data-testid": "logic-picker-empty"
3898
- }, Cl = ["data-group-name"], wl = [
3898
+ }, Sl = ["data-group-name"], Cl = [
3899
3899
  "id",
3900
3900
  "aria-selected",
3901
3901
  "data-selected",
@@ -3903,16 +3903,16 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3903
3903
  "data-logic-kind",
3904
3904
  "onMousemove",
3905
3905
  "onClick"
3906
- ], Tl = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, El = { class: "tpl:text-sm tpl:font-medium" }, Dl = {
3906
+ ], wl = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Tl = { class: "tpl:text-sm tpl:font-medium" }, El = {
3907
3907
  key: 0,
3908
3908
  class: "tpl:flex tpl:items-center"
3909
- }, Ol = {
3909
+ }, Dl = {
3910
3910
  key: 1,
3911
3911
  class: "tpl:flex tpl:items-center tpl:gap-1"
3912
- }, kl = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Al = {
3912
+ }, Ol = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, kl = {
3913
3913
  key: 0,
3914
3914
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3915
- }, jl = "tpl-logic-picker-list", Ml = /* @__PURE__ */ N({
3915
+ }, Al = "tpl-logic-picker-list", jl = /* @__PURE__ */ N({
3916
3916
  __name: "LogicTagPickerModal",
3917
3917
  setup(e) {
3918
3918
  let t = Ne(Qe, "LogicTagPickerModal"), { t: n } = W(), i = d(Ge, B.liquid), a = d(Le, null), o = d(Ae, null), c = m(""), p = ke(c, 200), h = m(null), w = v(() => p.value.trim().length > 0), O = m(0);
@@ -3998,10 +3998,10 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
3998
3998
  }
3999
3999
  }
4000
4000
  function ae(e) {
4001
- return `${jl}-opt-${e}`;
4001
+ return `${Al}-opt-${e}`;
4002
4002
  }
4003
4003
  function oe() {
4004
- return V.value.length === 0 ? void 0 : `${jl}-opt-${O.value}`;
4004
+ return V.value.length === 0 ? void 0 : `${Al}-opt-${O.value}`;
4005
4005
  }
4006
4006
  return (e, l) => (s(), C(rn, {
4007
4007
  visible: x(t).isOpen.value,
@@ -4011,16 +4011,16 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
4011
4011
  default: f(() => [D("div", {
4012
4012
  role: "dialog",
4013
4013
  "aria-modal": "true",
4014
- "aria-labelledby": `${jl}-title`,
4014
+ "aria-labelledby": `${Al}-title`,
4015
4015
  "data-tpl-theme": x(o),
4016
4016
  "data-testid": "logic-picker-modal",
4017
4017
  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)]",
4018
4018
  style: k(x(a))
4019
4019
  }, [
4020
- D("header", hl, [D("h2", {
4021
- id: `${jl}-title`,
4020
+ D("header", ml, [D("h2", {
4021
+ id: `${Al}-title`,
4022
4022
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
4023
- }, _(x(n).logicTag.picker.title), 9, gl), D("button", {
4023
+ }, _(x(n).logicTag.picker.title), 9, hl), D("button", {
4024
4024
  type: "button",
4025
4025
  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)]",
4026
4026
  "aria-label": x(n).logicTag.picker.close,
@@ -4029,13 +4029,13 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
4029
4029
  }, [P(x(Ot), {
4030
4030
  size: 16,
4031
4031
  "stroke-width": 2
4032
- })], 8, _l)]),
4033
- D("div", vl, [P(x(lt), {
4032
+ })], 8, gl)]),
4033
+ D("div", _l, [P(x(lt), {
4034
4034
  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)]",
4035
4035
  size: 14,
4036
4036
  "stroke-width": 2
4037
4037
  }), r(D("input", {
4038
- id: `${jl}-search`,
4038
+ id: `${Al}-search`,
4039
4039
  ref_key: "searchInputRef",
4040
4040
  ref: h,
4041
4041
  "onUpdate:modelValue": l[0] ||= (e) => c.value = e,
@@ -4043,25 +4043,25 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
4043
4043
  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)]",
4044
4044
  placeholder: x(n).logicTag.picker.searchPlaceholder,
4045
4045
  "aria-label": x(n).logicTag.picker.searchAriaLabel,
4046
- "aria-controls": jl,
4046
+ "aria-controls": Al,
4047
4047
  "aria-activedescendant": oe(),
4048
4048
  "data-testid": "logic-picker-search",
4049
4049
  onKeydown: l[1] ||= g(S(() => {}, ["prevent"]), ["enter"])
4050
- }, null, 40, yl), [[T, c.value]])]),
4050
+ }, null, 40, vl), [[T, c.value]])]),
4051
4051
  D("div", {
4052
- id: jl,
4052
+ id: Al,
4053
4053
  ref_key: "listRef",
4054
4054
  ref: te,
4055
4055
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
4056
4056
  role: "listbox",
4057
4057
  "aria-label": x(n).logicTag.picker.title,
4058
4058
  "data-testid": "logic-picker-list"
4059
- }, [H.value ? (s(), y("div", xl, _(x(n).logicTag.picker.empty), 1)) : ee.value ? (s(), y("div", Sl, _(x(n).logicTag.picker.noResults), 1)) : (s(!0), y(j, { key: 2 }, u(z.value.rows, (e, t) => (s(), y(j, { key: t }, [e.kind === "header" ? (s(), y("div", {
4059
+ }, [H.value ? (s(), y("div", bl, _(x(n).logicTag.picker.empty), 1)) : ee.value ? (s(), y("div", xl, _(x(n).logicTag.picker.noResults), 1)) : (s(!0), y(j, { key: 2 }, u(z.value.rows, (e, t) => (s(), y(j, { key: t }, [e.kind === "header" ? (s(), y("div", {
4060
4060
  key: 0,
4061
4061
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
4062
4062
  "data-testid": "logic-picker-header",
4063
4063
  "data-group-name": e.label
4064
- }, _(e.label), 9, Cl)) : (s(), y("button", {
4064
+ }, _(e.label), 9, Sl)) : (s(), y("button", {
4065
4065
  key: 1,
4066
4066
  id: ae(e.index),
4067
4067
  type: "button",
@@ -4075,29 +4075,29 @@ var wo = { class: "tpl:mb-3.5" }, To = ["value"], Eo = ["value"], Do = {
4075
4075
  onMousemove: (t) => O.value = e.index,
4076
4076
  onClick: (t) => ne(e.kind === "tag" ? e.tag : e.pair)
4077
4077
  }, [
4078
- D("span", Tl, [D("span", El, _(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), y("span", Dl, [P(pl, {
4078
+ D("span", wl, [D("span", Tl, _(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), y("span", El, [P(fl, {
4079
4079
  value: e.tag.value,
4080
4080
  syntax: x(i)
4081
- }, null, 8, ["value", "syntax"])])) : (s(), y("span", Ol, [
4082
- P(pl, {
4081
+ }, null, 8, ["value", "syntax"])])) : (s(), y("span", Dl, [
4082
+ P(fl, {
4083
4083
  value: e.pair.before,
4084
4084
  syntax: x(i)
4085
4085
  }, null, 8, ["value", "syntax"]),
4086
4086
  l[2] ||= D("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
4087
- P(pl, {
4087
+ P(fl, {
4088
4088
  value: e.pair.after,
4089
4089
  syntax: x(i)
4090
4090
  }, null, 8, ["value", "syntax"])
4091
4091
  ]))]),
4092
- D("span", kl, _(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
4093
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), y("span", Al, _(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : b("", !0)
4094
- ], 42, wl))], 64))), 128))], 8, bl)
4095
- ], 12, ml)]),
4092
+ D("span", Ol, _(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
4093
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), y("span", kl, _(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : b("", !0)
4094
+ ], 42, Cl))], 64))), 128))], 8, yl)
4095
+ ], 12, pl)]),
4096
4096
  _: 1
4097
4097
  }, 8, ["visible"]));
4098
4098
  }
4099
4099
  });
4100
4100
  //#endregion
4101
- export { Bc as a, jn as c, un as d, ln as f, Hc as i, Sn as l, an as m, dl as n, Rc as o, sn as p, Gc as r, Nc as s, Ml as t, xn as u };
4101
+ export { zc as a, An as c, un as d, ln as f, Vc as i, xn as l, an as m, ul as n, Lc as o, sn as p, Wc as r, Mc as s, jl as t, bn as u };
4102
4102
 
4103
- //# sourceMappingURL=styles-BohMfIBd.js.map
4103
+ //# sourceMappingURL=styles--m9OCb_Z.js.map