@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,37 +1,37 @@
1
- import { A as e, Dt as t, Et as n, H as r, I as i, K as a, N as o, O as s, Ot as c, R as l, W as u, Y as d, _ as f, c as p, d as m, g as h, h as g, j as _, k as v, l as y, m as b, nt as x, q as S, r as C, s as w, u as T, w as E, x as D, y as O, z as k } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
2
- import { a as A, c as j, o as M, s as N, t as P } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
3
- import { t as F } from "./upload-BwwE0U6G.js";
4
- import { A as I, E as L, M as R, N as z, T as B, a as ee, c as te, f as ne, k as re, l as ie, s as ae } from "./dist-DPHqs0Yh.js";
5
- import { B as V, F as oe, G as se, I as ce, L as le, N as ue, U as de, V as fe, _ as pe, a as me, b as he, c as ge, f as _e, g as ve, h as ye, i as be, k as xe, l as Se, m as Ce, n as we, o as Te, p as Ee, q as De, r as Oe, s as ke, u as Ae, v as je, w as Me, y as Ne, z as Pe } from "./useEditorCore-DOrGex_t.js";
6
- import { c as Fe, m as Ie } from "./dist-DYv_Pttj.js";
7
- import { a as Le, n as Re } from "./usePopoverPosition-vjKJaqJf.js";
8
- import { B as ze, D as Be, F as Ve, H as He, L as Ue, N as We, O as Ge, R as Ke, V as qe, _ as Je, a as Ye, d as Xe, f as Ze, h as Qe, j as $e, k as et, l as tt, m as nt, n as rt, o as it, p as at, s as ot, w as st, z as ct } from "./keys-BVlG5Ozc.js";
9
- import { t as H } from "./useI18n-BhAejA-x.js";
10
- import { t as U } from "./createLucideIcon-JWHwTI6N.js";
11
- import { n as lt, t as ut } from "./scan-line-BFgesTOY.js";
12
- import { t as dt } from "./chevron-down-j8GrdTyz.js";
13
- import { t as ft } from "./circle-alert-CgtE46ND.js";
14
- import { i as pt, n as mt, r as ht, t as gt } from "./blockTypeIcons-Wzd7W_2x.js";
15
- import { n as _t, t as vt } from "./refresh-cw-maKlg0dl.js";
16
- import { t as yt } from "./image-up-CQdtq8ge.js";
17
- import { t as bt } from "./info-BUJBXoE6.js";
18
- import { t as xt } from "./list-checks-BGHaCSD5.js";
19
- import { t as St } from "./loader-circle-C-Z6kgI6.js";
20
- import { i as Ct, r as wt } from "./MergeTagModeToggle-C3V2xGAg.js";
21
- import { t as Tt } from "./sparkles-DVlm1Ipp.js";
22
- import { n as Et, r as Dt, t as Ot } from "./text-align-start-Vay3Kvo2.js";
23
- import { t as kt } from "./trash-2-DE8CmxAG.js";
24
- import { t as At } from "./x-CkD6A1iB.js";
1
+ import { A as e, Dt as t, Et as n, H as r, I as i, K as a, N as o, O as s, Ot as c, R as l, W as u, Y as d, _ as f, c as p, d as m, g as h, h as g, j as _, k as v, l as y, m as b, nt as x, q as S, r as C, s as w, u as T, w as E, x as D, y as O, z as k } from "./vue.runtime.esm-bundler-Xpz-L9Fn.js";
2
+ import { a as A, c as j, o as M, s as N, t as P } from "./runtime-dom.esm-bundler-CBbDt7sw.js";
3
+ import { t as F } from "./upload-hE8ItfyG.js";
4
+ import { A as I, E as L, M as R, N as z, T as B, a as ee, c as te, f as ne, k as re, l as ie, s as ae } from "./dist-Ba5Q-UX1.js";
5
+ import { B as V, F as oe, G as se, I as ce, L as le, N as ue, U as de, V as fe, _ as pe, a as me, b as he, c as ge, f as _e, g as ve, h as ye, i as be, k as xe, l as Se, m as Ce, n as we, o as Te, p as Ee, q as De, r as Oe, s as ke, u as Ae, v as je, w as Me, y as Ne, z as Pe } from "./useEditorCore-Dojb-P2f.js";
6
+ import { c as Fe, m as Ie } from "./dist-DT1XnEnj.js";
7
+ import { a as Le, n as Re } from "./usePopoverPosition-Dtr1Mp1x.js";
8
+ import { B as ze, D as Be, F as Ve, H as He, L as Ue, N as We, O as Ge, R as Ke, V as qe, _ as Je, a as Ye, d as Xe, f as Ze, h as Qe, j as $e, k as et, l as tt, m as nt, n as rt, o as it, p as at, s as ot, w as st, z as ct } from "./keys-uWpGv4Pq.js";
9
+ import { t as H } from "./useI18n-DzOcl2wl.js";
10
+ import { t as U } from "./createLucideIcon-AEltGIse.js";
11
+ import { n as lt, t as ut } from "./scan-line-CRoEOUiK.js";
12
+ import { t as dt } from "./chevron-down-CZ0m6G3s.js";
13
+ import { t as ft } from "./circle-alert-DkEXnGPV.js";
14
+ import { i as pt, n as mt, r as ht, t as gt } from "./blockTypeIcons-C6PnLMp7.js";
15
+ import { n as _t, t as vt } from "./refresh-cw-fBPgB97G.js";
16
+ import { t as yt } from "./image-up-8ktdYdaZ.js";
17
+ import { t as bt } from "./info-CvrCgTLH.js";
18
+ import { t as xt } from "./list-checks-yzGT93ZL.js";
19
+ import { t as St } from "./loader-circle-B6euendB.js";
20
+ import { i as Ct, r as wt } from "./MergeTagModeToggle-CiFiSV0C.js";
21
+ import { t as Tt } from "./sparkles-8UeMmZb8.js";
22
+ import { n as Et, r as Dt, t as Ot } from "./text-align-start-Dn8uIheW.js";
23
+ import { t as kt } from "./trash-2-DDyvqj0E.js";
24
+ import { t as At } from "./x-C4lETLDx.js";
25
25
  import { t as jt } from "./_plugin-vue_export-helper-B3ysoDQm.js";
26
- import { t as Mt } from "./useCloudI18n-DGr3b2SX.js";
27
- import { t as Nt } from "./useMergeTag-Ce95YIOO.js";
28
- import { t as Pt } from "./useAliveFlag-C43EhZFY.js";
26
+ import { t as Mt } from "./useCloudI18n-BC_QV2Z7.js";
27
+ import { t as Nt } from "./useMergeTag-BFxXCv3p.js";
28
+ import { t as Pt } from "./useAliveFlag-AfoTE_AY.js";
29
29
  import { n as Ft, t as It } from "./emailFrameWidth-BmFCN2dp.js";
30
30
  import { t as Lt } from "./readableTextColor-f8Kykfnh.js";
31
- import { _ as Rt, f as W, g as zt, h as G, i as Bt, l as Vt, m as K, n as Ht, p as q, t as J, u as Ut } from "./ColorPicker-DXGrcJxJ.js";
32
- import { n as Wt, r as Gt } from "./MergeTagSuggestion-Dn8ww9nV.js";
33
- import { i as Y, n as X, r as Z, t as Kt } from "./NumberWithSuffix-BGocZkj9.js";
34
- import { t as qt } from "./TplModal-DPH4vV8M.js";
31
+ import { _ as Rt, f as W, g as zt, h as G, i as Bt, l as Vt, m as K, n as Ht, p as q, t as J, u as Ut } from "./ColorPicker--_2PbzFk.js";
32
+ import { n as Wt, r as Gt } from "./MergeTagSuggestion-D0OHRv7L.js";
33
+ import { i as Y, n as X, r as Z, t as Kt } from "./NumberWithSuffix-CXFbUqsx.js";
34
+ import { t as qt } from "./TplModal-BIiS24Of.js";
35
35
  var Jt = U("circle", [["circle", {
36
36
  cx: "12",
37
37
  cy: "12",
@@ -393,7 +393,7 @@ var pn = ["aria-label"], mn = {
393
393
  }, bn = { class: "tpl:relative" }, xn = {
394
394
  class: "tpl:inline-flex tpl:size-3 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[8px] tpl:font-bold",
395
395
  style: { "background-color": "color-mix(\n in srgb,\n var(--tpl-bg) 30%,\n transparent\n )" }
396
- }, Sn = 96, Cn = /*#__PURE__*/ jt(/* @__PURE__ */ f({
396
+ }, Sn = /*#__PURE__*/ jt(/* @__PURE__ */ f({
397
397
  __name: "Canvas",
398
398
  props: {
399
399
  viewport: {},
@@ -433,7 +433,7 @@ var pn = ["aria-label"], mn = {
433
433
  blocks: e
434
434
  });
435
435
  }
436
- }), I = w(() => Ft(u.content.settings, u.viewport)), L = w(() => I.value + Sn * 2), R = w(() => _e(u.content.settings)), z = w(() => F.value.length === 0 && !u.previewMode), B = d(0), ee = w(() => z.value && B.value > 0);
436
+ }), I = w(() => Ft(u.content.settings, u.viewport)), L = w(() => I.value + 192), R = w(() => _e(u.content.settings)), z = w(() => F.value.length === 0 && !u.previewMode), B = d(0), ee = w(() => z.value && B.value > 0);
437
437
  function te() {
438
438
  z.value && (B.value += 1);
439
439
  }
@@ -604,7 +604,7 @@ var pn = ["aria-label"], mn = {
604
604
  "class"
605
605
  ])], 6)], 12, pn)], 4));
606
606
  }
607
- }), [["__scopeId", "data-v-236bcafd"]]), wn = f({
607
+ }), [["__scopeId", "data-v-236bcafd"]]), Cn = f({
608
608
  name: "CustomBlockStylesheets",
609
609
  setup() {
610
610
  let e = D(at, null);
@@ -617,7 +617,7 @@ var pn = ["aria-label"], mn = {
617
617
  });
618
618
  //#endregion
619
619
  //#region src/utils/resolvePaletteBlocks.ts
620
- function Tn(e, t) {
620
+ function wn(e, t) {
621
621
  if (!t || t.length === 0) return {
622
622
  items: e,
623
623
  unknown: []
@@ -636,21 +636,21 @@ function Tn(e, t) {
636
636
  }
637
637
  //#endregion
638
638
  //#region src/components/Sidebar.vue?vue&type=script&setup=true&lang.ts
639
- var En = ["aria-label"], Dn = {
639
+ var Tn = ["aria-label"], En = {
640
640
  key: 0,
641
641
  class: "tpl:border-b tpl:px-1 tpl:pb-1 tpl:border-[var(--tpl-border)]"
642
- }, On = ["aria-label"], kn = {
642
+ }, Dn = ["aria-label"], On = {
643
643
  key: 0,
644
644
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
645
- }, An = [
645
+ }, kn = [
646
646
  "data-palette-type",
647
647
  "aria-label",
648
648
  "onClick",
649
649
  "onKeydown"
650
- ], jn = { 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" }, Mn = {
650
+ ], An = { 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" }, jn = {
651
651
  key: 0,
652
652
  class: "tpl:truncate tpl:text-sm tpl:font-medium"
653
- }, Nn = /* @__PURE__ */ f({
653
+ }, Mn = /* @__PURE__ */ f({
654
654
  __name: "Sidebar",
655
655
  setup(n) {
656
656
  let { t: r, format: a } = H(), u = D(Ze, []), f = D(We, void 0), h = D(Ye, void 0), _ = D(Qe, null), v = D(ot, {}), b = w(() => v.savedBlocks?.isAvailable.value === !0), S = d(!1), E = d(!1);
@@ -690,7 +690,7 @@ var En = ["aria-label"], Dn = {
690
690
  label: e.name,
691
691
  isCustom: !0,
692
692
  icon: e.icon
693
- }))), P = w(() => [...M.value, ...N.value]), F = w(() => Tn(P.value, f)), I = w(() => F.value.items), L = /* @__PURE__ */ new Set();
693
+ }))), P = w(() => [...M.value, ...N.value]), F = w(() => wn(P.value, f)), I = w(() => F.value.items), L = /* @__PURE__ */ new Set();
694
694
  i(() => F.value.unknown, (e) => {
695
695
  for (let t of e) L.has(t) || (L.add(t), fe.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.`));
696
696
  }, { immediate: !0 });
@@ -723,7 +723,7 @@ var En = ["aria-label"], Dn = {
723
723
  onMouseleave: O,
724
724
  onFocusin: i[2] ||= (e) => S.value = !0,
725
725
  onFocusout: i[3] ||= (e) => S.value = !1
726
- }, [b.value ? (s(), m("div", Dn, [p("button", {
726
+ }, [b.value ? (s(), m("div", En, [p("button", {
727
727
  type: "button",
728
728
  "aria-label": x(r).sidebarNav.browseSavedBlocks,
729
729
  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)]",
@@ -733,7 +733,7 @@ var En = ["aria-label"], Dn = {
733
733
  size: 20,
734
734
  "stroke-width": 1.5,
735
735
  class: "tpl:shrink-0"
736
- }), S.value ? (s(), m("span", kn, c(x(r).savedBlocks.title), 1)) : T("", !0)], 12, On)])) : T("", !0), g(x(ge), {
736
+ }), S.value ? (s(), m("span", On, c(x(r).savedBlocks.title), 1)) : T("", !0)], 12, Dn)])) : T("", !0), g(x(ge), {
737
737
  "model-value": I.value,
738
738
  group: {
739
739
  name: "blocks",
@@ -757,7 +757,7 @@ var En = ["aria-label"], Dn = {
757
757
  style: t({ justifyContent: S.value ? "flex-start" : "center" }),
758
758
  onClick: (t) => z(e),
759
759
  onKeydown: (t) => B(t, e)
760
- }, [p("div", jn, [x(gt)[e.type] ? (s(), y(o(x(gt)[e.type]), {
760
+ }, [p("div", An, [x(gt)[e.type] ? (s(), y(o(x(gt)[e.type]), {
761
761
  key: 0,
762
762
  size: 20,
763
763
  "stroke-width": 1.5
@@ -765,14 +765,14 @@ var En = ["aria-label"], Dn = {
765
765
  key: 1,
766
766
  icon: e.icon,
767
767
  size: 20
768
- }, null, 8, ["icon"])) : T("", !0)]), S.value ? (s(), m("span", Mn, c(e.label), 1)) : T("", !0)], 44, An))), 128))]),
768
+ }, null, 8, ["icon"])) : T("", !0)]), S.value ? (s(), m("span", jn, c(e.label), 1)) : T("", !0)], 44, kn))), 128))]),
769
769
  _: 1
770
- }, 8, ["model-value"])], 44, En));
770
+ }, 8, ["model-value"])], 44, Tn));
771
771
  }
772
772
  });
773
773
  //#endregion
774
774
  //#region src/utils/mergeTagTrigger.ts
775
- function Pn(e, t, n, r) {
775
+ function Nn(e, t, n, r) {
776
776
  if (!n) return null;
777
777
  let i = e.slice(0, t), a = i.lastIndexOf(n);
778
778
  if (a === -1) return null;
@@ -785,8 +785,8 @@ function Pn(e, t, n, r) {
785
785
  }
786
786
  //#endregion
787
787
  //#region src/utils/textFieldCaret.ts
788
- var Fn = /* @__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(".");
789
- function In(e, t, n) {
788
+ var Pn = /* @__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(".");
789
+ function Fn(e, t, n) {
790
790
  return {
791
791
  left: e,
792
792
  top: t,
@@ -799,7 +799,7 @@ function In(e, t, n) {
799
799
  toJSON: () => ({})
800
800
  };
801
801
  }
802
- function Ln(e, t) {
802
+ function In(e, t) {
803
803
  let n = e.ownerDocument, r = n.defaultView;
804
804
  if (!r) return null;
805
805
  let i = e.tagName === "INPUT", a = r.getComputedStyle(e), o = n.createElement("div");
@@ -807,7 +807,7 @@ function Ln(e, t) {
807
807
  let s = o.style;
808
808
  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";
809
809
  let c = s, l = a;
810
- for (let e of Fn) c[e] = l[e];
810
+ for (let e of Pn) c[e] = l[e];
811
811
  i && (s.width = "auto", s.whiteSpace = "pre");
812
812
  let u = e.value, d = u.slice(0, t);
813
813
  i && (d = d.replace(/\s/g, "\xA0")), o.textContent = d;
@@ -816,78 +816,78 @@ function Ln(e, t) {
816
816
  let p = f.offsetTop, m = f.offsetLeft;
817
817
  n.body.removeChild(o);
818
818
  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;
819
- if (i) return In(y, h.top, h.bottom);
819
+ if (i) return Fn(y, h.top, h.bottom);
820
820
  let b = h.top + p + g - e.scrollTop;
821
- return In(y, b, b + v);
821
+ return Fn(y, b, b + v);
822
822
  }
823
823
  //#endregion
824
824
  //#region src/composables/useMergeTagAutocomplete.ts
825
- var Rn = /* @__PURE__ */ new Set([
825
+ var Ln = /* @__PURE__ */ new Set([
826
826
  "ArrowLeft",
827
827
  "ArrowRight",
828
828
  "Home",
829
829
  "End"
830
830
  ]);
831
- function zn(e) {
832
- let { elementRef: t, modelValue: n, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, d = I(s), f = re(s), p = c && d !== null && o.length > 0, m = D(ct, null), h = Wt((u(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", Re()), g = !1;
831
+ function Rn(e) {
832
+ let { elementRef: t, modelValue: n, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, d = I(s), f = re(s), p = c && d !== null && o.length > 0, m = D(ct, null), h = (u(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", g = Re(), _ = Wt(h, g), v = !1;
833
833
  r() && a(() => {
834
- g = !0, h.close();
834
+ v = !0, _.close();
835
835
  });
836
- function _(e) {
836
+ function y(e) {
837
837
  let t = e.value ?? "";
838
- return Pn(t, e.selectionStart ?? t.length, d, f);
838
+ return Nn(t, e.selectionStart ?? t.length, d, f);
839
839
  }
840
- function v(e, r, a) {
840
+ function b(e, r, a) {
841
841
  let o = e.value ?? n(), s = o.slice(r.caret), c = f && s.startsWith(f) ? f.length : 0, u = o.slice(0, r.triggerStart), d = o.slice(r.caret + c), p = u + a.value + d, m = u.length + a.value.length;
842
- l?.(), i(p), h.close(), E(() => {
843
- if (g) return;
842
+ l?.(), i(p), _.close(), E(() => {
843
+ if (v) return;
844
844
  let e = t.value;
845
845
  e?.focus(), e?.setSelectionRange(m, m);
846
846
  });
847
847
  }
848
- function y() {
849
- if (!p || g) return;
848
+ function x() {
849
+ if (!p || v) return;
850
850
  let e = t.value;
851
851
  if (!e) {
852
- h.close();
852
+ _.close();
853
853
  return;
854
854
  }
855
- let n = _(e);
855
+ let n = y(e);
856
856
  if (!n) {
857
- h.close();
857
+ _.close();
858
858
  return;
859
859
  }
860
- let r = Gt(o, n.query), i = () => Ln(e, n.triggerStart), a = (t) => v(e, n, t);
861
- h.isOpen() ? h.update({
860
+ let r = Gt(o, n.query), i = () => In(e, n.triggerStart), a = (t) => b(e, n, t);
861
+ _.isOpen() ? _.update({
862
862
  items: r,
863
863
  getRect: i,
864
864
  onCommand: a
865
- }) : h.open({
865
+ }) : _.open({
866
866
  items: r,
867
867
  getRect: i,
868
868
  anchorEl: e,
869
869
  onCommand: a
870
870
  });
871
871
  }
872
- function b(e) {
873
- return h.isOpen() ? e.key === "Escape" ? (h.close(), !0) : Rn.has(e.key) ? (h.close(), !1) : h.handleKeyDown(e) : !1;
872
+ function S(e) {
873
+ return _.isOpen() ? e.key === "Escape" ? (_.close(), !0) : Ln.has(e.key) ? (_.close(), !1) : _.handleKeyDown(e) : !1;
874
874
  }
875
875
  return {
876
876
  available: p,
877
- refresh: y,
878
- handleKeydown: b,
879
- close: () => h.close(),
880
- isOpen: () => h.isOpen()
877
+ refresh: x,
878
+ handleKeydown: S,
879
+ close: () => _.close(),
880
+ isOpen: () => _.isOpen()
881
881
  };
882
882
  }
883
883
  //#endregion
884
884
  //#region src/composables/useMergeTagField.ts
885
- function Bn(e) {
885
+ function zn(e) {
886
886
  let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: s, isRequesting: c, isMergeTagValue: l, getMergeTagLabel: u, requestMergeTag: f, syntax: p, autocomplete: m } = Nt(), { canInsertLogicTag: h, isRequesting: g, requestLogicTag: _ } = Me(), v = d(!1), y = !1, b = !1;
887
887
  r() && a(() => {
888
888
  b = !0;
889
889
  });
890
- let x = zn({
890
+ let x = Rn({
891
891
  elementRef: i,
892
892
  modelValue: t,
893
893
  emit: n,
@@ -1009,10 +1009,10 @@ function Bn(e) {
1009
1009
  }
1010
1010
  //#endregion
1011
1011
  //#region src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
1012
- var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip"], Wn = {
1012
+ var Bn = ["aria-label", "onKeydown"], Vn = ["data-tooltip"], Hn = ["data-tooltip"], Un = {
1013
1013
  key: 2,
1014
1014
  class: "tpl:text-sm tpl:text-[var(--tpl-text)]"
1015
- }, Gn = ["aria-label", "title"], Kn = /* @__PURE__ */ f({
1015
+ }, Wn = ["aria-label", "title"], Gn = /* @__PURE__ */ f({
1016
1016
  __name: "MergeTagSegments",
1017
1017
  props: {
1018
1018
  segments: {},
@@ -1040,7 +1040,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1040
1040
  "background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
1041
1041
  color: "var(--tpl-primary)"
1042
1042
  }
1043
- }, c(e.label), 9, Hn)) : e.type === "logicMergeTag" ? (s(), m("span", {
1043
+ }, c(e.label), 9, Vn)) : e.type === "logicMergeTag" ? (s(), m("span", {
1044
1044
  key: 1,
1045
1045
  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",
1046
1046
  "data-tooltip": e.value,
@@ -1049,7 +1049,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1049
1049
  border: "1.5px solid\n color-mix(in srgb, var(--tpl-primary) 50%, transparent)",
1050
1050
  color: "var(--tpl-primary)"
1051
1051
  }
1052
- }, c(e.keyword), 9, Un)) : (s(), m("span", Wn, c(e.value), 1))], 64))), 128)), p("button", {
1052
+ }, c(e.keyword), 9, Hn)) : (s(), m("span", Un, c(e.value), 1))], 64))), 128)), p("button", {
1053
1053
  type: "button",
1054
1054
  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",
1055
1055
  "aria-label": x(a).mergeTag.remove,
@@ -1058,13 +1058,13 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1058
1058
  }, [g(x(At), {
1059
1059
  size: 12,
1060
1060
  "stroke-width": 2.5
1061
- })], 8, Gn)], 42, Vn));
1061
+ })], 8, Wn)], 42, Bn));
1062
1062
  }
1063
- }), qn = [
1063
+ }), Kn = [
1064
1064
  "aria-label",
1065
1065
  "title",
1066
1066
  "disabled"
1067
- ], 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__ */ f({
1067
+ ], qn = "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)]", Jn = /* @__PURE__ */ f({
1068
1068
  __name: "MergeTagInsertButton",
1069
1069
  props: { disabled: { type: Boolean } },
1070
1070
  emits: ["insert"],
@@ -1072,7 +1072,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1072
1072
  let { t } = H();
1073
1073
  return (r, i) => (s(), m("button", {
1074
1074
  type: "button",
1075
- class: n([Jn, "tpl:mt-1.5"]),
1075
+ class: n([qn, "tpl:mt-1.5"]),
1076
1076
  "aria-label": x(t).mergeTag.insert,
1077
1077
  title: x(t).mergeTag.insert,
1078
1078
  disabled: e.disabled,
@@ -1081,13 +1081,13 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1081
1081
  }, [g(x(ut), {
1082
1082
  size: 12,
1083
1083
  "stroke-width": 2
1084
- }), b(" " + c(x(t).mergeTag.insertShort), 1)], 42, qn));
1084
+ }), b(" " + c(x(t).mergeTag.insertShort), 1)], 42, Kn));
1085
1085
  }
1086
- }), Xn = [
1086
+ }), Yn = [
1087
1087
  "aria-label",
1088
1088
  "title",
1089
1089
  "disabled"
1090
- ], Zn = "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__ */ f({
1090
+ ], Xn = "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)]", Zn = /* @__PURE__ */ f({
1091
1091
  __name: "LogicTagInsertButton",
1092
1092
  props: { disabled: { type: Boolean } },
1093
1093
  emits: ["insert"],
@@ -1095,7 +1095,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1095
1095
  let { t } = H();
1096
1096
  return (r, i) => (s(), m("button", {
1097
1097
  type: "button",
1098
- class: n([Zn, "tpl:mt-1.5"]),
1098
+ class: n([Xn, "tpl:mt-1.5"]),
1099
1099
  "aria-label": x(t).logicTag.insert,
1100
1100
  title: x(t).logicTag.insert,
1101
1101
  disabled: e.disabled,
@@ -1105,19 +1105,19 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1105
1105
  }, [g(x(lt), {
1106
1106
  size: 12,
1107
1107
  "stroke-width": 2
1108
- }), b(" " + c(x(t).logicTag.insertShort), 1)], 42, Xn));
1108
+ }), b(" " + c(x(t).logicTag.insertShort), 1)], 42, Yn));
1109
1109
  }
1110
- }), $n = { key: 0 }, er = {
1110
+ }), Qn = { key: 0 }, $n = {
1111
1111
  key: 0,
1112
1112
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1113
- }, tr = { key: 1 }, nr = [
1113
+ }, er = { key: 1 }, tr = [
1114
1114
  "value",
1115
1115
  "placeholder",
1116
1116
  "rows"
1117
- ], rr = {
1117
+ ], nr = {
1118
1118
  key: 0,
1119
1119
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1120
- }, ir = "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)]", ar = "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)]", or = /* @__PURE__ */ f({
1120
+ }, rr = "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)]", ir = "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)]", ar = /* @__PURE__ */ f({
1121
1121
  __name: "MergeTagTextarea",
1122
1122
  props: {
1123
1123
  modelValue: {},
@@ -1126,32 +1126,32 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1126
1126
  },
1127
1127
  emits: ["update:modelValue"],
1128
1128
  setup(e, { emit: t }) {
1129
- let r = e, i = t, a = d(null), { segments: o, hasMergeTags: c, canRequestMergeTag: l, isRequestingMergeTag: u, canInsertLogicTag: f, isRequestingLogicTag: h, isEditing: _, startEditing: v, handleInput: b, handleKeydown: S, handleClick: C, handleBlur: w, clearValue: E, insertMergeTag: D, insertLogicTag: O } = Bn({
1129
+ let r = e, i = t, a = d(null), { segments: o, hasMergeTags: c, canRequestMergeTag: l, isRequestingMergeTag: u, canInsertLogicTag: f, isRequestingLogicTag: h, isEditing: _, startEditing: v, handleInput: b, handleKeydown: S, handleClick: C, handleBlur: w, clearValue: E, insertMergeTag: D, insertLogicTag: O } = zn({
1130
1130
  modelValue: () => r.modelValue,
1131
1131
  emit: (e) => i("update:modelValue", e),
1132
1132
  elementRef: a
1133
1133
  });
1134
- return (t, r) => x(c) && !x(_) ? (s(), m("div", $n, [g(Kn, {
1134
+ return (t, r) => x(c) && !x(_) ? (s(), m("div", Qn, [g(Gn, {
1135
1135
  segments: x(o),
1136
- "display-class": ar,
1136
+ "display-class": ir,
1137
1137
  onEdit: x(v),
1138
1138
  onClear: x(E)
1139
1139
  }, null, 8, [
1140
1140
  "segments",
1141
1141
  "onEdit",
1142
1142
  "onClear"
1143
- ]), x(l) || x(f) ? (s(), m("div", er, [x(l) ? (s(), y(Yn, {
1143
+ ]), x(l) || x(f) ? (s(), m("div", $n, [x(l) ? (s(), y(Jn, {
1144
1144
  key: 0,
1145
1145
  disabled: x(u),
1146
1146
  onInsert: x(D)
1147
- }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Qn, {
1147
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Zn, {
1148
1148
  key: 1,
1149
1149
  disabled: x(h),
1150
1150
  onInsert: x(O)
1151
- }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)])) : (s(), m("div", tr, [p("textarea", {
1151
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)])) : (s(), m("div", er, [p("textarea", {
1152
1152
  ref_key: "textareaRef",
1153
1153
  ref: a,
1154
- class: n(ir),
1154
+ class: n(rr),
1155
1155
  value: e.modelValue,
1156
1156
  placeholder: e.placeholder,
1157
1157
  rows: e.rows,
@@ -1159,17 +1159,17 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1159
1159
  onKeydown: r[1] ||= (...e) => x(S) && x(S)(...e),
1160
1160
  onClick: r[2] ||= (...e) => x(C) && x(C)(...e),
1161
1161
  onBlur: r[3] ||= (...e) => x(w) && x(w)(...e)
1162
- }, null, 40, nr), x(l) || x(f) ? (s(), m("div", rr, [x(l) ? (s(), y(Yn, {
1162
+ }, null, 40, tr), x(l) || x(f) ? (s(), m("div", nr, [x(l) ? (s(), y(Jn, {
1163
1163
  key: 0,
1164
1164
  disabled: x(u),
1165
1165
  onInsert: x(D)
1166
- }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Qn, {
1166
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Zn, {
1167
1167
  key: 1,
1168
1168
  disabled: x(h),
1169
1169
  onInsert: x(O)
1170
1170
  }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)]));
1171
1171
  }
1172
- }), sr = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, cr = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, lr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, ur = { class: "tpl:mb-3.5" }, dr = { 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)]" }, fr = ["onClick"], pr = { class: "tpl:flex tpl:items-stretch" }, mr = ["value"], hr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, gr = { class: "tpl:mb-3.5" }, _r = { class: "tpl:mb-3.5" }, vr = { class: "tpl:mb-3.5" }, yr = { class: "tpl:mb-3.5" }, br = ["value"], xr = ["value"], 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 = ["value"], wr = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Tr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Er = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, Dr = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Or = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, kr = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, Ar = { 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)]" }, jr = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Mr = { class: "tpl:mb-1 tpl:last:mb-0" }, Nr = { class: "tpl:mb-1 tpl:last:mb-0" }, Pr = { class: "tpl:mb-1 tpl:last:mb-0" }, Fr = 150, Ir = /* @__PURE__ */ f({
1172
+ }), or = { class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]" }, sr = { class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:gap-3 tpl:overflow-y-auto tpl:p-4" }, 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)]" }, lr = { class: "tpl:mb-3.5" }, ur = { 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)]" }, dr = ["onClick"], fr = { class: "tpl:flex tpl:items-stretch" }, pr = ["value"], mr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, hr = { class: "tpl:mb-3.5" }, gr = { class: "tpl:mb-3.5" }, _r = { class: "tpl:mb-3.5" }, vr = { class: "tpl:mb-3.5" }, yr = ["value"], br = ["value"], xr = { 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 = ["value"], Cr = { class: "tpl:mt-1 tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, wr = { class: "tpl:mb-3.5 tpl:flex tpl:items-center tpl:gap-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Tr = { class: "tpl:mt-1 tpl:flex tpl:items-start tpl:justify-between tpl:gap-2" }, Er = { class: "tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, Dr = { class: "tpl:shrink-0 tpl:text-xs tpl:tabular-nums tpl:text-[var(--tpl-text-dim)]" }, Or = { class: "tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3" }, kr = { 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)]" }, Ar = { class: "tpl:m-0 tpl:pl-[18px] tpl:text-xs tpl:leading-relaxed tpl:text-[var(--tpl-text-dim)]" }, jr = { class: "tpl:mb-1 tpl:last:mb-0" }, Mr = { class: "tpl:mb-1 tpl:last:mb-0" }, Nr = { class: "tpl:mb-1 tpl:last:mb-0" }, Pr = 150, Fr = /* @__PURE__ */ f({
1173
1173
  __name: "TemplateSettings",
1174
1174
  props: { settings: {} },
1175
1175
  emits: ["update"],
@@ -1192,14 +1192,14 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1192
1192
  label: "800px"
1193
1193
  }
1194
1194
  ];
1195
- return (i, a) => (s(), m("aside", sr, [p("div", cr, [
1195
+ return (i, a) => (s(), m("aside", or, [p("div", sr, [
1196
1196
  p("div", { class: n(x(Ut)) }, [
1197
- p("div", lr, [g(x(an), {
1197
+ p("div", cr, [g(x(an), {
1198
1198
  class: "tpl:text-[var(--tpl-text-muted)]",
1199
1199
  size: 14,
1200
1200
  "stroke-width": 2
1201
1201
  }), p("span", null, c(x(l).templateSettings.layout), 1)]),
1202
- p("div", ur, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.widthPreset), 3), p("div", dr, [(s(), m(C, null, e(h, (e) => p("button", {
1202
+ p("div", lr, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.widthPreset), 3), p("div", ur, [(s(), m(C, null, e(h, (e) => p("button", {
1203
1203
  key: e.value,
1204
1204
  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)]",
1205
1205
  style: t({
@@ -1208,38 +1208,38 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1208
1208
  boxShadow: r.settings.width === e.value ? "var(--tpl-shadow)" : "none"
1209
1209
  }),
1210
1210
  onClick: (t) => o("update", { width: e.value })
1211
- }, c(e.label), 13, fr)), 64))])]),
1212
- p("div", null, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.customWidth), 3), p("div", pr, [p("input", {
1211
+ }, c(e.label), 13, dr)), 64))])]),
1212
+ p("div", null, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.customWidth), 3), p("div", fr, [p("input", {
1213
1213
  type: "number",
1214
1214
  class: n(x(q)),
1215
1215
  value: r.settings.width,
1216
1216
  min: "300",
1217
1217
  max: "900",
1218
1218
  onInput: a[0] ||= (e) => o("update", { width: Number(e.target.value) })
1219
- }, null, 42, mr), p("span", { class: n(x(K)) }, "px", 2)])])
1219
+ }, null, 42, pr), p("span", { class: n(x(K)) }, "px", 2)])])
1220
1220
  ], 2),
1221
1221
  p("div", { class: n(x(Ut)) }, [
1222
- p("div", hr, [g(x(Jt), {
1222
+ p("div", mr, [g(x(Jt), {
1223
1223
  class: "tpl:text-[var(--tpl-text-muted)]",
1224
1224
  size: 14,
1225
1225
  "stroke-width": 2
1226
1226
  }), p("span", null, c(x(l).templateSettings.appearance), 1)]),
1227
- p("div", gr, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.backgroundColor), 3), g(J, {
1227
+ p("div", hr, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.backgroundColor), 3), g(J, {
1228
1228
  "model-value": r.settings.backgroundColor,
1229
1229
  placeholder: x(Ht),
1230
1230
  "onUpdate:modelValue": a[1] ||= (e) => o("update", { backgroundColor: e })
1231
1231
  }, null, 8, ["model-value", "placeholder"])]),
1232
- p("div", _r, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.textColor), 3), g(J, {
1232
+ p("div", gr, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.textColor), 3), g(J, {
1233
1233
  "model-value": r.settings.textColor ?? "",
1234
1234
  "seed-color": "#1a1a1a",
1235
1235
  "onUpdate:modelValue": a[2] ||= (e) => o("update", { textColor: e })
1236
1236
  }, null, 8, ["model-value"])]),
1237
- p("div", vr, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.linkColor), 3), g(J, {
1237
+ p("div", _r, [p("label", { class: n(x(G)) }, c(x(l).templateSettings.linkColor), 3), g(J, {
1238
1238
  "model-value": r.settings.linkColor ?? "",
1239
1239
  "seed-color": "#0066cc",
1240
1240
  "onUpdate:modelValue": a[3] ||= (e) => o("update", { linkColor: e || void 0 })
1241
1241
  }, null, 8, ["model-value"])]),
1242
- p("div", yr, [g(Y, {
1242
+ p("div", vr, [g(Y, {
1243
1243
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
1244
1244
  "model-value": r.settings.linkUnderline,
1245
1245
  label: x(l).templateSettings.linkUnderline,
@@ -1252,9 +1252,9 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1252
1252
  }, [(s(!0), m(C, null, e(d.value, (e) => (s(), m("option", {
1253
1253
  key: e.value,
1254
1254
  value: e.value
1255
- }, c(e.label), 9, xr))), 128))], 42, br)])
1255
+ }, c(e.label), 9, br))), 128))], 42, yr)])
1256
1256
  ], 2),
1257
- p("div", { class: n(x(Ut)) }, [p("div", Sr, [g(x(Yt), {
1257
+ p("div", { class: n(x(Ut)) }, [p("div", xr, [g(x(Yt), {
1258
1258
  class: "tpl:text-[var(--tpl-text-muted)]",
1259
1259
  size: 14,
1260
1260
  "stroke-width": 2
@@ -1269,40 +1269,40 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1269
1269
  autocapitalize: "off",
1270
1270
  autocomplete: "off",
1271
1271
  onInput: a[6] ||= (e) => o("update", { locale: e.target.value.trim() || void 0 })
1272
- }, null, 42, Cr),
1273
- p("p", wr, c(x(l).templateSettings.contentLocaleHint), 1)
1272
+ }, null, 42, Sr),
1273
+ p("p", Cr, c(x(l).templateSettings.contentLocaleHint), 1)
1274
1274
  ])], 2),
1275
- p("div", { class: n(x(Ut)) }, [p("div", Tr, [g(x(_t), {
1275
+ p("div", { class: n(x(Ut)) }, [p("div", wr, [g(x(_t), {
1276
1276
  class: "tpl:text-[var(--tpl-text-muted)]",
1277
1277
  size: 14,
1278
1278
  "stroke-width": 2
1279
- }), p("span", null, c(x(l).templateSettings.preheaderText), 1)]), p("div", null, [g(or, {
1279
+ }), p("span", null, c(x(l).templateSettings.preheaderText), 1)]), p("div", null, [g(ar, {
1280
1280
  "model-value": r.settings.preheaderText ?? "",
1281
1281
  placeholder: x(l).templateSettings.preheaderTextPlaceholder,
1282
1282
  rows: 2,
1283
1283
  "onUpdate:modelValue": a[7] ||= (e) => o("update", { preheaderText: e.replace(/[\r\n]/g, " ") || void 0 })
1284
- }, null, 8, ["model-value", "placeholder"]), p("div", Er, [p("span", Dr, c(x(l).templateSettings.preheaderTextHint), 1), p("span", Or, c((r.settings.preheaderText ?? "").length) + "/" + c(Fr), 1)])])], 2),
1285
- p("div", kr, [p("div", Ar, [g(x(bt), {
1284
+ }, null, 8, ["model-value", "placeholder"]), p("div", Tr, [p("span", Er, c(x(l).templateSettings.preheaderTextHint), 1), p("span", Dr, c((r.settings.preheaderText ?? "").length) + "/" + c(Pr), 1)])])], 2),
1285
+ p("div", Or, [p("div", kr, [g(x(bt), {
1286
1286
  size: 14,
1287
1287
  "stroke-width": 2
1288
- }), p("span", null, c(x(l).templateSettings.tips), 1)]), p("ul", jr, [
1289
- p("li", Mr, c(x(l).templateSettings.tip1), 1),
1290
- p("li", Nr, c(x(l).templateSettings.tip2), 1),
1291
- p("li", Pr, c(x(l).templateSettings.tip3), 1)
1288
+ }), p("span", null, c(x(l).templateSettings.tips), 1)]), p("ul", Ar, [
1289
+ p("li", jr, c(x(l).templateSettings.tip1), 1),
1290
+ p("li", Mr, c(x(l).templateSettings.tip2), 1),
1291
+ p("li", Nr, c(x(l).templateSettings.tip3), 1)
1292
1292
  ])])
1293
1293
  ])]));
1294
1294
  }
1295
- }), Lr = { key: 0 }, Rr = {
1295
+ }), Ir = { key: 0 }, Lr = {
1296
1296
  key: 0,
1297
1297
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1298
- }, zr = { key: 1 }, Br = [
1298
+ }, Rr = { key: 1 }, zr = [
1299
1299
  "type",
1300
1300
  "value",
1301
1301
  "placeholder"
1302
- ], Vr = {
1302
+ ], Br = {
1303
1303
  key: 0,
1304
1304
  class: "tpl:flex tpl:flex-wrap tpl:gap-1.5"
1305
- }, Hr = "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__*/ jt(/* @__PURE__ */ f({
1305
+ }, Vr = "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__*/ jt(/* @__PURE__ */ f({
1306
1306
  __name: "MergeTagInput",
1307
1307
  props: {
1308
1308
  modelValue: {},
@@ -1315,14 +1315,14 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1315
1315
  },
1316
1316
  emits: ["update:modelValue"],
1317
1317
  setup(e, { emit: t }) {
1318
- let r = e, i = t, a = d(null), { segments: o, hasMergeTags: c, canRequestMergeTag: l, isRequestingMergeTag: u, canInsertLogicTag: f, isRequestingLogicTag: h, isEditing: _, startEditing: v, handleInput: b, handleKeydown: S, handleClick: C, handleBlur: w, clearValue: E, insertMergeTag: D, insertLogicTag: O } = Bn({
1318
+ let r = e, i = t, a = d(null), { segments: o, hasMergeTags: c, canRequestMergeTag: l, isRequestingMergeTag: u, canInsertLogicTag: f, isRequestingLogicTag: h, isEditing: _, startEditing: v, handleInput: b, handleKeydown: S, handleClick: C, handleBlur: w, clearValue: E, insertMergeTag: D, insertLogicTag: O } = zn({
1319
1319
  modelValue: () => r.modelValue,
1320
1320
  emit: (e) => i("update:modelValue", e),
1321
1321
  elementRef: a
1322
1322
  });
1323
- return (t, r) => x(c) && !x(_) ? (s(), m("div", Lr, [g(Kn, {
1323
+ return (t, r) => x(c) && !x(_) ? (s(), m("div", Ir, [g(Gn, {
1324
1324
  segments: x(o),
1325
- "display-class": Hr,
1325
+ "display-class": Vr,
1326
1326
  pulse: e.pulse,
1327
1327
  onEdit: x(v),
1328
1328
  onClear: x(E)
@@ -1331,15 +1331,15 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1331
1331
  "pulse",
1332
1332
  "onEdit",
1333
1333
  "onClear"
1334
- ]), x(l) || x(f) ? (s(), m("div", Rr, [x(l) ? (s(), y(Yn, {
1334
+ ]), x(l) || x(f) ? (s(), m("div", Lr, [x(l) ? (s(), y(Jn, {
1335
1335
  key: 0,
1336
1336
  disabled: x(u),
1337
1337
  onInsert: x(D)
1338
- }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Qn, {
1338
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Zn, {
1339
1339
  key: 1,
1340
1340
  disabled: x(h),
1341
1341
  onInsert: x(O)
1342
- }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)])) : (s(), m("div", zr, [p("input", {
1342
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)])) : (s(), m("div", Rr, [p("input", {
1343
1343
  ref_key: "inputRef",
1344
1344
  ref: a,
1345
1345
  type: e.type,
@@ -1350,20 +1350,20 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1350
1350
  onKeydown: r[1] ||= (...e) => x(S) && x(S)(...e),
1351
1351
  onClick: r[2] ||= (...e) => x(C) && x(C)(...e),
1352
1352
  onBlur: r[3] ||= (...e) => x(w) && x(w)(...e)
1353
- }, null, 42, Br), x(l) || x(f) ? (s(), m("div", Vr, [x(l) ? (s(), y(Yn, {
1353
+ }, null, 42, zr), x(l) || x(f) ? (s(), m("div", Br, [x(l) ? (s(), y(Jn, {
1354
1354
  key: 0,
1355
1355
  disabled: x(u),
1356
1356
  onInsert: x(D)
1357
- }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Qn, {
1357
+ }, null, 8, ["disabled", "onInsert"])) : T("", !0), x(f) ? (s(), y(Zn, {
1358
1358
  key: 1,
1359
1359
  disabled: x(h),
1360
1360
  onInsert: x(O)
1361
1361
  }, null, 8, ["disabled", "onInsert"])) : T("", !0)])) : T("", !0)]));
1362
1362
  }
1363
- }), [["__scopeId", "data-v-d6563be6"]]), Ur = { class: "tpl:mb-3.5" }, Wr = ["value"], Gr = { value: "" }, Kr = ["value"], qr = { class: "tpl:mb-3.5" }, Jr = { class: "tpl:mb-3.5" }, Yr = { class: "tpl:mb-3.5" }, Xr = { class: "tpl:mb-3.5" }, Zr = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Qr = { class: "tpl:mb-3.5" }, $r = { class: "tpl:flex tpl:items-stretch" }, ei = ["value"], ti = { class: "tpl:mb-3.5" }, ni = { class: "tpl:flex tpl:items-stretch" }, ri = ["value"], ii = { class: "tpl:mb-3.5" }, ai = ["value"], oi = { value: "auto" }, si = { value: "full" }, ci = { value: "custom" }, li = {
1363
+ }), [["__scopeId", "data-v-d6563be6"]]), Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = { value: "" }, Gr = ["value"], Kr = { class: "tpl:mb-3.5" }, qr = { class: "tpl:mb-3.5" }, Jr = { class: "tpl:mb-3.5" }, Yr = { class: "tpl:mb-3.5" }, Xr = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Zr = { class: "tpl:mb-3.5" }, Qr = { class: "tpl:flex tpl:items-stretch" }, $r = ["value"], ei = { class: "tpl:mb-3.5" }, ti = { class: "tpl:flex tpl:items-stretch" }, ni = ["value"], ri = { class: "tpl:mb-3.5" }, ii = ["value"], ai = { value: "auto" }, oi = { value: "full" }, si = { value: "custom" }, ci = {
1364
1364
  key: 0,
1365
1365
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1366
- }, ui = ["value"], di = 200, fi = /* @__PURE__ */ f({
1366
+ }, li = ["value"], ui = 200, di = /* @__PURE__ */ f({
1367
1367
  __name: "ButtonToolbar",
1368
1368
  props: {
1369
1369
  block: {},
@@ -1381,7 +1381,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1381
1381
  return;
1382
1382
  }
1383
1383
  if (e === "custom") {
1384
- u("width", typeof i.block.width == "number" ? i.block.width : di);
1384
+ u("width", typeof i.block.width == "number" ? i.block.width : ui);
1385
1385
  return;
1386
1386
  }
1387
1387
  u("width", void 0);
@@ -1391,20 +1391,20 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1391
1391
  !Number.isFinite(t) || t <= 0 || u("width", t);
1392
1392
  }
1393
1393
  return (r, i) => (s(), m(C, null, [
1394
- p("div", Ur, [p("label", { class: n(x(G)) }, c(x(o).button.fontFamily), 3), p("select", {
1394
+ p("div", Hr, [p("label", { class: n(x(G)) }, c(x(o).button.fontFamily), 3), p("select", {
1395
1395
  class: n(x(W)),
1396
1396
  value: t.block.fontFamily || "",
1397
1397
  onChange: i[0] ||= (e) => u("fontFamily", e.target.value || void 0)
1398
- }, [p("option", Gr, c(x(o).button.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
1398
+ }, [p("option", Wr, c(x(o).button.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
1399
1399
  key: e.value,
1400
1400
  value: e.value
1401
- }, c(e.label), 9, Kr))), 128))], 42, Wr)]),
1402
- p("div", qr, [p("label", { class: n(x(G)) }, c(x(o).button.text), 3), g($, {
1401
+ }, c(e.label), 9, Gr))), 128))], 42, Ur)]),
1402
+ p("div", Kr, [p("label", { class: n(x(G)) }, c(x(o).button.text), 3), g($, {
1403
1403
  "model-value": t.block.text,
1404
1404
  type: "text",
1405
1405
  "onUpdate:modelValue": i[1] ||= (e) => u("text", e)
1406
1406
  }, null, 8, ["model-value"])]),
1407
- p("div", Jr, [
1407
+ p("div", qr, [
1408
1408
  p("label", { class: n(x(G)) }, c(x(o).button.url), 3),
1409
1409
  g($, {
1410
1410
  "model-value": t.block.url,
@@ -1420,51 +1420,51 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1420
1420
  "onUpdate:modelValue": i[3] ||= (e) => u("openInNewTab", e)
1421
1421
  }, null, 8, ["model-value", "label"])) : T("", !0)
1422
1422
  ]),
1423
- p("div", Yr, [p("label", { class: n(x(G)) }, c(x(o).button.background), 3), g(J, {
1423
+ p("div", Jr, [p("label", { class: n(x(G)) }, c(x(o).button.background), 3), g(J, {
1424
1424
  "model-value": t.block.backgroundColor,
1425
1425
  "onUpdate:modelValue": i[4] ||= (e) => u("backgroundColor", e)
1426
1426
  }, null, 8, ["model-value"])]),
1427
- p("div", Xr, [p("label", { class: n(x(G)) }, c(x(o).button.textColor), 3), g(J, {
1427
+ p("div", Yr, [p("label", { class: n(x(G)) }, c(x(o).button.textColor), 3), g(J, {
1428
1428
  "model-value": t.block.textColor,
1429
1429
  "onUpdate:modelValue": i[5] ||= (e) => u("textColor", e)
1430
1430
  }, null, 8, ["model-value"])]),
1431
- p("div", Zr, [p("div", Qr, [p("label", { class: n(x(G)) }, c(x(o).button.borderRadius), 3), p("div", $r, [p("input", {
1431
+ p("div", Xr, [p("div", Zr, [p("label", { class: n(x(G)) }, c(x(o).button.borderRadius), 3), p("div", Qr, [p("input", {
1432
1432
  type: "number",
1433
1433
  class: n(x(q)),
1434
1434
  value: t.block.borderRadius,
1435
1435
  min: "0",
1436
1436
  max: "50",
1437
1437
  onInput: i[6] ||= (e) => u("borderRadius", Number(e.target.value))
1438
- }, null, 42, ei), p("span", { class: n(x(K)) }, "px", 2)])]), p("div", ti, [p("label", { class: n(x(G)) }, c(x(o).button.fontSize), 3), p("div", ni, [p("input", {
1438
+ }, null, 42, $r), p("span", { class: n(x(K)) }, "px", 2)])]), p("div", ei, [p("label", { class: n(x(G)) }, c(x(o).button.fontSize), 3), p("div", ti, [p("input", {
1439
1439
  type: "number",
1440
1440
  class: n(x(q)),
1441
1441
  value: t.block.fontSize,
1442
1442
  min: "10",
1443
1443
  max: "36",
1444
1444
  onInput: i[7] ||= (e) => u("fontSize", Number(e.target.value))
1445
- }, null, 42, ri), p("span", { class: n(x(K)) }, "px", 2)])])]),
1446
- p("div", ii, [
1445
+ }, null, 42, ni), p("span", { class: n(x(K)) }, "px", 2)])])]),
1446
+ p("div", ri, [
1447
1447
  p("label", { class: n(x(G)) }, c(x(o).button.width), 3),
1448
1448
  p("select", {
1449
1449
  class: n(x(W)),
1450
1450
  value: l.value,
1451
1451
  onChange: i[8] ||= (e) => d(e.target.value)
1452
1452
  }, [
1453
- p("option", oi, c(x(o).button.widthAuto), 1),
1454
- p("option", si, c(x(o).button.fullWidth), 1),
1455
- p("option", ci, c(x(o).button.widthCustom), 1)
1456
- ], 42, ai),
1457
- l.value === "custom" ? (s(), m("div", li, [p("input", {
1453
+ p("option", ai, c(x(o).button.widthAuto), 1),
1454
+ p("option", oi, c(x(o).button.fullWidth), 1),
1455
+ p("option", si, c(x(o).button.widthCustom), 1)
1456
+ ], 42, ii),
1457
+ l.value === "custom" ? (s(), m("div", ci, [p("input", {
1458
1458
  type: "number",
1459
1459
  class: n(x(q)),
1460
- value: typeof t.block.width == "number" ? t.block.width : di,
1460
+ value: typeof t.block.width == "number" ? t.block.width : ui,
1461
1461
  min: "20",
1462
1462
  onInput: i[9] ||= (e) => f(e.target.value)
1463
- }, null, 42, ui), p("span", { class: n(x(K)) }, "px", 2)])) : T("", !0)
1463
+ }, null, 42, li), p("span", { class: n(x(K)) }, "px", 2)])) : T("", !0)
1464
1464
  ])
1465
1465
  ], 64));
1466
1466
  }
1467
- }), pi = { class: "spacing-control" }, mi = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, hi = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, gi = { class: "tpl:flex tpl:items-center" }, _i = ["aria-label"], vi = ["value", "aria-label"], yi = ["aria-label"], bi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, xi = { class: "tpl:flex tpl:items-center" }, Si = ["aria-label"], Ci = ["value", "aria-label"], wi = ["aria-label"], Ti = ["aria-label", "title"], Ei = { class: "tpl:flex tpl:items-center" }, Di = ["aria-label"], Oi = ["value", "aria-label"], ki = ["aria-label"], Ai = { class: "tpl:flex tpl:items-center" }, ji = ["aria-label"], Mi = ["value", "aria-label"], Ni = ["aria-label"], Pi = "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)]", Fi = "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)]", Ii = /*#__PURE__*/ jt(/* @__PURE__ */ f({
1467
+ }), fi = { class: "spacing-control" }, pi = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, mi = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, hi = { class: "tpl:flex tpl:items-center" }, gi = ["aria-label"], _i = ["value", "aria-label"], vi = ["aria-label"], yi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, bi = { class: "tpl:flex tpl:items-center" }, xi = ["aria-label"], Si = ["value", "aria-label"], Ci = ["aria-label"], wi = ["aria-label", "title"], Ti = { class: "tpl:flex tpl:items-center" }, Ei = ["aria-label"], Di = ["value", "aria-label"], Oi = ["aria-label"], ki = { class: "tpl:flex tpl:items-center" }, Ai = ["aria-label"], ji = ["value", "aria-label"], Mi = ["aria-label"], Ni = "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)]", Pi = "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)]", Fi = /*#__PURE__*/ jt(/* @__PURE__ */ f({
1468
1468
  __name: "SpacingControl",
1469
1469
  props: {
1470
1470
  modelValue: {},
@@ -1511,59 +1511,59 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1511
1511
  });
1512
1512
  }
1513
1513
  }
1514
- return (t, r) => (s(), m("div", pi, [p("label", mi, c(e.label), 1), p("div", hi, [
1515
- p("div", gi, [
1514
+ return (t, r) => (s(), m("div", fi, [p("label", pi, c(e.label), 1), p("div", mi, [
1515
+ p("div", hi, [
1516
1516
  p("button", {
1517
1517
  "aria-label": x(o).spacingControl.decreaseTop,
1518
- class: n([Pi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1518
+ class: n([Ni, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1519
1519
  onClick: r[0] ||= (e) => f("top", -1)
1520
1520
  }, [g(x(pt), {
1521
1521
  size: 12,
1522
1522
  "stroke-width": 2
1523
- })], 10, _i),
1523
+ })], 10, gi),
1524
1524
  p("input", {
1525
1525
  type: "number",
1526
- class: n(Fi),
1526
+ class: n(Pi),
1527
1527
  value: e.modelValue.top,
1528
1528
  "aria-label": x(o).spacingControl.top,
1529
1529
  min: "0",
1530
1530
  onInput: r[1] ||= (e) => h("top", Number(e.target.value))
1531
- }, null, 40, vi),
1531
+ }, null, 40, _i),
1532
1532
  p("button", {
1533
1533
  "aria-label": x(o).spacingControl.increaseTop,
1534
- class: n([Pi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1534
+ class: n([Ni, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1535
1535
  onClick: r[2] ||= (e) => f("top", 1)
1536
1536
  }, [g(x(Q), {
1537
1537
  size: 12,
1538
1538
  "stroke-width": 2
1539
- })], 10, yi)
1539
+ })], 10, vi)
1540
1540
  ]),
1541
- p("div", bi, [
1542
- p("div", xi, [
1541
+ p("div", yi, [
1542
+ p("div", bi, [
1543
1543
  p("button", {
1544
1544
  "aria-label": x(o).spacingControl.decreaseLeft,
1545
- class: n([Pi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1545
+ class: n([Ni, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1546
1546
  onClick: r[3] ||= (e) => f("left", -1)
1547
1547
  }, [g(x(pt), {
1548
1548
  size: 12,
1549
1549
  "stroke-width": 2
1550
- })], 10, Si),
1550
+ })], 10, xi),
1551
1551
  p("input", {
1552
1552
  type: "number",
1553
- class: n(Fi),
1553
+ class: n(Pi),
1554
1554
  value: e.modelValue.left,
1555
1555
  "aria-label": x(o).spacingControl.left,
1556
1556
  min: "0",
1557
1557
  onInput: r[4] ||= (e) => h("left", Number(e.target.value))
1558
- }, null, 40, Ci),
1558
+ }, null, 40, Si),
1559
1559
  p("button", {
1560
1560
  "aria-label": x(o).spacingControl.increaseLeft,
1561
- class: n([Pi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1561
+ class: n([Ni, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1562
1562
  onClick: r[5] ||= (e) => f("left", 1)
1563
1563
  }, [g(x(Q), {
1564
1564
  size: 12,
1565
1565
  "stroke-width": 2
1566
- })], 10, wi)
1566
+ })], 10, Ci)
1567
1567
  ]),
1568
1568
  p("button", {
1569
1569
  class: n(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", u.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] hover:tpl:bg-[var(--tpl-bg-hover)]"]),
@@ -1578,63 +1578,63 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1578
1578
  key: 1,
1579
1579
  size: 14,
1580
1580
  "stroke-width": 2
1581
- }))], 10, Ti),
1582
- p("div", Ei, [
1581
+ }))], 10, wi),
1582
+ p("div", Ti, [
1583
1583
  p("button", {
1584
1584
  "aria-label": x(o).spacingControl.decreaseRight,
1585
- class: n([Pi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1585
+ class: n([Ni, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1586
1586
  onClick: r[6] ||= (e) => f("right", -1)
1587
1587
  }, [g(x(pt), {
1588
1588
  size: 12,
1589
1589
  "stroke-width": 2
1590
- })], 10, Di),
1590
+ })], 10, Ei),
1591
1591
  p("input", {
1592
1592
  type: "number",
1593
- class: n(Fi),
1593
+ class: n(Pi),
1594
1594
  value: e.modelValue.right,
1595
1595
  "aria-label": x(o).spacingControl.right,
1596
1596
  min: "0",
1597
1597
  onInput: r[7] ||= (e) => h("right", Number(e.target.value))
1598
- }, null, 40, Oi),
1598
+ }, null, 40, Di),
1599
1599
  p("button", {
1600
1600
  "aria-label": x(o).spacingControl.increaseRight,
1601
- class: n([Pi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1601
+ class: n([Ni, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1602
1602
  onClick: r[8] ||= (e) => f("right", 1)
1603
1603
  }, [g(x(Q), {
1604
1604
  size: 12,
1605
1605
  "stroke-width": 2
1606
- })], 10, ki)
1606
+ })], 10, Oi)
1607
1607
  ])
1608
1608
  ]),
1609
- p("div", Ai, [
1609
+ p("div", ki, [
1610
1610
  p("button", {
1611
1611
  "aria-label": x(o).spacingControl.decreaseBottom,
1612
- class: n([Pi, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1612
+ class: n([Ni, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
1613
1613
  onClick: r[9] ||= (e) => f("bottom", -1)
1614
1614
  }, [g(x(pt), {
1615
1615
  size: 12,
1616
1616
  "stroke-width": 2
1617
- })], 10, ji),
1617
+ })], 10, Ai),
1618
1618
  p("input", {
1619
1619
  type: "number",
1620
- class: n(Fi),
1620
+ class: n(Pi),
1621
1621
  value: e.modelValue.bottom,
1622
1622
  "aria-label": x(o).spacingControl.bottom,
1623
1623
  min: "0",
1624
1624
  onInput: r[10] ||= (e) => h("bottom", Number(e.target.value))
1625
- }, null, 40, Mi),
1625
+ }, null, 40, ji),
1626
1626
  p("button", {
1627
1627
  "aria-label": x(o).spacingControl.increaseBottom,
1628
- class: n([Pi, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1628
+ class: n([Ni, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
1629
1629
  onClick: r[11] ||= (e) => f("bottom", 1)
1630
1630
  }, [g(x(Q), {
1631
1631
  size: 12,
1632
1632
  "stroke-width": 2
1633
- })], 10, Ni)
1633
+ })], 10, Mi)
1634
1634
  ])
1635
1635
  ])]));
1636
1636
  }
1637
- }), [["__scopeId", "data-v-9a9c8a07"]]), Li = { class: "tpl:mt-3" }, Ri = /* @__PURE__ */ f({
1637
+ }), [["__scopeId", "data-v-9a9c8a07"]]), Ii = { class: "tpl:mt-3" }, Li = /* @__PURE__ */ f({
1638
1638
  __name: "CollapsibleSection",
1639
1639
  props: {
1640
1640
  title: {},
@@ -1651,21 +1651,21 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1651
1651
  class: n(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1652
1652
  size: 12,
1653
1653
  "stroke-width": 2
1654
- }, null, 8, ["class"]), p("span", null, c(e.title), 1)]), k(p("div", Li, [_(t.$slots, "default")], 512), [[M, e.open]])], 2));
1654
+ }, null, 8, ["class"]), p("span", null, c(e.title), 1)]), k(p("div", Ii, [_(t.$slots, "default")], 512), [[M, e.open]])], 2));
1655
1655
  }
1656
- }), zi = { class: "tpl:space-y-2" }, Bi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Vi = { class: "tpl:space-y-2" }, Hi = ["value"], Ui = { value: "" }, Wi = ["label"], Gi = ["value"], Ki = ["value"], qi = {
1656
+ }), Ri = { class: "tpl:space-y-2" }, zi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Bi = { class: "tpl:space-y-2" }, Vi = ["value"], Hi = { value: "" }, Ui = ["label"], Wi = ["value"], Gi = ["value"], Ki = {
1657
1657
  key: 0,
1658
1658
  value: "__custom__"
1659
- }, Ji = {
1659
+ }, qi = {
1660
1660
  key: 0,
1661
1661
  class: "tpl:space-y-2"
1662
- }, Yi = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Xi = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Zi = { class: "tpl:flex tpl:justify-end" }, Qi = ["disabled"], $i = {
1662
+ }, Ji = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Yi = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Xi = { class: "tpl:flex tpl:justify-end" }, Zi = ["disabled"], Qi = {
1663
1663
  key: 0,
1664
1664
  class: "tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]"
1665
- }, ea = { class: "tpl:space-y-1" }, ta = { 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)]" }, na = {
1665
+ }, $i = { class: "tpl:space-y-1" }, ea = { 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)]" }, ta = {
1666
1666
  key: 0,
1667
1667
  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)]"
1668
- }, ra = /* @__PURE__ */ f({
1668
+ }, na = /* @__PURE__ */ f({
1669
1669
  __name: "CommonBlockSettings",
1670
1670
  props: {
1671
1671
  block: {},
@@ -1728,13 +1728,13 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1728
1728
  t[e] = !t[e], u("update", { visibility: t });
1729
1729
  }
1730
1730
  return (r, i) => (s(), m("div", { class: n(["tpl:flex tpl:flex-col", t.isFirstSection ? "" : "tpl:mt-4"]) }, [
1731
- g(Ri, {
1731
+ g(Li, {
1732
1732
  title: x(f).blockSettings.spacing,
1733
1733
  open: v.has("spacing"),
1734
1734
  "no-border": t.isFirstSection,
1735
1735
  onToggle: i[1] ||= (e) => N("spacing")
1736
1736
  }, {
1737
- default: l(() => [g(Ii, {
1737
+ default: l(() => [g(Fi, {
1738
1738
  label: x(f).blockSettings.padding,
1739
1739
  "model-value": t.block.styles.padding,
1740
1740
  "onUpdate:modelValue": i[0] ||= (e) => z("padding", e)
@@ -1745,7 +1745,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1745
1745
  "open",
1746
1746
  "no-border"
1747
1747
  ]),
1748
- g(Ri, {
1748
+ g(Li, {
1749
1749
  title: x(f).blockSettings.background,
1750
1750
  open: v.has("bg"),
1751
1751
  onToggle: i[3] ||= (e) => N("bg")
@@ -1756,19 +1756,19 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1756
1756
  }, null, 8, ["model-value"])]),
1757
1757
  _: 1
1758
1758
  }, 8, ["title", "open"]),
1759
- g(Ri, {
1759
+ g(Li, {
1760
1760
  title: x(f).blockSettings.display,
1761
1761
  open: v.has("display"),
1762
1762
  onToggle: i[4] ||= (e) => N("display")
1763
1763
  }, {
1764
- default: l(() => [p("div", zi, [(s(), m(C, null, e(M, (e) => g(Y, {
1764
+ default: l(() => [p("div", Ri, [(s(), m(C, null, e(M, (e) => g(Y, {
1765
1765
  key: e.key,
1766
1766
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1767
1767
  "model-value": B(e.key),
1768
1768
  label: x(f).blockSettings[e.labelKey],
1769
1769
  "onUpdate:modelValue": (t) => ee(e.key)
1770
1770
  }, {
1771
- default: l(() => [p("span", Bi, [(s(), y(o(e.icon), {
1771
+ default: l(() => [p("span", zi, [(s(), y(o(e.icon), {
1772
1772
  size: 14,
1773
1773
  "stroke-width": 1.5
1774
1774
  })), b(" " + c(x(f).blockSettings[e.labelKey]), 1)])]),
@@ -1780,13 +1780,13 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1780
1780
  ])), 64))])]),
1781
1781
  _: 1
1782
1782
  }, 8, ["title", "open"]),
1783
- P.value ? (s(), y(Ri, {
1783
+ P.value ? (s(), y(Li, {
1784
1784
  key: 0,
1785
1785
  title: x(f).blockSettings.displayCondition,
1786
1786
  open: v.has("condition"),
1787
1787
  onToggle: i[8] ||= (e) => N("condition")
1788
1788
  }, {
1789
- default: l(() => [p("div", Vi, [p("select", {
1789
+ default: l(() => [p("div", Bi, [p("select", {
1790
1790
  class: n(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:duration-150 tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", t.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1791
1791
  value: E.value || F.value ? "__custom__" : t.block.displayCondition?.label ?? "",
1792
1792
  onChange: i[5] ||= (e) => {
@@ -1803,41 +1803,41 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1803
1803
  n && u("update", { displayCondition: n });
1804
1804
  }
1805
1805
  }, [
1806
- p("option", Ui, c(x(f).blockSettings.noCondition), 1),
1806
+ p("option", Hi, c(x(f).blockSettings.noCondition), 1),
1807
1807
  (s(!0), m(C, null, e(R.value, (t, n) => (s(), m(C, { key: n }, [n ? (s(), m("optgroup", {
1808
1808
  key: 0,
1809
1809
  label: String(n)
1810
1810
  }, [(s(!0), m(C, null, e(t, (e) => (s(), m("option", {
1811
1811
  key: e.label,
1812
1812
  value: e.label
1813
- }, c(e.label), 9, Gi))), 128))], 8, Wi)) : (s(!0), m(C, { key: 1 }, e(t, (e) => (s(), m("option", {
1813
+ }, c(e.label), 9, Wi))), 128))], 8, Ui)) : (s(!0), m(C, { key: 1 }, e(t, (e) => (s(), m("option", {
1814
1814
  key: e.label,
1815
1815
  value: e.label
1816
- }, c(e.label), 9, Ki))), 128))], 64))), 128)),
1817
- x(_) ? (s(), m("option", qi, c(x(f).blockSettings.customCondition), 1)) : T("", !0)
1818
- ], 42, Hi), E.value || F.value ? (s(), m("div", Ji, [
1819
- p("div", null, [p("label", Yi, c(x(f).blockSettings.customConditionBefore), 1), k(p("textarea", {
1816
+ }, c(e.label), 9, Gi))), 128))], 64))), 128)),
1817
+ x(_) ? (s(), m("option", Ki, c(x(f).blockSettings.customCondition), 1)) : T("", !0)
1818
+ ], 42, Vi), E.value || F.value ? (s(), m("div", qi, [
1819
+ p("div", null, [p("label", Ji, c(x(f).blockSettings.customConditionBefore), 1), k(p("textarea", {
1820
1820
  "onUpdate:modelValue": i[6] ||= (e) => O.value = e,
1821
1821
  rows: "2",
1822
1822
  class: n(x(zt))
1823
1823
  }, null, 2), [[A, O.value]])]),
1824
- p("div", null, [p("label", Xi, c(x(f).blockSettings.customConditionAfter), 1), k(p("textarea", {
1824
+ p("div", null, [p("label", Yi, c(x(f).blockSettings.customConditionAfter), 1), k(p("textarea", {
1825
1825
  "onUpdate:modelValue": i[7] ||= (e) => j.value = e,
1826
1826
  rows: "2",
1827
1827
  class: n(x(zt))
1828
1828
  }, null, 2), [[A, j.value]])]),
1829
- p("div", Zi, [p("button", {
1829
+ p("div", Xi, [p("button", {
1830
1830
  type: "button",
1831
1831
  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",
1832
1832
  disabled: !O.value.trim(),
1833
1833
  onClick: L
1834
- }, c(x(f).blockSettings.applyCondition), 9, Qi)])
1835
- ])) : t.block.displayCondition && !F.value ? (s(), m(C, { key: 1 }, [t.block.displayCondition.description ? (s(), m("p", $i, c(t.block.displayCondition.description), 1)) : T("", !0), p("div", ea, [p("pre", ta, c(t.block.displayCondition.before), 1), t.block.displayCondition.after ? (s(), m("pre", na, c(t.block.displayCondition.after), 1)) : T("", !0)])], 64)) : T("", !0)])]),
1834
+ }, c(x(f).blockSettings.applyCondition), 9, Zi)])
1835
+ ])) : t.block.displayCondition && !F.value ? (s(), m(C, { key: 1 }, [t.block.displayCondition.description ? (s(), m("p", Qi, c(t.block.displayCondition.description), 1)) : T("", !0), p("div", $i, [p("pre", ea, c(t.block.displayCondition.before), 1), t.block.displayCondition.after ? (s(), m("pre", ta, c(t.block.displayCondition.after), 1)) : T("", !0)])], 64)) : T("", !0)])]),
1836
1836
  _: 1
1837
1837
  }, 8, ["title", "open"])) : T("", !0)
1838
1838
  ], 2));
1839
1839
  }
1840
- }), ia = ["title"], aa = /* @__PURE__ */ f({
1840
+ }), ra = ["title"], ia = /* @__PURE__ */ f({
1841
1841
  __name: "BooleanField",
1842
1842
  props: {
1843
1843
  field: {},
@@ -1869,12 +1869,12 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1869
1869
  "label",
1870
1870
  "required",
1871
1871
  "disabled"
1872
- ])], 8, ia));
1872
+ ])], 8, ra));
1873
1873
  }
1874
- }), oa = { class: "tpl:mb-3.5" }, sa = {
1874
+ }), aa = { class: "tpl:mb-3.5" }, oa = {
1875
1875
  key: 1,
1876
1876
  class: "tpl:text-[var(--tpl-danger)]"
1877
- }, ca = /* @__PURE__ */ f({
1877
+ }, sa = /* @__PURE__ */ f({
1878
1878
  __name: "FieldWrapper",
1879
1879
  props: {
1880
1880
  label: {},
@@ -1882,17 +1882,17 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1882
1882
  readOnly: { type: Boolean }
1883
1883
  },
1884
1884
  setup(e) {
1885
- return (t, r) => (s(), m("div", oa, [p("label", { class: n(x(G)) }, [
1885
+ return (t, r) => (s(), m("div", aa, [p("label", { class: n(x(G)) }, [
1886
1886
  b(c(e.label) + " ", 1),
1887
1887
  e.readOnly ? (s(), y(x(Qt), {
1888
1888
  key: 0,
1889
1889
  size: 12,
1890
1890
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
1891
1891
  })) : T("", !0),
1892
- e.required ? (s(), m("span", sa, "*")) : T("", !0)
1892
+ e.required ? (s(), m("span", oa, "*")) : T("", !0)
1893
1893
  ], 2), _(t.$slots, "default")]));
1894
1894
  }
1895
- }), la = /* @__PURE__ */ f({
1895
+ }), ca = /* @__PURE__ */ f({
1896
1896
  __name: "ColorField",
1897
1897
  props: {
1898
1898
  field: {},
@@ -1902,7 +1902,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1902
1902
  emits: ["update:modelValue"],
1903
1903
  setup(e, { emit: t }) {
1904
1904
  let n = e, r = t, { t: i } = H(), a = D(tt, Le), o = w(() => V(n.field, a));
1905
- return (t, n) => (s(), y(ca, {
1905
+ return (t, n) => (s(), y(sa, {
1906
1906
  label: e.field.label,
1907
1907
  required: e.field.required,
1908
1908
  "read-only": e.readOnly
@@ -1930,15 +1930,15 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1930
1930
  "read-only"
1931
1931
  ]));
1932
1932
  }
1933
- }), ua = {
1933
+ }), la = {
1934
1934
  key: 0,
1935
1935
  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)]",
1936
1936
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1937
- }, da = [
1937
+ }, ua = [
1938
1938
  "value",
1939
1939
  "placeholder",
1940
1940
  "title"
1941
- ], fa = ["value", "placeholder"], pa = /* @__PURE__ */ f({
1941
+ ], da = ["value", "placeholder"], fa = /* @__PURE__ */ f({
1942
1942
  __name: "ImageField",
1943
1943
  props: {
1944
1944
  field: {},
@@ -1973,7 +1973,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1973
1973
  enabled: S,
1974
1974
  onFiles: E
1975
1975
  });
1976
- return (t, r) => (s(), y(ca, {
1976
+ return (t, r) => (s(), y(sa, {
1977
1977
  label: e.field.label,
1978
1978
  required: e.field.required,
1979
1979
  "read-only": e.readOnly
@@ -1983,7 +1983,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1983
1983
  ref: _,
1984
1984
  class: "tpl:relative"
1985
1985
  }, [
1986
- S.value && (x(O) || v.value) ? (s(), m("div", ua, [v.value ? (s(), m(C, { key: 0 }, [g(x(St), {
1986
+ S.value && (x(O) || v.value) ? (s(), m("div", la, [v.value ? (s(), m(C, { key: 0 }, [g(x(St), {
1987
1987
  class: "tpl-spinner",
1988
1988
  size: 18,
1989
1989
  "stroke-width": 2
@@ -1999,14 +1999,14 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
1999
1999
  placeholder: e.field.placeholder || "https://...",
2000
2000
  disabled: "",
2001
2001
  title: x(a).customBlocks.dataSource.readOnlyTooltip
2002
- }, null, 10, da)) : (s(), m("input", {
2002
+ }, null, 10, ua)) : (s(), m("input", {
2003
2003
  key: 2,
2004
2004
  type: "url",
2005
2005
  class: n(x(W)),
2006
2006
  value: e.modelValue,
2007
2007
  placeholder: e.field.placeholder || "https://...",
2008
2008
  onInput: r[0] ||= (e) => i("update:modelValue", e.target.value)
2009
- }, null, 42, fa)),
2009
+ }, null, 42, da)),
2010
2010
  f.value && !e.readOnly ? (s(), m("button", {
2011
2011
  key: 3,
2012
2012
  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)]",
@@ -2023,7 +2023,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2023
2023
  "read-only"
2024
2024
  ]));
2025
2025
  }
2026
- }), ma = [
2026
+ }), pa = [
2027
2027
  "value",
2028
2028
  "placeholder",
2029
2029
  "min",
@@ -2031,7 +2031,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2031
2031
  "step",
2032
2032
  "disabled",
2033
2033
  "title"
2034
- ], ha = /* @__PURE__ */ f({
2034
+ ], ma = /* @__PURE__ */ f({
2035
2035
  __name: "NumberField",
2036
2036
  props: {
2037
2037
  field: {},
@@ -2041,7 +2041,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2041
2041
  emits: ["update:modelValue"],
2042
2042
  setup(e, { emit: t }) {
2043
2043
  let r = t, { t: i } = H();
2044
- return (t, a) => (s(), y(ca, {
2044
+ return (t, a) => (s(), y(sa, {
2045
2045
  label: e.field.label,
2046
2046
  required: e.field.required,
2047
2047
  "read-only": e.readOnly
@@ -2057,7 +2057,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2057
2057
  disabled: e.readOnly,
2058
2058
  title: e.readOnly ? x(i).customBlocks.dataSource.readOnlyTooltip : void 0,
2059
2059
  onInput: a[0] ||= (t) => !e.readOnly && r("update:modelValue", Number(t.target.value))
2060
- }, null, 42, ma)]),
2060
+ }, null, 42, pa)]),
2061
2061
  _: 1
2062
2062
  }, 8, [
2063
2063
  "label",
@@ -2065,10 +2065,10 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2065
2065
  "read-only"
2066
2066
  ]));
2067
2067
  }
2068
- }), ga = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, _a = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, va = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, ya = ["title", "onClick"], ba = {
2068
+ }), ha = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ga = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, _a = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, va = ["title", "onClick"], ya = {
2069
2069
  key: 1,
2070
2070
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
2071
- }, xa = /* @__PURE__ */ f({
2071
+ }, ba = /* @__PURE__ */ f({
2072
2072
  __name: "RepeatableField",
2073
2073
  props: {
2074
2074
  field: {},
@@ -2096,16 +2096,16 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2096
2096
  } : r);
2097
2097
  a("update:modelValue", r);
2098
2098
  }
2099
- return (r, i) => (s(), y(ca, {
2099
+ return (r, i) => (s(), y(sa, {
2100
2100
  label: t.field.label,
2101
2101
  required: t.field.required,
2102
2102
  "read-only": t.readOnly
2103
2103
  }, {
2104
- default: l(() => [p("div", ga, [
2104
+ default: l(() => [p("div", ha, [
2105
2105
  (s(!0), m(C, null, e(d.value, (n, r) => (s(), m("div", {
2106
2106
  key: `${t.field.key}-${r}`,
2107
2107
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
2108
- }, [p("div", _a, [p("span", va, " #" + c(r + 1), 1), h.value && !t.readOnly ? (s(), m("button", {
2108
+ }, [p("div", ga, [p("span", _a, " #" + c(r + 1), 1), h.value && !t.readOnly ? (s(), m("button", {
2109
2109
  key: 0,
2110
2110
  type: "button",
2111
2111
  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)]",
@@ -2114,7 +2114,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2114
2114
  }, [g(x(kt), {
2115
2115
  size: 12,
2116
2116
  "stroke-width": 2
2117
- })], 8, ya)) : T("", !0)]), (s(!0), m(C, null, e(t.field.fields, (e) => (s(), y(o(x(Aa)(e.type)), {
2117
+ })], 8, va)) : T("", !0)]), (s(!0), m(C, null, e(t.field.fields, (e) => (s(), y(o(x(ka)(e.type)), {
2118
2118
  key: e.key,
2119
2119
  field: e,
2120
2120
  "model-value": n[e.key],
@@ -2135,7 +2135,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2135
2135
  size: 14,
2136
2136
  "stroke-width": 2
2137
2137
  }), b(" " + c(x(u).customBlocks.fields.addItem), 1)], 2)) : T("", !0),
2138
- !f.value && !t.readOnly ? (s(), m("p", ba, c(x(u).customBlocks.fields.maxItemsReached), 1)) : T("", !0)
2138
+ !f.value && !t.readOnly ? (s(), m("p", ya, c(x(u).customBlocks.fields.maxItemsReached), 1)) : T("", !0)
2139
2139
  ])]),
2140
2140
  _: 1
2141
2141
  }, 8, [
@@ -2144,11 +2144,11 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2144
2144
  "read-only"
2145
2145
  ]));
2146
2146
  }
2147
- }), Sa = [
2147
+ }), xa = [
2148
2148
  "value",
2149
2149
  "disabled",
2150
2150
  "title"
2151
- ], Ca = ["value"], wa = /* @__PURE__ */ f({
2151
+ ], Sa = ["value"], Ca = /* @__PURE__ */ f({
2152
2152
  __name: "SelectField",
2153
2153
  props: {
2154
2154
  field: {},
@@ -2158,7 +2158,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2158
2158
  emits: ["update:modelValue"],
2159
2159
  setup(t, { emit: r }) {
2160
2160
  let i = r, { t: a } = H();
2161
- return (r, o) => (s(), y(ca, {
2161
+ return (r, o) => (s(), y(sa, {
2162
2162
  label: t.field.label,
2163
2163
  required: t.field.required,
2164
2164
  "read-only": t.readOnly
@@ -2172,7 +2172,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2172
2172
  }, [(s(!0), m(C, null, e(t.field.options, (e) => (s(), m("option", {
2173
2173
  key: e.value,
2174
2174
  value: e.value
2175
- }, c(e.label), 9, Ca))), 128))], 42, Sa)]),
2175
+ }, c(e.label), 9, Sa))), 128))], 42, xa)]),
2176
2176
  _: 1
2177
2177
  }, 8, [
2178
2178
  "label",
@@ -2180,11 +2180,11 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2180
2180
  "read-only"
2181
2181
  ]));
2182
2182
  }
2183
- }), Ta = [
2183
+ }), wa = [
2184
2184
  "value",
2185
2185
  "placeholder",
2186
2186
  "title"
2187
- ], Ea = /* @__PURE__ */ f({
2187
+ ], Ta = /* @__PURE__ */ f({
2188
2188
  __name: "TextField",
2189
2189
  props: {
2190
2190
  field: {},
@@ -2194,7 +2194,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2194
2194
  emits: ["update:modelValue"],
2195
2195
  setup(e, { emit: t }) {
2196
2196
  let r = t, { t: i } = H();
2197
- return (t, a) => (s(), y(ca, {
2197
+ return (t, a) => (s(), y(sa, {
2198
2198
  label: e.field.label,
2199
2199
  required: e.field.required,
2200
2200
  "read-only": e.readOnly
@@ -2207,7 +2207,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2207
2207
  placeholder: e.field.placeholder,
2208
2208
  disabled: "",
2209
2209
  title: x(i).customBlocks.dataSource.readOnlyTooltip
2210
- }, null, 10, Ta)) : (s(), y($, {
2210
+ }, null, 10, wa)) : (s(), y($, {
2211
2211
  key: 1,
2212
2212
  "model-value": e.modelValue,
2213
2213
  placeholder: e.field.placeholder,
@@ -2220,12 +2220,12 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2220
2220
  "read-only"
2221
2221
  ]));
2222
2222
  }
2223
- }), Da = [
2223
+ }), Ea = [
2224
2224
  "value",
2225
2225
  "placeholder",
2226
2226
  "title"
2227
- ], Oa = "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", ka = {
2228
- text: Ea,
2227
+ ], Da = "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", Oa = {
2228
+ text: Ta,
2229
2229
  textarea: /* @__PURE__ */ f({
2230
2230
  __name: "TextareaField",
2231
2231
  props: {
@@ -2236,7 +2236,7 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2236
2236
  emits: ["update:modelValue"],
2237
2237
  setup(e, { emit: t }) {
2238
2238
  let r = t, { t: i } = H();
2239
- return (t, a) => (s(), y(ca, {
2239
+ return (t, a) => (s(), y(sa, {
2240
2240
  label: e.field.label,
2241
2241
  required: e.field.required,
2242
2242
  "read-only": e.readOnly
@@ -2248,8 +2248,8 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2248
2248
  rows: "3",
2249
2249
  disabled: "",
2250
2250
  title: x(i).customBlocks.dataSource.readOnlyTooltip,
2251
- class: n(Oa)
2252
- }, null, 8, Da)) : (s(), y(or, {
2251
+ class: n(Da)
2252
+ }, null, 8, Ea)) : (s(), y(ar, {
2253
2253
  key: 1,
2254
2254
  "model-value": e.modelValue,
2255
2255
  placeholder: e.field.placeholder,
@@ -2263,88 +2263,88 @@ var Vn = ["aria-label", "onKeydown"], Hn = ["data-tooltip"], Un = ["data-tooltip
2263
2263
  ]));
2264
2264
  }
2265
2265
  }),
2266
- image: pa,
2267
- color: la,
2268
- number: ha,
2269
- select: wa,
2270
- boolean: aa,
2271
- repeatable: xa
2266
+ image: fa,
2267
+ color: ca,
2268
+ number: ma,
2269
+ select: Ca,
2270
+ boolean: ia,
2271
+ repeatable: ba
2272
2272
  };
2273
- function Aa(e) {
2274
- return ka[e] ?? Ea;
2273
+ function ka(e) {
2274
+ return Oa[e] ?? Ta;
2275
2275
  }
2276
2276
  //#endregion
2277
2277
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
2278
- var ja = {
2278
+ var Aa = {
2279
2279
  key: 0,
2280
2280
  class: "tpl:p-4"
2281
- }, Ma = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Na = { key: 1 }, Pa = {
2281
+ }, ja = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ma = { key: 1 }, Na = {
2282
2282
  key: 0,
2283
2283
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
2284
- }, Fa = {
2284
+ }, Pa = {
2285
2285
  key: 1,
2286
2286
  class: "tpl:mb-4"
2287
- }, Ia = {
2287
+ }, Fa = {
2288
2288
  key: 1,
2289
2289
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
2290
- }, La = {
2290
+ }, Ia = {
2291
2291
  key: 0,
2292
2292
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2293
- }, Ra = {
2293
+ }, La = {
2294
2294
  key: 2,
2295
2295
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
2296
- }, za = /* @__PURE__ */ f({
2296
+ }, Ra = /* @__PURE__ */ f({
2297
2297
  __name: "CustomBlockToolbar",
2298
2298
  props: { block: {} },
2299
2299
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2300
2300
  setup(t, { emit: n }) {
2301
- let r = t, i = n, { t: a } = H(), l = D(Ze, []), u = w(() => l.find((e) => e.type === r.block.customType)), { isFetching: d, fetchError: f, fetch: h, hasDataSource: _, needsFetch: v } = se({
2301
+ let r = t, i = n, { t: a } = H(), l = D(Ze, []), u = w(() => l.find((e) => e.type === r.block.customType)), d = w(() => r.block), { isFetching: f, fetchError: h, fetch: _, hasDataSource: v, needsFetch: S } = se({
2302
2302
  definition: u,
2303
- block: w(() => r.block),
2303
+ block: d,
2304
2304
  onUpdate: (e, t) => {
2305
2305
  i("updateFieldValues", e), i("updateDataSourceFetched", t);
2306
2306
  }
2307
2307
  });
2308
- function S(e) {
2309
- return e.readOnly === !0 && _.value && !!r.block.dataSourceFetched;
2308
+ function E(e) {
2309
+ return e.readOnly === !0 && v.value && !!r.block.dataSourceFetched;
2310
2310
  }
2311
- function E(e, t) {
2311
+ function O(e, t) {
2312
2312
  i("updateFieldValues", {
2313
2313
  ...r.block.fieldValues,
2314
2314
  [e]: t
2315
2315
  });
2316
2316
  }
2317
- return (n, r) => u.value ? (s(), m("div", Na, [
2318
- u.value.description ? (s(), m("p", Pa, c(u.value.description), 1)) : T("", !0),
2319
- x(_) ? (s(), m("div", Fa, [x(v) && !x(d) ? (s(), m("button", {
2317
+ return (n, r) => u.value ? (s(), m("div", Ma, [
2318
+ u.value.description ? (s(), m("p", Na, c(u.value.description), 1)) : T("", !0),
2319
+ x(v) ? (s(), m("div", Pa, [x(S) && !x(f) ? (s(), m("button", {
2320
2320
  key: 0,
2321
2321
  type: "button",
2322
2322
  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)]",
2323
- onClick: r[0] ||= (...e) => x(h) && x(h)(...e)
2324
- }, c(u.value?.dataSource?.label || x(a).customBlocks.dataSource.fetchButton), 1)) : (s(), m("div", Ia, [x(d) ? (s(), m("div", La, c(x(a).customBlocks.dataSource.fetching), 1)) : (s(), m("button", {
2323
+ onClick: r[0] ||= (...e) => x(_) && x(_)(...e)
2324
+ }, c(u.value?.dataSource?.label || x(a).customBlocks.dataSource.fetchButton), 1)) : (s(), m("div", Fa, [x(f) ? (s(), m("div", Ia, c(x(a).customBlocks.dataSource.fetching), 1)) : (s(), m("button", {
2325
2325
  key: 1,
2326
2326
  type: "button",
2327
2327
  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)]",
2328
- onClick: r[1] ||= (...e) => x(h) && x(h)(...e)
2329
- }, [g(x(vt), { size: 12 }), b(" " + c(x(a).customBlocks.dataSource.changeButton), 1)]))])), x(f) ? (s(), m("p", Ra, [g(x(ft), {
2328
+ onClick: r[1] ||= (...e) => x(_) && x(_)(...e)
2329
+ }, [g(x(vt), { size: 12 }), b(" " + c(x(a).customBlocks.dataSource.changeButton), 1)]))])), x(h) ? (s(), m("p", La, [g(x(ft), {
2330
2330
  size: 14,
2331
2331
  class: "tpl:shrink-0"
2332
2332
  }), b(" " + c(x(a).customBlocks.dataSource.fetchError), 1)])) : T("", !0)])) : T("", !0),
2333
- (s(!0), m(C, null, e(u.value.fields, (e) => (s(), y(o(x(Aa)(e.type)), {
2333
+ (s(!0), m(C, null, e(u.value.fields, (e) => (s(), y(o(x(ka)(e.type)), {
2334
2334
  key: e.key,
2335
2335
  field: e,
2336
2336
  "model-value": t.block.fieldValues[e.key],
2337
- "read-only": S(e),
2338
- "onUpdate:modelValue": (t) => E(e.key, t)
2337
+ "read-only": E(e),
2338
+ "onUpdate:modelValue": (t) => O(e.key, t)
2339
2339
  }, null, 8, [
2340
2340
  "field",
2341
2341
  "model-value",
2342
2342
  "read-only",
2343
2343
  "onUpdate:modelValue"
2344
2344
  ]))), 128))
2345
- ])) : (s(), m("div", ja, [p("p", Ma, c(x(a).customBlocks.toolbar.noDefinition), 1)]));
2345
+ ])) : (s(), m("div", Aa, [p("p", ja, c(x(a).customBlocks.toolbar.noDefinition), 1)]));
2346
2346
  }
2347
- }), Ba = { class: "tpl:mb-3.5" }, Va = { class: "tpl:mb-3.5" }, Ha = { class: "tpl:mb-3.5" }, Ua = { class: "tpl:flex tpl:items-stretch" }, Wa = ["value"], Ga = /* @__PURE__ */ f({
2347
+ }), za = { class: "tpl:mb-3.5" }, Ba = { class: "tpl:mb-3.5" }, Va = { class: "tpl:mb-3.5" }, Ha = { class: "tpl:flex tpl:items-stretch" }, Ua = ["value"], Wa = /* @__PURE__ */ f({
2348
2348
  __name: "DividerToolbar",
2349
2349
  props: { block: {} },
2350
2350
  emits: ["update"],
@@ -2354,7 +2354,7 @@ var ja = {
2354
2354
  r("update", { [e]: t });
2355
2355
  }
2356
2356
  return (t, r) => (s(), m(C, null, [
2357
- p("div", Ba, [p("label", { class: n(x(G)) }, c(x(i).divider.style), 3), g(Z, {
2357
+ p("div", za, [p("label", { class: n(x(G)) }, c(x(i).divider.style), 3), g(Z, {
2358
2358
  options: [
2359
2359
  {
2360
2360
  value: "solid",
@@ -2372,27 +2372,27 @@ var ja = {
2372
2372
  "model-value": e.block.lineStyle,
2373
2373
  "onUpdate:modelValue": r[0] ||= (e) => a("lineStyle", e)
2374
2374
  }, null, 8, ["options", "model-value"])]),
2375
- p("div", Va, [p("label", { class: n(x(G)) }, c(x(i).divider.color), 3), g(J, {
2375
+ p("div", Ba, [p("label", { class: n(x(G)) }, c(x(i).divider.color), 3), g(J, {
2376
2376
  "model-value": e.block.color,
2377
2377
  "onUpdate:modelValue": r[1] ||= (e) => a("color", e)
2378
2378
  }, null, 8, ["model-value"])]),
2379
- p("div", Ha, [p("label", { class: n(x(G)) }, c(x(i).divider.thickness), 3), p("div", Ua, [p("input", {
2379
+ p("div", Va, [p("label", { class: n(x(G)) }, c(x(i).divider.thickness), 3), p("div", Ha, [p("input", {
2380
2380
  type: "number",
2381
2381
  class: n(x(q)),
2382
2382
  value: e.block.thickness,
2383
2383
  min: "1",
2384
2384
  max: "10",
2385
2385
  onInput: r[2] ||= (e) => a("thickness", Number(e.target.value))
2386
- }, null, 42, Wa), p("span", { class: n(x(K)) }, "px", 2)])])
2386
+ }, null, 42, Ua), p("span", { class: n(x(K)) }, "px", 2)])])
2387
2387
  ], 64));
2388
2388
  }
2389
- }), Ka = { class: "tpl:mb-3.5" }, qa = ["value"], Ja = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, Ya = /* @__PURE__ */ f({
2389
+ }), Ga = { class: "tpl:mb-3.5" }, Ka = ["value"], qa = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, Ja = /* @__PURE__ */ f({
2390
2390
  __name: "HtmlToolbar",
2391
2391
  props: { block: {} },
2392
2392
  emits: ["update"],
2393
2393
  setup(e, { emit: t }) {
2394
2394
  let r = t, { t: i } = H();
2395
- return (t, a) => (s(), m("div", Ka, [
2395
+ return (t, a) => (s(), m("div", Ga, [
2396
2396
  p("label", { class: n(x(G)) }, c(x(i).html.content), 3),
2397
2397
  p("textarea", {
2398
2398
  value: e.block.content,
@@ -2400,24 +2400,24 @@ var ja = {
2400
2400
  rows: "10",
2401
2401
  class: n(x(zt)),
2402
2402
  onInput: a[0] ||= (e) => r("update", { content: e.target.value })
2403
- }, null, 42, qa),
2404
- p("p", Ja, [g(x(bt), {
2403
+ }, null, 42, Ka),
2404
+ p("p", qa, [g(x(bt), {
2405
2405
  size: 12,
2406
2406
  class: "tpl:mt-0.5 tpl:shrink-0"
2407
2407
  }), b(" " + c(x(i).html.sanitizationHint), 1)])
2408
2408
  ]));
2409
2409
  }
2410
- }), Xa = { class: "tpl:mb-3.5" }, Za = {
2410
+ }), Ya = { class: "tpl:mb-3.5" }, Xa = {
2411
2411
  key: 0,
2412
2412
  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)]",
2413
2413
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
2414
- }, Qa = {
2414
+ }, Za = {
2415
2415
  key: 0,
2416
2416
  class: "tpl:mb-3.5"
2417
- }, $a = ["value", "placeholder"], eo = { class: "tpl:mb-3.5" }, to = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, no = { class: "tpl:mb-3.5" }, ro = ["value"], io = { value: "full" }, ao = { value: "custom" }, oo = {
2417
+ }, Qa = ["value", "placeholder"], $a = { class: "tpl:mb-3.5" }, eo = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, to = { class: "tpl:mb-3.5" }, no = ["value"], ro = { value: "full" }, io = { value: "custom" }, ao = {
2418
2418
  key: 0,
2419
2419
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2420
- }, so = ["value"], co = { class: "tpl:mb-3.5" }, lo = { class: "tpl:mb-3.5" }, uo = 350, fo = /* @__PURE__ */ f({
2420
+ }, oo = ["value"], so = { class: "tpl:mb-3.5" }, co = { class: "tpl:mb-3.5" }, lo = 350, uo = /* @__PURE__ */ f({
2421
2421
  __name: "ImageToolbar",
2422
2422
  props: { block: {} },
2423
2423
  emits: ["update"],
@@ -2438,7 +2438,7 @@ var ja = {
2438
2438
  function A(e) {
2439
2439
  if (e === "custom") {
2440
2440
  let e = r.block.width;
2441
- (typeof e != "number" || E.includes(e)) && k("width", uo);
2441
+ (typeof e != "number" || E.includes(e)) && k("width", lo);
2442
2442
  return;
2443
2443
  }
2444
2444
  k("width", e === "full" ? "full" : Number(e));
@@ -2473,12 +2473,12 @@ var ja = {
2473
2473
  onFiles: R
2474
2474
  });
2475
2475
  return (t, r) => (s(), m(C, null, [
2476
- p("div", Xa, [p("label", { class: n(x(G)) }, c(x(a).image.imageUrl), 3), p("div", {
2476
+ p("div", Ya, [p("label", { class: n(x(G)) }, c(x(a).image.imageUrl), 3), p("div", {
2477
2477
  ref_key: "dropZoneRef",
2478
2478
  ref: N,
2479
2479
  class: "tpl:relative"
2480
2480
  }, [
2481
- L.value && (x(z) || P.value) ? (s(), m("div", Za, [P.value ? (s(), m(C, { key: 0 }, [g(x(St), {
2481
+ L.value && (x(z) || P.value) ? (s(), m("div", Xa, [P.value ? (s(), m(C, { key: 0 }, [g(x(St), {
2482
2482
  class: "tpl-spinner",
2483
2483
  size: 18,
2484
2484
  "stroke-width": 2
@@ -2511,14 +2511,14 @@ var ja = {
2511
2511
  "stroke-width": 1.5
2512
2512
  }), b(" " + c(x(a).image.browseMedia), 1)])) : T("", !0)
2513
2513
  ], 512)]),
2514
- x(te)(e.block.src, x(u)) ? (s(), m("div", Qa, [p("label", { class: n(x(G)) }, [b(c(x(a).image.placeholderUrl) + " ", 1), r[9] ||= p("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, c("(optional)"), -1)], 2), p("input", {
2514
+ x(te)(e.block.src, x(u)) ? (s(), m("div", Za, [p("label", { class: n(x(G)) }, [b(c(x(a).image.placeholderUrl) + " ", 1), r[9] ||= p("span", { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, c("(optional)"), -1)], 2), p("input", {
2515
2515
  type: "url",
2516
2516
  class: n(x(W)),
2517
2517
  value: e.block.placeholderUrl || "",
2518
2518
  placeholder: x(a).image.placeholderUrlPlaceholder,
2519
2519
  onInput: r[1] ||= (e) => k("placeholderUrl", e.target.value)
2520
- }, null, 42, $a)])) : T("", !0),
2521
- p("div", eo, [
2520
+ }, null, 42, Qa)])) : T("", !0),
2521
+ p("div", $a, [
2522
2522
  p("label", { class: n(x(G)) }, c(x(a).image.altText), 3),
2523
2523
  g($, {
2524
2524
  "model-value": e.block.alt,
@@ -2539,32 +2539,32 @@ var ja = {
2539
2539
  label: x(a).image.decorative,
2540
2540
  "onUpdate:modelValue": r[3] ||= (e) => k("decorative", e)
2541
2541
  }, {
2542
- default: l(() => [p("span", null, [b(c(x(a).image.decorative) + " ", 1), p("span", to, c(x(a).image.decorativeHint), 1)])]),
2542
+ default: l(() => [p("span", null, [b(c(x(a).image.decorative) + " ", 1), p("span", eo, c(x(a).image.decorativeHint), 1)])]),
2543
2543
  _: 1
2544
2544
  }, 8, ["model-value", "label"])
2545
2545
  ]),
2546
- p("div", no, [
2546
+ p("div", to, [
2547
2547
  p("label", { class: n(x(G)) }, c(x(a).image.width), 3),
2548
2548
  p("select", {
2549
2549
  class: n(x(W)),
2550
2550
  value: O.value,
2551
2551
  onChange: r[4] ||= (e) => A(e.target.value)
2552
2552
  }, [
2553
- p("option", io, c(x(a).image.fullWidth), 1),
2553
+ p("option", ro, c(x(a).image.fullWidth), 1),
2554
2554
  r[10] ||= p("option", { value: "300" }, "300px", -1),
2555
2555
  r[11] ||= p("option", { value: "400" }, "400px", -1),
2556
2556
  r[12] ||= p("option", { value: "500" }, "500px", -1),
2557
- p("option", ao, c(x(a).image.widthCustom), 1)
2558
- ], 42, ro),
2559
- O.value === "custom" ? (s(), m("div", oo, [p("input", {
2557
+ p("option", io, c(x(a).image.widthCustom), 1)
2558
+ ], 42, no),
2559
+ O.value === "custom" ? (s(), m("div", ao, [p("input", {
2560
2560
  type: "number",
2561
2561
  class: n(x(q)),
2562
- value: typeof e.block.width == "number" ? e.block.width : uo,
2562
+ value: typeof e.block.width == "number" ? e.block.width : lo,
2563
2563
  min: "20",
2564
2564
  onInput: r[5] ||= (e) => j(e.target.value)
2565
- }, null, 42, so), p("span", { class: n(x(K)) }, "px", 2)])) : T("", !0)
2565
+ }, null, 42, oo), p("span", { class: n(x(K)) }, "px", 2)])) : T("", !0)
2566
2566
  ]),
2567
- p("div", co, [p("label", { class: n(x(G)) }, c(x(a).title.align), 3), g(Z, {
2567
+ p("div", so, [p("label", { class: n(x(G)) }, c(x(a).title.align), 3), g(Z, {
2568
2568
  options: [
2569
2569
  {
2570
2570
  value: "left",
@@ -2582,7 +2582,7 @@ var ja = {
2582
2582
  "model-value": e.block.align,
2583
2583
  "onUpdate:modelValue": r[6] ||= (e) => k("align", e)
2584
2584
  }, null, 8, ["options", "model-value"])]),
2585
- p("div", lo, [
2585
+ p("div", co, [
2586
2586
  p("label", { class: n(x(G)) }, c(x(a).image.linkUrl), 3),
2587
2587
  g($, {
2588
2588
  "model-value": e.block.linkUrl || "",
@@ -2600,11 +2600,11 @@ var ja = {
2600
2600
  ])
2601
2601
  ], 64));
2602
2602
  }
2603
- }), po = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, mo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ho = [
2603
+ }), fo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, po = { class: "tpl:flex tpl:items-center tpl:gap-2" }, mo = [
2604
2604
  "value",
2605
2605
  "placeholder",
2606
2606
  "onInput"
2607
- ], go = ["title", "onClick"], _o = { 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)]" }, vo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, yo = ["value"], bo = { value: "" }, xo = ["value"], So = ["value"], Co = /* @__PURE__ */ f({
2607
+ ], ho = ["title", "onClick"], go = { 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)]" }, _o = { class: "tpl:flex tpl:items-center tpl:gap-2" }, vo = ["value"], yo = { value: "" }, bo = ["value"], xo = ["value"], So = /* @__PURE__ */ f({
2608
2608
  __name: "MenuToolbar",
2609
2609
  props: {
2610
2610
  block: {},
@@ -2668,24 +2668,24 @@ var ja = {
2668
2668
  }
2669
2669
  return (r, i) => (s(), m(C, null, [
2670
2670
  g(X, { label: x(o).menu.items }, {
2671
- default: l(() => [p("div", po, [(s(!0), m(C, null, e(t.block.items, (r) => (s(), m("div", {
2671
+ default: l(() => [p("div", fo, [(s(!0), m(C, null, e(t.block.items, (r) => (s(), m("div", {
2672
2672
  key: r.id,
2673
2673
  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"
2674
2674
  }, [
2675
- p("div", mo, [p("input", {
2675
+ p("div", po, [p("input", {
2676
2676
  type: "text",
2677
2677
  class: n([x(W), "tpl:flex-1"]),
2678
2678
  value: r.text,
2679
2679
  placeholder: x(o).menu.text,
2680
2680
  onInput: (e) => _(r.id, "text", e.target.value)
2681
- }, null, 42, ho), p("button", {
2681
+ }, null, 42, mo), p("button", {
2682
2682
  class: n(x(Rt)),
2683
2683
  title: x(o).menu.removeItem,
2684
2684
  onClick: (e) => v(r.id)
2685
2685
  }, [g(x(At), {
2686
2686
  size: 14,
2687
2687
  "stroke-width": 2
2688
- })], 10, go)]),
2688
+ })], 10, ho)]),
2689
2689
  g($, {
2690
2690
  "model-value": r.url,
2691
2691
  type: "url",
@@ -2696,7 +2696,7 @@ var ja = {
2696
2696
  "placeholder",
2697
2697
  "onUpdate:modelValue"
2698
2698
  ]),
2699
- p("div", _o, [(s(!0), m(C, null, e(u.value, (e) => (s(), y(Y, {
2699
+ p("div", go, [(s(!0), m(C, null, e(u.value, (e) => (s(), y(Y, {
2700
2700
  key: e.key,
2701
2701
  "model-value": r[e.key],
2702
2702
  label: e.label,
@@ -2706,7 +2706,7 @@ var ja = {
2706
2706
  "label",
2707
2707
  "onUpdate:modelValue"
2708
2708
  ]))), 128))]),
2709
- p("div", vo, [p("label", { class: n([x(G), "tpl:!mb-0"]) }, c(x(o).menu.color), 3), g(J, {
2709
+ p("div", _o, [p("label", { class: n([x(G), "tpl:!mb-0"]) }, c(x(o).menu.color), 3), g(J, {
2710
2710
  "swatch-only": "",
2711
2711
  "model-value": r.color || t.block.linkColor || t.block.color || "",
2712
2712
  "onUpdate:modelValue": (e) => _(r.id, "color", e)
@@ -2725,10 +2725,10 @@ var ja = {
2725
2725
  class: n(x(W)),
2726
2726
  value: t.block.fontFamily || "",
2727
2727
  onChange: i[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2728
- }, [p("option", bo, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
2728
+ }, [p("option", yo, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
2729
2729
  key: e.value,
2730
2730
  value: e.value
2731
- }, c(e.label), 9, xo))), 128))], 42, yo)]),
2731
+ }, c(e.label), 9, bo))), 128))], 42, vo)]),
2732
2732
  _: 1
2733
2733
  }, 8, ["label"]),
2734
2734
  g(X, { label: x(o).menu.fontSize }, {
@@ -2769,7 +2769,7 @@ var ja = {
2769
2769
  class: n(x(W)),
2770
2770
  value: t.block.separator,
2771
2771
  onInput: i[5] ||= (e) => f("separator", e.target.value)
2772
- }, null, 42, So)]),
2772
+ }, null, 42, xo)]),
2773
2773
  _: 1
2774
2774
  }, 8, ["label"]),
2775
2775
  g(X, { label: x(o).menu.separatorColor }, {
@@ -2794,11 +2794,11 @@ var ja = {
2794
2794
  });
2795
2795
  //#endregion
2796
2796
  //#region src/utils/rebalanceColumnChildren.ts
2797
- function wo(e) {
2797
+ function Co(e) {
2798
2798
  return e === "1" ? 1 : e === "3" ? 3 : 2;
2799
2799
  }
2800
- function To(e, t) {
2801
- let n = wo(t);
2800
+ function wo(e, t) {
2801
+ let n = Co(t);
2802
2802
  if (e.length === n) return e;
2803
2803
  if (e.length < n) {
2804
2804
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2809,13 +2809,13 @@ function To(e, t) {
2809
2809
  }
2810
2810
  //#endregion
2811
2811
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
2812
- var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
2812
+ var To = { class: "tpl:mb-3.5" }, Eo = ["value"], Do = ["value"], Oo = {
2813
2813
  key: 0,
2814
2814
  class: "tpl:mb-3.5"
2815
- }, Ao = { class: "tpl:mb-3.5" }, jo = { class: "tpl:flex tpl:items-stretch" }, Mo = ["value"], No = { class: "tpl:mb-3.5" }, Po = {
2815
+ }, ko = { class: "tpl:mb-3.5" }, Ao = { class: "tpl:flex tpl:items-stretch" }, jo = ["value"], Mo = { class: "tpl:mb-3.5" }, No = {
2816
2816
  key: 0,
2817
2817
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
2818
- }, Fo = { class: "tpl:flex tpl:items-stretch" }, Io = ["value"], Lo = /* @__PURE__ */ f({
2818
+ }, Po = { class: "tpl:flex tpl:items-stretch" }, Fo = ["value"], Io = /* @__PURE__ */ f({
2819
2819
  __name: "SectionToolbar",
2820
2820
  props: { block: {} },
2821
2821
  emits: ["update"],
@@ -2843,7 +2843,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
2843
2843
  }
2844
2844
  ]);
2845
2845
  function u(e) {
2846
- let t = e.target.value, n = To(i.block.children, t);
2846
+ let t = e.target.value, n = wo(i.block.children, t);
2847
2847
  a("update", {
2848
2848
  columns: t,
2849
2849
  children: n
@@ -2877,39 +2877,39 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
2877
2877
  _({ borderRadius: Number(e.target.value) });
2878
2878
  }
2879
2879
  return (r, i) => (s(), m(C, null, [
2880
- p("div", Eo, [p("label", { class: n(x(G)) }, c(x(o).section.columns), 3), p("select", {
2880
+ p("div", To, [p("label", { class: n(x(G)) }, c(x(o).section.columns), 3), p("select", {
2881
2881
  class: n(x(W)),
2882
2882
  value: t.block.columns,
2883
2883
  onChange: u
2884
2884
  }, [(s(!0), m(C, null, e(l.value, (e) => (s(), m("option", {
2885
2885
  key: e.value,
2886
2886
  value: e.value
2887
- }, c(e.label), 9, Oo))), 128))], 42, Do)]),
2888
- t.block.columns === "1" ? T("", !0) : (s(), m("div", ko, [g(Y, {
2887
+ }, c(e.label), 9, Do))), 128))], 42, Eo)]),
2888
+ t.block.columns === "1" ? T("", !0) : (s(), m("div", Oo, [g(Y, {
2889
2889
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2890
2890
  "model-value": t.block.stackOnMobile !== !1,
2891
2891
  label: x(o).section.stackOnMobile,
2892
2892
  "onUpdate:modelValue": i[0] ||= (e) => d(e)
2893
2893
  }, null, 8, ["model-value", "label"])])),
2894
- p("div", Ao, [p("label", { class: n(x(G)) }, c(x(o).section.borderRadius), 3), p("div", jo, [p("input", {
2894
+ p("div", ko, [p("label", { class: n(x(G)) }, c(x(o).section.borderRadius), 3), p("div", Ao, [p("input", {
2895
2895
  type: "number",
2896
2896
  class: n(x(q)),
2897
2897
  value: t.block.borderRadius ?? 0,
2898
2898
  min: "0",
2899
2899
  max: "50",
2900
2900
  onInput: f
2901
- }, null, 42, Mo), p("span", { class: n(x(K)) }, "px", 2)])]),
2902
- p("div", No, [g(Y, {
2901
+ }, null, 42, jo), p("span", { class: n(x(K)) }, "px", 2)])]),
2902
+ p("div", Mo, [g(Y, {
2903
2903
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
2904
2904
  "model-value": !!t.block.wrapper,
2905
2905
  label: x(o).section.wrapperEnable,
2906
2906
  "onUpdate:modelValue": i[1] ||= (e) => h(e)
2907
- }, null, 8, ["model-value", "label"]), t.block.wrapper ? (s(), m("div", Po, [
2907
+ }, null, 8, ["model-value", "label"]), t.block.wrapper ? (s(), m("div", No, [
2908
2908
  p("div", null, [p("label", { class: n(x(G)) }, c(x(o).blockSettings.color), 3), g(J, {
2909
2909
  "model-value": t.block.wrapper.backgroundColor ?? "",
2910
2910
  "onUpdate:modelValue": i[2] ||= (e) => _({ backgroundColor: e })
2911
2911
  }, null, 8, ["model-value"])]),
2912
- g(Ii, {
2912
+ g(Fi, {
2913
2913
  label: x(o).blockSettings.padding,
2914
2914
  "model-value": t.block.wrapper.padding ?? {
2915
2915
  top: 0,
@@ -2919,18 +2919,18 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
2919
2919
  },
2920
2920
  "onUpdate:modelValue": v
2921
2921
  }, null, 8, ["label", "model-value"]),
2922
- p("div", null, [p("label", { class: n(x(G)) }, c(x(o).section.borderRadius), 3), p("div", Fo, [p("input", {
2922
+ p("div", null, [p("label", { class: n(x(G)) }, c(x(o).section.borderRadius), 3), p("div", Po, [p("input", {
2923
2923
  type: "number",
2924
2924
  class: n(x(q)),
2925
2925
  value: t.block.wrapper.borderRadius ?? 0,
2926
2926
  min: "0",
2927
2927
  max: "50",
2928
2928
  onInput: y
2929
- }, null, 42, Io), p("span", { class: n(x(K)) }, "px", 2)])])
2929
+ }, null, 42, Fo), p("span", { class: n(x(K)) }, "px", 2)])])
2930
2930
  ])) : T("", !0)])
2931
2931
  ], 64));
2932
2932
  }
2933
- }), Ro = { class: "tpl:mb-3.5" }, zo = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Bo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Vo = ["value", "onChange"], Ho = ["value"], Uo = ["title", "onClick"], Wo = { class: "tpl:mb-3.5" }, Go = ["value"], Ko = { value: "solid" }, qo = { value: "outlined" }, Jo = { value: "rounded" }, Yo = { value: "square" }, Xo = { value: "circle" }, Zo = { class: "tpl:mb-3.5" }, Qo = { class: "tpl:mb-3.5" }, $o = { class: "tpl:flex tpl:items-stretch" }, es = ["value"], ts = { class: "tpl:mb-3.5" }, ns = /* @__PURE__ */ f({
2933
+ }), Lo = { class: "tpl:mb-3.5" }, Ro = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, zo = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Bo = ["value", "onChange"], Vo = ["value"], Ho = ["title", "onClick"], Uo = { class: "tpl:mb-3.5" }, Wo = ["value"], Go = { value: "solid" }, Ko = { value: "outlined" }, qo = { value: "rounded" }, Jo = { value: "square" }, Yo = { value: "circle" }, Xo = { class: "tpl:mb-3.5" }, Zo = { class: "tpl:mb-3.5" }, Qo = { class: "tpl:flex tpl:items-stretch" }, $o = ["value"], es = { class: "tpl:mb-3.5" }, ts = /* @__PURE__ */ f({
2934
2934
  __name: "SocialToolbar",
2935
2935
  props: { block: {} },
2936
2936
  emits: ["update"],
@@ -2958,10 +2958,10 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
2958
2958
  a("update", { icons: i.block.icons.filter((t) => t.id !== e) });
2959
2959
  }
2960
2960
  return (r, i) => (s(), m(C, null, [
2961
- p("div", Ro, [p("label", { class: n(x(G)) }, c(x(o).social.icons), 3), p("div", zo, [(s(!0), m(C, null, e(t.block.icons, (t) => (s(), m("div", {
2961
+ p("div", Lo, [p("label", { class: n(x(G)) }, c(x(o).social.icons), 3), p("div", Ro, [(s(!0), m(C, null, e(t.block.icons, (t) => (s(), m("div", {
2962
2962
  key: t.id,
2963
2963
  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"
2964
- }, [p("div", Bo, [p("select", {
2964
+ }, [p("div", zo, [p("select", {
2965
2965
  "data-testid": "social-platform-select",
2966
2966
  class: n([x(W), "tpl:flex-1"]),
2967
2967
  value: t.platform,
@@ -2969,14 +2969,14 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
2969
2969
  }, [(s(!0), m(C, null, e(x(Te), (e) => (s(), m("option", {
2970
2970
  key: e,
2971
2971
  value: e
2972
- }, c(x(o).social.platforms[e]), 9, Ho))), 128))], 42, Vo), p("button", {
2972
+ }, c(x(o).social.platforms[e]), 9, Vo))), 128))], 42, Bo), p("button", {
2973
2973
  class: n(x(Rt)),
2974
2974
  title: x(o).social.removeIcon,
2975
2975
  onClick: (e) => f(t.id)
2976
2976
  }, [g(x(At), {
2977
2977
  size: 14,
2978
2978
  "stroke-width": 2
2979
- })], 10, Uo)]), g($, {
2979
+ })], 10, Ho)]), g($, {
2980
2980
  "model-value": t.url,
2981
2981
  type: "url",
2982
2982
  placeholder: x(o).social.urlPlaceholder,
@@ -2992,18 +2992,18 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
2992
2992
  size: 14,
2993
2993
  "stroke-width": 2
2994
2994
  }), b(" " + c(x(o).social.addIcon), 1)], 2)])]),
2995
- p("div", Wo, [p("label", { class: n(x(G)) }, c(x(o).social.style), 3), p("select", {
2995
+ p("div", Uo, [p("label", { class: n(x(G)) }, c(x(o).social.style), 3), p("select", {
2996
2996
  class: n(x(W)),
2997
2997
  value: t.block.iconStyle,
2998
2998
  onChange: i[0] ||= (e) => l("iconStyle", e.target.value)
2999
2999
  }, [
3000
- p("option", Ko, c(x(o).social.styleSolid), 1),
3001
- p("option", qo, c(x(o).social.styleOutlined), 1),
3002
- p("option", Jo, c(x(o).social.styleRounded), 1),
3003
- p("option", Yo, c(x(o).social.styleSquare), 1),
3004
- p("option", Xo, c(x(o).social.styleCircle), 1)
3005
- ], 42, Go)]),
3006
- p("div", Zo, [p("label", { class: n(x(G)) }, c(x(o).social.size), 3), g(Z, {
3000
+ p("option", Go, c(x(o).social.styleSolid), 1),
3001
+ p("option", Ko, c(x(o).social.styleOutlined), 1),
3002
+ p("option", qo, c(x(o).social.styleRounded), 1),
3003
+ p("option", Jo, c(x(o).social.styleSquare), 1),
3004
+ p("option", Yo, c(x(o).social.styleCircle), 1)
3005
+ ], 42, Wo)]),
3006
+ p("div", Xo, [p("label", { class: n(x(G)) }, c(x(o).social.size), 3), g(Z, {
3007
3007
  options: [
3008
3008
  {
3009
3009
  value: "small",
@@ -3021,15 +3021,15 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3021
3021
  "model-value": t.block.iconSize,
3022
3022
  "onUpdate:modelValue": i[1] ||= (e) => l("iconSize", e)
3023
3023
  }, null, 8, ["options", "model-value"])]),
3024
- p("div", Qo, [p("label", { class: n(x(G)) }, c(x(o).social.spacing), 3), p("div", $o, [p("input", {
3024
+ p("div", Zo, [p("label", { class: n(x(G)) }, c(x(o).social.spacing), 3), p("div", Qo, [p("input", {
3025
3025
  type: "number",
3026
3026
  class: n(x(q)),
3027
3027
  value: t.block.spacing,
3028
3028
  min: "0",
3029
3029
  max: "50",
3030
3030
  onInput: i[2] ||= (e) => l("spacing", Number(e.target.value))
3031
- }, null, 42, es), p("span", { class: n(x(K)) }, "px", 2)])]),
3032
- p("div", ts, [p("label", { class: n(x(G)) }, c(x(o).social.align), 3), g(Z, {
3031
+ }, null, 42, $o), p("span", { class: n(x(K)) }, "px", 2)])]),
3032
+ p("div", es, [p("label", { class: n(x(G)) }, c(x(o).social.align), 3), g(Z, {
3033
3033
  options: [
3034
3034
  {
3035
3035
  value: "left",
@@ -3052,22 +3052,22 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3052
3052
  }, null, 8, ["options", "model-value"])])
3053
3053
  ], 64));
3054
3054
  }
3055
- }), rs = { class: "tpl:mb-3.5" }, is = { class: "tpl:flex tpl:items-stretch" }, as = ["value"], os = ["value"], ss = /* @__PURE__ */ f({
3055
+ }), ns = { class: "tpl:mb-3.5" }, rs = { class: "tpl:flex tpl:items-stretch" }, is = ["value"], as = ["value"], os = /* @__PURE__ */ f({
3056
3056
  __name: "SpacerToolbar",
3057
3057
  props: { block: {} },
3058
3058
  emits: ["update"],
3059
3059
  setup(e, { emit: t }) {
3060
3060
  let r = t, { t: i } = H();
3061
- return (t, a) => (s(), m("div", rs, [
3061
+ return (t, a) => (s(), m("div", ns, [
3062
3062
  p("label", { class: n(x(G)) }, c(x(i).spacer.height), 3),
3063
- p("div", is, [p("input", {
3063
+ p("div", rs, [p("input", {
3064
3064
  type: "number",
3065
3065
  class: n(x(q)),
3066
3066
  value: e.block.height,
3067
3067
  min: "10",
3068
3068
  max: "100",
3069
3069
  onInput: a[0] ||= (e) => r("update", { height: Number(e.target.value) })
3070
- }, null, 42, as), p("span", { class: n(x(K)) }, "px", 2)]),
3070
+ }, null, 42, is), p("span", { class: n(x(K)) }, "px", 2)]),
3071
3071
  p("input", {
3072
3072
  type: "range",
3073
3073
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -3075,13 +3075,13 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3075
3075
  min: "10",
3076
3076
  max: "100",
3077
3077
  onInput: a[1] ||= (e) => r("update", { height: Number(e.target.value) })
3078
- }, null, 40, os)
3078
+ }, null, 40, as)
3079
3079
  ]));
3080
3080
  }
3081
- }), cs = { class: "tpl:mb-3.5" }, ls = { class: "tpl:flex tpl:items-center tpl:gap-3" }, us = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ds = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, fs = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ps = ["disabled"], ms = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, hs = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, gs = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, _s = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, vs = ["disabled"], ys = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, bs = { class: "tpl:mb-3.5" }, xs = {
3081
+ }), ss = { class: "tpl:mb-3.5" }, cs = { class: "tpl:flex tpl:items-center tpl:gap-3" }, ls = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, us = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ds = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, fs = ["disabled"], ps = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ms = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, hs = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, gs = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, _s = ["disabled"], vs = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ys = { class: "tpl:mb-3.5" }, bs = {
3082
3082
  key: 0,
3083
3083
  class: "tpl:mb-3.5"
3084
- }, Ss = { class: "tpl:mb-3.5" }, Cs = { class: "tpl:mb-3.5" }, ws = { class: "tpl:flex tpl:items-stretch" }, Ts = ["value"], Es = { class: "tpl:mb-3.5" }, Ds = { class: "tpl:flex tpl:items-stretch" }, Os = ["value"], ks = { class: "tpl:mb-3.5" }, As = ["value"], js = { value: "" }, Ms = ["value"], Ns = { class: "tpl:mb-3.5" }, Ps = { class: "tpl:flex tpl:items-stretch" }, Fs = ["value"], Is = { class: "tpl:mb-3.5" }, Ls = { class: "tpl:mb-3.5" }, Rs = /* @__PURE__ */ f({
3084
+ }, xs = { class: "tpl:mb-3.5" }, Ss = { class: "tpl:mb-3.5" }, Cs = { class: "tpl:flex tpl:items-stretch" }, ws = ["value"], Ts = { class: "tpl:mb-3.5" }, Es = { class: "tpl:flex tpl:items-stretch" }, Ds = ["value"], Os = { class: "tpl:mb-3.5" }, ks = ["value"], As = { value: "" }, js = ["value"], Ms = { class: "tpl:mb-3.5" }, Ns = { class: "tpl:flex tpl:items-stretch" }, Ps = ["value"], Fs = { class: "tpl:mb-3.5" }, Is = { class: "tpl:mb-3.5" }, Ls = /* @__PURE__ */ f({
3085
3085
  __name: "TableToolbar",
3086
3086
  props: {
3087
3087
  block: {},
@@ -3124,7 +3124,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3124
3124
  a("update", { rows: t });
3125
3125
  }
3126
3126
  return (r, i) => (s(), m(C, null, [
3127
- p("div", cs, [p("label", { class: n(x(G)) }, c(x(o).table.dimensions), 3), p("div", ls, [p("div", us, [p("span", ds, c(x(o).table.rows), 1), p("div", fs, [
3127
+ p("div", ss, [p("label", { class: n(x(G)) }, c(x(o).table.dimensions), 3), p("div", cs, [p("div", ls, [p("span", us, c(x(o).table.rows), 1), p("div", ds, [
3128
3128
  p("button", {
3129
3129
  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",
3130
3130
  disabled: t.block.rows.length <= 1,
@@ -3132,8 +3132,8 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3132
3132
  }, [g(x(pt), {
3133
3133
  size: 12,
3134
3134
  "stroke-width": 2
3135
- })], 8, ps),
3136
- p("span", ms, c(t.block.rows.length), 1),
3135
+ })], 8, fs),
3136
+ p("span", ps, c(t.block.rows.length), 1),
3137
3137
  p("button", {
3138
3138
  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)]",
3139
3139
  onClick: d
@@ -3141,7 +3141,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3141
3141
  size: 12,
3142
3142
  "stroke-width": 2
3143
3143
  })])
3144
- ])]), p("div", hs, [p("span", gs, c(x(o).table.columns), 1), p("div", _s, [
3144
+ ])]), p("div", ms, [p("span", hs, c(x(o).table.columns), 1), p("div", gs, [
3145
3145
  p("button", {
3146
3146
  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",
3147
3147
  disabled: l.value <= 1,
@@ -3149,8 +3149,8 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3149
3149
  }, [g(x(pt), {
3150
3150
  size: 12,
3151
3151
  "stroke-width": 2
3152
- })], 8, vs),
3153
- p("span", ys, c(l.value), 1),
3152
+ })], 8, _s),
3153
+ p("span", vs, c(l.value), 1),
3154
3154
  p("button", {
3155
3155
  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)]",
3156
3156
  onClick: h
@@ -3159,13 +3159,13 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3159
3159
  "stroke-width": 2
3160
3160
  })])
3161
3161
  ])])])]),
3162
- p("div", bs, [g(Y, {
3162
+ p("div", ys, [g(Y, {
3163
3163
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
3164
3164
  "model-value": t.block.hasHeaderRow,
3165
3165
  label: x(o).table.hasHeaderRow,
3166
3166
  "onUpdate:modelValue": i[2] ||= (e) => u("hasHeaderRow", e)
3167
3167
  }, null, 8, ["model-value", "label"])]),
3168
- t.block.hasHeaderRow ? (s(), m("div", xs, [p("label", { class: n(x(G)) }, c(x(o).table.headerBackgroundColor), 3), g(J, {
3168
+ t.block.hasHeaderRow ? (s(), m("div", bs, [p("label", { class: n(x(G)) }, c(x(o).table.headerBackgroundColor), 3), g(J, {
3169
3169
  "model-value": t.block.headerBackgroundColor ?? "",
3170
3170
  "seed-color": x(Bt),
3171
3171
  placeholder: x(o).table.noHeaderBg,
@@ -3175,47 +3175,47 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3175
3175
  "seed-color",
3176
3176
  "placeholder"
3177
3177
  ])])) : T("", !0),
3178
- p("div", Ss, [p("label", { class: n(x(G)) }, c(x(o).table.borderColor), 3), g(J, {
3178
+ p("div", xs, [p("label", { class: n(x(G)) }, c(x(o).table.borderColor), 3), g(J, {
3179
3179
  "model-value": t.block.borderColor,
3180
3180
  "onUpdate:modelValue": i[4] ||= (e) => u("borderColor", e)
3181
3181
  }, null, 8, ["model-value"])]),
3182
- p("div", Cs, [p("label", { class: n(x(G)) }, c(x(o).table.borderWidth), 3), p("div", ws, [p("input", {
3182
+ p("div", Ss, [p("label", { class: n(x(G)) }, c(x(o).table.borderWidth), 3), p("div", Cs, [p("input", {
3183
3183
  type: "number",
3184
3184
  class: n(x(q)),
3185
3185
  value: t.block.borderWidth,
3186
3186
  min: "0",
3187
3187
  max: "10",
3188
3188
  onInput: i[5] ||= (e) => u("borderWidth", Number(e.target.value))
3189
- }, null, 42, Ts), p("span", { class: n(x(K)) }, "px", 2)])]),
3190
- p("div", Es, [p("label", { class: n(x(G)) }, c(x(o).table.cellPadding), 3), p("div", Ds, [p("input", {
3189
+ }, null, 42, ws), p("span", { class: n(x(K)) }, "px", 2)])]),
3190
+ p("div", Ts, [p("label", { class: n(x(G)) }, c(x(o).table.cellPadding), 3), p("div", Es, [p("input", {
3191
3191
  type: "number",
3192
3192
  class: n(x(q)),
3193
3193
  value: t.block.cellPadding,
3194
3194
  min: "0",
3195
3195
  max: "30",
3196
3196
  onInput: i[6] ||= (e) => u("cellPadding", Number(e.target.value))
3197
- }, null, 42, Os), p("span", { class: n(x(K)) }, "px", 2)])]),
3198
- p("div", ks, [p("label", { class: n(x(G)) }, c(x(o).table.fontFamily), 3), p("select", {
3197
+ }, null, 42, Ds), p("span", { class: n(x(K)) }, "px", 2)])]),
3198
+ p("div", Os, [p("label", { class: n(x(G)) }, c(x(o).table.fontFamily), 3), p("select", {
3199
3199
  class: n(x(W)),
3200
3200
  value: t.block.fontFamily || "",
3201
3201
  onChange: i[7] ||= (e) => u("fontFamily", e.target.value || void 0)
3202
- }, [p("option", js, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3202
+ }, [p("option", As, c(x(o).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3203
3203
  key: e.value,
3204
3204
  value: e.value
3205
- }, c(e.label), 9, Ms))), 128))], 42, As)]),
3206
- p("div", Ns, [p("label", { class: n(x(G)) }, c(x(o).table.fontSize), 3), p("div", Ps, [p("input", {
3205
+ }, c(e.label), 9, js))), 128))], 42, ks)]),
3206
+ p("div", Ms, [p("label", { class: n(x(G)) }, c(x(o).table.fontSize), 3), p("div", Ns, [p("input", {
3207
3207
  type: "number",
3208
3208
  class: n(x(q)),
3209
3209
  value: t.block.fontSize,
3210
3210
  min: "10",
3211
3211
  max: "32",
3212
3212
  onInput: i[8] ||= (e) => u("fontSize", Number(e.target.value))
3213
- }, null, 42, Fs), p("span", { class: n(x(K)) }, "px", 2)])]),
3214
- p("div", Is, [p("label", { class: n(x(G)) }, c(x(o).table.color), 3), g(J, {
3213
+ }, null, 42, Ps), p("span", { class: n(x(K)) }, "px", 2)])]),
3214
+ p("div", Fs, [p("label", { class: n(x(G)) }, c(x(o).table.color), 3), g(J, {
3215
3215
  "model-value": t.block.color ?? "",
3216
3216
  "onUpdate:modelValue": i[9] ||= (e) => u("color", e || void 0)
3217
3217
  }, null, 8, ["model-value"])]),
3218
- p("div", Ls, [p("label", { class: n(x(G)) }, c(x(o).table.textAlign), 3), g(Z, {
3218
+ p("div", Is, [p("label", { class: n(x(G)) }, c(x(o).table.textAlign), 3), g(Z, {
3219
3219
  options: [
3220
3220
  {
3221
3221
  value: "left",
@@ -3238,7 +3238,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3238
3238
  }, null, 8, ["options", "model-value"])])
3239
3239
  ], 64));
3240
3240
  }
3241
- }), zs = { class: "tpl:mb-3.5" }, Bs = ["value"], Vs = { value: 1 }, Hs = { value: 2 }, Us = { value: 3 }, Ws = { value: 4 }, Gs = { class: "tpl:mb-3.5" }, Ks = ["value"], qs = { value: "" }, Js = ["value"], Ys = { class: "tpl:mb-3.5" }, Xs = { class: "tpl:mb-3.5" }, Zs = /* @__PURE__ */ f({
3241
+ }), Rs = { class: "tpl:mb-3.5" }, zs = ["value"], Bs = { value: 1 }, Vs = { value: 2 }, Hs = { value: 3 }, Us = { value: 4 }, Ws = { class: "tpl:mb-3.5" }, Gs = ["value"], Ks = { value: "" }, qs = ["value"], Js = { class: "tpl:mb-3.5" }, Ys = { class: "tpl:mb-3.5" }, Xs = /* @__PURE__ */ f({
3242
3242
  __name: "TitleToolbar",
3243
3243
  props: {
3244
3244
  block: {},
@@ -3251,29 +3251,29 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3251
3251
  i("update", { [e]: t });
3252
3252
  }
3253
3253
  return (r, i) => (s(), m(C, null, [
3254
- p("div", zs, [p("label", { class: n(x(G)) }, c(x(a).title.level), 3), p("select", {
3254
+ p("div", Rs, [p("label", { class: n(x(G)) }, c(x(a).title.level), 3), p("select", {
3255
3255
  class: n(x(W)),
3256
3256
  value: t.block.level,
3257
3257
  onChange: i[0] ||= (e) => o("level", Number(e.target.value))
3258
3258
  }, [
3259
- p("option", Vs, c(x(a).title.heading1), 1),
3260
- p("option", Hs, c(x(a).title.heading2), 1),
3261
- p("option", Us, c(x(a).title.heading3), 1),
3262
- p("option", Ws, c(x(a).title.heading4), 1)
3263
- ], 42, Bs)]),
3264
- p("div", Gs, [p("label", { class: n(x(G)) }, c(x(a).title.fontFamily), 3), p("select", {
3259
+ p("option", Bs, c(x(a).title.heading1), 1),
3260
+ p("option", Vs, c(x(a).title.heading2), 1),
3261
+ p("option", Hs, c(x(a).title.heading3), 1),
3262
+ p("option", Us, c(x(a).title.heading4), 1)
3263
+ ], 42, zs)]),
3264
+ p("div", Ws, [p("label", { class: n(x(G)) }, c(x(a).title.fontFamily), 3), p("select", {
3265
3265
  class: n(x(W)),
3266
3266
  value: t.block.fontFamily || "",
3267
3267
  onChange: i[1] ||= (e) => o("fontFamily", e.target.value || void 0)
3268
- }, [p("option", qs, c(x(a).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3268
+ }, [p("option", Ks, c(x(a).title.inheritFont), 1), (s(!0), m(C, null, e(t.fontFamilies, (e) => (s(), m("option", {
3269
3269
  key: e.value,
3270
3270
  value: e.value
3271
- }, c(e.label), 9, Js))), 128))], 42, Ks)]),
3272
- p("div", Ys, [p("label", { class: n(x(G)) }, c(x(a).title.color), 3), g(J, {
3271
+ }, c(e.label), 9, qs))), 128))], 42, Gs)]),
3272
+ p("div", Js, [p("label", { class: n(x(G)) }, c(x(a).title.color), 3), g(J, {
3273
3273
  "model-value": t.block.color ?? "",
3274
3274
  "onUpdate:modelValue": i[2] ||= (e) => o("color", e || void 0)
3275
3275
  }, null, 8, ["model-value"])]),
3276
- p("div", Xs, [p("label", { class: n(x(G)) }, c(x(a).title.align), 3), g(Z, {
3276
+ p("div", Ys, [p("label", { class: n(x(G)) }, c(x(a).title.align), 3), g(Z, {
3277
3277
  options: [
3278
3278
  {
3279
3279
  value: "left",
@@ -3296,14 +3296,14 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3296
3296
  }, null, 8, ["options", "model-value"])])
3297
3297
  ], 64));
3298
3298
  }
3299
- }), Qs = { class: "tpl:mb-3.5" }, $s = {
3299
+ }), Zs = { class: "tpl:mb-3.5" }, Qs = {
3300
3300
  key: 0,
3301
3301
  class: "tpl:mb-3.5"
3302
- }, ec = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, tc = [
3302
+ }, $s = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ec = [
3303
3303
  "value",
3304
3304
  "placeholder",
3305
3305
  "title"
3306
- ], nc = { class: "tpl:mb-3.5" }, rc = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ic = { class: "tpl:mb-3.5" }, ac = { class: "tpl:mb-3.5" }, oc = ["value"], sc = { value: "full" }, cc = { class: "tpl:mb-3.5" }, lc = /* @__PURE__ */ f({
3306
+ ], tc = { class: "tpl:mb-3.5" }, nc = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, rc = { class: "tpl:mb-3.5" }, ic = { class: "tpl:mb-3.5" }, ac = ["value"], oc = { value: "full" }, sc = { class: "tpl:mb-3.5" }, cc = /* @__PURE__ */ f({
3307
3307
  __name: "VideoToolbar",
3308
3308
  props: { block: {} },
3309
3309
  emits: ["update"],
@@ -3319,7 +3319,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3319
3319
  u.alive && e && (S("thumbnailUrl", e.url), _.value = !0, v());
3320
3320
  }
3321
3321
  return (t, r) => (s(), m(C, null, [
3322
- p("div", Qs, [
3322
+ p("div", Zs, [
3323
3323
  p("label", { class: n(x(G)) }, c(x(a).video.videoUrl), 3),
3324
3324
  g($, {
3325
3325
  "model-value": e.block.url,
@@ -3335,16 +3335,16 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3335
3335
  "onUpdate:modelValue": r[1] ||= (e) => S("openInNewTab", e)
3336
3336
  }, null, 8, ["model-value", "label"])) : T("", !0)
3337
3337
  ]),
3338
- h.value ? (s(), m("div", $s, [p("label", { class: n(x(G)) }, [b(c(x(a).video.placeholderUrl) + " ", 1), p("span", ec, c(x(a).video.optional), 1)], 2), p("input", {
3338
+ h.value ? (s(), m("div", Qs, [p("label", { class: n(x(G)) }, [b(c(x(a).video.placeholderUrl) + " ", 1), p("span", $s, c(x(a).video.optional), 1)], 2), p("input", {
3339
3339
  type: "url",
3340
3340
  class: n(x(W)),
3341
3341
  value: e.block.placeholderUrl || "",
3342
3342
  placeholder: x(a).video.placeholderUrlPlaceholder,
3343
3343
  title: x(a).video.placeholderUrlTooltip,
3344
3344
  onInput: r[2] ||= (e) => S("placeholderUrl", e.target.value)
3345
- }, null, 42, tc)])) : T("", !0),
3346
- p("div", nc, [
3347
- p("label", { class: n(x(G)) }, [b(c(x(a).video.customThumbnail) + " ", 1), p("span", rc, c(x(a).video.optional), 1)], 2),
3345
+ }, null, 42, ec)])) : T("", !0),
3346
+ p("div", tc, [
3347
+ p("label", { class: n(x(G)) }, [b(c(x(a).video.customThumbnail) + " ", 1), p("span", nc, c(x(a).video.optional), 1)], 2),
3348
3348
  g($, {
3349
3349
  "model-value": e.block.thumbnailUrl,
3350
3350
  type: "url",
@@ -3370,23 +3370,23 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3370
3370
  "stroke-width": 1.5
3371
3371
  }), b(" " + c(x(a).image.browseMedia), 1)])) : T("", !0)
3372
3372
  ]),
3373
- p("div", ic, [p("label", { class: n(x(G)) }, c(x(a).video.altText), 3), g($, {
3373
+ p("div", rc, [p("label", { class: n(x(G)) }, c(x(a).video.altText), 3), g($, {
3374
3374
  "model-value": e.block.alt,
3375
3375
  type: "text",
3376
3376
  placeholder: x(a).video.altTextPlaceholder,
3377
3377
  "onUpdate:modelValue": r[4] ||= (e) => S("alt", e)
3378
3378
  }, null, 8, ["model-value", "placeholder"])]),
3379
- p("div", ac, [p("label", { class: n(x(G)) }, c(x(a).video.width), 3), p("select", {
3379
+ p("div", ic, [p("label", { class: n(x(G)) }, c(x(a).video.width), 3), p("select", {
3380
3380
  class: n(x(W)),
3381
3381
  value: e.block.width,
3382
3382
  onChange: r[5] ||= (e) => S("width", e.target.value === "full" ? "full" : Number(e.target.value))
3383
3383
  }, [
3384
- p("option", sc, c(x(a).video.fullWidth), 1),
3384
+ p("option", oc, c(x(a).video.fullWidth), 1),
3385
3385
  r[7] ||= p("option", { value: "300" }, "300px", -1),
3386
3386
  r[8] ||= p("option", { value: "400" }, "400px", -1),
3387
3387
  r[9] ||= p("option", { value: "500" }, "500px", -1)
3388
- ], 42, oc)]),
3389
- p("div", cc, [p("label", { class: n(x(G)) }, c(x(a).title.align), 3), g(Z, {
3388
+ ], 42, ac)]),
3389
+ p("div", sc, [p("label", { class: n(x(G)) }, c(x(a).title.align), 3), g(Z, {
3390
3390
  options: [
3391
3391
  {
3392
3392
  value: "left",
@@ -3406,7 +3406,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3406
3406
  }, null, 8, ["options", "model-value"])])
3407
3407
  ], 64));
3408
3408
  }
3409
- }), uc = ["aria-label"], dc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, fc = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, pc = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, mc = { class: "tpl:flex tpl:gap-1" }, hc = ["title"], gc = ["title"], _c = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, vc = /*#__PURE__*/ jt(/* @__PURE__ */ f({
3409
+ }), lc = ["aria-label"], uc = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, dc = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, fc = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, pc = { class: "tpl:flex tpl:gap-1" }, mc = ["title"], hc = ["title"], gc = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, _c = /*#__PURE__*/ jt(/* @__PURE__ */ f({
3410
3410
  __name: "Toolbar",
3411
3411
  props: { block: {} },
3412
3412
  emits: [
@@ -3415,7 +3415,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3415
3415
  "duplicate"
3416
3416
  ],
3417
3417
  setup(e, { emit: t }) {
3418
- let n = h(() => import("./CountdownToolbar-VEsIyKV6.js")), r = e, i = t, { t: a } = H(), l = He(Je, "Toolbar"), u = D(Ze, []), d = w(() => r.block.type), f = w(() => R(r.block)), _ = w(() => {
3418
+ let n = h(() => import("./CountdownToolbar-DHp6T0Q_.js")), r = e, i = t, { t: a } = H(), l = He(Je, "Toolbar"), u = D(Ze, []), d = w(() => r.block.type), f = w(() => R(r.block)), _ = w(() => {
3419
3419
  if (f.value) return u.find((e) => e.type === r.block.customType);
3420
3420
  }), v = w(() => f.value ? _.value?.name ?? r.block.customType : de(d.value, a)), b = l.fonts;
3421
3421
  function S(e) {
@@ -3424,7 +3424,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3424
3424
  return (t, r) => (s(), m("aside", {
3425
3425
  "aria-label": x(a).landmarks.blockToolbar,
3426
3426
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
3427
- }, [p("div", dc, [p("div", fc, [x(gt)[d.value] ? (s(), y(o(x(gt)[d.value]), {
3427
+ }, [p("div", uc, [p("div", dc, [x(gt)[d.value] ? (s(), y(o(x(gt)[d.value]), {
3428
3428
  key: 0,
3429
3429
  size: 16,
3430
3430
  "stroke-width": 1.5
@@ -3432,70 +3432,70 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3432
3432
  key: 1,
3433
3433
  size: 16,
3434
3434
  "stroke-width": 1.5
3435
- })) : T("", !0), p("h3", pc, c(v.value), 1)]), p("div", mc, [p("button", {
3435
+ })) : T("", !0), p("h3", fc, c(v.value), 1)]), p("div", pc, [p("button", {
3436
3436
  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)]",
3437
3437
  title: x(a).toolbar.duplicate,
3438
3438
  onClick: r[0] ||= (e) => i("duplicate")
3439
3439
  }, [g(x(ce), {
3440
3440
  size: 14,
3441
3441
  "stroke-width": 2
3442
- })], 8, hc), p("button", {
3442
+ })], 8, mc), p("button", {
3443
3443
  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)]",
3444
3444
  title: x(a).toolbar.delete,
3445
3445
  onClick: r[1] ||= (e) => i("delete")
3446
3446
  }, [g(x(kt), {
3447
3447
  size: 14,
3448
3448
  "stroke-width": 2
3449
- })], 8, gc)])]), p("div", _c, [f.value ? (s(), y(za, {
3449
+ })], 8, hc)])]), p("div", gc, [f.value ? (s(), y(Ra, {
3450
3450
  key: 0,
3451
3451
  block: e.block,
3452
3452
  onUpdateFieldValues: r[2] ||= (e) => i("update", { fieldValues: e }),
3453
3453
  onUpdateDataSourceFetched: r[3] ||= (e) => i("update", { dataSourceFetched: e })
3454
- }, null, 8, ["block"])) : d.value === "section" ? (s(), y(Lo, {
3454
+ }, null, 8, ["block"])) : d.value === "section" ? (s(), y(Io, {
3455
3455
  key: 1,
3456
3456
  block: e.block,
3457
3457
  onUpdate: S
3458
- }, null, 8, ["block"])) : d.value === "title" ? (s(), y(Zs, {
3458
+ }, null, 8, ["block"])) : d.value === "title" ? (s(), y(Xs, {
3459
3459
  key: 2,
3460
3460
  block: e.block,
3461
3461
  "font-families": x(b),
3462
3462
  onUpdate: S
3463
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), m(C, { key: 3 }, [], 64)) : d.value === "image" ? (s(), y(fo, {
3463
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (s(), m(C, { key: 3 }, [], 64)) : d.value === "image" ? (s(), y(uo, {
3464
3464
  key: 4,
3465
3465
  block: e.block,
3466
3466
  onUpdate: S
3467
- }, null, 8, ["block"])) : d.value === "video" ? (s(), y(lc, {
3467
+ }, null, 8, ["block"])) : d.value === "video" ? (s(), y(cc, {
3468
3468
  key: 5,
3469
3469
  block: e.block,
3470
3470
  onUpdate: S
3471
- }, null, 8, ["block"])) : d.value === "button" ? (s(), y(fi, {
3471
+ }, null, 8, ["block"])) : d.value === "button" ? (s(), y(di, {
3472
3472
  key: 6,
3473
3473
  block: e.block,
3474
3474
  "font-families": x(b),
3475
3475
  onUpdate: S
3476
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), y(Ga, {
3476
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (s(), y(Wa, {
3477
3477
  key: 7,
3478
3478
  block: e.block,
3479
3479
  onUpdate: S
3480
- }, null, 8, ["block"])) : d.value === "social" ? (s(), y(ns, {
3480
+ }, null, 8, ["block"])) : d.value === "social" ? (s(), y(ts, {
3481
3481
  key: 8,
3482
3482
  block: e.block,
3483
3483
  onUpdate: S
3484
- }, null, 8, ["block"])) : d.value === "menu" ? (s(), y(Co, {
3484
+ }, null, 8, ["block"])) : d.value === "menu" ? (s(), y(So, {
3485
3485
  key: 9,
3486
3486
  block: e.block,
3487
3487
  "font-families": x(b),
3488
3488
  onUpdate: S
3489
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), y(Rs, {
3489
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (s(), y(Ls, {
3490
3490
  key: 10,
3491
3491
  block: e.block,
3492
3492
  "font-families": x(b),
3493
3493
  onUpdate: S
3494
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), y(ss, {
3494
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (s(), y(os, {
3495
3495
  key: 11,
3496
3496
  block: e.block,
3497
3497
  onUpdate: S
3498
- }, null, 8, ["block"])) : d.value === "html" ? (s(), y(Ya, {
3498
+ }, null, 8, ["block"])) : d.value === "html" ? (s(), y(Ja, {
3499
3499
  key: 12,
3500
3500
  block: e.block,
3501
3501
  onUpdate: S
@@ -3504,52 +3504,52 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3504
3504
  block: e.block,
3505
3505
  "font-families": x(b),
3506
3506
  onUpdate: S
3507
- }, null, 8, ["block", "font-families"])) : T("", !0), g(ra, {
3507
+ }, null, 8, ["block", "font-families"])) : T("", !0), g(na, {
3508
3508
  block: e.block,
3509
3509
  "is-first-section": d.value === "paragraph",
3510
3510
  onUpdate: S
3511
- }, null, 8, ["block", "is-first-section"])])], 8, uc));
3511
+ }, null, 8, ["block", "is-first-section"])])], 8, lc));
3512
3512
  }
3513
- }), [["__scopeId", "data-v-2ac88283"]]), yc = ["aria-label"], bc = {
3513
+ }), [["__scopeId", "data-v-2ac88283"]]), vc = ["aria-label"], yc = {
3514
3514
  role: "tablist",
3515
3515
  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"
3516
- }, xc = [
3516
+ }, bc = [
3517
3517
  "aria-selected",
3518
3518
  "aria-label",
3519
3519
  "title"
3520
- ], Sc = { key: 0 }, Cc = [
3520
+ ], xc = { key: 0 }, Sc = [
3521
3521
  "aria-selected",
3522
3522
  "aria-label",
3523
3523
  "title"
3524
- ], wc = { key: 0 }, Tc = [
3524
+ ], Cc = { key: 0 }, wc = [
3525
3525
  "aria-selected",
3526
3526
  "aria-label",
3527
3527
  "title"
3528
- ], Ec = { key: 0 }, Dc = {
3528
+ ], Tc = { key: 0 }, Ec = {
3529
3529
  key: 1,
3530
3530
  class: "tpl:ml-1 tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-1.5 tpl:text-[10px]"
3531
- }, Oc = {
3531
+ }, Dc = {
3532
3532
  key: 0,
3533
3533
  id: "tpl-tabpanel-content",
3534
3534
  role: "tabpanel",
3535
3535
  "aria-labelledby": "tpl-tab-content",
3536
3536
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3537
- }, kc = {
3537
+ }, Oc = {
3538
3538
  key: 1,
3539
3539
  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)]"
3540
- }, Ac = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, jc = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Mc = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Nc = {
3540
+ }, kc = { class: "tpl:mb-4 tpl:text-[var(--tpl-text-dim)]" }, Ac = { class: "tpl:m-0 tpl:mb-2 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, jc = { class: "tpl:m-0 tpl:text-sm tpl:leading-normal" }, Mc = {
3541
3541
  key: 1,
3542
3542
  id: "tpl-tabpanel-settings",
3543
3543
  role: "tabpanel",
3544
3544
  "aria-labelledby": "tpl-tab-settings",
3545
3545
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3546
- }, Pc = {
3546
+ }, Nc = {
3547
3547
  key: 2,
3548
3548
  id: "tpl-tabpanel-issues",
3549
3549
  role: "tabpanel",
3550
3550
  "aria-labelledby": "tpl-tab-issues",
3551
3551
  class: "tpl:flex tpl:flex-1 tpl:flex-col tpl:overflow-y-auto"
3552
- }, Fc = /* @__PURE__ */ f({
3552
+ }, Pc = /* @__PURE__ */ f({
3553
3553
  __name: "RightSidebar",
3554
3554
  props: {
3555
3555
  selectedBlock: {},
@@ -3563,7 +3563,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3563
3563
  "update-settings"
3564
3564
  ],
3565
3565
  setup(e, { emit: r }) {
3566
- let a = h(() => import("./IssuesPanel-CEfzOpS_.js")), o = e, l = r, { t: u } = H(), f = d("content"), _ = D(Ue, null), v = w(() => _ !== null), b = w(() => _?.issues.value.length ?? 0);
3566
+ let a = h(() => import("./IssuesPanel-CoOfib44.js")), o = e, l = r, { t: u } = H(), f = d("content"), _ = D(Ue, null), v = w(() => _ !== null), b = w(() => _?.issues.value.length ?? 0);
3567
3567
  function S(e) {
3568
3568
  return f.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] hover:tpl:text-[var(--tpl-text)]";
3569
3569
  }
@@ -3579,7 +3579,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3579
3579
  "aria-label": x(u).landmarks.rightSidebar,
3580
3580
  class: n(["tpl-right-sidebar tpl:absolute tpl:top-14 tpl:bottom-0 tpl:z-40 tpl:flex tpl:w-[320px] tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)] tpl:transition-all tpl:duration-200 tpl:border-l tpl:border-[var(--tpl-border)]", e.shiftedLeft ? "tpl:right-[360px]" : "tpl:right-0"])
3581
3581
  }, [
3582
- p("div", bc, [
3582
+ p("div", yc, [
3583
3583
  p("button", {
3584
3584
  id: "tpl-tab-content",
3585
3585
  role: "tab",
@@ -3593,7 +3593,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3593
3593
  }, [g(x(en), {
3594
3594
  size: 14,
3595
3595
  "stroke-width": 2
3596
- }), f.value === "content" ? (s(), m("span", Sc, c(x(u).sidebar.content), 1)) : T("", !0)], 14, xc),
3596
+ }), f.value === "content" ? (s(), m("span", xc, c(x(u).sidebar.content), 1)) : T("", !0)], 14, bc),
3597
3597
  p("button", {
3598
3598
  id: "tpl-tab-settings",
3599
3599
  role: "tab",
@@ -3607,7 +3607,7 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3607
3607
  }, [g(x(nn), {
3608
3608
  size: 14,
3609
3609
  "stroke-width": 1.5
3610
- }), f.value === "settings" ? (s(), m("span", wc, c(x(u).sidebar.settings), 1)) : T("", !0)], 14, Cc),
3610
+ }), f.value === "settings" ? (s(), m("span", Cc, c(x(u).sidebar.settings), 1)) : T("", !0)], 14, Sc),
3611
3611
  v.value ? (s(), m("button", {
3612
3612
  key: 0,
3613
3613
  id: "tpl-tab-issues",
@@ -3624,54 +3624,54 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3624
3624
  size: 14,
3625
3625
  "stroke-width": 1.5
3626
3626
  }),
3627
- f.value === "issues" ? (s(), m("span", Ec, c(x(u).issues.panelTabLabel), 1)) : T("", !0),
3628
- b.value > 0 ? (s(), m("span", Dc, c(b.value), 1)) : T("", !0)
3629
- ], 14, Tc)) : T("", !0)
3627
+ f.value === "issues" ? (s(), m("span", Tc, c(x(u).issues.panelTabLabel), 1)) : T("", !0),
3628
+ b.value > 0 ? (s(), m("span", Ec, c(b.value), 1)) : T("", !0)
3629
+ ], 14, wc)) : T("", !0)
3630
3630
  ]),
3631
- f.value === "content" ? (s(), m("div", Oc, [e.selectedBlock ? (s(), y(vc, {
3631
+ f.value === "content" ? (s(), m("div", Dc, [e.selectedBlock ? (s(), y(_c, {
3632
3632
  key: 0,
3633
3633
  block: e.selectedBlock,
3634
3634
  onUpdate: i[3] ||= (e) => l("update-block", e),
3635
3635
  onDelete: i[4] ||= (e) => l("delete-block"),
3636
3636
  onDuplicate: i[5] ||= (e) => l("duplicate-block")
3637
- }, null, 8, ["block"])) : (s(), m("div", kc, [
3638
- p("div", Ac, [g(x(Xt), {
3637
+ }, null, 8, ["block"])) : (s(), m("div", Oc, [
3638
+ p("div", kc, [g(x(Xt), {
3639
3639
  size: 40,
3640
3640
  "stroke-width": 1.5
3641
3641
  })]),
3642
- p("h3", jc, c(x(u).sidebar.noSelection), 1),
3643
- p("p", Mc, c(x(u).sidebar.noSelectionHint), 1)
3642
+ p("h3", Ac, c(x(u).sidebar.noSelection), 1),
3643
+ p("p", jc, c(x(u).sidebar.noSelectionHint), 1)
3644
3644
  ]))])) : T("", !0),
3645
- f.value === "settings" ? (s(), m("div", Nc, [g(Ir, {
3645
+ f.value === "settings" ? (s(), m("div", Mc, [g(Fr, {
3646
3646
  settings: e.settings,
3647
3647
  onUpdate: i[6] ||= (e) => l("update-settings", e)
3648
3648
  }, null, 8, ["settings"])])) : T("", !0),
3649
- f.value === "issues" && v.value ? (s(), m("div", Pc, [g(x(a))])) : T("", !0)
3650
- ], 10, yc));
3649
+ f.value === "issues" && v.value ? (s(), m("div", Nc, [g(x(a))])) : T("", !0)
3650
+ ], 10, vc));
3651
3651
  }
3652
- }), Ic = {
3652
+ }), Fc = {
3653
3653
  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)]",
3654
3654
  style: { "z-index": "10001" },
3655
3655
  role: "status",
3656
3656
  "data-testid": "small-screen-notice"
3657
- }, Lc = { class: "tpl:text-[var(--tpl-text-dim)]" }, Rc = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, zc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, Bc = /* @__PURE__ */ f({
3657
+ }, Ic = { class: "tpl:text-[var(--tpl-text-dim)]" }, Lc = { class: "tpl:m-0 tpl:text-base tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Rc = { class: "tpl:m-0 tpl:max-w-sm tpl:text-sm tpl:leading-normal" }, zc = /* @__PURE__ */ f({
3658
3658
  __name: "SmallScreenNotice",
3659
3659
  setup(e) {
3660
3660
  let { t } = H();
3661
- return (e, n) => (s(), m("div", Ic, [
3662
- p("div", Lc, [g(x(Ct), {
3661
+ return (e, n) => (s(), m("div", Fc, [
3662
+ p("div", Ic, [g(x(Ct), {
3663
3663
  size: 48,
3664
3664
  "stroke-width": 1.5
3665
3665
  })]),
3666
- p("h2", Rc, c(x(t).smallScreen.title), 1),
3667
- p("p", zc, c(x(t).smallScreen.message), 1)
3666
+ p("h2", Lc, c(x(t).smallScreen.title), 1),
3667
+ p("p", Rc, c(x(t).smallScreen.message), 1)
3668
3668
  ]));
3669
3669
  }
3670
- }), Vc = [
3670
+ }), Bc = [
3671
3671
  "aria-label",
3672
3672
  "title",
3673
3673
  "aria-pressed"
3674
- ], Hc = /*#__PURE__*/ jt(/* @__PURE__ */ f({
3674
+ ], Vc = /*#__PURE__*/ jt(/* @__PURE__ */ f({
3675
3675
  __name: "PreviewToggle",
3676
3676
  props: { previewMode: { type: Boolean } },
3677
3677
  emits: ["change"],
@@ -3704,13 +3704,13 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3704
3704
  "stroke-width": 1.5
3705
3705
  }))]),
3706
3706
  _: 1
3707
- })], 12, Vc));
3707
+ })], 12, Bc));
3708
3708
  }
3709
- }), [["__scopeId", "data-v-af87d02a"]]), Uc = [
3709
+ }), [["__scopeId", "data-v-af87d02a"]]), Hc = [
3710
3710
  "aria-label",
3711
3711
  "title",
3712
3712
  "aria-pressed"
3713
- ], Wc = /*#__PURE__*/ jt(/* @__PURE__ */ f({
3713
+ ], Uc = /*#__PURE__*/ jt(/* @__PURE__ */ f({
3714
3714
  __name: "DarkModeToggle",
3715
3715
  props: { darkMode: { type: Boolean } },
3716
3716
  emits: ["change"],
@@ -3743,27 +3743,27 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3743
3743
  "stroke-width": 1.5
3744
3744
  }))]),
3745
3745
  _: 1
3746
- })], 12, Uc));
3746
+ })], 12, Hc));
3747
3747
  }
3748
- }), [["__scopeId", "data-v-f8694f76"]]), Gc = {
3748
+ }), [["__scopeId", "data-v-f8694f76"]]), Wc = {
3749
3749
  class: "tpl:pointer-events-auto tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-tl-lg tpl:p-1",
3750
3750
  style: {
3751
3751
  "background-color": "color-mix(\n in srgb,\n var(--tpl-canvas-bg) 85%,\n transparent\n )",
3752
3752
  "backdrop-filter": "blur(8px)",
3753
3753
  "-webkit-backdrop-filter": "blur(8px)"
3754
3754
  }
3755
- }, Kc = {
3755
+ }, Gc = {
3756
3756
  href: "https://github.com/templatical/sdk",
3757
3757
  target: "_blank",
3758
3758
  rel: "noopener noreferrer",
3759
3759
  class: "tpl:transition-colors tpl:duration-150 hover:tpl:opacity-80 tpl:text-[var(--tpl-text-dim)]",
3760
3760
  style: { "text-decoration": "none" }
3761
- }, qc = /* @__PURE__ */ f({
3761
+ }, Kc = /* @__PURE__ */ f({
3762
3762
  __name: "EditorFooter",
3763
3763
  props: { positionClass: {} },
3764
3764
  setup(e) {
3765
3765
  let { t } = H();
3766
- return (r, i) => (s(), m("footer", { class: n(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [p("div", Gc, [
3766
+ return (r, i) => (s(), m("footer", { class: n(["tpl:pointer-events-none tpl:absolute tpl:bottom-0 tpl:z-50 tpl:flex tpl:h-8 tpl:items-center tpl:justify-end tpl:pr-4 tpl:text-[9px] tpl:opacity-90 tpl:transition-all tpl:duration-300 tpl:text-[var(--tpl-text-dim)]", e.positionClass]) }, [p("div", Wc, [
3767
3767
  p("span", null, c(x(t).footer.poweredBy), 1),
3768
3768
  i[0] ||= p("a", {
3769
3769
  href: "https://templatical.com",
@@ -3778,32 +3778,32 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3778
3778
  alt: ""
3779
3779
  }), b(" Templatical ")], -1),
3780
3780
  i[1] ||= p("span", { class: "tpl:text-[var(--tpl-border)]" }, "·", -1),
3781
- p("a", Kc, c(x(t).footer.openSource), 1)
3781
+ p("a", Gc, c(x(t).footer.openSource), 1)
3782
3782
  ])], 2));
3783
3783
  }
3784
- }), Jc = ["aria-labelledby", "data-tpl-theme"], Yc = { 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" }, Xc = ["id"], Zc = ["aria-label"], Qc = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, $c = [
3784
+ }), qc = ["aria-labelledby", "data-tpl-theme"], Jc = { 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" }, Yc = ["id"], Xc = ["aria-label"], Zc = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, Qc = [
3785
3785
  "id",
3786
3786
  "placeholder",
3787
3787
  "aria-label",
3788
3788
  "aria-activedescendant"
3789
- ], el = {
3789
+ ], $c = {
3790
3790
  key: 0,
3791
3791
  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",
3792
3792
  "data-testid": "merge-tag-picker-group-pills"
3793
- }, tl = ["data-group-name", "onClick"], nl = ["aria-label"], rl = {
3793
+ }, el = ["data-group-name", "onClick"], tl = ["aria-label"], nl = {
3794
3794
  key: 0,
3795
3795
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3796
3796
  "data-testid": "merge-tag-picker-empty"
3797
- }, il = {
3797
+ }, rl = {
3798
3798
  key: 1,
3799
3799
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
3800
3800
  "data-testid": "merge-tag-picker-empty"
3801
- }, al = [
3801
+ }, il = [
3802
3802
  "aria-expanded",
3803
3803
  "data-group-name",
3804
3804
  "data-group-collapsed",
3805
3805
  "onClick"
3806
- ], ol = { class: "tpl:ml-1 tpl:font-normal" }, sl = [
3806
+ ], al = { class: "tpl:ml-1 tpl:font-normal" }, ol = [
3807
3807
  "id",
3808
3808
  "aria-selected",
3809
3809
  "data-selected",
@@ -3812,14 +3812,14 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3812
3812
  "title",
3813
3813
  "onMousemove",
3814
3814
  "onClick"
3815
- ], cl = { class: "tpl:text-sm tpl:font-medium" }, ll = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, ul = {
3815
+ ], sl = { class: "tpl:text-sm tpl:font-medium" }, cl = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, ll = {
3816
3816
  key: 0,
3817
3817
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3818
- }, dl = {
3818
+ }, ul = {
3819
3819
  key: 1,
3820
3820
  "data-testid": "merge-tag-picker-sample",
3821
3821
  class: "tpl:line-clamp-1 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
3822
- }, fl = "tpl-merge-tag-picker-list", pl = /* @__PURE__ */ f({
3822
+ }, dl = "tpl-merge-tag-picker-list", fl = /* @__PURE__ */ f({
3823
3823
  __name: "MergeTagPickerModal",
3824
3824
  setup(r) {
3825
3825
  let a = He(Be, "MergeTagPickerModal"), { t: o, format: u } = H(), f = D(Ke, null), h = D(ze, null), _ = d(""), v = Fe(_, 200), b = d(null), S = w(() => v.value.trim().length > 0), O = d(0), M = w(() => a.tags.value.some((e) => !!e.group)), P = d(/* @__PURE__ */ new Set());
@@ -3932,10 +3932,10 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3932
3932
  }
3933
3933
  }
3934
3934
  function ce() {
3935
- if (B.value.length !== 0) return `${fl}-opt-${O.value}`;
3935
+ if (B.value.length !== 0) return `${dl}-opt-${O.value}`;
3936
3936
  }
3937
3937
  function le(e) {
3938
- return `${fl}-opt-${e}`;
3938
+ return `${dl}-opt-${e}`;
3939
3939
  }
3940
3940
  let ue = w(() => a.tags.value.length === 0), de = w(() => !ue.value && L.value.length === 0), fe = w(() => M.value && R.value.length > 1 && !S.value);
3941
3941
  return (r, i) => (s(), y(qt, {
@@ -3946,16 +3946,16 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3946
3946
  default: l(() => [p("div", {
3947
3947
  role: "dialog",
3948
3948
  "aria-modal": "true",
3949
- "aria-labelledby": `${fl}-title`,
3949
+ "aria-labelledby": `${dl}-title`,
3950
3950
  "data-tpl-theme": x(h),
3951
3951
  "data-testid": "merge-tag-picker-modal",
3952
3952
  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)]",
3953
3953
  style: t(x(f))
3954
3954
  }, [
3955
- p("header", Yc, [p("h2", {
3956
- id: `${fl}-title`,
3955
+ p("header", Jc, [p("h2", {
3956
+ id: `${dl}-title`,
3957
3957
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
3958
- }, c(x(o).mergeTag.picker.title), 9, Xc), p("button", {
3958
+ }, c(x(o).mergeTag.picker.title), 9, Yc), p("button", {
3959
3959
  type: "button",
3960
3960
  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)]",
3961
3961
  "aria-label": x(o).mergeTag.picker.close,
@@ -3964,13 +3964,13 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3964
3964
  }, [g(x(At), {
3965
3965
  size: 16,
3966
3966
  "stroke-width": 2
3967
- })], 8, Zc)]),
3968
- p("div", Qc, [g(x(mt), {
3967
+ })], 8, Xc)]),
3968
+ p("div", Zc, [g(x(mt), {
3969
3969
  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)]",
3970
3970
  size: 14,
3971
3971
  "stroke-width": 2
3972
3972
  }), k(p("input", {
3973
- id: `${fl}-search`,
3973
+ id: `${dl}-search`,
3974
3974
  ref_key: "searchInputRef",
3975
3975
  ref: b,
3976
3976
  "onUpdate:modelValue": i[0] ||= (e) => _.value = e,
@@ -3978,34 +3978,34 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
3978
3978
  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)]",
3979
3979
  placeholder: x(o).mergeTag.picker.searchPlaceholder,
3980
3980
  "aria-label": x(o).mergeTag.picker.searchAriaLabel,
3981
- "aria-controls": fl,
3981
+ "aria-controls": dl,
3982
3982
  "aria-activedescendant": ce(),
3983
3983
  "data-testid": "merge-tag-picker-search",
3984
3984
  onKeydown: i[1] ||= N(j(() => {}, ["prevent"]), ["enter"])
3985
- }, null, 40, $c), [[A, _.value]])]),
3986
- fe.value ? (s(), m("div", el, [(s(!0), m(C, null, e(R.value, (e) => (s(), m("button", {
3985
+ }, null, 40, Qc), [[A, _.value]])]),
3986
+ fe.value ? (s(), m("div", $c, [(s(!0), m(C, null, e(R.value, (e) => (s(), m("button", {
3987
3987
  key: e,
3988
3988
  type: "button",
3989
3989
  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)]",
3990
3990
  "data-testid": "merge-tag-picker-group-pill",
3991
3991
  "data-group-name": e,
3992
3992
  onClick: (t) => oe(e)
3993
- }, c(e), 9, tl))), 128))])) : T("", !0),
3993
+ }, c(e), 9, el))), 128))])) : T("", !0),
3994
3994
  p("div", {
3995
- id: fl,
3995
+ id: dl,
3996
3996
  ref_key: "listRef",
3997
3997
  ref: re,
3998
3998
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
3999
3999
  role: "listbox",
4000
4000
  "aria-label": x(o).mergeTag.picker.title,
4001
4001
  "data-testid": "merge-tag-picker-list"
4002
- }, [ue.value ? (s(), m("div", rl, c(x(o).mergeTag.picker.empty), 1)) : de.value ? (s(), m("div", il, c(x(o).mergeTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(z.value, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("button", {
4002
+ }, [ue.value ? (s(), m("div", nl, c(x(o).mergeTag.picker.empty), 1)) : de.value ? (s(), m("div", rl, c(x(o).mergeTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(z.value, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("button", {
4003
4003
  key: 0,
4004
4004
  ref_for: !0,
4005
4005
  ref: (t) => ae(e.group, t),
4006
4006
  type: "button",
4007
4007
  "aria-expanded": !F(e.group),
4008
- "aria-controls": fl,
4008
+ "aria-controls": dl,
4009
4009
  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)]",
4010
4010
  "data-testid": "merge-tag-picker-group-header",
4011
4011
  "data-group-name": e.group,
@@ -4018,8 +4018,8 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
4018
4018
  class: n(["tpl:transition-transform", F(e.group) ? "tpl:-rotate-90" : ""])
4019
4019
  }, null, 8, ["class"]),
4020
4020
  p("span", null, c(e.group), 1),
4021
- p("span", ol, " (" + c(x(u)(x(o).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
4022
- ], 8, al)) : (s(), m("button", {
4021
+ p("span", al, " (" + c(x(u)(x(o).mergeTag.picker.groupCount, { count: e.count })) + ") ", 1)
4022
+ ], 8, il)) : (s(), m("button", {
4023
4023
  key: 1,
4024
4024
  id: le(e.index),
4025
4025
  type: "button",
@@ -4034,16 +4034,16 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
4034
4034
  onMousemove: (t) => O.value = e.index,
4035
4035
  onClick: (t) => ee(e.tag)
4036
4036
  }, [
4037
- p("span", cl, c(e.tag.label), 1),
4038
- p("span", ll, c(e.tag.value), 1),
4039
- e.tag.description ? (s(), m("span", ul, c(e.tag.description), 1)) : T("", !0),
4040
- e.tag.sample === void 0 ? T("", !0) : (s(), m("span", dl, c(x(u)(x(o).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
4041
- ], 42, sl))], 64))), 128))], 8, nl)
4042
- ], 12, Jc)]),
4037
+ p("span", sl, c(e.tag.label), 1),
4038
+ p("span", cl, c(e.tag.value), 1),
4039
+ e.tag.description ? (s(), m("span", ll, c(e.tag.description), 1)) : T("", !0),
4040
+ e.tag.sample === void 0 ? T("", !0) : (s(), m("span", ul, c(x(u)(x(o).mergeTag.picker.sample, { sample: e.tag.sample })), 1))
4041
+ ], 42, ol))], 64))), 128))], 8, tl)
4042
+ ], 12, qc)]),
4043
4043
  _: 1
4044
4044
  }, 8, ["visible"]));
4045
4045
  }
4046
- }), ml = ["data-logic-keyword"], hl = /* @__PURE__ */ f({
4046
+ }), pl = ["data-logic-keyword"], ml = /* @__PURE__ */ f({
4047
4047
  __name: "LogicTagBadge",
4048
4048
  props: {
4049
4049
  value: {},
@@ -4060,22 +4060,22 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
4060
4060
  },
4061
4061
  "data-testid": "merge-tag-logic-badge",
4062
4062
  "data-logic-keyword": r.value
4063
- }, c(r.value), 9, ml)) : T("", !0);
4063
+ }, c(r.value), 9, pl)) : T("", !0);
4064
4064
  }
4065
- }), gl = ["aria-labelledby", "data-tpl-theme"], _l = { 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" }, vl = ["id"], yl = ["aria-label"], bl = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, xl = [
4065
+ }), hl = ["aria-labelledby", "data-tpl-theme"], gl = { 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" }, _l = ["id"], vl = ["aria-label"], yl = { class: "tpl:relative tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-3 tpl:py-2.5" }, bl = [
4066
4066
  "id",
4067
4067
  "placeholder",
4068
4068
  "aria-label",
4069
4069
  "aria-activedescendant"
4070
- ], Sl = ["aria-label"], Cl = {
4070
+ ], xl = ["aria-label"], Sl = {
4071
4071
  key: 0,
4072
4072
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
4073
4073
  "data-testid": "logic-picker-empty"
4074
- }, wl = {
4074
+ }, Cl = {
4075
4075
  key: 1,
4076
4076
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
4077
4077
  "data-testid": "logic-picker-empty"
4078
- }, Tl = ["data-group-name"], El = [
4078
+ }, wl = ["data-group-name"], Tl = [
4079
4079
  "id",
4080
4080
  "aria-selected",
4081
4081
  "data-selected",
@@ -4083,16 +4083,16 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
4083
4083
  "data-logic-kind",
4084
4084
  "onMousemove",
4085
4085
  "onClick"
4086
- ], Dl = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Ol = { class: "tpl:text-sm tpl:font-medium" }, kl = {
4086
+ ], El = { class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-between tpl:gap-2" }, Dl = { class: "tpl:text-sm tpl:font-medium" }, Ol = {
4087
4087
  key: 0,
4088
4088
  class: "tpl:flex tpl:items-center"
4089
- }, Al = {
4089
+ }, kl = {
4090
4090
  key: 1,
4091
4091
  class: "tpl:flex tpl:items-center tpl:gap-1"
4092
- }, jl = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, Ml = {
4092
+ }, Al = { class: "tpl:line-clamp-2 tpl:font-mono tpl:text-xs tpl:text-ellipsis tpl:break-all tpl:text-[var(--tpl-text-dim)]" }, jl = {
4093
4093
  key: 0,
4094
4094
  class: "tpl:line-clamp-2 tpl:text-xs tpl:text-ellipsis tpl:text-[var(--tpl-text-dim)]"
4095
- }, Nl = "tpl-logic-picker-list", Pl = /* @__PURE__ */ f({
4095
+ }, Ml = "tpl-logic-picker-list", Nl = /* @__PURE__ */ f({
4096
4096
  __name: "LogicTagPickerModal",
4097
4097
  setup(r) {
4098
4098
  let a = He(st, "LogicTagPickerModal"), { t: o } = H(), u = D(et, ee.liquid), f = D(Ke, null), h = D(ze, null), _ = d(""), v = Fe(_, 200), b = d(null), S = w(() => v.value.trim().length > 0), O = d(0);
@@ -4178,10 +4178,10 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
4178
4178
  }
4179
4179
  }
4180
4180
  function se(e) {
4181
- return `${Nl}-opt-${e}`;
4181
+ return `${Ml}-opt-${e}`;
4182
4182
  }
4183
4183
  function ce() {
4184
- return B.value.length === 0 ? void 0 : `${Nl}-opt-${O.value}`;
4184
+ return B.value.length === 0 ? void 0 : `${Ml}-opt-${O.value}`;
4185
4185
  }
4186
4186
  return (r, i) => (s(), y(qt, {
4187
4187
  visible: x(a).isOpen.value,
@@ -4191,16 +4191,16 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
4191
4191
  default: l(() => [p("div", {
4192
4192
  role: "dialog",
4193
4193
  "aria-modal": "true",
4194
- "aria-labelledby": `${Nl}-title`,
4194
+ "aria-labelledby": `${Ml}-title`,
4195
4195
  "data-tpl-theme": x(h),
4196
4196
  "data-testid": "logic-picker-modal",
4197
4197
  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)]",
4198
4198
  style: t(x(f))
4199
4199
  }, [
4200
- p("header", _l, [p("h2", {
4201
- id: `${Nl}-title`,
4200
+ p("header", gl, [p("h2", {
4201
+ id: `${Ml}-title`,
4202
4202
  class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]"
4203
- }, c(x(o).logicTag.picker.title), 9, vl), p("button", {
4203
+ }, c(x(o).logicTag.picker.title), 9, _l), p("button", {
4204
4204
  type: "button",
4205
4205
  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)]",
4206
4206
  "aria-label": x(o).logicTag.picker.close,
@@ -4209,13 +4209,13 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
4209
4209
  }, [g(x(At), {
4210
4210
  size: 16,
4211
4211
  "stroke-width": 2
4212
- })], 8, yl)]),
4213
- p("div", bl, [g(x(mt), {
4212
+ })], 8, vl)]),
4213
+ p("div", yl, [g(x(mt), {
4214
4214
  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)]",
4215
4215
  size: 14,
4216
4216
  "stroke-width": 2
4217
4217
  }), k(p("input", {
4218
- id: `${Nl}-search`,
4218
+ id: `${Ml}-search`,
4219
4219
  ref_key: "searchInputRef",
4220
4220
  ref: b,
4221
4221
  "onUpdate:modelValue": i[0] ||= (e) => _.value = e,
@@ -4223,25 +4223,25 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
4223
4223
  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)]",
4224
4224
  placeholder: x(o).logicTag.picker.searchPlaceholder,
4225
4225
  "aria-label": x(o).logicTag.picker.searchAriaLabel,
4226
- "aria-controls": Nl,
4226
+ "aria-controls": Ml,
4227
4227
  "aria-activedescendant": ce(),
4228
4228
  "data-testid": "logic-picker-search",
4229
4229
  onKeydown: i[1] ||= N(j(() => {}, ["prevent"]), ["enter"])
4230
- }, null, 40, xl), [[A, _.value]])]),
4230
+ }, null, 40, bl), [[A, _.value]])]),
4231
4231
  p("div", {
4232
- id: Nl,
4232
+ id: Ml,
4233
4233
  ref_key: "listRef",
4234
4234
  ref: re,
4235
4235
  class: "tpl:relative tpl:max-h-[60vh] tpl:flex-1 tpl:overflow-y-auto",
4236
4236
  role: "listbox",
4237
4237
  "aria-label": x(o).logicTag.picker.title,
4238
4238
  "data-testid": "logic-picker-list"
4239
- }, [te.value ? (s(), m("div", Cl, c(x(o).logicTag.picker.empty), 1)) : ne.value ? (s(), m("div", wl, c(x(o).logicTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(z.value.rows, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("div", {
4239
+ }, [te.value ? (s(), m("div", Sl, c(x(o).logicTag.picker.empty), 1)) : ne.value ? (s(), m("div", Cl, c(x(o).logicTag.picker.noResults), 1)) : (s(!0), m(C, { key: 2 }, e(z.value.rows, (e, t) => (s(), m(C, { key: t }, [e.kind === "header" ? (s(), m("div", {
4240
4240
  key: 0,
4241
4241
  class: "tpl:px-3 tpl:pt-2.5 tpl:pb-1 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]",
4242
4242
  "data-testid": "logic-picker-header",
4243
4243
  "data-group-name": e.label
4244
- }, c(e.label), 9, Tl)) : (s(), m("button", {
4244
+ }, c(e.label), 9, wl)) : (s(), m("button", {
4245
4245
  key: 1,
4246
4246
  id: se(e.index),
4247
4247
  type: "button",
@@ -4255,27 +4255,27 @@ var Eo = { class: "tpl:mb-3.5" }, Do = ["value"], Oo = ["value"], ko = {
4255
4255
  onMousemove: (t) => O.value = e.index,
4256
4256
  onClick: (t) => ie(e.kind === "tag" ? e.tag : e.pair)
4257
4257
  }, [
4258
- p("span", Dl, [p("span", Ol, c(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), m("span", kl, [g(hl, {
4258
+ p("span", El, [p("span", Dl, c(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), m("span", Ol, [g(ml, {
4259
4259
  value: e.tag.value,
4260
4260
  syntax: x(u)
4261
- }, null, 8, ["value", "syntax"])])) : (s(), m("span", Al, [
4262
- g(hl, {
4261
+ }, null, 8, ["value", "syntax"])])) : (s(), m("span", kl, [
4262
+ g(ml, {
4263
4263
  value: e.pair.before,
4264
4264
  syntax: x(u)
4265
4265
  }, null, 8, ["value", "syntax"]),
4266
4266
  i[2] ||= p("span", { class: "tpl:text-[var(--tpl-text-dim)]" }, "…", -1),
4267
- g(hl, {
4267
+ g(ml, {
4268
4268
  value: e.pair.after,
4269
4269
  syntax: x(u)
4270
4270
  }, null, 8, ["value", "syntax"])
4271
4271
  ]))]),
4272
- p("span", jl, c(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
4273
- (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), m("span", Ml, c(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : T("", !0)
4274
- ], 42, El))], 64))), 128))], 8, Sl)
4275
- ], 12, gl)]),
4272
+ p("span", Al, c(e.kind === "tag" ? e.tag.value : `${e.pair.before} … ${e.pair.after}`), 1),
4273
+ (e.kind === "tag" ? e.tag.description : e.pair.description) ? (s(), m("span", jl, c(e.kind === "tag" ? e.tag.description : e.pair.description), 1)) : T("", !0)
4274
+ ], 42, Tl))], 64))), 128))], 8, xl)
4275
+ ], 12, hl)]),
4276
4276
  _: 1
4277
4277
  }, 8, ["visible"]));
4278
4278
  }
4279
4279
  });
4280
4280
  //#endregion
4281
- export { Hc as a, Nn as c, fn as d, dn as f, tn as h, Wc as i, wn as l, sn as m, pl as n, Bc as o, ln as p, qc as r, Fc as s, Pl as t, Cn as u };
4281
+ export { Vc as a, Mn as c, fn as d, dn as f, tn as h, Uc as i, Cn as l, sn as m, fl as n, zc as o, ln as p, Kc as r, Pc as s, Nl as t, Sn as u };