@templatical/editor 0.51.1 → 0.52.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 (380) hide show
  1. package/THIRD_PARTY_NOTICES.md +208 -0
  2. package/dist/{AiAltTextPopover-BZQ95GXL.js → AiAltTextPopover-DawbUywc.js} +16 -17
  3. package/dist/{AiAltTextReview-DoBEudnE.js → AiAltTextReview-9ySsXOTU.js} +25 -26
  4. package/dist/{AiChatPanel-Bs6sES3b.js → AiChatPanel-CupPhmsN.js} +141 -143
  5. package/dist/{AiPanels-CfN7A-ZA.js → AiPanels-DqT4PgQ0.js} +6 -8
  6. package/dist/{AiRewriteMenu-C3ZfDDYy.js → AiRewriteMenu-28agTycW.js} +66 -67
  7. package/dist/BlockIssueBadge-BxpDy3u-.js +33 -0
  8. package/dist/{BlockPreviewCanvas-BXNLLLYi.js → BlockPreviewCanvas-B-4bmJ3t.js} +26 -27
  9. package/dist/{CloudHeaderExtras-CsJMEiyN.js → CloudHeaderExtras-QI82yF54.js} +4 -5
  10. package/dist/{CloudPanels-B4F5m7vy.js → CloudPanels-BKJaLkUN.js} +52 -53
  11. package/dist/{CollaborationNotices-CNuDp7Y2.js → CollaborationNotices-CTw4JThq.js} +12 -13
  12. package/dist/{CollaboratorBar-BtHPiuHq.js → CollaboratorBar-CXQqN3VP.js} +16 -17
  13. package/dist/{CommentsPanel-CyCM-BvT.js → CommentsPanel-DwwFuh1h.js} +3 -5
  14. package/dist/CommentsSidebar-9ZfiC2DO.js +500 -0
  15. package/dist/{CountdownBlock-DR4Xm2-T.js → CountdownBlock-CU2yTWtF.js} +21 -22
  16. package/dist/{CountdownToolbar-CEIMPojJ.js → CountdownToolbar-BqoYzf_6.js} +55 -56
  17. package/dist/IssuesPanel-4ykrf1ax.js +359 -0
  18. package/dist/{LoadingTrack-B0RKQWq3.js → LoadingTrack-DM4g6j7b.js} +3 -4
  19. package/dist/{LogicTagInsertButton-CqfU52CO.js → LogicTagInsertButton-CfscnwCn.js} +243 -250
  20. package/dist/{MediaEditModal-DHtkZ4OU.js → MediaEditModal-Dy08GEwE.js} +449 -452
  21. package/dist/{MediaPanels-CGcOB2pR.js → MediaPanels-BgEp7iCp.js} +3 -5
  22. package/dist/{MergeTagInput-YnEkorTZ.js → MergeTagInput-B9dtUthD.js} +14 -15
  23. package/dist/{MergeTagModeToggle-Dhb1DAcQ.js → MergeTagModeToggle-DxujhYJ4.js} +30 -31
  24. package/dist/{MergeTagTextarea-e4lnwtqZ.js → MergeTagTextarea-CPFEjJZd.js} +12 -13
  25. package/dist/{ParagraphEditor-B6NK0ytw.js → ParagraphEditor-CWXfurGh.js} +233 -236
  26. package/dist/{RestoreVersionDialog-Bq_IGOLJ.js → RestoreVersionDialog-C4s_JYCx.js} +16 -17
  27. package/dist/{RichTextEditorContent-AOM6fylS.js → RichTextEditorContent-o6HmE8GR.js} +40 -40
  28. package/dist/{SaveBlockDialog-C8GngfQx.js → SaveBlockDialog-CWLrly6l.js} +58 -59
  29. package/dist/SavedBlocksBrowserModal-CE8n4EBS.js +359 -0
  30. package/dist/{SavedBlocksPanels-C2s3q0pJ.js → SavedBlocksPanels-BE1N9rNZ.js} +7 -9
  31. package/dist/{SavedBlocksPickBar-BjcTiV87.js → SavedBlocksPickBar-Dwl94xhP.js} +14 -15
  32. package/dist/{TemplateSettings-BVBWpiDU.js → TemplateSettings-CS0f1Ues.js} +75 -76
  33. package/dist/{TestEmailModal-SyhO9bn3.js → TestEmailModal-DBD0X5nV.js} +54 -56
  34. package/dist/{TestEmailPanel-BDd2Rtav.js → TestEmailPanel-DaFjP9QK.js} +3 -5
  35. package/dist/{TitleEditor-pxD53y_l.js → TitleEditor-DSqtle77.js} +78 -79
  36. package/dist/{ToggleSwitch-D51U9cmR.js → ToggleSwitch-JykPyD_8.js} +5 -6
  37. package/dist/{Toolbar-CZSPZYbj.js → Toolbar-BZPFfKrf.js} +977 -985
  38. package/dist/{TplModal-DCzBzicE.js → TplModal-DLMssVlt.js} +16 -17
  39. package/dist/{VersionHistoryMenu-BQeWPT85.js → VersionHistoryMenu-BkbYUs0Q.js} +37 -38
  40. package/dist/{VersionHistoryPanels-BBm7YbRQ.js → VersionHistoryPanels-DP7HaYWv.js} +5 -7
  41. package/dist/{VersionPreviewBanner-DUGF0tUJ.js → VersionPreviewBanner-DECaBwLq.js} +11 -12
  42. package/dist/WrapperBlock-BsJv_Fiw.js +44 -0
  43. package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  44. package/dist/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +3 -5
  45. package/dist/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +2 -3
  46. package/dist/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +1 -2
  47. package/dist/{blockTypeIcons-NzaYvAI4.js → blockTypeIcons-BHjlPnPf.js} +23 -23
  48. package/dist/bundle-stats.json +6 -6
  49. package/dist/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +1 -2
  50. package/dist/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +1 -2
  51. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js → AiAltTextPopover-SEEjkd-I.js} +24 -25
  52. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js.map → AiAltTextPopover-SEEjkd-I.js.map} +1 -1
  53. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js → AiAltTextReview-BGLLSKLm.js} +43 -44
  54. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js.map → AiAltTextReview-BGLLSKLm.js.map} +1 -1
  55. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js → AiChatPanel-DKDAaBNi.js} +129 -131
  56. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js.map → AiChatPanel-DKDAaBNi.js.map} +1 -1
  57. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js → AiPanels-0wBarZSH.js} +5 -7
  58. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js.map → AiPanels-0wBarZSH.js.map} +1 -1
  59. package/dist/cdn/chunks/{AiRewriteMenu-Bhh71zcc.js → AiRewriteMenu-qf-cfEpy.js} +52 -53
  60. package/dist/cdn/chunks/AiRewriteMenu-qf-cfEpy.js.map +1 -0
  61. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js +34 -0
  62. package/dist/cdn/chunks/BlockIssueBadge-jdf91-nk.js.map +1 -0
  63. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js → BlockPreviewCanvas-DGBh6mqe.js} +22 -23
  64. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js.map → BlockPreviewCanvas-DGBh6mqe.js.map} +1 -1
  65. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js → CloudHeaderExtras-BMNK_F9p.js} +4 -5
  66. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js.map → CloudHeaderExtras-BMNK_F9p.js.map} +1 -1
  67. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js → CloudPanels-JMWIoVWh.js} +34 -35
  68. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js.map → CloudPanels-JMWIoVWh.js.map} +1 -1
  69. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js → CollaborationNotices-Bsf1rGW9.js} +13 -14
  70. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js.map → CollaborationNotices-Bsf1rGW9.js.map} +1 -1
  71. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js → CollaboratorBar-CXByAoUz.js} +16 -17
  72. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js.map → CollaboratorBar-CXByAoUz.js.map} +1 -1
  73. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js → CommentsPanel-DoJnKLXI.js} +4 -6
  74. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js.map → CommentsPanel-DoJnKLXI.js.map} +1 -1
  75. package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js → CommentsSidebar-CUtgvdBC.js} +110 -110
  76. package/dist/cdn/chunks/CommentsSidebar-CUtgvdBC.js.map +1 -0
  77. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js → CountdownBlock-BqRw147R.js} +19 -20
  78. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js.map → CountdownBlock-BqRw147R.js.map} +1 -1
  79. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js → CountdownToolbar-xobieKoU.js} +28 -29
  80. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js.map → CountdownToolbar-xobieKoU.js.map} +1 -1
  81. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js → IssuesPanel-C7LfxaAY.js} +76 -77
  82. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js.map → IssuesPanel-C7LfxaAY.js.map} +1 -1
  83. package/dist/cdn/chunks/LoadingTrack-CZuLTazv.js +11 -0
  84. package/dist/cdn/chunks/{LoadingTrack-BIcL4NiY.js.map → LoadingTrack-CZuLTazv.js.map} +1 -1
  85. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js → LogicTagInsertButton-BIi05UQu.js} +258 -265
  86. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js.map → LogicTagInsertButton-BIi05UQu.js.map} +1 -1
  87. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js → MediaEditModal-Cpcod6_U.js} +152 -155
  88. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js.map → MediaEditModal-Cpcod6_U.js.map} +1 -1
  89. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js → MediaPanels-BIdcW_1f.js} +4 -6
  90. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js.map → MediaPanels-BIdcW_1f.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js → MergeTagInput-BvWg8o5E.js} +35 -36
  92. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js.map → MergeTagInput-BvWg8o5E.js.map} +1 -1
  93. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js → MergeTagModeToggle-BgKEVUtV.js} +28 -29
  94. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js.map → MergeTagModeToggle-BgKEVUtV.js.map} +1 -1
  95. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js → MergeTagTextarea-tBz8McZf.js} +33 -34
  96. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js.map → MergeTagTextarea-tBz8McZf.js.map} +1 -1
  97. package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js → ParagraphEditor-B3Rj_cWF.js} +197 -200
  98. package/dist/cdn/chunks/ParagraphEditor-B3Rj_cWF.js.map +1 -0
  99. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js → RestoreVersionDialog-CjOdD2xj.js} +21 -22
  100. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js.map → RestoreVersionDialog-CjOdD2xj.js.map} +1 -1
  101. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js → RichTextEditorContent-DNjR_sNN.js} +30 -31
  102. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js.map → RichTextEditorContent-DNjR_sNN.js.map} +1 -1
  103. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js → SaveBlockDialog-CUhpawq0.js} +77 -78
  104. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js.map → SaveBlockDialog-CUhpawq0.js.map} +1 -1
  105. package/dist/cdn/chunks/SavedBlocksBrowserModal-BPYcRoGa.js +356 -0
  106. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js.map → SavedBlocksBrowserModal-BPYcRoGa.js.map} +1 -1
  107. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js → SavedBlocksPanels-C6--Bc81.js} +4 -6
  108. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js.map → SavedBlocksPanels-C6--Bc81.js.map} +1 -1
  109. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js → SavedBlocksPickBar-DUavxpbU.js} +16 -17
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js.map → SavedBlocksPickBar-DUavxpbU.js.map} +1 -1
  111. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js → TemplateSettings-CKtI-dof.js} +72 -73
  112. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js.map → TemplateSettings-CKtI-dof.js.map} +1 -1
  113. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js → TestEmailModal-CDQTgESD.js} +68 -70
  114. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js.map → TestEmailModal-CDQTgESD.js.map} +1 -1
  115. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js → TestEmailPanel-CcUpEpAn.js} +4 -6
  116. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js.map → TestEmailPanel-CcUpEpAn.js.map} +1 -1
  117. package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js → TitleEditor-Cob7RLyK.js} +71 -72
  118. package/dist/cdn/chunks/TitleEditor-Cob7RLyK.js.map +1 -0
  119. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js → ToggleSwitch-J7Vwhvha.js} +6 -7
  120. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js.map → ToggleSwitch-J7Vwhvha.js.map} +1 -1
  121. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js → Toolbar-CdpsvNOR.js} +977 -985
  122. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js.map → Toolbar-CdpsvNOR.js.map} +1 -1
  123. package/dist/cdn/chunks/TplModal-CFPDgbwQ.js +51 -0
  124. package/dist/cdn/chunks/{TplModal-BXQzmsJX.js.map → TplModal-CFPDgbwQ.js.map} +1 -1
  125. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js → VersionHistoryMenu-BYlLRvRJ.js} +34 -35
  126. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js.map → VersionHistoryMenu-BYlLRvRJ.js.map} +1 -1
  127. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js → VersionHistoryPanels-C6SOVoiT.js} +4 -6
  128. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js.map → VersionHistoryPanels-C6SOVoiT.js.map} +1 -1
  129. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js → VersionPreviewBanner-Dvg0ZfAW.js} +12 -13
  130. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js.map → VersionPreviewBanner-Dvg0ZfAW.js.map} +1 -1
  131. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js → WrapperBlock-C7Md56IT.js} +14 -15
  132. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js.map → WrapperBlock-C7Md56IT.js.map} +1 -1
  133. package/dist/cdn/chunks/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  134. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +4 -6
  135. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js.map → aiErrors-C3QEMB0x.js.map} +1 -1
  136. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +3 -4
  137. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js.map → aiImageContext-BQ5mQ6B5.js.map} +1 -1
  138. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +2 -3
  139. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js.map → aiRewritePreview-DlMyx6Si.js.map} +1 -1
  140. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js +21 -0
  141. package/dist/cdn/chunks/blockTypeIcons-D7FW7Ypo.js.map +1 -0
  142. package/dist/cdn/chunks/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +2 -3
  143. package/dist/cdn/chunks/{ca-C7mTzW1r.js.map → ca-CD-Kt1qz.js.map} +1 -1
  144. package/dist/cdn/chunks/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +2 -3
  145. package/dist/cdn/chunks/{ca-CYQH3J0b.js.map → ca-Cc6eL0ZS.js.map} +1 -1
  146. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js → createCloudRuntime-Cth2JCEh.js} +58 -77
  147. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js.map → createCloudRuntime-Cth2JCEh.js.map} +1 -1
  148. package/dist/cdn/chunks/{de-DBOTcDj2.js → de-6M4JoHoD.js} +2 -3
  149. package/dist/cdn/chunks/{de-DBOTcDj2.js.map → de-6M4JoHoD.js.map} +1 -1
  150. package/dist/cdn/chunks/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +2 -3
  151. package/dist/cdn/chunks/{de-DNuYQTmS.js.map → de-CeFJ6wbM.js.map} +1 -1
  152. package/dist/cdn/chunks/{de-JvCTMJPy.js → de-DtrXVcuY.js} +2 -3
  153. package/dist/cdn/chunks/{de-JvCTMJPy.js.map → de-DtrXVcuY.js.map} +1 -1
  154. package/dist/cdn/chunks/{dist-Bo8Thh8v.js → dist-8ym3y-pH.js} +44 -45
  155. package/dist/cdn/chunks/{dist-Bo8Thh8v.js.map → dist-8ym3y-pH.js.map} +1 -1
  156. package/dist/{dist-DI4_YSnG.js → cdn/chunks/dist-BMzNabtD.js} +107 -109
  157. package/dist/cdn/chunks/{dist-S-rLGqax.js.map → dist-BMzNabtD.js.map} +1 -1
  158. package/dist/cdn/chunks/dompurify-JVtr5-B1.js +872 -0
  159. package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +1 -0
  160. package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js → draggable-Du8AUMFT.js} +654 -654
  161. package/dist/cdn/chunks/draggable-Du8AUMFT.js.map +1 -0
  162. package/dist/{editor-modal-Bzhl-PgI.js → cdn/chunks/editor-modal-CyCe560f.js} +893 -979
  163. package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js.map → editor-modal-CyCe560f.js.map} +1 -1
  164. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +2 -3
  165. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js.map → emojiData-CBNuCfum.js.map} +1 -1
  166. package/dist/cdn/chunks/{en-CW71OK66.js → en-D14i5nFh.js} +2 -3
  167. package/dist/cdn/chunks/{en-CW71OK66.js.map → en-D14i5nFh.js.map} +1 -1
  168. package/dist/cdn/chunks/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +2 -3
  169. package/dist/cdn/chunks/{en-CDhWRrF_.js.map → en-FzUuJ8HW.js.map} +1 -1
  170. package/dist/cdn/chunks/en-TIqv4ag3.js +1 -0
  171. package/dist/cdn/chunks/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +2 -3
  172. package/dist/cdn/chunks/{es-CAv-Vldw.js.map → es-Dw_h7Oll.js.map} +1 -1
  173. package/dist/cdn/chunks/{es-DdK7zQfi.js → es-zDacbMhs.js} +2 -3
  174. package/dist/cdn/chunks/{es-DdK7zQfi.js.map → es-zDacbMhs.js.map} +1 -1
  175. package/dist/cdn/chunks/{extensions-taJTZlLK.js → extensions-CFF2KWy-.js} +60 -65
  176. package/dist/cdn/chunks/{extensions-taJTZlLK.js.map → extensions-CFF2KWy-.js.map} +1 -1
  177. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +2 -3
  178. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js.map → formatAbsoluteDateTime-Ck2_zXra.js.map} +1 -1
  179. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +1 -2
  180. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js.map → formatRelativeTime-BTD8Ktt-.js.map} +1 -1
  181. package/dist/cdn/chunks/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +2 -3
  182. package/dist/cdn/chunks/{fr-DVPtxpR6.js.map → fr-BJaeKu_8.js.map} +1 -1
  183. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +2 -3
  184. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js.map → fr-CSgYtjOd.js.map} +1 -1
  185. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js → htmlparser-hu3YnNQU.js} +6 -11
  186. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js.map → htmlparser-hu3YnNQU.js.map} +1 -1
  187. package/dist/cdn/chunks/{icons-DNX6StSs.js → icons-okSPsLOa.js} +111 -114
  188. package/dist/cdn/chunks/icons-okSPsLOa.js.map +1 -0
  189. package/dist/cdn/chunks/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +2 -3
  190. package/dist/cdn/chunks/{ja-Di-zJiT8.js.map → ja-B7H3ID8O.js.map} +1 -1
  191. package/dist/cdn/chunks/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +2 -3
  192. package/dist/cdn/chunks/{ja-dcWzjStz.js.map → ja-Cu2HdYaK.js.map} +1 -1
  193. package/dist/cdn/chunks/{keys-BTpmg2Tt.js → keys-CUj6UA38.js} +3 -4
  194. package/dist/cdn/chunks/{keys-BTpmg2Tt.js.map → keys-CUj6UA38.js.map} +1 -1
  195. package/dist/{liquid.browser-Ct2-EezB.js → cdn/chunks/liquid.browser-rubac0VA.js} +993 -937
  196. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  197. package/dist/cdn/chunks/{logger-Tj0RPskW.js → logger-CqQTfJGx.js} +2 -3
  198. package/dist/cdn/chunks/{logger-Tj0RPskW.js.map → logger-CqQTfJGx.js.map} +1 -1
  199. package/dist/cdn/chunks/{nl-CvVuHYFL.js → nl-176ySmc5.js} +2 -3
  200. package/dist/cdn/chunks/{nl-CvVuHYFL.js.map → nl-176ySmc5.js.map} +1 -1
  201. package/dist/cdn/chunks/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +2 -3
  202. package/dist/cdn/chunks/{nl-LZNqQgE4.js.map → nl-1Ai2NykB.js.map} +1 -1
  203. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js → normalizeMergeTagMarkup-C_KlfSW4.js} +3 -4
  204. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js.map → normalizeMergeTagMarkup-C_KlfSW4.js.map} +1 -1
  205. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js → preRenderCustomBlocks-BcXIz7oJ.js} +6 -7
  206. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js.map → preRenderCustomBlocks-BcXIz7oJ.js.map} +1 -1
  207. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +2 -3
  208. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js.map → pt-BR-Bp92Fc6J.js.map} +1 -1
  209. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +2 -3
  210. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js.map → pt-BR-CIbp__Z7.js.map} +1 -1
  211. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +2 -3
  212. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js.map → pt-BR-dDlTwX18.js.map} +1 -1
  213. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js → pusher-x9rNqzon.js} +3 -4
  214. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js.map → pusher-x9rNqzon.js.map} +1 -1
  215. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +2 -3
  216. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js.map → readableTextColor-BfZUGnVj.js.map} +1 -1
  217. package/dist/cdn/chunks/{rolldown-runtime-Y_bBpyJl.js → rolldown-runtime-QGRDbDUS.js} +1 -2
  218. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js +72 -0
  219. package/dist/cdn/chunks/sanitizeHtml-CN85EDrO.js.map +1 -0
  220. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js → socialIcons-jsTDmkbb.js} +608 -632
  221. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js.map → socialIcons-jsTDmkbb.js.map} +1 -1
  222. package/dist/cdn/chunks/src-C7bkofBL.js +647 -0
  223. package/dist/cdn/chunks/src-C7bkofBL.js.map +1 -0
  224. package/dist/cdn/chunks/{src-Bs_yxk3h.js → src-DEd87i_U.js} +502 -537
  225. package/dist/cdn/chunks/src-DEd87i_U.js.map +1 -0
  226. package/dist/cdn/chunks/{src-BNFnxfrA.js → src-DwWrYnUj.js} +188 -171
  227. package/dist/cdn/chunks/src-DwWrYnUj.js.map +1 -0
  228. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +2 -3
  229. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js.map → styleConstants-B8xVRiwX.js.map} +1 -1
  230. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +2 -3
  231. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js.map → templateSettingsFields-cjlP-jdw.js.map} +1 -1
  232. package/dist/cdn/chunks/{tiptap-CtVrAViq.js → tiptap-CbiTlECY.js} +3402 -3278
  233. package/dist/cdn/chunks/tiptap-CbiTlECY.js.map +1 -0
  234. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js → useCloudI18n-DY8_-ETE.js} +4 -5
  235. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js.map → useCloudI18n-DY8_-ETE.js.map} +1 -1
  236. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js +2582 -0
  237. package/dist/cdn/chunks/useEditorCore-BrY66C2y.js.map +1 -0
  238. package/dist/cdn/chunks/useEditorRoot-vjZJwKrV.js +9 -0
  239. package/dist/cdn/chunks/{useEditorRoot-CR5GjJD6.js.map → useEditorRoot-vjZJwKrV.js.map} +1 -1
  240. package/dist/cdn/chunks/{useI18n-CbVubQhM.js → useI18n-D8pY4LTq.js} +4 -5
  241. package/dist/cdn/chunks/{useI18n-CbVubQhM.js.map → useI18n-D8pY4LTq.js.map} +1 -1
  242. package/dist/{useLogicTag-DKLZ1T9H.js → cdn/chunks/useLogicTag-DBJDtpKA.js} +6 -5
  243. package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js.map → useLogicTag-DBJDtpKA.js.map} +1 -1
  244. package/dist/{useMergeTag-Bhdx7AKk.js → cdn/chunks/useMergeTag-B-aG--s1.js} +8 -7
  245. package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js.map → useMergeTag-B-aG--s1.js.map} +1 -1
  246. package/dist/{usePopoverPosition-BZea45XK.js → cdn/chunks/usePopoverPosition-DSMtmu2W.js} +8 -10
  247. package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js.map → usePopoverPosition-DSMtmu2W.js.map} +1 -1
  248. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js → useScrollToBlock-vjQ0fe-L.js} +5 -7
  249. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js.map → useScrollToBlock-vjQ0fe-L.js.map} +1 -1
  250. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js → withCurrentFont-hZTvYBHO.js} +3 -4
  251. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js.map → withCurrentFont-hZTvYBHO.js.map} +1 -1
  252. package/dist/cdn/editor.css +1 -1
  253. package/dist/cdn/editor.js +1433 -1454
  254. package/dist/cdn/editor.js.map +1 -1
  255. package/dist/{check-yYsp5Xpk.js → check-BZ8o0eet.js} +1 -2
  256. package/dist/{chevron-down-DTmD06_j.js → chevron-down-DfAAfILv.js} +1 -2
  257. package/dist/{chevron-right-BSeYZOxc.js → chevron-right-Bk4mGdr7.js} +1 -2
  258. package/dist/{chevron-up-BOApwrxi.js → chevron-up-MhUf_azW.js} +1 -2
  259. package/dist/{circle-alert-BMszY8im.js → circle-alert-CShJwVFv.js} +1 -2
  260. package/dist/{clock-HADxnl6-.js → clock-CTfD6OCt.js} +1 -2
  261. package/dist/{createCloudRuntime-DVQI_ReU.js → createCloudRuntime-DCgO4A1r.js} +31 -37
  262. package/dist/{createLucideIcon-0lYYH3EW.js → createLucideIcon-CvhTA2KG.js} +6 -11
  263. package/dist/{de-DBOTcDj2.js → de-6M4JoHoD.js} +1 -2
  264. package/dist/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +1 -2
  265. package/dist/{de-JvCTMJPy.js → de-DtrXVcuY.js} +1 -2
  266. package/dist/{dist-BC-ZEYLd.js → dist-BF5zEHop.js} +2 -3
  267. package/dist/{dist-CyBwSiAa.js → dist-BS5uKktL.js} +2 -3
  268. package/dist/{cdn/chunks/dist-S-rLGqax.js → dist-ByCWA2Tv.js} +101 -101
  269. package/dist/{dist-DtOF3bDW.js → dist-CKi_npZM.js} +378 -343
  270. package/dist/{dist-C7EtxNCb.js → dist-CVy-7PHQ.js} +55 -56
  271. package/dist/{dist-Cr7RPxI9.js → dist-CWSG7Kj0.js} +478 -461
  272. package/dist/{dist-DXyGqIDE.js → dist-Cy8I5scI.js} +2 -3
  273. package/dist/{dist-C_dV9QAx.js → dist-D6cMdrfG.js} +133 -133
  274. package/dist/{dist-DVNjPKsH.js → dist-D6fZec6r.js} +3 -4
  275. package/dist/{dist-CuLwJF7H.js → dist-Dd5MU2Ev.js} +23 -14
  276. package/dist/dist-DyFArF_G.js +4 -0
  277. package/dist/{dist-DBxgrOeo.js → dist-V7W1UhVr.js} +1882 -1792
  278. package/dist/{dist-DPcf6XZ8.js → dist-p3wymUDt.js} +2 -3
  279. package/dist/dist-pA3ooG6N.js +4 -0
  280. package/dist/{dist-3HpYixwF.js → dist-txQLT2sF.js} +173 -161
  281. package/dist/{cdn/chunks/editor-modal-CI6EfeMd.js → editor-modal-zaZHcmlO.js} +915 -859
  282. package/dist/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +1 -2
  283. package/dist/{en-CW71OK66.js → en-D14i5nFh.js} +1 -2
  284. package/dist/en-Db76vJbY.js +1 -0
  285. package/dist/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +1 -2
  286. package/dist/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +1 -2
  287. package/dist/{es-DdK7zQfi.js → es-zDacbMhs.js} +1 -2
  288. package/dist/{extensions-CdyweA50.js → extensions-fo_c-vqf.js} +82 -91
  289. package/dist/{eye-DWkSvYpj.js → eye-7W4t5e0Q.js} +1 -2
  290. package/dist/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +1 -2
  291. package/dist/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +0 -1
  292. package/dist/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +1 -2
  293. package/dist/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +1 -2
  294. package/dist/{image-DesWjcZ4.js → image-BDiRFzSd.js} +1 -2
  295. package/dist/index.d.ts +6 -6
  296. package/dist/{info-ClWJGoZy.js → info-Cxi3-Kh9.js} +1 -2
  297. package/dist/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +1 -2
  298. package/dist/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +1 -2
  299. package/dist/{keys-Zd9KWRD1.js → keys-BgRERHzu.js} +2 -3
  300. package/dist/{link-BqRicFTA.js → link-ju_2Cmir.js} +1 -2
  301. package/dist/{cdn/chunks/liquid.browser-Bbt17cVz.js → liquid.browser-DUXEekoN.js} +991 -939
  302. package/dist/{list-bojQr9bn.js → list-DYZJf0aZ.js} +1 -2
  303. package/dist/{loader-circle-B2B8LbUu.js → loader-circle-BZRD0a4I.js} +1 -2
  304. package/dist/{logger-k9Nbj3Cp.js → logger-BOu7oEtk.js} +1 -2
  305. package/dist/{message-circle-BEuiNsyZ.js → message-circle-DuEw4Zfx.js} +1 -2
  306. package/dist/{nl-CvVuHYFL.js → nl-176ySmc5.js} +1 -2
  307. package/dist/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +1 -2
  308. package/dist/{normalizeMergeTagMarkup-P6SUBuPv.js → normalizeMergeTagMarkup-CELnOlgK.js} +30 -31
  309. package/dist/{package-DCROB4aM.js → package-CePMr2kK.js} +1 -2
  310. package/dist/{pencil-CEotCKbf.js → pencil-D3aFCL7c.js} +1 -2
  311. package/dist/{preRenderCustomBlocks-D8rr61_z.js → preRenderCustomBlocks--_xc0XK3.js} +4 -5
  312. package/dist/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +1 -2
  313. package/dist/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +1 -2
  314. package/dist/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +1 -2
  315. package/dist/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +1 -2
  316. package/dist/{refresh-cw-C6M2mHNC.js → refresh-cw-xnro7_Sk.js} +1 -2
  317. package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  318. package/dist/{runtime-dom.esm-bundler-B8WCZWUm.js → runtime-dom.esm-bundler-BURR-bj5.js} +121 -122
  319. package/dist/sanitizeHtml-BzfzpYJY.js +942 -0
  320. package/dist/{search-Cy99zPYf.js → search-CDrstRBv.js} +1 -2
  321. package/dist/{send-BDLJFsf3.js → send-DROkPOaX.js} +1 -2
  322. package/dist/{smartphone-CVvQaNA4.js → smartphone-Bx6u_tjn.js} +1 -2
  323. package/dist/{socialIcons-Dd-jRiVe.js → socialIcons-D7MGsg0d.js} +553 -564
  324. package/dist/{sparkles-Ce0Qz0ox.js → sparkles-CdaTtvoz.js} +1 -2
  325. package/dist/{square-BWlolnXe.js → square-BbCROH_f.js} +1 -2
  326. package/dist/style.css +1 -1
  327. package/dist/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +1 -2
  328. package/dist/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +1 -2
  329. package/dist/templatical-editor.js +1231 -1251
  330. package/dist/{text-align-start-D1V5gPTy.js → text-align-start-CGacJ9Vw.js} +1 -2
  331. package/dist/{trash-CZfiUFmw.js → trash-DxCd7zIy.js} +1 -2
  332. package/dist/{triangle-alert-CFDzyFC7.js → triangle-alert-7_oaitpf.js} +1 -2
  333. package/dist/{upload-BJfvdIrD.js → upload-DuFEOi_0.js} +1 -2
  334. package/dist/{useCloudI18n-Dcjua65H.js → useCloudI18n-DEMmUKuO.js} +3 -4
  335. package/dist/{useEditorCore-BTLeAVlM.js → useEditorCore-BSo2sSID.js} +1568 -1573
  336. package/dist/useEditorRoot-BMcoCLBx.js +7 -0
  337. package/dist/{useI18n-BdoY7xDE.js → useI18n-BBrHTdu8.js} +3 -4
  338. package/dist/{cdn/chunks/useLogicTag-B49Nc53Y.js → useLogicTag-ZPC39rfH.js} +4 -7
  339. package/dist/{cdn/chunks/useMergeTag-B0KryMj8.js → useMergeTag-BQ4qqWpQ.js} +6 -9
  340. package/dist/{cdn/chunks/usePopoverPosition-C829ps5i.js → usePopoverPosition-DV1PxL66.js} +6 -12
  341. package/dist/{useScrollToBlock-FmNMALM_.js → useScrollToBlock-BSyAV4pk.js} +4 -6
  342. package/dist/{vue.runtime.esm-bundler-DgFJ6GPG.js → vue.runtime.esm-bundler-CnEeTfhs.js} +1001 -1002
  343. package/dist/{withCurrentFont-BATJHNve.js → withCurrentFont-B22FXAF5.js} +2 -3
  344. package/dist/{x-CZ0Js0hA.js → x-BpfG7v9g.js} +1 -2
  345. package/package.json +26 -24
  346. package/dist/BlockIssueBadge-CKwZ1Vgn.js +0 -34
  347. package/dist/CommentsSidebar-Ca3DyFOX.js +0 -500
  348. package/dist/IssuesPanel-C8nMUccy.js +0 -360
  349. package/dist/SavedBlocksBrowserModal-wnkvxpm_.js +0 -360
  350. package/dist/WrapperBlock-BO619LAb.js +0 -45
  351. package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +0 -1
  352. package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js +0 -35
  353. package/dist/cdn/chunks/BlockIssueBadge-DAn2vsMJ.js.map +0 -1
  354. package/dist/cdn/chunks/CommentsSidebar-CCvplq1Z.js.map +0 -1
  355. package/dist/cdn/chunks/LoadingTrack-BIcL4NiY.js +0 -12
  356. package/dist/cdn/chunks/ParagraphEditor-CqSj6Ayz.js.map +0 -1
  357. package/dist/cdn/chunks/SavedBlocksBrowserModal-DtOz_X5S.js +0 -357
  358. package/dist/cdn/chunks/TitleEditor-Ccv6uoTz.js.map +0 -1
  359. package/dist/cdn/chunks/TplModal-BXQzmsJX.js +0 -52
  360. package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js +0 -22
  361. package/dist/cdn/chunks/blockTypeIcons-ikZAmd6U.js.map +0 -1
  362. package/dist/cdn/chunks/draggable-DZ0gwUJ6.js.map +0 -1
  363. package/dist/cdn/chunks/en-ifvu6oPv.js +0 -1
  364. package/dist/cdn/chunks/icons-DNX6StSs.js.map +0 -1
  365. package/dist/cdn/chunks/liquid.browser-Bbt17cVz.js.map +0 -1
  366. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +0 -62
  367. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +0 -1
  368. package/dist/cdn/chunks/src-BNFnxfrA.js.map +0 -1
  369. package/dist/cdn/chunks/src-Bs_yxk3h.js.map +0 -1
  370. package/dist/cdn/chunks/src-YGkzYyu0.js +0 -649
  371. package/dist/cdn/chunks/src-YGkzYyu0.js.map +0 -1
  372. package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +0 -1
  373. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js +0 -2586
  374. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +0 -1
  375. package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +0 -10
  376. package/dist/dist-BPFcLKTw.js +0 -5
  377. package/dist/dist-D7Yj7E-F.js +0 -5
  378. package/dist/en-DwV15ltA.js +0 -1
  379. package/dist/sanitizeRichTextHtml-DeISfLFr.js +0 -60
  380. package/dist/useEditorRoot-DUy67lJu.js +0 -8
@@ -1,16 +1,16 @@
1
- import { At as e, C as t, D as n, G as r, Mt as i, N as a, Q as o, V as s, Y as c, _ as l, a as u, c as d, d as f, f as p, g as m, j as h, jt as g, l as _, ot as v, q as y, r as b, u as x, x as S, y as C } from "./vue.runtime.esm-bundler-DgFJ6GPG.js";
2
- import { c as w, n as T, s as ee, t as te } from "./runtime-dom.esm-bundler-B8WCZWUm.js";
3
- import { J as E, Q as D, Z as O, rt as k } from "./dist-DtOF3bDW.js";
4
- import { t as ne } from "./dist-DI4_YSnG.js";
5
- import { J as re, Y as A, Z as ie, d as ae } from "./keys-Zd9KWRD1.js";
6
- import { t as j } from "./useI18n-BdoY7xDE.js";
7
- import { a as M, i as oe, n as se, o as ce, r as le, t as ue } from "./usePopoverPosition-BZea45XK.js";
8
- import { t as N } from "./createLucideIcon-0lYYH3EW.js";
9
- import { t as P } from "./pencil-CEotCKbf.js";
10
- import { t as de } from "./x-CZ0Js0hA.js";
11
- import { t as F } from "./useMergeTag-Bhdx7AKk.js";
12
- import { t as I } from "./useLogicTag-DKLZ1T9H.js";
13
- import { u as fe } from "./styleConstants-v1dNKgJf.js";
1
+ import { $ as e, C as t, D as n, H as r, J as i, K as a, Mt as o, N as s, Nt as c, X as l, _ as u, a as d, c as f, d as p, f as m, g as h, j as g, jt as _, l as v, r as y, st as b, u as x, x as S, y as C } from "./vue.runtime.esm-bundler-CnEeTfhs.js";
2
+ import { c as w, n as T, s as ee, t as te } from "./runtime-dom.esm-bundler-BURR-bj5.js";
3
+ import { Z as E, et as D, ot as O, tt as k } from "./dist-CKi_npZM.js";
4
+ import { t as ne } from "./dist-ByCWA2Tv.js";
5
+ import { J as re, Y as A, Z as ie, d as ae } from "./keys-BgRERHzu.js";
6
+ import { t as j } from "./useI18n-BBrHTdu8.js";
7
+ import { a as M, i as oe, n as se, o as ce, r as le, t as ue } from "./usePopoverPosition-DV1PxL66.js";
8
+ import { t as N } from "./createLucideIcon-CvhTA2KG.js";
9
+ import { t as P } from "./pencil-D3aFCL7c.js";
10
+ import { t as de } from "./x-BpfG7v9g.js";
11
+ import { t as F } from "./useMergeTag-BQ4qqWpQ.js";
12
+ import { t as I } from "./useLogicTag-ZPC39rfH.js";
13
+ import { u as fe } from "./styleConstants-B8xVRiwX.js";
14
14
  var pe = N({
15
15
  name: "braces",
16
16
  size: 24,
@@ -280,8 +280,7 @@ var pe = N({
280
280
  }
281
281
  }, Fe = class extends Pe {};
282
282
  customElements.define("hex-color-picker", Fe);
283
- //#endregion
284
- //#region src/components/ColorPicker.vue?vue&type=script&setup=true&lang.ts
283
+ // src/components/ColorPicker.vue?vue&type=script&setup=true&lang.ts
285
284
  var Ie = [
286
285
  "disabled",
287
286
  "aria-label",
@@ -345,23 +344,23 @@ var Ie = [
345
344
  }
346
345
  },
347
346
  emits: ["update:modelValue"],
348
- setup(n, { emit: r }) {
349
- let c = n, y = r, { t: S } = j(), C = o(!1), T = o(), E = o(), D = o(!1);
347
+ setup(n, { emit: i }) {
348
+ let a = n, l = i, { t: S } = j(), C = e(!1), T = e(), E = e(), D = e(!1);
350
349
  ne(T, () => {
351
350
  C.value = !1;
352
351
  }, { ignore: [E] });
353
- let O = d(() => !c.modelValue), k = d(() => c.modelValue.trim().toLowerCase() === "transparent"), A = d(() => oe(c.modelValue)), N = d(() => (c.modelValue ? M(c.modelValue) : null) || (M(c.seedColor) ?? "#ffffff")), P = d(() => !c.disabled && !O.value), F = t(ae, ce), I = d(() => [...new Set(c.presets ?? F.presets)]), pe = d(() => c.allowCustom ?? F.allowCustom), L = d(() => I.value.length > 0), R = d(() => pe.value || !L.value), z = d(() => le(c.modelValue));
352
+ let O = f(() => !a.modelValue), k = f(() => a.modelValue.trim().toLowerCase() === "transparent"), A = f(() => oe(a.modelValue)), N = f(() => (a.modelValue ? M(a.modelValue) : null) || (M(a.seedColor) ?? "#ffffff")), P = f(() => !a.disabled && !O.value), F = t(ae, ce), I = f(() => [...new Set(a.presets ?? F.presets)]), pe = f(() => a.allowCustom ?? F.allowCustom), L = f(() => I.value.length > 0), R = f(() => pe.value || !L.value), z = f(() => le(a.modelValue));
354
353
  function B(e) {
355
354
  return z.value !== "" && le(e) === z.value;
356
355
  }
357
356
  function V(e) {
358
- y("update:modelValue", e);
357
+ l("update:modelValue", e);
359
358
  }
360
- let H = d(() => L.value && !R.value);
359
+ let H = f(() => L.value && !R.value);
361
360
  function U(e) {
362
361
  return H.value ? e + 1 : e;
363
362
  }
364
- let W = d(() => {
363
+ let W = f(() => {
365
364
  if (H.value && O.value) return 0;
366
365
  let e = I.value.findIndex((e) => B(e));
367
366
  return e === -1 ? 0 : U(e);
@@ -383,29 +382,29 @@ var Ie = [
383
382
  i !== -1 && (n[(i + (e.key === "ArrowRight" || e.key === "ArrowDown" ? 1 : -1) + n.length) % n.length]?.focus(), e.preventDefault());
384
383
  }
385
384
  function ge(e) {
386
- D.value = !0, y("update:modelValue", e.detail.value);
385
+ D.value = !0, l("update:modelValue", e.detail.value);
387
386
  }
388
387
  function _e() {
389
388
  D.value = !1;
390
389
  }
391
390
  function ve() {
392
- !D.value && O.value && y("update:modelValue", N.value);
391
+ !D.value && O.value && l("update:modelValue", N.value);
393
392
  }
394
393
  function K(e) {
395
- y("update:modelValue", e.target.value);
394
+ l("update:modelValue", e.target.value);
396
395
  }
397
396
  function q() {
398
- y("update:modelValue", "");
397
+ l("update:modelValue", "");
399
398
  }
400
399
  function J() {
401
- y("update:modelValue", "transparent");
400
+ l("update:modelValue", "transparent");
402
401
  }
403
- let Y = se(), { toLocal: X } = ue(), ye = t(re, null), be = t(ie, null), Z = o({
402
+ let Y = se(), { toLocal: X } = ue(), ye = t(re, null), be = t(ie, null), Z = e({
404
403
  top: 0,
405
404
  left: 0
406
405
  });
407
406
  function xe() {
408
- if (!c.disabled) {
407
+ if (!a.disabled) {
409
408
  if (!C.value) {
410
409
  let e = E.value?.getBoundingClientRect();
411
410
  if (e) {
@@ -419,53 +418,53 @@ var Ie = [
419
418
  C.value = !C.value;
420
419
  }
421
420
  }
422
- return (t, r) => (h(), p("div", { class: e(["tpl:flex tpl:items-center tpl:gap-2 tpl:relative", n.disabled && "tpl:opacity-60 tpl:cursor-not-allowed"]) }, [
423
- _("button", {
421
+ return (e, t) => (g(), m("div", { class: _(["tpl:flex tpl:items-center tpl:gap-2 tpl:relative", n.disabled && "tpl:opacity-60 tpl:cursor-not-allowed"]) }, [
422
+ v("button", {
424
423
  ref_key: "swatchRef",
425
424
  ref: E,
426
425
  type: "button",
427
426
  disabled: n.disabled,
428
- "aria-label": n.ariaLabel || v(S).colorPicker.pickColor,
427
+ "aria-label": n.ariaLabel || b(S).colorPicker.pickColor,
429
428
  title: n.ariaLabel || void 0,
430
429
  "aria-expanded": C.value,
431
- class: e([
430
+ class: _([
432
431
  "tpl:shrink-0 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-0.5 tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
433
432
  n.disabled ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer",
434
433
  C.value ? "tpl:border-[var(--tpl-primary)] tpl:shadow-[var(--tpl-ring)]" : !n.disabled && "tpl:hover:border-[var(--tpl-text-dim)]",
435
434
  n.size === "sm" ? "tpl:size-8" : "tpl:size-10"
436
435
  ]),
437
436
  onClick: xe
438
- }, [_("span", {
439
- class: e(["tpl:block tpl:size-full tpl:rounded-[calc(var(--tpl-radius-sm)-2px)]", {
437
+ }, [v("span", {
438
+ class: _(["tpl:block tpl:size-full tpl:rounded-[calc(var(--tpl-radius-sm)-2px)]", {
440
439
  "tpl-color-swatch-empty": O.value,
441
440
  "tpl-color-swatch-transparent": k.value
442
441
  }]),
443
- style: g(O.value || k.value ? void 0 : { backgroundColor: A.value })
442
+ style: o(O.value || k.value ? void 0 : { backgroundColor: A.value })
444
443
  }, null, 6)], 10, Ie),
445
- !n.swatchOnly && R.value ? (h(), p("div", Le, [_("input", {
444
+ !n.swatchOnly && R.value ? (g(), m("div", Le, [v("input", {
446
445
  type: "text",
447
- class: e([v(fe), "tpl:w-full"]),
448
- style: g(P.value ? { paddingRight: "2.25rem" } : void 0),
446
+ class: _([b(fe), "tpl:w-full"]),
447
+ style: o(P.value ? { paddingRight: "2.25rem" } : void 0),
449
448
  value: A.value,
450
- placeholder: n.placeholder || v(S).colorPicker.notSet,
449
+ placeholder: n.placeholder || b(S).colorPicker.notSet,
451
450
  disabled: n.disabled,
452
- "aria-label": v(S).colorPicker.hexValue,
451
+ "aria-label": b(S).colorPicker.hexValue,
453
452
  onInput: K
454
- }, null, 46, Re), P.value ? (h(), p("button", {
453
+ }, null, 46, Re), P.value ? (g(), m("button", {
455
454
  key: 0,
456
455
  type: "button",
457
- "aria-label": v(S).colorPicker.clear,
458
- title: v(S).colorPicker.clear,
456
+ "aria-label": b(S).colorPicker.clear,
457
+ title: b(S).colorPicker.clear,
459
458
  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)]",
460
459
  onClick: q
461
- }, [l(v(de), {
460
+ }, [u(b(de), {
462
461
  size: 14,
463
462
  "stroke-width": 1.5
464
- })], 8, ze)) : f("", !0)])) : f("", !0),
465
- (h(), x(u, {
466
- to: v(Y),
467
- disabled: !v(Y)
468
- }, [l(te, {
463
+ })], 8, ze)) : p("", !0)])) : p("", !0),
464
+ (g(), x(d, {
465
+ to: b(Y),
466
+ disabled: !b(Y)
467
+ }, [u(te, {
469
468
  "enter-active-class": "tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]",
470
469
  "enter-from-class": "tpl:opacity-0 tpl:scale-95 tpl:translate-y-1",
471
470
  "enter-to-class": "tpl:opacity-100 tpl:scale-100 tpl:translate-y-0",
@@ -473,87 +472,87 @@ var Ie = [
473
472
  "leave-from-class": "tpl:opacity-100 tpl:scale-100 tpl:translate-y-0",
474
473
  "leave-to-class": "tpl:opacity-0 tpl:scale-95 tpl:translate-y-1"
475
474
  }, {
476
- default: s(() => [C.value ? (h(), p("div", {
475
+ default: r(() => [C.value ? (g(), m("div", {
477
476
  key: 0,
478
477
  ref_key: "popoverRef",
479
478
  ref: T,
480
- "data-tpl-theme": v(be),
479
+ "data-tpl-theme": b(be),
481
480
  class: "tpl-color-popover tpl:absolute tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:shadow-[var(--tpl-shadow-lg)]",
482
- style: g({
481
+ style: o({
483
482
  top: `${Z.value.top}px`,
484
483
  left: `${Z.value.left}px`,
485
- ...v(ye)
484
+ ...b(ye)
486
485
  })
487
486
  }, [
488
- n.allowTransparent ? (h(), p("button", {
487
+ n.allowTransparent ? (g(), m("button", {
489
488
  key: 0,
490
489
  type: "button",
491
490
  "data-testid": "color-picker-transparent",
492
491
  "aria-pressed": k.value,
493
- "aria-label": v(S).colorPicker.transparent,
494
- title: v(S).colorPicker.transparent,
495
- class: e(["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)]", k.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)]"]),
492
+ "aria-label": b(S).colorPicker.transparent,
493
+ title: b(S).colorPicker.transparent,
494
+ class: _(["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)]", k.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)]"]),
496
495
  onClick: J
497
- }, [r[2] ||= _("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), m(" " + i(v(S).colorPicker.transparent), 1)], 10, Ve)) : f("", !0),
498
- L.value ? (h(), p("div", {
496
+ }, [t[2] ||= v("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), h(" " + c(b(S).colorPicker.transparent), 1)], 10, Ve)) : p("", !0),
497
+ L.value ? (g(), m("div", {
499
498
  key: 1,
500
499
  role: "radiogroup",
501
- "aria-label": v(S).colorPicker.presetColors,
502
- class: e(["tpl:flex tpl:flex-wrap tpl:gap-1.5", R.value && "tpl:mb-2"]),
500
+ "aria-label": b(S).colorPicker.presetColors,
501
+ class: _(["tpl:flex tpl:flex-wrap tpl:gap-1.5", R.value && "tpl:mb-2"]),
503
502
  onKeydown: he
504
- }, [H.value ? (h(), p("button", {
503
+ }, [H.value ? (g(), m("button", {
505
504
  key: 0,
506
505
  type: "button",
507
506
  role: "radio",
508
- "aria-label": v(S).colorPicker.clear,
509
- title: v(S).colorPicker.clear,
507
+ "aria-label": b(S).colorPicker.clear,
508
+ title: b(S).colorPicker.clear,
510
509
  "aria-checked": O.value,
511
510
  tabindex: me(),
512
- class: e(["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)]", O.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)]"]),
511
+ class: _(["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)]", O.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)]"]),
513
512
  onClick: q
514
- }, null, 10, Ue)) : f("", !0), (h(!0), p(b, null, a(I.value, (t, n) => (h(), p("button", {
515
- key: t,
513
+ }, null, 10, Ue)) : p("", !0), (g(!0), m(y, null, s(I.value, (e, t) => (g(), m("button", {
514
+ key: e,
516
515
  type: "button",
517
516
  role: "radio",
518
- "aria-label": t,
519
- title: t,
520
- "aria-checked": B(t),
521
- tabindex: G(n),
522
- style: g({ backgroundColor: t }),
523
- class: e(["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)]", B(t) ? "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)]"]),
524
- onClick: (e) => V(t)
525
- }, null, 14, We))), 128))], 42, He)) : f("", !0),
526
- R.value ? (h(), p("hex-color-picker", {
517
+ "aria-label": e,
518
+ title: e,
519
+ "aria-checked": B(e),
520
+ tabindex: G(t),
521
+ style: o({ backgroundColor: e }),
522
+ class: _(["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)]", B(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)]"]),
523
+ onClick: (t) => V(e)
524
+ }, null, 14, We))), 128))], 42, He)) : p("", !0),
525
+ R.value ? (g(), m("hex-color-picker", {
527
526
  key: 2,
528
527
  color: N.value,
529
- "aria-label": v(S).colorPicker.pickColor,
528
+ "aria-label": b(S).colorPicker.pickColor,
530
529
  onColorChanged: ge,
531
530
  onPointerdown: _e,
532
531
  onPointerup: ve,
533
- onKeydown: r[0] ||= ee((e) => C.value = !1, ["escape"])
534
- }, null, 40, Ge)) : f("", !0),
535
- n.swatchOnly && R.value ? (h(), p("div", Ke, [_("input", {
532
+ onKeydown: t[0] ||= ee((e) => C.value = !1, ["escape"])
533
+ }, null, 40, Ge)) : p("", !0),
534
+ n.swatchOnly && R.value ? (g(), m("div", Ke, [v("input", {
536
535
  type: "text",
537
- class: e([v(fe), "tpl:w-full"]),
538
- style: g(P.value ? { paddingRight: "2.25rem" } : void 0),
536
+ class: _([b(fe), "tpl:w-full"]),
537
+ style: o(P.value ? { paddingRight: "2.25rem" } : void 0),
539
538
  value: A.value,
540
- placeholder: n.placeholder || v(S).colorPicker.notSet,
539
+ placeholder: n.placeholder || b(S).colorPicker.notSet,
541
540
  disabled: n.disabled,
542
- "aria-label": v(S).colorPicker.hexValue,
541
+ "aria-label": b(S).colorPicker.hexValue,
543
542
  onChange: K,
544
- onKeydown: r[1] ||= ee(w((e) => e.target.blur(), ["prevent"]), ["enter"])
545
- }, null, 46, qe), P.value ? (h(), p("button", {
543
+ onKeydown: t[1] ||= ee(w((e) => e.target.blur(), ["prevent"]), ["enter"])
544
+ }, null, 46, qe), P.value ? (g(), m("button", {
546
545
  key: 0,
547
546
  type: "button",
548
- "aria-label": v(S).colorPicker.clear,
549
- title: v(S).colorPicker.clear,
547
+ "aria-label": b(S).colorPicker.clear,
548
+ title: b(S).colorPicker.clear,
550
549
  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)]",
551
550
  onClick: q
552
- }, [l(v(de), {
551
+ }, [u(b(de), {
553
552
  size: 14,
554
553
  "stroke-width": 1.5
555
- })], 8, Je)) : f("", !0)])) : f("", !0)
556
- ], 12, Be)) : f("", !0)]),
554
+ })], 8, Je)) : p("", !0)])) : p("", !0)
555
+ ], 12, Be)) : p("", !0)]),
557
556
  _: 1
558
557
  })], 8, ["to", "disabled"]))
559
558
  ], 2));
@@ -578,28 +577,28 @@ var Ie = [
578
577
  listId: {}
579
578
  },
580
579
  emits: ["select", "hover"],
581
- setup(t) {
582
- let n = t;
583
- function r(e) {
584
- return n.listId ? `${n.listId}-opt-${e}` : void 0;
580
+ setup(e) {
581
+ let t = e;
582
+ function n(e) {
583
+ return t.listId ? `${t.listId}-opt-${e}` : void 0;
585
584
  }
586
- return (n, o) => (h(), p("div", {
587
- id: t.listId,
585
+ return (t, r) => (g(), m("div", {
586
+ id: e.listId,
588
587
  class: "tpl:min-w-[200px] tpl:max-w-[320px] tpl:max-h-[50vh] tpl:overflow-y-auto tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:py-1 tpl:shadow-[var(--tpl-shadow-lg)]",
589
588
  role: "listbox",
590
589
  "data-testid": "merge-tag-suggestion-list"
591
- }, [t.items.length === 0 ? (h(), p("div", Ze, i(t.emptyText), 1)) : f("", !0), (h(!0), p(b, null, a(t.items, (a, o) => (h(), p("button", {
592
- key: a.value,
593
- id: r(o),
590
+ }, [e.items.length === 0 ? (g(), m("div", Ze, c(e.emptyText), 1)) : p("", !0), (g(!0), m(y, null, s(e.items, (r, i) => (g(), m("button", {
591
+ key: r.value,
592
+ id: n(i),
594
593
  type: "button",
595
594
  role: "option",
596
- "aria-selected": o === t.selectedIndex,
597
- "data-selected": o === t.selectedIndex ? "true" : "false",
598
- "data-merge-tag-value": a.value,
599
- class: e(["tpl:flex tpl:w-full tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:px-3 tpl:py-1.5 tpl:text-left tpl:text-xs tpl:transition-colors", o === t.selectedIndex ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
600
- onMousedown: w((e) => n.$emit("select", a), ["prevent", "stop"]),
601
- onMousemove: (e) => o !== t.selectedIndex && n.$emit("hover", o)
602
- }, [_("span", $e, i(a.label), 1), _("span", et, i(a.value), 1)], 42, Qe))), 128))], 8, Xe));
595
+ "aria-selected": i === e.selectedIndex,
596
+ "data-selected": i === e.selectedIndex ? "true" : "false",
597
+ "data-merge-tag-value": r.value,
598
+ class: _(["tpl:flex tpl:w-full tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:px-3 tpl:py-1.5 tpl:text-left tpl:text-xs tpl:transition-colors", i === e.selectedIndex ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
599
+ onMousedown: w((e) => t.$emit("select", r), ["prevent", "stop"]),
600
+ onMousemove: (n) => i !== e.selectedIndex && t.$emit("hover", i)
601
+ }, [v("span", $e, c(r.label), 1), v("span", et, c(r.value), 1)], 42, Qe))), 128))], 8, Xe));
603
602
  }
604
603
  }), nt = 10, rt = 0;
605
604
  function it(e, t) {
@@ -612,8 +611,8 @@ function it(e, t) {
612
611
  function at(e, t, n, r) {
613
612
  return t.length === 0 ? e.key === "Enter" || e.key === "Tab" : e.key === "ArrowDown" ? (n.value = (n.value + 1) % t.length, !0) : e.key === "ArrowUp" ? (n.value = (n.value - 1 + t.length) % t.length, !0) : e.key === "Enter" || e.key === "Tab" ? (r(t[n.value]), !0) : !1;
614
613
  }
615
- function ot(e, t) {
616
- let n = null, r = null, i = null, a = o([]), s = o(0), c = null, l = `tpl-merge-tag-suggestion-${++rt}`, u = null, d = [], f = null;
614
+ function ot(t, n) {
615
+ let r = null, i = null, a = null, o = e([]), s = e(0), c = null, l = `tpl-merge-tag-suggestion-${++rt}`, u = null, d = [], f = null;
617
616
  function p() {
618
617
  v(u?.() ?? null);
619
618
  }
@@ -643,14 +642,14 @@ function ot(e, t) {
643
642
  window.removeEventListener("resize", p), d = [];
644
643
  }
645
644
  function v(e) {
646
- if (!r || !e || e.bottom < 0 || e.top > window.innerHeight) return;
647
- r.style.position = "absolute", r.style.zIndex = "9999";
648
- let t = r.offsetParent?.getBoundingClientRect(), n = t?.top ?? 0, i = t?.left ?? 0;
649
- r.style.left = `${e.left - i}px`, r.style.top = `${e.bottom - n}px`;
650
- let a = r.offsetHeight;
645
+ if (!i || !e || e.bottom < 0 || e.top > window.innerHeight) return;
646
+ i.style.position = "absolute", i.style.zIndex = "9999";
647
+ let t = i.offsetParent?.getBoundingClientRect(), n = t?.top ?? 0, r = t?.left ?? 0;
648
+ i.style.left = `${e.left - r}px`, i.style.top = `${e.bottom - n}px`;
649
+ let a = i.offsetHeight;
651
650
  if (a !== 0 && window.innerHeight - e.bottom < a) {
652
651
  let t = Math.max(0, e.top - a);
653
- r.style.top = `${t - n}px`;
652
+ i.style.top = `${t - n}px`;
654
653
  }
655
654
  }
656
655
  function y(e, t) {
@@ -666,44 +665,43 @@ function ot(e, t) {
666
665
  e.style.fontFamily = i.fontFamily, e.style.fontSize = i.fontSize, e.style.lineHeight = i.lineHeight;
667
666
  }
668
667
  function b(e) {
669
- i && (e ? (i.setAttribute("role", "combobox"), i.setAttribute("aria-haspopup", "listbox"), i.setAttribute("aria-expanded", "true"), i.setAttribute("aria-controls", l)) : (i.removeAttribute("aria-expanded"), i.removeAttribute("aria-controls"), i.removeAttribute("aria-activedescendant"), i.removeAttribute("aria-haspopup"), i.removeAttribute("role")));
668
+ a && (e ? (a.setAttribute("role", "combobox"), a.setAttribute("aria-haspopup", "listbox"), a.setAttribute("aria-expanded", "true"), a.setAttribute("aria-controls", l)) : (a.removeAttribute("aria-expanded"), a.removeAttribute("aria-controls"), a.removeAttribute("aria-activedescendant"), a.removeAttribute("aria-haspopup"), a.removeAttribute("role")));
670
669
  }
671
670
  function x() {
672
- i && (a.value.length === 0 ? i.removeAttribute("aria-activedescendant") : i.setAttribute("aria-activedescendant", `${l}-opt-${s.value}`));
671
+ a && (o.value.length === 0 ? a.removeAttribute("aria-activedescendant") : a.setAttribute("aria-activedescendant", `${l}-opt-${s.value}`));
673
672
  }
674
673
  function C(e) {
675
674
  c?.(e);
676
675
  }
677
676
  return {
678
- open: ({ items: o, getRect: d, anchorEl: f, onCommand: p }) => {
679
- a.value = o, s.value = 0, c = p, r = document.createElement("div"), r.setAttribute("data-testid", "merge-tag-suggestion-popup"), i = f, y(r, f), (t?.value ?? document.body).appendChild(r), n = T({ render() {
677
+ open: ({ items: e, getRect: d, anchorEl: f, onCommand: p }) => {
678
+ o.value = e, s.value = 0, c = p, i = document.createElement("div"), i.setAttribute("data-testid", "merge-tag-suggestion-popup"), a = f, y(i, f), (n?.value ?? document.body).appendChild(i), r = T({ render() {
680
679
  return S(tt, {
681
- items: a.value,
680
+ items: o.value,
682
681
  selectedIndex: s.value,
683
- emptyText: e,
682
+ emptyText: t,
684
683
  listId: l,
685
684
  onSelect: (e) => C(e),
686
685
  onHover: (e) => {
687
686
  s.value = e, x();
688
687
  }
689
688
  });
690
- } }), n.mount(r), b(!0), x(), u = d, m(), g(f);
689
+ } }), r.mount(i), b(!0), x(), u = d, m(), g(f);
691
690
  },
692
691
  update: ({ items: e, getRect: t, onCommand: n }) => {
693
- a.value = e, s.value >= e.length && (s.value = 0), c = n, x(), u = t, m();
692
+ o.value = e, s.value >= e.length && (s.value = 0), c = n, x(), u = t, m();
694
693
  },
695
694
  handleKeyDown: (e) => {
696
- let t = at(e, a.value, s, C);
695
+ let t = at(e, o.value, s, C);
697
696
  return t && x(), t;
698
697
  },
699
698
  close: () => {
700
- r !== null && (f !== null && (cancelAnimationFrame(f), f = null), _(), b(!1), n?.unmount(), r.remove(), n = null, r = null, i = null, c = null, u = null);
699
+ i !== null && (f !== null && (cancelAnimationFrame(f), f = null), _(), b(!1), r?.unmount(), i.remove(), r = null, i = null, a = null, c = null, u = null);
701
700
  },
702
- isOpen: () => r !== null
701
+ isOpen: () => i !== null
703
702
  };
704
703
  }
705
- //#endregion
706
- //#region src/utils/mergeTagTrigger.ts
704
+ // src/utils/mergeTagTrigger.ts
707
705
  function st(e, t, n, r, i) {
708
706
  if (!n) return null;
709
707
  let a = e.slice(0, t), o = a.lastIndexOf(n);
@@ -720,8 +718,7 @@ function ct(e, t) {
720
718
  for (let t of e.matchAll(n)) r = t.index + t[0].length;
721
719
  return r;
722
720
  }
723
- //#endregion
724
- //#region src/utils/textFieldCaret.ts
721
+ // src/utils/textFieldCaret.ts
725
722
  var lt = /* @__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(".");
726
723
  function ut(e, t, n) {
727
724
  return {
@@ -757,8 +754,7 @@ function dt(e, t) {
757
754
  let b = h.top + p + g - e.scrollTop;
758
755
  return ut(y, b, b + v);
759
756
  }
760
- //#endregion
761
- //#region src/composables/useMergeTagAutocomplete.ts
757
+ // src/composables/useMergeTagAutocomplete.ts
762
758
  var ft = /* @__PURE__ */ new Set([
763
759
  "ArrowLeft",
764
760
  "ArrowRight",
@@ -766,67 +762,66 @@ var ft = /* @__PURE__ */ new Set([
766
762
  "End"
767
763
  ]);
768
764
  function pt(e) {
769
- let { elementRef: i, modelValue: a, emit: o, mergeTags: s, syntax: l, enabled: u, onInsert: f } = e, p = D(l), m = O(l), h = d(() => u && p !== null && s.value.length > 0), g = t(A, null), _ = ot((y(g) ? g.value : g)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", se()), v = !1;
770
- r() && c(() => {
771
- v = !0, _.close();
765
+ let { elementRef: r, modelValue: o, emit: s, mergeTags: c, syntax: u, enabled: d, onInsert: p } = e, m = k(u), h = D(u), g = f(() => d && m !== null && c.value.length > 0), _ = t(A, null), v = ot((i(_) ? _.value : _)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", se()), y = !1;
766
+ a() && l(() => {
767
+ y = !0, v.close();
772
768
  });
773
769
  function b(e) {
774
770
  let t = e.value ?? "";
775
- return st(t, e.selectionStart ?? t.length, p, m, l.value);
771
+ return st(t, e.selectionStart ?? t.length, m, h, u.value);
776
772
  }
777
- function x(e, t, r) {
778
- let s = e.value ?? a(), c = s.slice(t.caret), l = m && c.startsWith(m) ? m.length : 0, u = s.slice(0, t.triggerStart), d = s.slice(t.caret + l), p = u + r.value + d, h = u.length + r.value.length;
779
- f?.(), o(p), _.close(), n(() => {
780
- if (v) return;
781
- let e = i.value;
782
- e?.focus(), e?.setSelectionRange(h, h);
773
+ function x(e, t, i) {
774
+ let a = e.value ?? o(), c = a.slice(t.caret), l = h && c.startsWith(h) ? h.length : 0, u = a.slice(0, t.triggerStart), d = a.slice(t.caret + l), f = u + i.value + d, m = u.length + i.value.length;
775
+ p?.(), s(f), v.close(), n(() => {
776
+ if (y) return;
777
+ let e = r.value;
778
+ e?.focus(), e?.setSelectionRange(m, m);
783
779
  });
784
780
  }
785
781
  function S() {
786
- if (!h.value || v) return;
787
- let e = i.value;
782
+ if (!g.value || y) return;
783
+ let e = r.value;
788
784
  if (!e) {
789
- _.close();
785
+ v.close();
790
786
  return;
791
787
  }
792
788
  let t = b(e);
793
789
  if (!t) {
794
- _.close();
790
+ v.close();
795
791
  return;
796
792
  }
797
- let n = it(s.value, t.query), r = () => dt(e, t.triggerStart), a = (n) => x(e, t, n);
798
- _.isOpen() ? _.update({
793
+ let n = it(c.value, t.query), i = () => dt(e, t.triggerStart), a = (n) => x(e, t, n);
794
+ v.isOpen() ? v.update({
799
795
  items: n,
800
- getRect: r,
796
+ getRect: i,
801
797
  onCommand: a
802
- }) : _.open({
798
+ }) : v.open({
803
799
  items: n,
804
- getRect: r,
800
+ getRect: i,
805
801
  anchorEl: e,
806
802
  onCommand: a
807
803
  });
808
804
  }
809
805
  function C(e) {
810
- return _.isOpen() ? e.key === "Escape" ? (_.close(), !0) : ft.has(e.key) ? (_.close(), !1) : _.handleKeyDown(e) : !1;
806
+ return v.isOpen() ? e.key === "Escape" ? (v.close(), !0) : ft.has(e.key) ? (v.close(), !1) : v.handleKeyDown(e) : !1;
811
807
  }
812
808
  return {
813
- available: h,
809
+ available: g,
814
810
  refresh: S,
815
811
  handleKeydown: C,
816
- close: () => _.close(),
817
- isOpen: () => _.isOpen()
812
+ close: () => v.close(),
813
+ isOpen: () => v.isOpen()
818
814
  };
819
815
  }
820
- //#endregion
821
- //#region src/composables/useMergeTagField.ts
822
- function mt(e) {
823
- let { modelValue: t, emit: i, elementRef: a } = e, { mergeTags: s, canRequestMergeTag: l, isRequesting: u, isMergeTagValue: f, getMergeTagDisplayLabel: p, findMergeTag: m, requestMergeTag: h, syntax: g, autocomplete: _ } = F(), { canInsertLogicTag: v, isRequesting: y, requestLogicTag: b } = I(), x = o(!1), S = !1, C = !1;
824
- r() && c(() => {
816
+ // src/composables/useMergeTagField.ts
817
+ function mt(t) {
818
+ let { modelValue: r, emit: i, elementRef: o } = t, { mergeTags: s, canRequestMergeTag: c, isRequesting: u, isMergeTagValue: d, getMergeTagDisplayLabel: p, findMergeTag: m, requestMergeTag: h, syntax: g, autocomplete: _ } = F(), { canInsertLogicTag: v, isRequesting: y, requestLogicTag: b } = I(), x = e(!1), S = !1, C = !1;
819
+ a() && l(() => {
825
820
  C = !0;
826
821
  });
827
822
  let w = pt({
828
- elementRef: a,
829
- modelValue: t,
823
+ elementRef: o,
824
+ modelValue: r,
830
825
  emit: i,
831
826
  mergeTags: s,
832
827
  syntax: g,
@@ -834,45 +829,45 @@ function mt(e) {
834
829
  onInsert: () => {
835
830
  x.value = !0;
836
831
  }
837
- }), T = d(() => {
838
- let e = t();
832
+ }), T = f(() => {
833
+ let e = r();
839
834
  if (!e) return [];
840
- let n = [], r = `(${g.value.source}|${g.logic.source})`, i = new RegExp(r, "g"), a = 0, o;
835
+ let t = [], n = `(${g.value.source}|${g.logic.source})`, i = new RegExp(n, "g"), a = 0, o;
841
836
  for (; (o = i.exec(e)) !== null;) {
842
- o.index > a && n.push({
837
+ o.index > a && t.push({
843
838
  type: "text",
844
839
  value: e.slice(a, o.index)
845
840
  });
846
- let t = o[0];
847
- f(t) ? n.push({
841
+ let n = o[0];
842
+ d(n) ? t.push({
848
843
  type: "mergeTag",
849
- value: t,
850
- label: p(t)
851
- }) : k(t, g) ? n.push({
844
+ value: n,
845
+ label: p(n)
846
+ }) : O(n, g) ? t.push({
852
847
  type: "logicMergeTag",
853
- value: t,
854
- keyword: E(t, g)
855
- }) : n.push({
848
+ value: n,
849
+ keyword: E(n, g)
850
+ }) : t.push({
856
851
  type: "text",
857
- value: t
858
- }), a = o.index + t.length;
852
+ value: n
853
+ }), a = o.index + n.length;
859
854
  }
860
- return a < e.length && n.push({
855
+ return a < e.length && t.push({
861
856
  type: "text",
862
857
  value: e.slice(a)
863
- }), n;
864
- }), ee = d(() => T.value.some((e) => e.type === "mergeTag" || e.type === "logicMergeTag"));
858
+ }), t;
859
+ }), ee = f(() => T.value.some((e) => e.type === "mergeTag" || e.type === "logicMergeTag"));
865
860
  function te() {
866
861
  x.value = !0, n(() => {
867
- a.value?.focus();
868
- let e = t()?.length || 0;
869
- a.value?.setSelectionRange(e, e);
862
+ o.value?.focus();
863
+ let e = r()?.length || 0;
864
+ o.value?.setSelectionRange(e, e);
870
865
  });
871
866
  }
872
867
  function D() {
873
868
  S || (x.value = !1);
874
869
  }
875
- function O(e) {
870
+ function k(e) {
876
871
  i(e.target.value), w.refresh();
877
872
  }
878
873
  function ne(e) {
@@ -888,20 +883,20 @@ function mt(e) {
888
883
  i("");
889
884
  }
890
885
  async function ae() {
891
- let e = x.value && a.value ? a.value.selectionStart ?? t().length : t().length;
886
+ let e = x.value && o.value ? o.value.selectionStart ?? r().length : r().length;
892
887
  S = !0;
893
- let r;
888
+ let t;
894
889
  try {
895
- r = await h();
890
+ t = await h();
896
891
  } finally {
897
892
  S = !1;
898
893
  }
899
- if (!C && r) {
900
- let o = t().slice(0, e), s = t().slice(e), c = o + r.value + s;
894
+ if (!C && t) {
895
+ let a = r().slice(0, e), s = r().slice(e), c = a + t.value + s;
901
896
  i(c), x.value = !0, n(() => {
902
897
  if (C) return;
903
- let t = e + r.value.length;
904
- a.value?.focus(), a.value?.setSelectionRange(t, t);
898
+ let n = e + t.value.length;
899
+ o.value?.focus(), o.value?.setSelectionRange(n, n);
905
900
  });
906
901
  }
907
902
  }
@@ -921,7 +916,7 @@ function mt(e) {
921
916
  !C && r && i(t.map((t, n) => n === e ? r.value : t.value).join(""));
922
917
  }
923
918
  async function M() {
924
- let e = a.value, r = e?.selectionStart ?? t().length, o = e?.selectionEnd ?? r;
919
+ let e = o.value, t = e?.selectionStart ?? r().length, a = e?.selectionEnd ?? t;
925
920
  S = !0;
926
921
  let s;
927
922
  try {
@@ -930,22 +925,22 @@ function mt(e) {
930
925
  S = !1;
931
926
  }
932
927
  if (C || !s) return;
933
- let c = t(), l, u;
934
- "before" in s ? (l = c.slice(0, r) + s.before + c.slice(r, o) + s.after + c.slice(o), u = r + s.before.length + (o - r)) : (l = c.slice(0, r) + s.value + c.slice(r), u = r + s.value.length), i(l), x.value = !0, n(() => {
935
- C || (a.value?.focus(), a.value?.setSelectionRange(u, u));
928
+ let c = r(), l, u;
929
+ "before" in s ? (l = c.slice(0, t) + s.before + c.slice(t, a) + s.after + c.slice(a), u = t + s.before.length + (a - t)) : (l = c.slice(0, t) + s.value + c.slice(t), u = t + s.value.length), i(l), x.value = !0, n(() => {
930
+ C || (o.value?.focus(), o.value?.setSelectionRange(u, u));
936
931
  });
937
932
  }
938
933
  return {
939
934
  segments: T,
940
935
  hasMergeTags: ee,
941
- canRequestMergeTag: l,
936
+ canRequestMergeTag: c,
942
937
  isRequestingMergeTag: u,
943
938
  canInsertLogicTag: v,
944
939
  isRequestingLogicTag: y,
945
940
  isEditing: x,
946
941
  startEditing: te,
947
942
  stopEditing: D,
948
- handleInput: O,
943
+ handleInput: k,
949
944
  handleKeydown: ne,
950
945
  handleClick: re,
951
946
  handleBlur: A,
@@ -956,8 +951,7 @@ function mt(e) {
956
951
  autocompleteAvailable: w.available
957
952
  };
958
953
  }
959
- //#endregion
960
- //#region src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
954
+ // src/components/MergeTagSegments.vue?vue&type=script&setup=true&lang.ts
961
955
  var ht = ["aria-label"], gt = [
962
956
  "data-tooltip",
963
957
  "aria-label",
@@ -977,66 +971,66 @@ var ht = ["aria-label"], gt = [
977
971
  "clear",
978
972
  "repick"
979
973
  ],
980
- setup(t, { emit: n }) {
981
- let r = n, { t: o, format: s } = j(), { canRepickMergeTag: c, showRawValue: u } = F();
982
- function d() {
983
- r("edit");
974
+ setup(e, { emit: t }) {
975
+ let n = t, { t: r, format: i } = j(), { canRepickMergeTag: a, showRawValue: o } = F();
976
+ function l() {
977
+ n("edit");
984
978
  }
985
- return (n, f) => (h(), p("div", {
979
+ return (t, d) => (g(), m("div", {
986
980
  role: "group",
987
- "aria-label": v(o).mergeTag.fieldGroup,
988
- class: e([t.displayClass, { "tpl-pulse-fill": t.pulse }]),
989
- onClick: d
981
+ "aria-label": b(r).mergeTag.fieldGroup,
982
+ class: _([e.displayClass, { "tpl-pulse-fill": e.pulse }]),
983
+ onClick: l
990
984
  }, [
991
- (h(!0), p(b, null, a(t.segments, (t, n) => (h(), p(b, { key: `${t.type}-${n}-${t.value}` }, [t.type === "mergeTag" && v(c)(t.value) ? (h(), p("button", {
985
+ (g(!0), m(y, null, s(e.segments, (e, t) => (g(), m(y, { key: `${e.type}-${t}-${e.value}` }, [e.type === "mergeTag" && b(a)(e.value) ? (g(), m("button", {
992
986
  key: 0,
993
987
  type: "button",
994
- class: e(["tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:rounded tpl:border-none tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium", v(u) ? "tpl-tooltip" : ""]),
995
- "data-tooltip": v(u) ? t.value : void 0,
996
- "aria-label": v(s)(v(o).mergeTag.changeTag, { label: t.label }),
988
+ class: _(["tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:gap-1 tpl:rounded tpl:border-none tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium", b(o) ? "tpl-tooltip" : ""]),
989
+ "data-tooltip": b(o) ? e.value : void 0,
990
+ "aria-label": b(i)(b(r).mergeTag.changeTag, { label: e.label }),
997
991
  "data-testid": "merge-tag-field-chip",
998
992
  style: {
999
993
  "background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
1000
994
  color: "var(--tpl-primary)"
1001
995
  },
1002
- onClick: w((e) => r("repick", n), ["stop"])
1003
- }, i(t.label), 11, gt)) : t.type === "mergeTag" ? (h(), p("span", {
996
+ onClick: w((e) => n("repick", t), ["stop"])
997
+ }, c(e.label), 11, gt)) : e.type === "mergeTag" ? (g(), m("span", {
1004
998
  key: 1,
1005
- class: e(["tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium", v(u) ? "tpl-tooltip" : ""]),
1006
- "data-tooltip": v(u) ? t.value : void 0,
999
+ class: _(["tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium", b(o) ? "tpl-tooltip" : ""]),
1000
+ "data-tooltip": b(o) ? e.value : void 0,
1007
1001
  style: {
1008
1002
  "background-color": "color-mix(\n in srgb,\n var(--tpl-primary) 20%,\n transparent\n )",
1009
1003
  color: "var(--tpl-primary)"
1010
1004
  }
1011
- }, i(t.label), 11, _t)) : t.type === "logicMergeTag" ? (h(), p("span", {
1005
+ }, c(e.label), 11, _t)) : e.type === "logicMergeTag" ? (g(), m("span", {
1012
1006
  key: 2,
1013
1007
  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",
1014
- "data-tooltip": t.value,
1008
+ "data-tooltip": e.value,
1015
1009
  style: {
1016
1010
  "background-color": "transparent",
1017
1011
  border: "1.5px solid\n color-mix(in srgb, var(--tpl-primary) 50%, transparent)",
1018
1012
  color: "var(--tpl-primary)"
1019
1013
  }
1020
- }, i(t.keyword), 9, vt)) : (h(), p("span", yt, i(t.value), 1))], 64))), 128)),
1021
- _("button", {
1014
+ }, c(e.keyword), 9, vt)) : (g(), m("span", yt, c(e.value), 1))], 64))), 128)),
1015
+ v("button", {
1022
1016
  type: "button",
1023
1017
  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 tpl:hover:text-[var(--tpl-primary)] tpl:hover:opacity-100",
1024
- "aria-label": v(o).mergeTag.editAsText,
1025
- title: v(o).mergeTag.editAsText,
1018
+ "aria-label": b(r).mergeTag.editAsText,
1019
+ title: b(r).mergeTag.editAsText,
1026
1020
  "data-testid": "merge-tag-field-edit",
1027
- onClick: w(d, ["stop"])
1028
- }, [l(v(P), {
1021
+ onClick: w(l, ["stop"])
1022
+ }, [u(b(P), {
1029
1023
  size: 12,
1030
1024
  "stroke-width": 2
1031
1025
  })], 8, bt),
1032
- _("button", {
1026
+ v("button", {
1033
1027
  type: "button",
1034
1028
  class: "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 tpl:hover:text-[var(--tpl-danger)] tpl:hover:opacity-100",
1035
- "aria-label": v(o).mergeTag.remove,
1036
- title: v(o).mergeTag.remove,
1029
+ "aria-label": b(r).mergeTag.remove,
1030
+ title: b(r).mergeTag.remove,
1037
1031
  "data-testid": "merge-tag-field-clear",
1038
- onClick: f[0] ||= w((e) => r("clear"), ["stop"])
1039
- }, [l(v(de), {
1032
+ onClick: d[0] ||= w((e) => n("clear"), ["stop"])
1033
+ }, [u(b(de), {
1040
1034
  size: 12,
1041
1035
  "stroke-width": 2.5
1042
1036
  })], 8, xt)
@@ -1050,20 +1044,20 @@ var ht = ["aria-label"], gt = [
1050
1044
  __name: "MergeTagInsertButton",
1051
1045
  props: { disabled: { type: Boolean } },
1052
1046
  emits: ["insert"],
1053
- setup(t) {
1054
- let { t: n } = j();
1055
- return (r, a) => (h(), p("button", {
1047
+ setup(e) {
1048
+ let { t } = j();
1049
+ return (n, r) => (g(), m("button", {
1056
1050
  type: "button",
1057
- class: e([wt, "tpl:mt-1.5"]),
1058
- "aria-label": v(n).mergeTag.insert,
1059
- title: v(n).mergeTag.insert,
1060
- disabled: t.disabled,
1061
- onMousedown: a[0] ||= w(() => {}, ["prevent"]),
1062
- onClick: a[1] ||= (e) => r.$emit("insert")
1063
- }, [l(v(L), {
1051
+ class: _([wt, "tpl:mt-1.5"]),
1052
+ "aria-label": b(t).mergeTag.insert,
1053
+ title: b(t).mergeTag.insert,
1054
+ disabled: e.disabled,
1055
+ onMousedown: r[0] ||= w(() => {}, ["prevent"]),
1056
+ onClick: r[1] ||= (e) => n.$emit("insert")
1057
+ }, [u(b(L), {
1064
1058
  size: 12,
1065
1059
  "stroke-width": 2
1066
- }), m(" " + i(v(n).mergeTag.insertShort), 1)], 42, Ct));
1060
+ }), h(" " + c(b(t).mergeTag.insertShort), 1)], 42, Ct));
1067
1061
  }
1068
1062
  }), Et = [
1069
1063
  "aria-label",
@@ -1073,22 +1067,21 @@ var ht = ["aria-label"], gt = [
1073
1067
  __name: "LogicTagInsertButton",
1074
1068
  props: { disabled: { type: Boolean } },
1075
1069
  emits: ["insert"],
1076
- setup(t) {
1077
- let { t: n } = j();
1078
- return (r, a) => (h(), p("button", {
1070
+ setup(e) {
1071
+ let { t } = j();
1072
+ return (n, r) => (g(), m("button", {
1079
1073
  type: "button",
1080
- class: e([Dt, "tpl:mt-1.5"]),
1081
- "aria-label": v(n).logicTag.insert,
1082
- title: v(n).logicTag.insert,
1083
- disabled: t.disabled,
1074
+ class: _([Dt, "tpl:mt-1.5"]),
1075
+ "aria-label": b(t).logicTag.insert,
1076
+ title: b(t).logicTag.insert,
1077
+ disabled: e.disabled,
1084
1078
  "data-testid": "field-insert-logic-button",
1085
- onMousedown: a[0] ||= w(() => {}, ["prevent"]),
1086
- onClick: a[1] ||= (e) => r.$emit("insert")
1087
- }, [l(v(pe), {
1079
+ onMousedown: r[0] ||= w(() => {}, ["prevent"]),
1080
+ onClick: r[1] ||= (e) => n.$emit("insert")
1081
+ }, [u(b(pe), {
1088
1082
  size: 12,
1089
1083
  "stroke-width": 2
1090
- }), m(" " + i(v(n).logicTag.insertShort), 1)], 42, Et));
1084
+ }), h(" " + c(b(t).logicTag.insertShort), 1)], 42, Et));
1091
1085
  }
1092
1086
  });
1093
- //#endregion
1094
1087
  export { ot as a, Ye as c, mt as i, L as l, Tt as n, it as o, St as r, at as s, Ot as t, pe as u };