@templatical/editor 0.47.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/dist/{AiChatSidebar-BPOv5Ra8.js → AiChatSidebar-DxPHFNoT.js} +8 -8
  2. package/dist/{AiFeatureMenu-H_WT4YR8.js → AiFeatureMenu-C8GVqu1d.js} +4 -4
  3. package/dist/{BlockIssueBadge-AgO5abEB.js → BlockIssueBadge-BShkuJis.js} +2 -2
  4. package/dist/BlockPreviewCanvas-tzAtDkXH.js +141 -0
  5. package/dist/{CloudHeaderExtras-gXsTYoGG.js → CloudHeaderExtras-CUSftQdm.js} +2 -2
  6. package/dist/{CloudPanels-H_GdbOfZ.js → CloudPanels-Dgw7tb4R.js} +4 -4
  7. package/dist/{CollaboratorBar-BazGNMqN.js → CollaboratorBar-5rfopCPx.js} +2 -2
  8. package/dist/{CommentsPanel-CMgsG_yh.js → CommentsPanel-DiWzYtnZ.js} +1 -1
  9. package/dist/{CommentsSidebar-DCh8DTP8.js → CommentsSidebar-BOqj16Al.js} +10 -10
  10. package/dist/{CountdownToolbar-DVuucA3v.js → CountdownToolbar-C4y3Ft7H.js} +4 -4
  11. package/dist/{DesignReferenceSidebar-DxNV4lQp.js → DesignReferenceSidebar-BWAi3eQQ.js} +7 -7
  12. package/dist/{IssuesPanel-CUpW54P4.js → IssuesPanel-C-x3I012.js} +5 -5
  13. package/dist/{LogicTagInsertButton-DDYKnqmj.js → LogicTagInsertButton-B1_Wy0AN.js} +6 -6
  14. package/dist/{MediaEditModal-D_we0Scr.js → MediaEditModal-ByOvznRC.js} +1 -1
  15. package/dist/{MediaPanels-L95BwWV1.js → MediaPanels-9mDBv4aL.js} +1 -1
  16. package/dist/{MergeTagInput-DAL998tx.js → MergeTagInput-fOewuF27.js} +1 -1
  17. package/dist/{MergeTagModeToggle-CjHO26rb.js → MergeTagModeToggle-BXamLcv7.js} +4 -4
  18. package/dist/{ParagraphEditor-CcEN1N6n.js → ParagraphEditor-BVjOwwHx.js} +131 -131
  19. package/dist/{RestoreVersionDialog-B2OH5rgs.js → RestoreVersionDialog-BEKXx9xk.js} +3 -3
  20. package/dist/{RichTextEditorContent-BGeTg-QL.js → RichTextEditorContent-D7kp7iig.js} +4 -4
  21. package/dist/{SaveBlockDialog-CCVyU-7y.js → SaveBlockDialog-SJu0lecx.js} +32 -33
  22. package/dist/{SavedBlocksBrowserModal-_WmSeqIh.js → SavedBlocksBrowserModal-DbmIS5uK.js} +9 -9
  23. package/dist/{SavedBlocksPanels-DVX_ruQ7.js → SavedBlocksPanels-Dr5Fxx9Z.js} +1 -1
  24. package/dist/{SavedBlocksPickBar-DVJC28hP.js → SavedBlocksPickBar-DnEWBZJy.js} +2 -2
  25. package/dist/{TemplateScoringPanel-U0QFiwdI.js → TemplateScoringPanel-ynbGl-sr.js} +11 -11
  26. package/dist/{TemplateSettings-CdhTm9JQ.js → TemplateSettings-Bi01S3H3.js} +7 -7
  27. package/dist/{TestEmailModal-BqToA_ls.js → TestEmailModal-CbRY8HQx.js} +7 -7
  28. package/dist/{TestEmailPanel-Cn4Ptq0j.js → TestEmailPanel-NAOmt3xi.js} +1 -1
  29. package/dist/{TitleEditor-CZdqeltH.js → TitleEditor-Cc3DHbuN.js} +8 -8
  30. package/dist/{ToggleSwitch-BR8Sgzib.js → ToggleSwitch-Ozc7YU38.js} +1 -1
  31. package/dist/Toolbar-B-2lO0I8.js +3156 -0
  32. package/dist/{TplModal-CoczSDma.js → TplModal-Bz4-IZ9R.js} +1 -1
  33. package/dist/{VersionHistoryMenu-DY5z5FZr.js → VersionHistoryMenu-CjV1d1zk.js} +5 -5
  34. package/dist/{VersionHistoryPanels-DowHeDAQ.js → VersionHistoryPanels-BtwxrKJn.js} +1 -1
  35. package/dist/{VersionPreviewBanner-Bo8NxBbh.js → VersionPreviewBanner-BLAei1kj.js} +1 -1
  36. package/dist/WrapperBlock-D0qgNqjD.js +45 -0
  37. package/dist/{blockTypeIcons-4E1U8f99.js → blockTypeIcons-CEDZytqP.js} +49 -19
  38. package/dist/bundle-stats.json +8 -8
  39. package/dist/{cdn/chunks/ca-DMoGGP9L.js → ca-CbNzJM3I.js} +17 -3
  40. package/dist/cdn/chunks/{AiChatSidebar-B72rI0be.js → AiChatSidebar-Dk0rJBQN.js} +7 -7
  41. package/dist/cdn/chunks/{AiChatSidebar-B72rI0be.js.map → AiChatSidebar-Dk0rJBQN.js.map} +1 -1
  42. package/dist/cdn/chunks/{AiFeatureMenu-BqSG9iEd.js → AiFeatureMenu-B7b0w8ZS.js} +3 -3
  43. package/dist/cdn/chunks/{AiFeatureMenu-BqSG9iEd.js.map → AiFeatureMenu-B7b0w8ZS.js.map} +1 -1
  44. package/dist/cdn/chunks/{BlockIssueBadge-CS7ytN-z.js → BlockIssueBadge-C7sdnkrF.js} +2 -2
  45. package/dist/cdn/chunks/{BlockIssueBadge-CS7ytN-z.js.map → BlockIssueBadge-C7sdnkrF.js.map} +1 -1
  46. package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js +143 -0
  47. package/dist/cdn/chunks/BlockPreviewCanvas-vK5tBazr.js.map +1 -0
  48. package/dist/cdn/chunks/{CloudHeaderExtras-DJXLTUHc.js → CloudHeaderExtras-B4fhuwc_.js} +3 -3
  49. package/dist/cdn/chunks/{CloudHeaderExtras-DJXLTUHc.js.map → CloudHeaderExtras-B4fhuwc_.js.map} +1 -1
  50. package/dist/cdn/chunks/{CloudPanels-D1fPLjG8.js → CloudPanels-awqHfJqC.js} +4 -4
  51. package/dist/cdn/chunks/{CloudPanels-D1fPLjG8.js.map → CloudPanels-awqHfJqC.js.map} +1 -1
  52. package/dist/cdn/chunks/{CollaboratorBar-MeRQB1eN.js → CollaboratorBar-CS0ivqkr.js} +3 -3
  53. package/dist/cdn/chunks/{CollaboratorBar-MeRQB1eN.js.map → CollaboratorBar-CS0ivqkr.js.map} +1 -1
  54. package/dist/cdn/chunks/{CommentsPanel-CmxPylNf.js → CommentsPanel-CbzxwsyI.js} +2 -2
  55. package/dist/cdn/chunks/{CommentsPanel-CmxPylNf.js.map → CommentsPanel-CbzxwsyI.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsSidebar-CrleQTbo.js → CommentsSidebar-DWPHZuQm.js} +13 -13
  57. package/dist/cdn/chunks/{CommentsSidebar-CrleQTbo.js.map → CommentsSidebar-DWPHZuQm.js.map} +1 -1
  58. package/dist/cdn/chunks/{CountdownToolbar-DPIOtlN0.js → CountdownToolbar-Cqg8FUH-.js} +5 -5
  59. package/dist/cdn/chunks/{CountdownToolbar-DPIOtlN0.js.map → CountdownToolbar-Cqg8FUH-.js.map} +1 -1
  60. package/dist/cdn/chunks/{DesignReferenceSidebar-BgTNqgCy.js → DesignReferenceSidebar-BW9cHnA9.js} +7 -7
  61. package/dist/cdn/chunks/{DesignReferenceSidebar-BgTNqgCy.js.map → DesignReferenceSidebar-BW9cHnA9.js.map} +1 -1
  62. package/dist/cdn/chunks/{IssuesPanel-BGjLcNpQ.js → IssuesPanel-cXf9ywA4.js} +4 -4
  63. package/dist/cdn/chunks/{IssuesPanel-BGjLcNpQ.js.map → IssuesPanel-cXf9ywA4.js.map} +1 -1
  64. package/dist/cdn/chunks/{LogicTagInsertButton-BEsqPhMr.js → LogicTagInsertButton-BMB9vShs.js} +84 -84
  65. package/dist/cdn/chunks/{LogicTagInsertButton-BEsqPhMr.js.map → LogicTagInsertButton-BMB9vShs.js.map} +1 -1
  66. package/dist/cdn/chunks/{MediaEditModal-C1Ao0i2c.js → MediaEditModal-zXfcArr4.js} +2 -2
  67. package/dist/cdn/chunks/{MediaEditModal-C1Ao0i2c.js.map → MediaEditModal-zXfcArr4.js.map} +1 -1
  68. package/dist/cdn/chunks/{MediaPanels-1GPYiZZ0.js → MediaPanels-Cp4XB_dH.js} +2 -2
  69. package/dist/cdn/chunks/{MediaPanels-1GPYiZZ0.js.map → MediaPanels-Cp4XB_dH.js.map} +1 -1
  70. package/dist/cdn/chunks/{MergeTagInput-Dy13_OLc.js → MergeTagInput-DLqrA9co.js} +2 -2
  71. package/dist/cdn/chunks/{MergeTagInput-Dy13_OLc.js.map → MergeTagInput-DLqrA9co.js.map} +1 -1
  72. package/dist/cdn/chunks/{MergeTagModeToggle-B2CPZOeF.js → MergeTagModeToggle-BRiJzzn5.js} +3 -3
  73. package/dist/cdn/chunks/{MergeTagModeToggle-B2CPZOeF.js.map → MergeTagModeToggle-BRiJzzn5.js.map} +1 -1
  74. package/dist/cdn/chunks/{ParagraphEditor-BGLIw7kg.js → ParagraphEditor-D4aq9eeC.js} +35 -35
  75. package/dist/cdn/chunks/{ParagraphEditor-BGLIw7kg.js.map → ParagraphEditor-D4aq9eeC.js.map} +1 -1
  76. package/dist/cdn/chunks/{RestoreVersionDialog-BhykE8En.js → RestoreVersionDialog-BgR6RXSb.js} +5 -5
  77. package/dist/cdn/chunks/{RestoreVersionDialog-BhykE8En.js.map → RestoreVersionDialog-BgR6RXSb.js.map} +1 -1
  78. package/dist/cdn/chunks/{RichTextEditorContent-B-txUvPL.js → RichTextEditorContent-C4DMAn0g.js} +4 -4
  79. package/dist/cdn/chunks/{RichTextEditorContent-B-txUvPL.js.map → RichTextEditorContent-C4DMAn0g.js.map} +1 -1
  80. package/dist/cdn/chunks/{SaveBlockDialog-BHqEp7jw.js → SaveBlockDialog-BaIsQd09.js} +23 -24
  81. package/dist/cdn/chunks/{SaveBlockDialog-BHqEp7jw.js.map → SaveBlockDialog-BaIsQd09.js.map} +1 -1
  82. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BhR6AI0f.js → SavedBlocksBrowserModal-CtnB58p_.js} +6 -6
  83. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BhR6AI0f.js.map → SavedBlocksBrowserModal-CtnB58p_.js.map} +1 -1
  84. package/dist/cdn/chunks/{SavedBlocksPanels-YwffJtfY.js → SavedBlocksPanels-BhEOMzEQ.js} +2 -2
  85. package/dist/cdn/chunks/{SavedBlocksPanels-YwffJtfY.js.map → SavedBlocksPanels-BhEOMzEQ.js.map} +1 -1
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-BtpFU7es.js → SavedBlocksPickBar-CcdqTEIp.js} +3 -3
  87. package/dist/cdn/chunks/{SavedBlocksPickBar-BtpFU7es.js.map → SavedBlocksPickBar-CcdqTEIp.js.map} +1 -1
  88. package/dist/cdn/chunks/{TemplateScoringPanel-N4ySFh5w.js → TemplateScoringPanel-BrWqJCSP.js} +6 -6
  89. package/dist/cdn/chunks/{TemplateScoringPanel-N4ySFh5w.js.map → TemplateScoringPanel-BrWqJCSP.js.map} +1 -1
  90. package/dist/cdn/chunks/{TemplateSettings-C7b5X34U.js → TemplateSettings-BkkWTDHD.js} +10 -10
  91. package/dist/cdn/chunks/{TemplateSettings-C7b5X34U.js.map → TemplateSettings-BkkWTDHD.js.map} +1 -1
  92. package/dist/cdn/chunks/{TestEmailModal-DHJKI5y5.js → TestEmailModal-V5mwHsUV.js} +9 -9
  93. package/dist/cdn/chunks/{TestEmailModal-DHJKI5y5.js.map → TestEmailModal-V5mwHsUV.js.map} +1 -1
  94. package/dist/cdn/chunks/{TestEmailPanel-lYtzTXpR.js → TestEmailPanel-DxrKuctP.js} +2 -2
  95. package/dist/cdn/chunks/{TestEmailPanel-lYtzTXpR.js.map → TestEmailPanel-DxrKuctP.js.map} +1 -1
  96. package/dist/cdn/chunks/{TitleEditor-5eY01ypW.js → TitleEditor-CsZiG3TT.js} +13 -13
  97. package/dist/cdn/chunks/{TitleEditor-5eY01ypW.js.map → TitleEditor-CsZiG3TT.js.map} +1 -1
  98. package/dist/cdn/chunks/{ToggleSwitch-BN8rMC2m.js → ToggleSwitch-BB-bQADJ.js} +2 -2
  99. package/dist/cdn/chunks/{ToggleSwitch-BN8rMC2m.js.map → ToggleSwitch-BB-bQADJ.js.map} +1 -1
  100. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js +3073 -0
  101. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js.map +1 -0
  102. package/dist/cdn/chunks/{TplModal-WIBiBrGy.js → TplModal-DC_eodTV.js} +2 -2
  103. package/dist/cdn/chunks/{TplModal-WIBiBrGy.js.map → TplModal-DC_eodTV.js.map} +1 -1
  104. package/dist/cdn/chunks/{VersionHistoryMenu-CZnlS9K5.js → VersionHistoryMenu-DXnM5Df2.js} +7 -7
  105. package/dist/cdn/chunks/{VersionHistoryMenu-CZnlS9K5.js.map → VersionHistoryMenu-DXnM5Df2.js.map} +1 -1
  106. package/dist/cdn/chunks/{VersionHistoryPanels-xjLSpR1e.js → VersionHistoryPanels-DXSqmaLS.js} +2 -2
  107. package/dist/cdn/chunks/{VersionHistoryPanels-xjLSpR1e.js.map → VersionHistoryPanels-DXSqmaLS.js.map} +1 -1
  108. package/dist/cdn/chunks/{VersionPreviewBanner-sARpn4hh.js → VersionPreviewBanner-DKyN6BhO.js} +2 -2
  109. package/dist/cdn/chunks/{VersionPreviewBanner-sARpn4hh.js.map → VersionPreviewBanner-DKyN6BhO.js.map} +1 -1
  110. package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js +47 -0
  111. package/dist/cdn/chunks/WrapperBlock-gG_Bleug.js.map +1 -0
  112. package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js +22 -0
  113. package/dist/cdn/chunks/blockTypeIcons-HrMJDfVg.js.map +1 -0
  114. package/dist/{ca-DMoGGP9L.js → cdn/chunks/ca-CbNzJM3I.js} +19 -1
  115. package/dist/cdn/chunks/ca-CbNzJM3I.js.map +1 -0
  116. package/dist/cdn/chunks/{cloud-Cd7ptfhL.js → cloud-BHClP3e2.js} +2 -2
  117. package/dist/cdn/chunks/{cloud-Cd7ptfhL.js.map → cloud-BHClP3e2.js.map} +1 -1
  118. package/dist/cdn/chunks/{createCloudRuntime-DtIZ2Lee.js → createCloudRuntime-Vd0N4elZ.js} +4 -4
  119. package/dist/cdn/chunks/{createCloudRuntime-DtIZ2Lee.js.map → createCloudRuntime-Vd0N4elZ.js.map} +1 -1
  120. package/dist/cdn/chunks/{de-DgAelLbM.js → de-DMquBpZM.js} +18 -2
  121. package/dist/cdn/chunks/de-DMquBpZM.js.map +1 -0
  122. package/dist/cdn/chunks/{editor-modal-Bcwo0orC.js → editor-modal-vEEmZ8Tu.js} +88 -88
  123. package/dist/cdn/chunks/{editor-modal-Bcwo0orC.js.map → editor-modal-vEEmZ8Tu.js.map} +1 -1
  124. package/dist/cdn/chunks/{en-Dekrl7HA.js → en-C8Mp71sO.js} +18 -2
  125. package/dist/cdn/chunks/en-C8Mp71sO.js.map +1 -0
  126. package/dist/cdn/chunks/en-eWpiXyZu.js +1 -0
  127. package/dist/cdn/chunks/{es-BaZzyidV.js → es-Byq4tthI.js} +18 -2
  128. package/dist/cdn/chunks/es-Byq4tthI.js.map +1 -0
  129. package/dist/cdn/chunks/{extensions-T-t8MKDb.js → extensions-hJ9VqzDc.js} +4 -4
  130. package/dist/cdn/chunks/{extensions-T-t8MKDb.js.map → extensions-hJ9VqzDc.js.map} +1 -1
  131. package/dist/{fr-C5ucb1HK.js → cdn/chunks/fr-B3j35HEw.js} +19 -1
  132. package/dist/cdn/chunks/fr-B3j35HEw.js.map +1 -0
  133. package/dist/cdn/chunks/{icons-C4fX9Bwy.js → icons-aTYwH5-g.js} +123 -94
  134. package/dist/cdn/chunks/icons-aTYwH5-g.js.map +1 -0
  135. package/dist/{ja-CUgR3mV0.js → cdn/chunks/ja-D7txAuGS.js} +19 -1
  136. package/dist/cdn/chunks/ja-D7txAuGS.js.map +1 -0
  137. package/dist/{nl-qrLY7hMS.js → cdn/chunks/nl-ClJ3BY3F.js} +19 -1
  138. package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +1 -0
  139. package/dist/cdn/chunks/{preRenderCustomBlocks-Co0oi0Jf.js → preRenderCustomBlocks-ByfuSjtL.js} +2 -2
  140. package/dist/cdn/chunks/{preRenderCustomBlocks-Co0oi0Jf.js.map → preRenderCustomBlocks-ByfuSjtL.js.map} +1 -1
  141. package/dist/{pt-BR-C6hMTQYi.js → cdn/chunks/pt-BR-DibcXcmv.js} +19 -1
  142. package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +1 -0
  143. package/dist/cdn/chunks/{socialIcons-DACw1wA8.js → socialIcons-C_lnkpG6.js} +355 -179
  144. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +1 -0
  145. package/dist/cdn/chunks/{src-BnJlDuyB.js → src-DYCDeBDM.js} +219 -181
  146. package/dist/cdn/chunks/src-DYCDeBDM.js.map +1 -0
  147. package/dist/cdn/chunks/{src-CHlVFp7r.js → src-DlFlC9Tt.js} +267 -241
  148. package/dist/cdn/chunks/src-DlFlC9Tt.js.map +1 -0
  149. package/dist/cdn/chunks/{src-Bu0qBpbf.js → src-dZ4D_tuP.js} +226 -193
  150. package/dist/cdn/chunks/src-dZ4D_tuP.js.map +1 -0
  151. package/dist/cdn/chunks/timeouts-Cv2jvusx.js +6 -0
  152. package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +1 -0
  153. package/dist/cdn/chunks/{useEditorCore-Bf2d1DKI.js → useEditorCore-Bb2UcB20.js} +722 -717
  154. package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +1 -0
  155. package/dist/cdn/chunks/{useLogicTag-3S63go4E.js → useLogicTag-HsyUCQtl.js} +2 -2
  156. package/dist/cdn/chunks/{useLogicTag-3S63go4E.js.map → useLogicTag-HsyUCQtl.js.map} +1 -1
  157. package/dist/cdn/chunks/{useMergeTag-BQtxUHq1.js → useMergeTag-Dg9pE85U.js} +2 -2
  158. package/dist/cdn/chunks/{useMergeTag-BQtxUHq1.js.map → useMergeTag-Dg9pE85U.js.map} +1 -1
  159. package/dist/cdn/chunks/{withCurrentFont-DwJd-lKc.js → withCurrentFont-oLcATrQ8.js} +2 -2
  160. package/dist/cdn/chunks/{withCurrentFont-DwJd-lKc.js.map → withCurrentFont-oLcATrQ8.js.map} +1 -1
  161. package/dist/cdn/editor.css +1 -1
  162. package/dist/cdn/editor.js +403 -397
  163. package/dist/cdn/editor.js.map +1 -1
  164. package/dist/{check-B5R4zXr7.js → check-ClwqRMgv.js} +1 -1
  165. package/dist/{chevron-down-BKyl85NV.js → chevron-down-te6qn-zE.js} +1 -1
  166. package/dist/{chevron-right-BmToZ8qX.js → chevron-right-W2hbH1FM.js} +1 -1
  167. package/dist/{chevron-up-DNYdOxPC.js → chevron-up-Bf5Zo7o4.js} +1 -1
  168. package/dist/{circle-alert-Dx9ju3YZ.js → circle-alert-CIEGV5DN.js} +1 -1
  169. package/dist/{clock-Dv9bxsSH.js → clock-Y4cx0gkJ.js} +1 -1
  170. package/dist/{cloud-DwjaAdwK.js → cloud-B5xwm_4X.js} +1 -1
  171. package/dist/{copy-BsKl4dcy.js → copy-BEcsAlfB.js} +1 -1
  172. package/dist/{createCloudRuntime-C8gpPsSi.js → createCloudRuntime-zNPkF6T9.js} +3 -3
  173. package/dist/{createLucideIcon-DziKp5iU.js → createLucideIcon-CYHXK9hn.js} +5 -5
  174. package/dist/{de-DgAelLbM.js → de-DMquBpZM.js} +17 -1
  175. package/dist/{dist-C8koXLhl.js → dist-tsmnQugO.js} +285 -249
  176. package/dist/{editor-modal-BwyIUnV_.js → editor-modal-AlVLkU91.js} +23 -23
  177. package/dist/en-B0FUfNwz.js +1 -0
  178. package/dist/{en-Dekrl7HA.js → en-C8Mp71sO.js} +17 -1
  179. package/dist/{es-BaZzyidV.js → es-Byq4tthI.js} +17 -1
  180. package/dist/{extensions-DHyKjsNZ.js → extensions-pjO8VGkM.js} +3 -3
  181. package/dist/{eye-DQuinb9k.js → eye-Ddnz8nnm.js} +1 -1
  182. package/dist/{cdn/chunks/fr-C5ucb1HK.js → fr-B3j35HEw.js} +17 -3
  183. package/dist/{image-up-yTfLjOrj.js → image-up-CM_HC0Dx.js} +1 -1
  184. package/dist/index.d.ts +66 -3
  185. package/dist/{info-C7OjlS11.js → info-DXLmzoeY.js} +1 -1
  186. package/dist/{cdn/chunks/ja-CUgR3mV0.js → ja-D7txAuGS.js} +17 -3
  187. package/dist/{link-CrUFaZ0t.js → link-Cel46wgo.js} +1 -1
  188. package/dist/{list-CLgv6M-k.js → list-Cl0GwiV9.js} +1 -1
  189. package/dist/{loader-circle-BXM5VO0K.js → loader-circle-uAwpvfys.js} +1 -1
  190. package/dist/{message-circle-BisdQ8H9.js → message-circle-DWU1pTM_.js} +1 -1
  191. package/dist/{cdn/chunks/nl-qrLY7hMS.js → nl-ClJ3BY3F.js} +17 -3
  192. package/dist/{package-C1T4AxV1.js → package-CbyG_yU_.js} +1 -1
  193. package/dist/{pencil-oo2mwf4C.js → pencil-BzoDcwKu.js} +1 -1
  194. package/dist/{plus-BIilXopD.js → plus-8cDvoCjZ.js} +1 -1
  195. package/dist/{preRenderCustomBlocks-lFX0HHiV.js → preRenderCustomBlocks-DMP5RuHl.js} +3 -3
  196. package/dist/{cdn/chunks/pt-BR-C6hMTQYi.js → pt-BR-DibcXcmv.js} +17 -3
  197. package/dist/{refresh-cw-DrLlkEVC.js → refresh-cw-9WinWixo.js} +1 -1
  198. package/dist/{search-DNu9lImk.js → search-CqgGq1gG.js} +1 -1
  199. package/dist/{send-DDNh3LoJ.js → send-Ceo3c9Db.js} +1 -1
  200. package/dist/{shield-check-aXM3o14f.js → shield-check-uDAwur5D.js} +1 -1
  201. package/dist/{smartphone-isccgDee.js → smartphone-CcLaCpGK.js} +1 -1
  202. package/dist/{socialIcons-BctavKBN.js → socialIcons-PTiwhLoC.js} +332 -153
  203. package/dist/{sparkles-CIMfFxKv.js → sparkles-Do9XjAuT.js} +1 -1
  204. package/dist/style.css +1 -1
  205. package/dist/templatical-editor.js +549 -543
  206. package/dist/{text-align-start-C4JFeqsq.js → text-align-start-DvzC0HQA.js} +1 -1
  207. package/dist/timeouts-Cv2jvusx.js +4 -0
  208. package/dist/{trash-8ZD9pK_c.js → trash-vlINTx32.js} +1 -1
  209. package/dist/{triangle-alert-pq45xEHl.js → triangle-alert-MRYSJ9T2.js} +1 -1
  210. package/dist/{upload-DrNFmVes.js → upload-CtNOI6J2.js} +1 -1
  211. package/dist/{useEditorCore-BcT7UI4e.js → useEditorCore-PvErWWsp.js} +963 -957
  212. package/dist/{useLogicTag-D-dI8H6p.js → useLogicTag-BHn67tDd.js} +1 -1
  213. package/dist/{useMergeTag-5wMeDBi-.js → useMergeTag-CRkm5Ig6.js} +1 -1
  214. package/dist/{useScrollToBlock-Do3suaqp.js → useScrollToBlock-CXmcHQQN.js} +1 -1
  215. package/dist/{withCurrentFont-B4YnsG_2.js → withCurrentFont-CxRGeHO3.js} +1 -1
  216. package/dist/{x-CBFKGLB1.js → x-Cd6SFw8r.js} +1 -1
  217. package/package.json +8 -8
  218. package/dist/BlockPreviewCanvas-CZDBSPoG.js +0 -136
  219. package/dist/Toolbar-OGakTBEg.js +0 -2851
  220. package/dist/WrapperBlock-BOABSX9W.js +0 -46
  221. package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js +0 -138
  222. package/dist/cdn/chunks/BlockPreviewCanvas-cOTMFRcg.js.map +0 -1
  223. package/dist/cdn/chunks/Toolbar-Ik54UO_-.js +0 -2767
  224. package/dist/cdn/chunks/Toolbar-Ik54UO_-.js.map +0 -1
  225. package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js +0 -48
  226. package/dist/cdn/chunks/WrapperBlock-fsLe7goL.js.map +0 -1
  227. package/dist/cdn/chunks/blockTypeIcons-D3g5QzdT.js +0 -21
  228. package/dist/cdn/chunks/blockTypeIcons-D3g5QzdT.js.map +0 -1
  229. package/dist/cdn/chunks/ca-DMoGGP9L.js.map +0 -1
  230. package/dist/cdn/chunks/de-DgAelLbM.js.map +0 -1
  231. package/dist/cdn/chunks/en-BANFWZdr.js +0 -1
  232. package/dist/cdn/chunks/en-Dekrl7HA.js.map +0 -1
  233. package/dist/cdn/chunks/es-BaZzyidV.js.map +0 -1
  234. package/dist/cdn/chunks/fr-C5ucb1HK.js.map +0 -1
  235. package/dist/cdn/chunks/icons-C4fX9Bwy.js.map +0 -1
  236. package/dist/cdn/chunks/ja-CUgR3mV0.js.map +0 -1
  237. package/dist/cdn/chunks/nl-qrLY7hMS.js.map +0 -1
  238. package/dist/cdn/chunks/pt-BR-C6hMTQYi.js.map +0 -1
  239. package/dist/cdn/chunks/socialIcons-DACw1wA8.js.map +0 -1
  240. package/dist/cdn/chunks/src-BnJlDuyB.js.map +0 -1
  241. package/dist/cdn/chunks/src-Bu0qBpbf.js.map +0 -1
  242. package/dist/cdn/chunks/src-CHlVFp7r.js.map +0 -1
  243. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js +0 -6
  244. package/dist/cdn/chunks/timeouts-DHPZQ0G3.js.map +0 -1
  245. package/dist/cdn/chunks/useEditorCore-Bf2d1DKI.js.map +0 -1
  246. package/dist/en-CC-57eC_.js +0 -1
  247. package/dist/timeouts-DHPZQ0G3.js +0 -4
@@ -1,40 +1,40 @@
1
1
  import { E as e, F as t, H as n, K as r, N as i, Q as a, S as o, Y as s, at as c, b as l, c as u, ct as d, d as f, f as p, g as m, h, k as g, l as _, lt as v, m as y, n as b, p as x, q as S, r as C, u as w, ut as T, w as E, y as D } from "./draggable-DrsNwZuB.js";
2
- import { a as O, c as k, d as A, l as j } from "./src-BnJlDuyB.js";
2
+ import { a as O, c as k, d as A, l as j } from "./src-DYCDeBDM.js";
3
3
  import { t as ee } from "./dist-MNQYSEWU.js";
4
4
  import { J as te, Y as M, Z as ne, d as re } from "./keys-HI-INbkz.js";
5
5
  import { t as N } from "./useI18n-DUlyyIJJ.js";
6
6
  import { a as ie, i as ae, n as oe, o as se, r as ce, t as le } from "./usePopoverPosition-IbaW6-Ao.js";
7
- import { F as P, n as ue, q as F, zt as I } from "./icons-C4fX9Bwy.js";
8
- import { t as L } from "./useMergeTag-BQtxUHq1.js";
9
- import { t as de } from "./useLogicTag-3S63go4E.js";
10
- import { u as fe } from "./styleConstants-D1Jz-TFU.js";
7
+ import { Bt as P, F, n as I, q as L } from "./icons-aTYwH5-g.js";
8
+ import { t as R } from "./useMergeTag-Dg9pE85U.js";
9
+ import { t as ue } from "./useLogicTag-HsyUCQtl.js";
10
+ import { u as de } from "./styleConstants-D1Jz-TFU.js";
11
11
  //#region ../../node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js
12
- var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 ** t) => Math.round(n * e) / n, B = (e) => he(V(e)), V = (e) => (e[0] === "#" && (e = e.substring(1)), e.length < 6 ? {
12
+ var z = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, B = (e, t = 0, n = 10 ** t) => Math.round(n * e) / n, V = (e) => me(H(e)), H = (e) => (e[0] === "#" && (e = e.substring(1)), e.length < 6 ? {
13
13
  r: parseInt(e[0] + e[0], 16),
14
14
  g: parseInt(e[1] + e[1], 16),
15
15
  b: parseInt(e[2] + e[2], 16),
16
- a: e.length === 4 ? z(parseInt(e[3] + e[3], 16) / 255, 2) : 1
16
+ a: e.length === 4 ? B(parseInt(e[3] + e[3], 16) / 255, 2) : 1
17
17
  } : {
18
18
  r: parseInt(e.substring(0, 2), 16),
19
19
  g: parseInt(e.substring(2, 4), 16),
20
20
  b: parseInt(e.substring(4, 6), 16),
21
- a: e.length === 8 ? z(parseInt(e.substring(6, 8), 16) / 255, 2) : 1
22
- }), pe = (e) => me(W(e)), H = ({ h: e, s: t, v: n, a: r }) => {
21
+ a: e.length === 8 ? B(parseInt(e.substring(6, 8), 16) / 255, 2) : 1
22
+ }), fe = (e) => pe(G(e)), U = ({ h: e, s: t, v: n, a: r }) => {
23
23
  let i = (200 - t) * n / 100;
24
24
  return {
25
- h: z(e),
26
- s: z(i > 0 && i < 200 ? t * n / 100 / (i <= 100 ? i : 200 - i) * 100 : 0),
27
- l: z(i / 2),
28
- a: z(r, 2)
25
+ h: B(e),
26
+ s: B(i > 0 && i < 200 ? t * n / 100 / (i <= 100 ? i : 200 - i) * 100 : 0),
27
+ l: B(i / 2),
28
+ a: B(r, 2)
29
29
  };
30
- }, U = (e) => {
31
- let { h: t, s: n, l: r } = H(e);
30
+ }, W = (e) => {
31
+ let { h: t, s: n, l: r } = U(e);
32
32
  return `hsl(${t}, ${n}%, ${r}%)`;
33
- }, W = ({ h: e, s: t, v: n, a: r }) => {
33
+ }, G = ({ h: e, s: t, v: n, a: r }) => {
34
34
  e = e / 360 * 6, t /= 100, n /= 100;
35
35
  let i = Math.floor(e), a = n * (1 - t), o = n * (1 - (e - i) * t), s = n * (1 - (1 - e + i) * t), c = i % 6;
36
36
  return {
37
- r: z([
37
+ r: B([
38
38
  n,
39
39
  o,
40
40
  a,
@@ -42,7 +42,7 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
42
42
  s,
43
43
  n
44
44
  ][c] * 255),
45
- g: z([
45
+ g: B([
46
46
  s,
47
47
  n,
48
48
  n,
@@ -50,7 +50,7 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
50
50
  a,
51
51
  a
52
52
  ][c] * 255),
53
- b: z([
53
+ b: B([
54
54
  a,
55
55
  a,
56
56
  s,
@@ -58,27 +58,27 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
58
58
  n,
59
59
  o
60
60
  ][c] * 255),
61
- a: z(r, 2)
61
+ a: B(r, 2)
62
62
  };
63
- }, G = (e) => {
63
+ }, K = (e) => {
64
64
  let t = e.toString(16);
65
65
  return t.length < 2 ? "0" + t : t;
66
+ }, pe = ({ r: e, g: t, b: n, a: r }) => {
67
+ let i = r < 1 ? K(B(r * 255)) : "";
68
+ return "#" + K(e) + K(t) + K(n) + i;
66
69
  }, me = ({ r: e, g: t, b: n, a: r }) => {
67
- let i = r < 1 ? G(z(r * 255)) : "";
68
- return "#" + G(e) + G(t) + G(n) + i;
69
- }, he = ({ r: e, g: t, b: n, a: r }) => {
70
70
  let i = Math.max(e, t, n), a = i - Math.min(e, t, n), o = a ? i === e ? (t - n) / a : i === t ? 2 + (n - e) / a : 4 + (e - t) / a : 0;
71
71
  return {
72
- h: z(60 * (o < 0 ? o + 6 : o)),
73
- s: z(i ? a / i * 100 : 0),
74
- v: z(i / 255 * 100),
72
+ h: B(60 * (o < 0 ? o + 6 : o)),
73
+ s: B(i ? a / i * 100 : 0),
74
+ v: B(i / 255 * 100),
75
75
  a: r
76
76
  };
77
- }, K = (e, t) => {
77
+ }, he = (e, t) => {
78
78
  if (e === t) return !0;
79
79
  for (let n in e) if (e[n] !== t[n]) return !1;
80
80
  return !0;
81
- }, ge = (e, t) => e.toLowerCase() === t.toLowerCase() || K(V(e), V(t)), _e = {}, q = (e) => {
81
+ }, ge = (e, t) => e.toLowerCase() === t.toLowerCase() || he(H(e), H(t)), _e = {}, q = (e) => {
82
82
  let t = _e[e];
83
83
  return t || (t = document.createElement("template"), t.innerHTML = e, _e[e] = t), t;
84
84
  }, J = (e, t, n) => {
@@ -89,8 +89,8 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
89
89
  }, Y = !1, X = (e) => "touches" in e, ve = (e) => Y && !X(e) ? !1 : (Y ||= X(e), !0), ye = (e, t) => {
90
90
  let n = X(t) ? t.touches[0] : t, r = e.el.getBoundingClientRect();
91
91
  J(e.el, "move", e.getMove({
92
- x: R((n.pageX - (r.left + window.pageXOffset)) / r.width),
93
- y: R((n.pageY - (r.top + window.pageYOffset)) / r.height)
92
+ x: z((n.pageX - (r.left + window.pageXOffset)) / r.width),
93
+ y: z((n.pageY - (r.top + window.pageYOffset)) / r.height)
94
94
  }));
95
95
  }, be = (e, t) => {
96
96
  let n = t.keyCode;
@@ -139,16 +139,16 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
139
139
  update({ h: e }) {
140
140
  this.h = e, this.style([{
141
141
  left: `${e / 360 * 100}%`,
142
- color: U({
142
+ color: W({
143
143
  h: e,
144
144
  s: 100,
145
145
  v: 100,
146
146
  a: 1
147
147
  })
148
- }]), this.el.setAttribute("aria-valuenow", `${z(e)}`);
148
+ }]), this.el.setAttribute("aria-valuenow", `${B(e)}`);
149
149
  }
150
150
  getMove(e, t) {
151
- return { h: t ? R(this.h + e.x * 360, 0, 360) : 360 * e.x };
151
+ return { h: t ? z(this.h + e.x * 360, 0, 360) : 360 * e.x };
152
152
  }
153
153
  }, Se = class extends Z {
154
154
  constructor(e) {
@@ -158,18 +158,18 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
158
158
  this.hsva = e, this.style([{
159
159
  top: `${100 - e.v}%`,
160
160
  left: `${e.s}%`,
161
- color: U(e)
162
- }, { "background-color": U({
161
+ color: W(e)
162
+ }, { "background-color": W({
163
163
  h: e.h,
164
164
  s: 100,
165
165
  v: 100,
166
166
  a: 1
167
- }) }]), this.el.setAttribute("aria-valuetext", `Saturation ${z(e.s)}%, Brightness ${z(e.v)}%`);
167
+ }) }]), this.el.setAttribute("aria-valuetext", `Saturation ${B(e.s)}%, Brightness ${B(e.v)}%`);
168
168
  }
169
169
  getMove(e, t) {
170
170
  return {
171
- s: t ? R(this.hsva.s + e.x * 100, 0, 100) : e.x * 100,
172
- v: t ? R(this.hsva.v - e.y * 100, 0, 100) : Math.round(100 - e.y * 100)
171
+ s: t ? z(this.hsva.s + e.x * 100, 0, 100) : e.x * 100,
172
+ v: t ? z(this.hsva.v - e.y * 100, 0, 100) : Math.round(100 - e.y * 100)
173
173
  };
174
174
  }
175
175
  }, Ce = ":host{display:flex;flex-direction:column;position:relative;width:200px;height:200px;user-select:none;-webkit-user-select:none;cursor:default}:host([hidden]){display:none!important}[role=slider]{position:relative;touch-action:none;user-select:none;-webkit-user-select:none;outline:0}[role=slider]:last-child{border-radius:0 0 8px 8px}[part$=pointer]{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;display:flex;place-content:center center;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}[part$=pointer]::after{content:\"\";width:100%;height:100%;border-radius:inherit;background-color:currentColor}[role=slider]:focus [part$=pointer]{transform:translate(-50%,-50%) scale(1.1)}", we = "[part=hue]{flex:0 0 24px;background:linear-gradient(to right,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%)}[part=hue-pointer]{top:50%;z-index:2}", Te = "[part=saturation]{flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,rgba(255,255,255,0));box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}[part=saturation-pointer]{z-index:3}", Q = Symbol("same"), Ee = Symbol("color"), De = Symbol("hsva"), $ = Symbol("update"), Oe = Symbol("parts"), ke = Symbol("css"), Ae = Symbol("sliders"), je = class extends HTMLElement {
@@ -217,7 +217,7 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
217
217
  };
218
218
  this[$](n);
219
219
  let r;
220
- !K(n, t) && !this[Q](r = this.colorModel.fromHsva(n)) && (this[Ee] = r, J(this, "color-changed", { value: r }));
220
+ !he(n, t) && !this[Q](r = this.colorModel.fromHsva(n)) && (this[Ee] = r, J(this, "color-changed", { value: r }));
221
221
  }
222
222
  [Q](e) {
223
223
  return this.color && this.colorModel.equal(e, this.color);
@@ -227,8 +227,8 @@ var R = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, z = (e, t = 0, n = 10 **
227
227
  }
228
228
  }, Me = {
229
229
  defaultColor: "#000",
230
- toHsva: B,
231
- fromHsva: ({ h: e, s: t, v: n }) => pe({
230
+ toHsva: V,
231
+ fromHsva: ({ h: e, s: t, v: n }) => fe({
232
232
  h: e,
233
233
  s: t,
234
234
  v: n,
@@ -312,29 +312,29 @@ var Pe = [
312
312
  ee(E, () => {
313
313
  C.value = !1;
314
314
  }, { ignore: [O] });
315
- let A = p(() => !s.modelValue), j = p(() => s.modelValue.trim().toLowerCase() === "transparent"), M = p(() => ae(s.modelValue)), P = p(() => (s.modelValue ? ie(s.modelValue) : null) || (ie(s.seedColor) ?? "#ffffff")), F = p(() => !s.disabled && !A.value), I = e(re, se), L = p(() => [...new Set(s.presets ?? I.presets)]), de = p(() => s.allowCustom ?? I.allowCustom), R = p(() => L.value.length > 0), z = p(() => de.value || !R.value), B = p(() => ce(s.modelValue));
316
- function V(e) {
317
- return B.value !== "" && ce(e) === B.value;
315
+ let A = p(() => !s.modelValue), j = p(() => s.modelValue.trim().toLowerCase() === "transparent"), M = p(() => ae(s.modelValue)), P = p(() => (s.modelValue ? ie(s.modelValue) : null) || (ie(s.seedColor) ?? "#ffffff")), F = p(() => !s.disabled && !A.value), L = e(re, se), R = p(() => [...new Set(s.presets ?? L.presets)]), ue = p(() => s.allowCustom ?? L.allowCustom), z = p(() => R.value.length > 0), B = p(() => ue.value || !z.value), V = p(() => ce(s.modelValue));
316
+ function H(e) {
317
+ return V.value !== "" && ce(e) === V.value;
318
318
  }
319
- function pe(e) {
319
+ function fe(e) {
320
320
  g("update:modelValue", e);
321
321
  }
322
- let H = p(() => R.value && !z.value);
323
- function U(e) {
324
- return H.value ? e + 1 : e;
322
+ let U = p(() => z.value && !B.value);
323
+ function W(e) {
324
+ return U.value ? e + 1 : e;
325
325
  }
326
- let W = p(() => {
327
- if (H.value && A.value) return 0;
328
- let e = L.value.findIndex((e) => V(e));
329
- return e === -1 ? 0 : U(e);
326
+ let G = p(() => {
327
+ if (U.value && A.value) return 0;
328
+ let e = R.value.findIndex((e) => H(e));
329
+ return e === -1 ? 0 : W(e);
330
330
  });
331
- function G() {
332
- return W.value === 0 ? 0 : -1;
331
+ function K() {
332
+ return G.value === 0 ? 0 : -1;
333
333
  }
334
- function me(e) {
335
- return U(e) === W.value ? 0 : -1;
334
+ function pe(e) {
335
+ return W(e) === G.value ? 0 : -1;
336
336
  }
337
- function he(e) {
337
+ function me(e) {
338
338
  if (![
339
339
  "ArrowRight",
340
340
  "ArrowDown",
@@ -344,7 +344,7 @@ var Pe = [
344
344
  let t = Array.from(e.currentTarget.querySelectorAll("[role=\"radio\"]")), n = e.target.closest("[role=\"radio\"]"), r = n ? t.indexOf(n) : -1;
345
345
  r !== -1 && (t[(r + (e.key === "ArrowRight" || e.key === "ArrowDown" ? 1 : -1) + t.length) % t.length]?.focus(), e.preventDefault());
346
346
  }
347
- function K(e) {
347
+ function he(e) {
348
348
  k.value = !0, g("update:modelValue", e.detail.value);
349
349
  }
350
350
  function ge() {
@@ -404,9 +404,9 @@ var Pe = [
404
404
  }]),
405
405
  style: v(A.value || j.value ? void 0 : { backgroundColor: M.value })
406
406
  }, null, 6)], 10, Pe),
407
- !r.swatchOnly && z.value ? (i(), m("div", Fe, [x("input", {
407
+ !r.swatchOnly && B.value ? (i(), m("div", Fe, [x("input", {
408
408
  type: "text",
409
- class: d([c(fe), "tpl:w-full"]),
409
+ class: d([c(de), "tpl:w-full"]),
410
410
  style: v(F.value ? { paddingRight: "2.25rem" } : void 0),
411
411
  value: M.value,
412
412
  placeholder: r.placeholder || c(S).colorPicker.notSet,
@@ -420,7 +420,7 @@ var Pe = [
420
420
  title: c(S).colorPicker.clear,
421
421
  class: "tpl:absolute tpl:right-2 tpl:top-1/2 tpl:flex tpl:size-6 tpl:-translate-y-1/2 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
422
422
  onClick: J
423
- }, [l(c(ue), {
423
+ }, [l(c(I), {
424
424
  size: 14,
425
425
  "stroke-width": 1.5
426
426
  })], 8, Le)) : h("", !0)])) : h("", !0),
@@ -457,46 +457,46 @@ var Pe = [
457
457
  class: d(["tpl:mb-2 tpl:flex tpl:w-full tpl:items-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-2 tpl:py-1 tpl:text-left tpl:text-xs 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:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)]", j.value ? "tpl:ring-2 tpl:ring-[var(--tpl-primary)] tpl:ring-offset-1 tpl:ring-offset-[var(--tpl-bg-elevated)]" : "tpl:hover:border-[var(--tpl-text-dim)]"]),
458
458
  onClick: Y
459
459
  }, [a[2] ||= x("span", { class: "tpl-color-swatch-transparent tpl:size-4 tpl:shrink-0 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)]" }, null, -1), D(" " + T(c(S).colorPicker.transparent), 1)], 10, ze)) : h("", !0),
460
- R.value ? (i(), m("div", {
460
+ z.value ? (i(), m("div", {
461
461
  key: 1,
462
462
  role: "radiogroup",
463
463
  "aria-label": c(S).colorPicker.presetColors,
464
- class: d(["tpl:flex tpl:flex-wrap tpl:gap-1.5", z.value && "tpl:mb-2"]),
465
- onKeydown: he
466
- }, [H.value ? (i(), m("button", {
464
+ class: d(["tpl:flex tpl:flex-wrap tpl:gap-1.5", B.value && "tpl:mb-2"]),
465
+ onKeydown: me
466
+ }, [U.value ? (i(), m("button", {
467
467
  key: 0,
468
468
  type: "button",
469
469
  role: "radio",
470
470
  "aria-label": c(S).colorPicker.clear,
471
471
  title: c(S).colorPicker.clear,
472
472
  "aria-checked": A.value,
473
- tabindex: G(),
473
+ tabindex: K(),
474
474
  class: d(["tpl-color-swatch-empty tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]", A.value ? "tpl:ring-2 tpl:ring-[var(--tpl-primary)] tpl:ring-offset-1 tpl:ring-offset-[var(--tpl-bg-elevated)]" : "tpl:hover:border-[var(--tpl-text-dim)]"]),
475
475
  onClick: J
476
- }, null, 10, Ve)) : h("", !0), (i(!0), m(w, null, t(L.value, (e, t) => (i(), m("button", {
476
+ }, null, 10, Ve)) : h("", !0), (i(!0), m(w, null, t(R.value, (e, t) => (i(), m("button", {
477
477
  key: e,
478
478
  type: "button",
479
479
  role: "radio",
480
480
  "aria-label": e,
481
481
  title: e,
482
- "aria-checked": V(e),
483
- tabindex: me(t),
482
+ "aria-checked": H(e),
483
+ tabindex: pe(t),
484
484
  style: v({ backgroundColor: e }),
485
- class: d(["tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]", V(e) ? "tpl:ring-2 tpl:ring-[var(--tpl-primary)] tpl:ring-offset-1 tpl:ring-offset-[var(--tpl-bg-elevated)]" : "tpl:hover:border-[var(--tpl-text-dim)]"]),
486
- onClick: (t) => pe(e)
485
+ class: d(["tpl:size-6 tpl:shrink-0 tpl:cursor-pointer tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:focus-visible:ring-2 tpl:focus-visible:ring-[var(--tpl-primary)] tpl:focus-visible:ring-offset-1 tpl:focus-visible:ring-offset-[var(--tpl-bg-elevated)]", H(e) ? "tpl:ring-2 tpl:ring-[var(--tpl-primary)] tpl:ring-offset-1 tpl:ring-offset-[var(--tpl-bg-elevated)]" : "tpl:hover:border-[var(--tpl-text-dim)]"]),
486
+ onClick: (t) => fe(e)
487
487
  }, null, 14, He))), 128))], 42, Be)) : h("", !0),
488
- z.value ? (i(), m("hex-color-picker", {
488
+ B.value ? (i(), m("hex-color-picker", {
489
489
  key: 2,
490
490
  color: P.value,
491
491
  "aria-label": c(S).colorPicker.pickColor,
492
- onColorChanged: K,
492
+ onColorChanged: he,
493
493
  onPointerdown: ge,
494
494
  onPointerup: _e,
495
495
  onKeydown: a[0] ||= u((e) => C.value = !1, ["escape"])
496
496
  }, null, 40, Ue)) : h("", !0),
497
- r.swatchOnly && z.value ? (i(), m("div", We, [x("input", {
497
+ r.swatchOnly && B.value ? (i(), m("div", We, [x("input", {
498
498
  type: "text",
499
- class: d([c(fe), "tpl:w-full"]),
499
+ class: d([c(de), "tpl:w-full"]),
500
500
  style: v(F.value ? { paddingRight: "2.25rem" } : void 0),
501
501
  value: M.value,
502
502
  placeholder: r.placeholder || c(S).colorPicker.notSet,
@@ -511,7 +511,7 @@ var Pe = [
511
511
  title: c(S).colorPicker.clear,
512
512
  class: "tpl:absolute tpl:right-2 tpl:top-1/2 tpl:flex tpl:size-6 tpl:-translate-y-1/2 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
513
513
  onClick: J
514
- }, [l(c(ue), {
514
+ }, [l(c(I), {
515
515
  size: 14,
516
516
  "stroke-width": 1.5
517
517
  })], 8, Ke)) : h("", !0)])) : h("", !0)
@@ -777,7 +777,7 @@ function ut(t) {
777
777
  //#endregion
778
778
  //#region src/composables/useMergeTagField.ts
779
779
  function dt(e) {
780
- let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: c, isRequesting: l, isMergeTagValue: u, getMergeTagDisplayLabel: d, findMergeTag: f, requestMergeTag: m, syntax: h, autocomplete: _ } = L(), { canInsertLogicTag: v, isRequesting: y, requestLogicTag: b } = de(), x = a(!1), S = !1, C = !1;
780
+ let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: c, isRequesting: l, isMergeTagValue: u, getMergeTagDisplayLabel: d, findMergeTag: f, requestMergeTag: m, syntax: h, autocomplete: _ } = R(), { canInsertLogicTag: v, isRequesting: y, requestLogicTag: b } = ue(), x = a(!1), S = !1, C = !1;
781
781
  r() && s(() => {
782
782
  C = !0;
783
783
  });
@@ -935,7 +935,7 @@ var ft = ["aria-label"], pt = [
935
935
  "repick"
936
936
  ],
937
937
  setup(e, { emit: n }) {
938
- let r = n, { t: a, format: o } = N(), { canRepickMergeTag: s, showRawValue: u } = L();
938
+ let r = n, { t: a, format: o } = N(), { canRepickMergeTag: s, showRawValue: u } = R();
939
939
  function f() {
940
940
  r("edit");
941
941
  }
@@ -982,7 +982,7 @@ var ft = ["aria-label"], pt = [
982
982
  title: c(a).mergeTag.editAsText,
983
983
  "data-testid": "merge-tag-field-edit",
984
984
  onClick: _(f, ["stop"])
985
- }, [l(c(F), {
985
+ }, [l(c(L), {
986
986
  size: 12,
987
987
  "stroke-width": 2
988
988
  })], 8, _t),
@@ -993,7 +993,7 @@ var ft = ["aria-label"], pt = [
993
993
  title: c(a).mergeTag.remove,
994
994
  "data-testid": "merge-tag-field-clear",
995
995
  onClick: p[0] ||= _((e) => r("clear"), ["stop"])
996
- }, [l(c(ue), {
996
+ }, [l(c(I), {
997
997
  size: 12,
998
998
  "stroke-width": 2.5
999
999
  })], 8, vt)
@@ -1017,7 +1017,7 @@ var ft = ["aria-label"], pt = [
1017
1017
  disabled: e.disabled,
1018
1018
  onMousedown: r[0] ||= _(() => {}, ["prevent"]),
1019
1019
  onClick: r[1] ||= (e) => n.$emit("insert")
1020
- }, [l(c(P), {
1020
+ }, [l(c(F), {
1021
1021
  size: 12,
1022
1022
  "stroke-width": 2
1023
1023
  }), D(" " + T(c(t).mergeTag.insertShort), 1)], 42, bt));
@@ -1041,7 +1041,7 @@ var ft = ["aria-label"], pt = [
1041
1041
  "data-testid": "field-insert-logic-button",
1042
1042
  onMousedown: r[0] ||= _(() => {}, ["prevent"]),
1043
1043
  onClick: r[1] ||= (e) => n.$emit("insert")
1044
- }, [l(c(I), {
1044
+ }, [l(c(P), {
1045
1045
  size: 12,
1046
1046
  "stroke-width": 2
1047
1047
  }), D(" " + T(c(t).logicTag.insertShort), 1)], 42, Ct));
@@ -1050,4 +1050,4 @@ var ft = ["aria-label"], pt = [
1050
1050
  //#endregion
1051
1051
  export { it as a, qe as c, dt as i, St as n, nt as o, yt as r, rt as s, Tt as t };
1052
1052
 
1053
- //# sourceMappingURL=LogicTagInsertButton-BEsqPhMr.js.map
1053
+ //# sourceMappingURL=LogicTagInsertButton-BMB9vShs.js.map