@templatical/editor 0.44.2 → 0.45.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 (295) hide show
  1. package/README.md +1 -1
  2. package/dist/{AiChatSidebar-BUR5Jshu.js → AiChatSidebar-BlFWWhBv.js} +15 -19
  3. package/dist/{AiFeatureMenu-CgfLFHJw.js → AiFeatureMenu-CvWygUmC.js} +7 -7
  4. package/dist/{BlockIssueBadge-CWZEwMXX.js → BlockIssueBadge-CZA1XvAh.js} +5 -5
  5. package/dist/{BlockPreviewCanvas-2vVu55yN.js → BlockPreviewCanvas-DwxJOTzH.js} +5 -5
  6. package/dist/{CloudHeaderExtras-BZ62q1aS.js → CloudHeaderExtras-BzM1QU1r.js} +5 -5
  7. package/dist/{CloudPanels-sv4aCKKE.js → CloudPanels-d36YXXyn.js} +8 -8
  8. package/dist/{CollaboratorBar-CSEFL7uC.js → CollaboratorBar-rwXe_Qd2.js} +4 -4
  9. package/dist/{CommentsPanel-CYMHfFcn.js → CommentsPanel-Bn6P5crU.js} +2 -2
  10. package/dist/{CommentsSidebar-uvQyCMUe.js → CommentsSidebar-B8wT932T.js} +14 -14
  11. package/dist/{CountdownBlock-C6R-hn7D.js → CountdownBlock-RNx3hIu0.js} +3 -3
  12. package/dist/{CountdownToolbar-C052mx2P.js → CountdownToolbar-lbjCc8ik.js} +62 -61
  13. package/dist/{DesignReferenceSidebar-ZKJ7y7-G.js → DesignReferenceSidebar-zlJQsP0X.js} +25 -26
  14. package/dist/{IssuesPanel-DAlNiJX_.js → IssuesPanel-CHx3m8SP.js} +8 -8
  15. package/dist/{LoadingTrack-C1Epulqq.js → LoadingTrack-DROqNuuD.js} +1 -1
  16. package/dist/{LogicTagInsertButton-DMUfVsPr.js → LogicTagInsertButton-BvftbkL4.js} +13 -19
  17. package/dist/{MediaEditModal-Cmd9tQXZ.js → MediaEditModal-EY1YYcpw.js} +6 -14
  18. package/dist/{MediaPanels-DoBhG5gg.js → MediaPanels-CRVFGFZW.js} +2 -2
  19. package/dist/{MergeTagInput-DoQWMSW4.js → MergeTagInput-CR1kcj8X.js} +2 -2
  20. package/dist/{MergeTagModeToggle-DOHixe4G.js → MergeTagModeToggle-DssKrVYb.js} +7 -7
  21. package/dist/{ParagraphEditor-C_p6yKLK.js → ParagraphEditor-DFizsZRc.js} +140 -139
  22. package/dist/{RestoreVersionDialog-CKHeCPG2.js → RestoreVersionDialog-Cp3q2mU4.js} +5 -5
  23. package/dist/{RichTextEditorContent-BedBVHXS.js → RichTextEditorContent-Cj3oaPMk.js} +9 -9
  24. package/dist/{SaveBlockDialog-q3_fjb9t.js → SaveBlockDialog-BR8vW_XF.js} +13 -13
  25. package/dist/SavedBlocksBrowserModal-DmwbmKxI.js +360 -0
  26. package/dist/{SavedBlocksPanels-DNpnl5cO.js → SavedBlocksPanels-D4XKrs-a.js} +2 -2
  27. package/dist/{SavedBlocksPickBar-Pq2bjpB_.js → SavedBlocksPickBar-gfc-o5sR.js} +4 -4
  28. package/dist/{TemplateScoringPanel-DXsyp0_A.js → TemplateScoringPanel-3lHzuCl0.js} +16 -16
  29. package/dist/TemplateSettings-D7aNrd0d.js +246 -0
  30. package/dist/{TestEmailModal-BYCKpH7g.js → TestEmailModal-DUmtcSm-.js} +11 -11
  31. package/dist/{TestEmailPanel-lUXAFsT5.js → TestEmailPanel-s9gISTI8.js} +2 -2
  32. package/dist/{TitleEditor-CWPxXUp2.js → TitleEditor-C-uHqtml.js} +13 -13
  33. package/dist/{ToggleSwitch-D7GLaT8s.js → ToggleSwitch-CTwwCIVA.js} +2 -2
  34. package/dist/{Toolbar-CWxqqBHE.js → Toolbar-CLpA36RO.js} +518 -520
  35. package/dist/{TplModal-D6lqrKls.js → TplModal-D6XtxusQ.js} +5 -5
  36. package/dist/{VersionHistoryMenu-fLrx-Lvi.js → VersionHistoryMenu-D7zaTMrb.js} +10 -10
  37. package/dist/{VersionHistoryPanels-C3XhpQO_.js → VersionHistoryPanels-Dvowtt7V.js} +2 -2
  38. package/dist/{VersionPreviewBanner-CWuxq_bb.js → VersionPreviewBanner-BUKb9gc6.js} +3 -3
  39. package/dist/{WrapperBlock-ox8TMS_p.js → WrapperBlock-CzJa2Mxw.js} +3 -3
  40. package/dist/{blockTypeIcons-DEvNVvBj.js → blockTypeIcons-D3aj5u_5.js} +2 -2
  41. package/dist/bundle-stats.json +7 -7
  42. package/dist/{ca-DSwai-th.js → ca-C__Dzq--.js} +6 -0
  43. package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js → AiChatSidebar-SRGBP-SL.js} +9 -13
  44. package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js.map → AiChatSidebar-SRGBP-SL.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiFeatureMenu-vOJtwdmT.js → AiFeatureMenu-oZhlgsGh.js} +6 -6
  46. package/dist/cdn/chunks/{AiFeatureMenu-vOJtwdmT.js.map → AiFeatureMenu-oZhlgsGh.js.map} +1 -1
  47. package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js → BlockIssueBadge-05Q3L4RV.js} +5 -5
  48. package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js.map → BlockIssueBadge-05Q3L4RV.js.map} +1 -1
  49. package/dist/cdn/chunks/{BlockPreviewCanvas-CB27Joyn.js → BlockPreviewCanvas-hKxE6f-k.js} +6 -6
  50. package/dist/cdn/chunks/{BlockPreviewCanvas-CB27Joyn.js.map → BlockPreviewCanvas-hKxE6f-k.js.map} +1 -1
  51. package/dist/cdn/chunks/{CloudHeaderExtras-9tKrhPm6.js → CloudHeaderExtras-t-_ZlHwn.js} +5 -5
  52. package/dist/cdn/chunks/{CloudHeaderExtras-9tKrhPm6.js.map → CloudHeaderExtras-t-_ZlHwn.js.map} +1 -1
  53. package/dist/cdn/chunks/{CloudPanels-DTQ7zbEN.js → CloudPanels-DR2eEcpX.js} +7 -7
  54. package/dist/cdn/chunks/{CloudPanels-DTQ7zbEN.js.map → CloudPanels-DR2eEcpX.js.map} +1 -1
  55. package/dist/cdn/chunks/{CollaboratorBar-BKTkVMbz.js → CollaboratorBar-w8_2WPE0.js} +5 -5
  56. package/dist/cdn/chunks/{CollaboratorBar-BKTkVMbz.js.map → CollaboratorBar-w8_2WPE0.js.map} +1 -1
  57. package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js → CommentsPanel-VH_NJ5HZ.js} +3 -3
  58. package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js.map → CommentsPanel-VH_NJ5HZ.js.map} +1 -1
  59. package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js → CommentsSidebar-CYPH5rVi.js} +5 -5
  60. package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js.map → CommentsSidebar-CYPH5rVi.js.map} +1 -1
  61. package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js → CountdownBlock-lHU3Lu7Q.js} +4 -4
  62. package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js.map → CountdownBlock-lHU3Lu7Q.js.map} +1 -1
  63. package/dist/cdn/chunks/{CountdownToolbar-C9QpHQcv.js → CountdownToolbar-CvNuDR5Z.js} +63 -62
  64. package/dist/cdn/chunks/CountdownToolbar-CvNuDR5Z.js.map +1 -0
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js → DesignReferenceSidebar-CJg_5GXU.js} +21 -22
  66. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js.map → DesignReferenceSidebar-CJg_5GXU.js.map} +1 -1
  67. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js → IssuesPanel-DXqlRk19.js} +6 -6
  68. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js.map → IssuesPanel-DXqlRk19.js.map} +1 -1
  69. package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js → LoadingTrack-Cg1HRIND.js} +2 -2
  70. package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js.map → LoadingTrack-Cg1HRIND.js.map} +1 -1
  71. package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js → LogicTagInsertButton-DnHghQHb.js} +11 -17
  72. package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js.map → LogicTagInsertButton-DnHghQHb.js.map} +1 -1
  73. package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js → MediaEditModal-CD3fVbWI.js} +6 -14
  74. package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js.map → MediaEditModal-CD3fVbWI.js.map} +1 -1
  75. package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js → MediaPanels-B2AyUUcf.js} +3 -3
  76. package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js.map → MediaPanels-B2AyUUcf.js.map} +1 -1
  77. package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js → MergeTagInput-heTX9P_k.js} +3 -3
  78. package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js.map → MergeTagInput-heTX9P_k.js.map} +1 -1
  79. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js → MergeTagModeToggle-C9EfuZIP.js} +6 -6
  80. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js.map → MergeTagModeToggle-C9EfuZIP.js.map} +1 -1
  81. package/dist/cdn/chunks/{ParagraphEditor-BSDGOsja.js → ParagraphEditor-B5DN4Sy4.js} +145 -144
  82. package/dist/cdn/chunks/ParagraphEditor-B5DN4Sy4.js.map +1 -0
  83. package/dist/cdn/chunks/{RestoreVersionDialog-DLe0Co57.js → RestoreVersionDialog-DBgJ-Nui.js} +5 -5
  84. package/dist/cdn/chunks/{RestoreVersionDialog-DLe0Co57.js.map → RestoreVersionDialog-DBgJ-Nui.js.map} +1 -1
  85. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js → RichTextEditorContent-LOas4rfU.js} +8 -8
  86. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js.map → RichTextEditorContent-LOas4rfU.js.map} +1 -1
  87. package/dist/cdn/chunks/{SaveBlockDialog-DQzaED8U.js → SaveBlockDialog-Dx-QVQCX.js} +11 -11
  88. package/dist/cdn/chunks/{SaveBlockDialog-DQzaED8U.js.map → SaveBlockDialog-Dx-QVQCX.js.map} +1 -1
  89. package/dist/cdn/chunks/SavedBlocksBrowserModal-C2RQ-JCc.js +357 -0
  90. package/dist/cdn/chunks/SavedBlocksBrowserModal-C2RQ-JCc.js.map +1 -0
  91. package/dist/cdn/chunks/{SavedBlocksPanels-lW7PMvJN.js → SavedBlocksPanels-BmRbvqqL.js} +3 -3
  92. package/dist/cdn/chunks/{SavedBlocksPanels-lW7PMvJN.js.map → SavedBlocksPanels-BmRbvqqL.js.map} +1 -1
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-DEL0r3Bv.js → SavedBlocksPickBar-BzwKojoJ.js} +5 -5
  94. package/dist/cdn/chunks/{SavedBlocksPickBar-DEL0r3Bv.js.map → SavedBlocksPickBar-BzwKojoJ.js.map} +1 -1
  95. package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js → TemplateScoringPanel-C_57Bfkf.js} +8 -8
  96. package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js.map → TemplateScoringPanel-C_57Bfkf.js.map} +1 -1
  97. package/dist/cdn/chunks/{TemplateSettings-vsFOU0oA.js → TemplateSettings-G-yV7C1C.js} +48 -47
  98. package/dist/cdn/chunks/TemplateSettings-G-yV7C1C.js.map +1 -0
  99. package/dist/cdn/chunks/{TestEmailModal-B7Dr2eFa.js → TestEmailModal-lOeztfTN.js} +10 -10
  100. package/dist/cdn/chunks/{TestEmailModal-B7Dr2eFa.js.map → TestEmailModal-lOeztfTN.js.map} +1 -1
  101. package/dist/cdn/chunks/{TestEmailPanel-C3PTYDbT.js → TestEmailPanel-CZswVkk_.js} +3 -3
  102. package/dist/cdn/chunks/{TestEmailPanel-C3PTYDbT.js.map → TestEmailPanel-CZswVkk_.js.map} +1 -1
  103. package/dist/cdn/chunks/{TitleEditor-gHTla_4I.js → TitleEditor-CnTT2Y3H.js} +12 -12
  104. package/dist/cdn/chunks/{TitleEditor-gHTla_4I.js.map → TitleEditor-CnTT2Y3H.js.map} +1 -1
  105. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js → ToggleSwitch-CLHteVMO.js} +3 -3
  106. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js.map → ToggleSwitch-CLHteVMO.js.map} +1 -1
  107. package/dist/cdn/chunks/{Toolbar-CnfNUkOY.js → Toolbar-K4tIkpG1.js} +415 -417
  108. package/dist/cdn/chunks/Toolbar-K4tIkpG1.js.map +1 -0
  109. package/dist/cdn/chunks/{TplModal-BVUBOEQL.js → TplModal-OOT36AjS.js} +5 -5
  110. package/dist/cdn/chunks/{TplModal-BVUBOEQL.js.map → TplModal-OOT36AjS.js.map} +1 -1
  111. package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js → VersionHistoryMenu-DbxuJgDO.js} +6 -6
  112. package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js.map → VersionHistoryMenu-DbxuJgDO.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionHistoryPanels-Dcdy7ySA.js → VersionHistoryPanels-BrpYRSfW.js} +3 -3
  114. package/dist/cdn/chunks/{VersionHistoryPanels-Dcdy7ySA.js.map → VersionHistoryPanels-BrpYRSfW.js.map} +1 -1
  115. package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js → VersionPreviewBanner-HRERIH-v.js} +4 -4
  116. package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js.map → VersionPreviewBanner-HRERIH-v.js.map} +1 -1
  117. package/dist/cdn/chunks/{WrapperBlock-23nAzweL.js → WrapperBlock-DdrnwH80.js} +4 -4
  118. package/dist/cdn/chunks/{WrapperBlock-23nAzweL.js.map → WrapperBlock-DdrnwH80.js.map} +1 -1
  119. package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js → blockTypeIcons-DdZP-3FM.js} +2 -2
  120. package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js.map → blockTypeIcons-DdZP-3FM.js.map} +1 -1
  121. package/dist/cdn/chunks/{ca-DSwai-th.js → ca-C__Dzq--.js} +7 -1
  122. package/dist/cdn/chunks/ca-C__Dzq--.js.map +1 -0
  123. package/dist/cdn/chunks/{cloud-DLQU5l0Z.js → cloud-bhW8qTnh.js} +4 -4
  124. package/dist/cdn/chunks/{cloud-DLQU5l0Z.js.map → cloud-bhW8qTnh.js.map} +1 -1
  125. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js → createCloudRuntime-CeRJkLR2.js} +9 -12
  126. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js.map → createCloudRuntime-CeRJkLR2.js.map} +1 -1
  127. package/dist/{de-DOhKuphf.js → cdn/chunks/de-CGjbQ2mt.js} +8 -0
  128. package/dist/cdn/chunks/de-CGjbQ2mt.js.map +1 -0
  129. package/dist/cdn/chunks/{dist-BRZhN8qJ.js → dist-B7W-Lb65.js} +2 -2
  130. package/dist/cdn/chunks/{dist-BRZhN8qJ.js.map → dist-B7W-Lb65.js.map} +1 -1
  131. package/dist/cdn/chunks/{dist-CXB2_kBa.js → dist-C5nRd_ua.js} +5 -13
  132. package/dist/cdn/chunks/{dist-CXB2_kBa.js.map → dist-C5nRd_ua.js.map} +1 -1
  133. package/dist/cdn/chunks/{draggable-IB4x6w2O.js → draggable-BUTN5vZC.js} +32 -77
  134. package/dist/cdn/chunks/{draggable-IB4x6w2O.js.map → draggable-BUTN5vZC.js.map} +1 -1
  135. package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js → editor-modal-BpsbYA4_.js} +14 -34
  136. package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js.map → editor-modal-BpsbYA4_.js.map} +1 -1
  137. package/dist/{en-BE28ZcUF.js → cdn/chunks/en-BTiiAC-B.js} +8 -0
  138. package/dist/cdn/chunks/en-BTiiAC-B.js.map +1 -0
  139. package/dist/cdn/chunks/en-CAt6y87e.js +1 -0
  140. package/dist/{es-oQI-dfx2.js → cdn/chunks/es-CdTOcSTf.js} +8 -0
  141. package/dist/cdn/chunks/es-CdTOcSTf.js.map +1 -0
  142. package/dist/cdn/chunks/{extensions-ClmkNA8R.js → extensions-xjRsIjMP.js} +9 -17
  143. package/dist/cdn/chunks/{extensions-ClmkNA8R.js.map → extensions-xjRsIjMP.js.map} +1 -1
  144. package/dist/{fr-rzLdCMSG.js → cdn/chunks/fr-B6lcLLzC.js} +8 -0
  145. package/dist/cdn/chunks/fr-B6lcLLzC.js.map +1 -0
  146. package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js → htmlparser-CDRsn-gn.js} +3 -11
  147. package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js.map → htmlparser-CDRsn-gn.js.map} +1 -1
  148. package/dist/cdn/chunks/{icons-BjvraR-Y.js → icons-Dr9erFGs.js} +48 -48
  149. package/dist/cdn/chunks/{icons-BjvraR-Y.js.map → icons-Dr9erFGs.js.map} +1 -1
  150. package/dist/{ja-dyFc6Ghz.js → cdn/chunks/ja-BhdkqENz.js} +8 -0
  151. package/dist/cdn/chunks/ja-BhdkqENz.js.map +1 -0
  152. package/dist/cdn/chunks/{keys-DCWeHkSF.js → keys-BKu-LOk5.js} +2 -2
  153. package/dist/cdn/chunks/{keys-DCWeHkSF.js.map → keys-BKu-LOk5.js.map} +1 -1
  154. package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js → liquid.browser-Bbt17cVz.js} +30 -56
  155. package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js.map → liquid.browser-Bbt17cVz.js.map} +1 -1
  156. package/dist/{nl-BcQhRqKR.js → cdn/chunks/nl-CE3YItYg.js} +8 -0
  157. package/dist/cdn/chunks/nl-CE3YItYg.js.map +1 -0
  158. package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js → preRenderCustomBlocks-CFwa7nP9.js} +2 -2
  159. package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js.map → preRenderCustomBlocks-CFwa7nP9.js.map} +1 -1
  160. package/dist/{pt-BR-UombhTMO.js → cdn/chunks/pt-BR-CUIT4rq4.js} +8 -0
  161. package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +1 -0
  162. package/dist/cdn/chunks/{pusher-BbIHJKf3.js → pusher-C8DeiO2X.js} +18 -57
  163. package/dist/cdn/chunks/{pusher-BbIHJKf3.js.map → pusher-C8DeiO2X.js.map} +1 -1
  164. package/dist/cdn/chunks/{socialIcons-CnUJBZTO.js → socialIcons-CsYnPPll.js} +14 -24
  165. package/dist/cdn/chunks/socialIcons-CsYnPPll.js.map +1 -0
  166. package/dist/cdn/chunks/{src-QIGNPFkl.js → src-BcqNlDMe.js} +258 -237
  167. package/dist/cdn/chunks/src-BcqNlDMe.js.map +1 -0
  168. package/dist/cdn/chunks/{src-CLHnxvuS.js → src-CkXmV2I2.js} +174 -179
  169. package/dist/cdn/chunks/src-CkXmV2I2.js.map +1 -0
  170. package/dist/cdn/chunks/{src-B5-VKcRQ.js → src-HA9F2kvk.js} +141 -179
  171. package/dist/cdn/chunks/{src-B5-VKcRQ.js.map → src-HA9F2kvk.js.map} +1 -1
  172. package/dist/cdn/chunks/{tiptap-02G9FGkl.js → tiptap-CYDXLO17.js} +87 -134
  173. package/dist/cdn/chunks/{tiptap-02G9FGkl.js.map → tiptap-CYDXLO17.js.map} +1 -1
  174. package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js → useAliveFlag-DzyXG-8A.js} +2 -2
  175. package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js.map → useAliveFlag-DzyXG-8A.js.map} +1 -1
  176. package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js → useCloudI18n-Cgk0ts_F.js} +3 -3
  177. package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js.map → useCloudI18n-Cgk0ts_F.js.map} +1 -1
  178. package/dist/cdn/chunks/{useEditorCore-DjD7fJpq.js → useEditorCore-BF1ZhcGu.js} +476 -520
  179. package/dist/cdn/chunks/useEditorCore-BF1ZhcGu.js.map +1 -0
  180. package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +10 -0
  181. package/dist/cdn/chunks/{useEditorRoot-CshefZLP.js.map → useEditorRoot-DDPIcEOO.js.map} +1 -1
  182. package/dist/cdn/chunks/{useI18n-CyO_Nmca.js → useI18n-DO4NTunW.js} +3 -3
  183. package/dist/cdn/chunks/{useI18n-CyO_Nmca.js.map → useI18n-DO4NTunW.js.map} +1 -1
  184. package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js → useLogicTag-91bO_SOi.js} +4 -4
  185. package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js.map → useLogicTag-91bO_SOi.js.map} +1 -1
  186. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js → useMergeTag-hwifK582.js} +4 -4
  187. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js.map → useMergeTag-hwifK582.js.map} +1 -1
  188. package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js → usePopoverPosition-CtVNwoHj.js} +3 -3
  189. package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js.map → usePopoverPosition-CtVNwoHj.js.map} +1 -1
  190. package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js → useScrollToBlock-BDNJ25X1.js} +3 -3
  191. package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js.map → useScrollToBlock-BDNJ25X1.js.map} +1 -1
  192. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js +32 -0
  193. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js.map +1 -0
  194. package/dist/cdn/editor.css +1 -1
  195. package/dist/cdn/editor.js +89 -118
  196. package/dist/cdn/editor.js.map +1 -1
  197. package/dist/{check-DNyj-E0y.js → check-ZKvtMdpe.js} +1 -1
  198. package/dist/{chevron-down-BYnhkMsA.js → chevron-down-RrwkYMlp.js} +1 -1
  199. package/dist/{chevron-right-D9HGBqJo.js → chevron-right-CklHaa1U.js} +1 -1
  200. package/dist/{chevron-up-BnIR1-ma.js → chevron-up-DjN2NTbo.js} +1 -1
  201. package/dist/{circle-alert-B6xl1B_M.js → circle-alert-BR1_Yfb-.js} +1 -1
  202. package/dist/{clock-Cs5Wd3dW.js → clock-BEagNj21.js} +1 -1
  203. package/dist/{cloud-BNEL7bxL.js → cloud-CVfwPu19.js} +2 -2
  204. package/dist/{copy-6uKc-WBk.js → copy-D6DNoSq1.js} +1 -1
  205. package/dist/{createCloudRuntime-CaZapQZ6.js → createCloudRuntime-GRv_TDb2.js} +8 -11
  206. package/dist/{createLucideIcon-BVcoovvP.js → createLucideIcon-BAPyioGd.js} +6 -6
  207. package/dist/{cdn/chunks/de-DOhKuphf.js → de-CGjbQ2mt.js} +6 -2
  208. package/dist/{dist-CmwBvyW0.js → dist-1H4cnaoD.js} +3 -3
  209. package/dist/{dist-D4HP93ZF.js → dist-5DAb7bYT.js} +1 -1
  210. package/dist/{dist-DdSWMtEP.js → dist-5KNKxglR.js} +1 -1
  211. package/dist/{dist-BDuPwOyn.js → dist-B_vYjCsk.js} +4 -12
  212. package/dist/{dist-Ceew_u40.js → dist-Bc30883t.js} +6 -22
  213. package/dist/{dist-Czzst9ng.js → dist-Bd7khQsg.js} +3 -11
  214. package/dist/{dist-8VFzbeu9.js → dist-C-VFTX82.js} +1 -1
  215. package/dist/{dist-BYg1EL5g.js → dist-C3eH9-N2.js} +1 -1
  216. package/dist/{dist-Dw2_11LA.js → dist-CFC4pg2o.js} +1 -1
  217. package/dist/{dist-BgSLW3Hn.js → dist-CMcFD7gP.js} +72 -87
  218. package/dist/{dist-HjILVdTA.js → dist-CSaWqmWM.js} +143 -126
  219. package/dist/{dist-DmQckB4p.js → dist-DHensKDY.js} +1 -1
  220. package/dist/{dist-CWc7nIkA.js → dist-DapsJxn_.js} +1 -1
  221. package/dist/{dist-D2m55Lvs.js → dist-j2FavQmU.js} +1 -1
  222. package/dist/{dist-8By0p8ah.js → dist-lL3nVbxV.js} +1 -1
  223. package/dist/{editor-modal-Co-rZGaf.js → editor-modal-oRmkDlUs.js} +27 -47
  224. package/dist/{cdn/chunks/en-BE28ZcUF.js → en-BTiiAC-B.js} +6 -2
  225. package/dist/en-Bk4iCfjp.js +1 -0
  226. package/dist/{cdn/chunks/es-oQI-dfx2.js → es-CdTOcSTf.js} +6 -2
  227. package/dist/{extensions-DXSI8Dyj.js → extensions-B65sfZRk.js} +42 -58
  228. package/dist/{eye-Nbtw_q05.js → eye-DvsTBI57.js} +1 -1
  229. package/dist/{cdn/chunks/fr-rzLdCMSG.js → fr-B6lcLLzC.js} +6 -2
  230. package/dist/{image-up-C1jC7NzQ.js → image-up-BoFGZm5Q.js} +1 -1
  231. package/dist/index.d.ts +12 -1
  232. package/dist/{info-ClH66pKN.js → info-0bQQGjTV.js} +1 -1
  233. package/dist/{cdn/chunks/ja-dyFc6Ghz.js → ja-BhdkqENz.js} +6 -2
  234. package/dist/{keys-CDqfZIRt.js → keys-injl74ob.js} +1 -1
  235. package/dist/{link-y47GNW0o.js → link-Cstrr3Ep.js} +1 -1
  236. package/dist/{liquid.browser-Cs4gOjeX.js → liquid.browser-Ct2-EezB.js} +29 -55
  237. package/dist/{list-DiLMlMaE.js → list-Dx9Rmy5s.js} +1 -1
  238. package/dist/{loader-circle-BRdCPW5h.js → loader-circle-D8Qqs0MG.js} +1 -1
  239. package/dist/{message-circle-CNgIpVJv.js → message-circle-D78ELX6I.js} +1 -1
  240. package/dist/{cdn/chunks/nl-BcQhRqKR.js → nl-CE3YItYg.js} +6 -2
  241. package/dist/{package-B9OWk-Kp.js → package-DOvM9sHE.js} +1 -1
  242. package/dist/{pencil-BDnjo24u.js → pencil-B6m0OG0n.js} +1 -1
  243. package/dist/{plus-BMgjN7lI.js → plus-D-nEKxTc.js} +1 -1
  244. package/dist/{preRenderCustomBlocks-C_PIxBp7.js → preRenderCustomBlocks-DAS48ZCp.js} +1 -1
  245. package/dist/{cdn/chunks/pt-BR-UombhTMO.js → pt-BR-CUIT4rq4.js} +6 -2
  246. package/dist/{refresh-cw-CR5lenxl.js → refresh-cw-CXZS-R1U.js} +1 -1
  247. package/dist/{runtime-dom.esm-bundler-BGbPz4-g.js → runtime-dom.esm-bundler-CO67ema2.js} +15 -16
  248. package/dist/{search-CxRUiOSF.js → search-DSvil0jo.js} +1 -1
  249. package/dist/{send-Bu2RysGL.js → send-BBR28V94.js} +1 -1
  250. package/dist/{shield-check-Cg8f4LB0.js → shield-check-ByxUnaU9.js} +1 -1
  251. package/dist/{smartphone-CHf-8lHp.js → smartphone-CNOwGf5T.js} +1 -1
  252. package/dist/{socialIcons-D1gkHc_i.js → socialIcons-CvAixjj8.js} +14 -24
  253. package/dist/{sparkles-_DQGv4ub.js → sparkles-DO1hzwzf.js} +1 -1
  254. package/dist/style.css +1 -1
  255. package/dist/templatical-editor.js +101 -130
  256. package/dist/{text-align-start-PHo-Ep5i.js → text-align-start-BKEKMheq.js} +13 -13
  257. package/dist/{trash-BxIzHAri.js → trash-CKEQH4vH.js} +1 -1
  258. package/dist/{triangle-alert-fcb2KoA-.js → triangle-alert-BHnfd3fV.js} +1 -1
  259. package/dist/{upload-BxBtMPMv.js → upload-C8uO7KsR.js} +1 -1
  260. package/dist/{useAliveFlag-BkKyhkwZ.js → useAliveFlag-6PtarpNZ.js} +1 -1
  261. package/dist/{useCloudI18n-DpEsiLeR.js → useCloudI18n-GvIOLziA.js} +2 -2
  262. package/dist/{useEditorCore-iuKC8yr5.js → useEditorCore-DQSeKPE9.js} +940 -1007
  263. package/dist/{useEditorRoot-CkB_5d0h.js → useEditorRoot-OWzNpDdT.js} +2 -2
  264. package/dist/{useI18n-B_CdcBwG.js → useI18n-uF11q85g.js} +2 -2
  265. package/dist/{useLogicTag-wqfdwYYR.js → useLogicTag-BH87j1vZ.js} +3 -3
  266. package/dist/{useMergeTag-D3XDE_58.js → useMergeTag-DfPKX2Tk.js} +3 -3
  267. package/dist/{usePopoverPosition-BYmd-lhR.js → usePopoverPosition-DkBrHfCo.js} +2 -2
  268. package/dist/{useScrollToBlock-DA_aIJXS.js → useScrollToBlock-Dr7Sb6Tr.js} +3 -3
  269. package/dist/{vue.runtime.esm-bundler-CyqhBwpY.js → vue.runtime.esm-bundler-CctRY8kr.js} +13 -45
  270. package/dist/withCurrentFont-DeCbPVaE.js +30 -0
  271. package/dist/{x-DrZO5tt0.js → x-gEC0yMci.js} +1 -1
  272. package/package.json +12 -12
  273. package/dist/SavedBlocksBrowserModal-DeUo5aFV.js +0 -325
  274. package/dist/TemplateSettings-Bh10NFIN.js +0 -245
  275. package/dist/cdn/chunks/CountdownToolbar-C9QpHQcv.js.map +0 -1
  276. package/dist/cdn/chunks/ParagraphEditor-BSDGOsja.js.map +0 -1
  277. package/dist/cdn/chunks/SavedBlocksBrowserModal-CliZBxHo.js +0 -322
  278. package/dist/cdn/chunks/SavedBlocksBrowserModal-CliZBxHo.js.map +0 -1
  279. package/dist/cdn/chunks/TemplateSettings-vsFOU0oA.js.map +0 -1
  280. package/dist/cdn/chunks/Toolbar-CnfNUkOY.js.map +0 -1
  281. package/dist/cdn/chunks/ca-DSwai-th.js.map +0 -1
  282. package/dist/cdn/chunks/de-DOhKuphf.js.map +0 -1
  283. package/dist/cdn/chunks/en-BE28ZcUF.js.map +0 -1
  284. package/dist/cdn/chunks/en-C3n0qWte.js +0 -2
  285. package/dist/cdn/chunks/es-oQI-dfx2.js.map +0 -1
  286. package/dist/cdn/chunks/fr-rzLdCMSG.js.map +0 -1
  287. package/dist/cdn/chunks/ja-dyFc6Ghz.js.map +0 -1
  288. package/dist/cdn/chunks/nl-BcQhRqKR.js.map +0 -1
  289. package/dist/cdn/chunks/pt-BR-UombhTMO.js.map +0 -1
  290. package/dist/cdn/chunks/socialIcons-CnUJBZTO.js.map +0 -1
  291. package/dist/cdn/chunks/src-CLHnxvuS.js.map +0 -1
  292. package/dist/cdn/chunks/src-QIGNPFkl.js.map +0 -1
  293. package/dist/cdn/chunks/useEditorCore-DjD7fJpq.js.map +0 -1
  294. package/dist/cdn/chunks/useEditorRoot-CshefZLP.js +0 -10
  295. package/dist/en-B-xoKkWi.js +0 -2
package/README.md CHANGED
@@ -9,7 +9,7 @@ The visual editor for [Templatical](https://github.com/templatical/sdk) — a so
9
9
 
10
10
  - 🧩 **14 block types** — title, paragraph, image, button, section, divider, spacer, social icons, menu, table, HTML, video, countdown, custom
11
11
  - 🛡 **Shadow DOM isolated** — mounts inside an open shadow root by default so host page CSS cannot bleed in
12
- - 🎨 **27 design tokens** — full theming via `--tpl-user-*` CSS variables, dark mode, custom fonts
12
+ - 🎨 **Full theming via design tokens** — `--tpl-user-*` CSS variables, dark mode, custom fonts
13
13
  - 🔌 **Framework-agnostic** — works in React, Vue, Svelte, Angular, vanilla
14
14
  - 📦 **JSON in, MJML out** — portable templates, render with any email provider
15
15
  - 🌍 **Multilingual** — English, German, Portuguese, Spanish, Catalan, French, Dutch & Japanese built in
@@ -1,18 +1,18 @@
1
- import { A as e, B as t, E as n, M as r, R as i, S as ee, V as te, Z as a, at as o, c as s, d as c, g as l, h as u, jt as d, kt as ne, l as f, r as p, u as m, v as h } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { a as re, t as ie } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
- import { _ as ae, g as oe } from "./dist-8VFzbeu9.js";
4
- import { $ as g, F as _, O as se, g as ce, i as le, u as ue } from "./keys-CDqfZIRt.js";
5
- import { t as v } from "./createLucideIcon-BVcoovvP.js";
6
- import { t as de } from "./circle-alert-B6xl1B_M.js";
7
- import { t as fe } from "./loader-circle-BRdCPW5h.js";
8
- import { t as pe } from "./send-Bu2RysGL.js";
9
- import { t as y } from "./sparkles-_DQGv4ub.js";
10
- import { t as me } from "./trash-BxIzHAri.js";
11
- import { t as he } from "./x-DrZO5tt0.js";
12
- import { t as b } from "./LoadingTrack-C1Epulqq.js";
1
+ import { A as e, B as t, E as n, M as r, R as i, S as ee, V as te, Z as a, at as o, c as s, d as c, g as l, h as u, jt as d, kt as ne, l as f, r as p, u as m, v as h } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { a as re, t as ie } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
+ import { _ as ae, g as oe } from "./dist-C-VFTX82.js";
4
+ import { $ as g, F as _, O as se, g as ce, i as le, u as ue } from "./keys-injl74ob.js";
5
+ import { t as v } from "./createLucideIcon-BAPyioGd.js";
6
+ import { t as de } from "./circle-alert-BR1_Yfb-.js";
7
+ import { t as fe } from "./loader-circle-D8Qqs0MG.js";
8
+ import { t as pe } from "./send-BBR28V94.js";
9
+ import { t as y } from "./sparkles-DO1hzwzf.js";
10
+ import { t as me } from "./trash-CKEQH4vH.js";
11
+ import { t as he } from "./x-gEC0yMci.js";
12
+ import { t as b } from "./LoadingTrack-DROqNuuD.js";
13
13
  import { t as x } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { t as S } from "./useAliveFlag-BkKyhkwZ.js";
15
- import { p as C } from "./cloud-BNEL7bxL.js";
14
+ import { t as S } from "./useAliveFlag-6PtarpNZ.js";
15
+ import { p as C } from "./cloud-CVfwPu19.js";
16
16
  var w = v({
17
17
  name: "redo-2",
18
18
  size: 24,
@@ -95,11 +95,7 @@ var w = v({
95
95
  Y.value < e ? Y.value++ : X();
96
96
  }, 150, { immediate: !1 }), { start: Oe } = ae(() => De(), 100, { immediate: !1 });
97
97
  i(() => G.suggestions.value?.length ?? 0, (e) => {
98
- if (X(), e === 0) {
99
- Y.value = 0;
100
- return;
101
- }
102
- Y.value = 0, Oe();
98
+ X(), e === 0 ? Y.value = 0 : (Y.value = 0, Oe());
103
99
  });
104
100
  function Z() {
105
101
  n(() => {
@@ -1,11 +1,11 @@
1
- import { A as e, At as t, F as n, M as r, c as i, d as a, jt as o, l as s, r as c, s as l, v as u } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import "./useEditorCore-iuKC8yr5.js";
3
- import { $ as d, t as f } from "./keys-CDqfZIRt.js";
4
- import { t as p } from "./image-up-C1jC7NzQ.js";
5
- import { t as m } from "./shield-check-Cg8f4LB0.js";
6
- import { t as h } from "./sparkles-_DQGv4ub.js";
1
+ import { A as e, At as t, F as n, M as r, c as i, d as a, jt as o, l as s, r as c, s as l, v as u } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import "./useEditorCore-DQSeKPE9.js";
3
+ import { $ as d, t as f } from "./keys-injl74ob.js";
4
+ import { t as p } from "./image-up-BoFGZm5Q.js";
5
+ import { t as m } from "./shield-check-ByxUnaU9.js";
6
+ import { t as h } from "./sparkles-DO1hzwzf.js";
7
7
  import { t as g } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
- import { n as _ } from "./useCloudI18n-DpEsiLeR.js";
8
+ import { n as _ } from "./useCloudI18n-GvIOLziA.js";
9
9
  //#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
10
10
  var v = { class: "tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]" }, y = ["onClick"], b = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, x = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, S = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]" }, C = /*#__PURE__*/ g(/* @__PURE__ */ u({
11
11
  __name: "AiFeatureMenu",
@@ -1,8 +1,8 @@
1
- import { A as e, S as t, at as n, d as r, kt as i, l as a, s as o, u as s, v as c } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { K as l } from "./keys-CDqfZIRt.js";
3
- import { t as u } from "./useI18n-B_CdcBwG.js";
4
- import { t as d } from "./circle-alert-B6xl1B_M.js";
5
- import { t as f } from "./triangle-alert-fcb2KoA-.js";
1
+ import { A as e, S as t, at as n, d as r, kt as i, l as a, s as o, u as s, v as c } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { K as l } from "./keys-injl74ob.js";
3
+ import { t as u } from "./useI18n-uF11q85g.js";
4
+ import { t as d } from "./circle-alert-BR1_Yfb-.js";
5
+ import { t as f } from "./triangle-alert-BHnfd3fV.js";
6
6
  //#region src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
7
7
  var p = ["title", "aria-label"], m = /* @__PURE__ */ c({
8
8
  __name: "BlockIssueBadge",
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { A as t, At as n, F as r, M as i, P as a, S as o, at as s, c, d as l, j as u, l as d, r as f, s as p, v as m } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
3
- import { Y as h } from "./dist-HjILVdTA.js";
4
- import { A as g, D as _, E as v, O as y, a as b, c as x, d as S, f as C, h as w, i as T, m as E, n as D, p as O, r as k, u as A } from "./useEditorCore-iuKC8yr5.js";
5
- import { M as j, Q as M, f as N, g as P, s as F } from "./keys-CDqfZIRt.js";
6
- import { n as I, r as L, t as R } from "./WrapperBlock-ox8TMS_p.js";
2
+ import { A as t, At as n, F as r, M as i, P as a, S as o, at as s, c, d as l, j as u, l as d, r as f, s as p, v as m } from "./vue.runtime.esm-bundler-CctRY8kr.js";
3
+ import { Y as h } from "./dist-CSaWqmWM.js";
4
+ import { A as g, D as _, E as v, O as y, a as b, c as x, d as S, f as C, h as w, i as T, m as E, n as D, p as O, r as k, u as A } from "./useEditorCore-DQSeKPE9.js";
5
+ import { M as j, Q as M, f as N, g as P, s as F } from "./keys-injl74ob.js";
6
+ import { n as I, r as L, t as R } from "./WrapperBlock-CzJa2Mxw.js";
7
7
  //#region src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
8
8
  var z = { class: "tpl:w-full" }, B = { class: "tpl:flex tpl:gap-0" }, V = /* @__PURE__ */ m({
9
9
  name: "PreviewSectionBlock",
@@ -1,7 +1,7 @@
1
- import { A as e, B as t, _ as n, at as r, c as i, d as a, g as o, h as s, jt as c, kt as l, l as u, r as d, u as f, v as p } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { c as m, t as h } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
- import { t as g } from "./sparkles-_DQGv4ub.js";
4
- import { n as _ } from "./useCloudI18n-DpEsiLeR.js";
1
+ import { A as e, B as t, _ as n, at as r, c as i, d as a, g as o, h as s, jt as c, kt as l, l as u, r as d, u as f, v as p } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { c as m, t as h } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
+ import { t as g } from "./sparkles-DO1hzwzf.js";
4
+ import { n as _ } from "./useCloudI18n-GvIOLziA.js";
5
5
  //#region src/cloud/components/CloudHeaderExtras.vue?vue&type=script&setup=true&lang.ts
6
6
  var v = {
7
7
  key: 0,
@@ -17,7 +17,7 @@ var v = {
17
17
  cloud: {}
18
18
  },
19
19
  setup(p) {
20
- let x = n(() => import("./CollaboratorBar-CSEFL7uC.js")), S = n(() => import("./AiFeatureMenu-CgfLFHJw.js")), { t: C, format: w } = _();
20
+ let x = n(() => import("./CollaboratorBar-rwXe_Qd2.js")), S = n(() => import("./AiFeatureMenu-CvWygUmC.js")), { t: C, format: w } = _();
21
21
  return (n, _) => p.part === "left" ? (e(), a(d, { key: 0 }, [p.cloud.featureFlags.templateLimit.value === null ? f("", !0) : (e(), a("span", v, c(r(w)(r(C).header.templatesUsed, {
22
22
  used: p.cloud.featureFlags.templateCount.value,
23
23
  max: p.cloud.featureFlags.templateLimit.value
@@ -1,11 +1,11 @@
1
- import { A as e, B as t, M as n, _ as r, at as i, c as a, d as o, g as s, jt as c, kt as l, l as u, m as d, r as f, u as p, v as m } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { t as h } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
- import { t as g } from "./useI18n-B_CdcBwG.js";
4
- import { t as _ } from "./circle-alert-B6xl1B_M.js";
5
- import { t as v } from "./triangle-alert-fcb2KoA-.js";
6
- import { n as y } from "./useCloudI18n-DpEsiLeR.js";
1
+ import { A as e, B as t, M as n, _ as r, at as i, c as a, d as o, g as s, jt as c, kt as l, l as u, m as d, r as f, u as p, v as m } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { t as h } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
+ import { t as g } from "./useI18n-uF11q85g.js";
4
+ import { t as _ } from "./circle-alert-BR1_Yfb-.js";
5
+ import { t as v } from "./triangle-alert-BHnfd3fV.js";
6
+ import { n as y } from "./useCloudI18n-GvIOLziA.js";
7
7
  import { d as b, v as x, x as S } from "./styleConstants-C_YAPdQS.js";
8
- import { t as C } from "./TplModal-D6lqrKls.js";
8
+ import { t as C } from "./TplModal-D6XtxusQ.js";
9
9
  //#region src/cloud/components/CloudErrorOverlay.vue?vue&type=script&setup=true&lang.ts
10
10
  var w = {
11
11
  key: 0,
@@ -137,7 +137,7 @@ var w = {
137
137
  ready: {}
138
138
  },
139
139
  setup(n) {
140
- let a = r(() => import("./AiChatSidebar-BUR5Jshu.js")), c = r(() => import("./DesignReferenceSidebar-ZKJ7y7-G.js")), l = r(() => import("./TemplateScoringPanel-DXsyp0_A.js")), u = n;
140
+ let a = r(() => import("./AiChatSidebar-BlFWWhBv.js")), c = r(() => import("./DesignReferenceSidebar-zlJQsP0X.js")), l = r(() => import("./TemplateScoringPanel-3lHzuCl0.js")), u = n;
141
141
  function d(e) {
142
142
  u.core.history.record(), u.editor.setContent(e), u.core.conditionPreview.reset();
143
143
  }
@@ -1,7 +1,7 @@
1
- import { A as e, At as t, M as n, at as r, c as i, d as a, jt as o, l as s, r as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import "./useEditorCore-iuKC8yr5.js";
3
- import { t as f } from "./createLucideIcon-BVcoovvP.js";
4
- import { n as p } from "./useCloudI18n-DpEsiLeR.js";
1
+ import { A as e, At as t, M as n, at as r, c as i, d as a, jt as o, l as s, r as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import "./useEditorCore-DQSeKPE9.js";
3
+ import { t as f } from "./createLucideIcon-BAPyioGd.js";
4
+ import { n as p } from "./useCloudI18n-GvIOLziA.js";
5
5
  import { t as m } from "./readableTextColor-f8Kykfnh.js";
6
6
  var h = f({
7
7
  name: "wifi-off",
@@ -1,11 +1,11 @@
1
- import { A as e, _ as t, at as n, l as r, u as i, v as a } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
1
+ import { A as e, _ as t, at as n, l as r, u as i, v as a } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
2
  //#endregion
3
3
  //#region src/components/CommentsPanel.vue
4
4
  var o = /* @__PURE__ */ a({
5
5
  __name: "CommentsPanel",
6
6
  props: { feature: {} },
7
7
  setup(a) {
8
- let o = t(() => import("./CommentsSidebar-uvQyCMUe.js"));
8
+ let o = t(() => import("./CommentsSidebar-B8wT932T.js"));
9
9
  return (t, s) => a.feature.isOpen.value ? (e(), r(n(o), {
10
10
  key: 0,
11
11
  visible: a.feature.isOpen.value,
@@ -1,17 +1,17 @@
1
- import { A as e, At as t, B as n, E as r, M as i, R as a, V as o, Z as s, at as c, c as l, d as u, g as d, h as ee, jt as f, kt as p, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { a as y, t as b } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
- import { $ as te, g as ne } from "./keys-CDqfZIRt.js";
4
- import { t as re } from "./useI18n-B_CdcBwG.js";
5
- import { t as x } from "./createLucideIcon-BVcoovvP.js";
6
- import { t as ie } from "./check-DNyj-E0y.js";
7
- import { t as ae } from "./chevron-down-BYnhkMsA.js";
8
- import { t as oe } from "./chevron-up-BnIR1-ma.js";
9
- import { t as S } from "./loader-circle-BRdCPW5h.js";
10
- import { t as C } from "./message-circle-CNgIpVJv.js";
11
- import { t as w } from "./pencil-BDnjo24u.js";
12
- import { t as T } from "./send-Bu2RysGL.js";
13
- import { t as E } from "./trash-BxIzHAri.js";
14
- import { t as D } from "./x-DrZO5tt0.js";
1
+ import { A as e, At as t, B as n, E as r, M as i, R as a, V as o, Z as s, at as c, c as l, d as u, g as d, h as ee, jt as f, kt as p, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { a as y, t as b } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
+ import { $ as te, g as ne } from "./keys-injl74ob.js";
4
+ import { t as re } from "./useI18n-uF11q85g.js";
5
+ import { t as x } from "./createLucideIcon-BAPyioGd.js";
6
+ import { t as ie } from "./check-ZKvtMdpe.js";
7
+ import { t as ae } from "./chevron-down-RrwkYMlp.js";
8
+ import { t as oe } from "./chevron-up-DjN2NTbo.js";
9
+ import { t as S } from "./loader-circle-D8Qqs0MG.js";
10
+ import { t as C } from "./message-circle-D78ELX6I.js";
11
+ import { t as w } from "./pencil-B6m0OG0n.js";
12
+ import { t as T } from "./send-BBR28V94.js";
13
+ import { t as E } from "./trash-CKEQH4vH.js";
14
+ import { t as D } from "./x-gEC0yMci.js";
15
15
  import { t as O } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
16
  import { t as se } from "./formatRelativeTime-CtUU-QZ8.js";
17
17
  var ce = x({
@@ -1,6 +1,6 @@
1
- import { A as e, At as t, M as n, Z as r, at as i, c as a, d as o, jt as s, r as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { g as f } from "./dist-8VFzbeu9.js";
3
- import { t as p } from "./useI18n-B_CdcBwG.js";
1
+ import { A as e, At as t, M as n, Z as r, at as i, c as a, d as o, jt as s, r as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { g as f } from "./dist-C-VFTX82.js";
3
+ import { t as p } from "./useI18n-uF11q85g.js";
4
4
  //#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
5
5
  var m = {
6
6
  key: 0,
@@ -1,23 +1,24 @@
1
- import { A as e, B as t, M as n, at as r, c as i, d as a, g as o, jt as s, kt as c, l, r as u, s as d, v as f } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { t as p } from "./useI18n-B_CdcBwG.js";
3
- import { c as m } from "./LogicTagInsertButton-DMUfVsPr.js";
1
+ import { A as e, B as t, M as n, at as r, c as i, d as a, g as o, jt as s, kt as c, l, r as u, s as d, v as f } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { t as p } from "./useI18n-uF11q85g.js";
3
+ import { c as m } from "./LogicTagInsertButton-BvftbkL4.js";
4
4
  import { p as h } from "./styleConstants-C_YAPdQS.js";
5
- import { t as g } from "./ToggleSwitch-D7GLaT8s.js";
6
- import { i as _, n as v, r as y } from "./Toolbar-CWxqqBHE.js";
5
+ import { t as g } from "./ToggleSwitch-CTwwCIVA.js";
6
+ import { t as _ } from "./withCurrentFont-DeCbPVaE.js";
7
+ import { i as v, n as y, r as b } from "./Toolbar-CLpA36RO.js";
7
8
  //#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
8
- var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, w = ["value"], T = { value: "" }, E = ["value"], D = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, A = [
9
+ var x = ["value"], S = ["value"], C = ["value"], w = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, T = ["value"], E = { value: "" }, D = ["value"], O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, A = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, j = [
9
10
  "value",
10
11
  "placeholder",
11
12
  "onInput"
12
- ], j = ["value", "placeholder"], M = ["value"], N = /* @__PURE__ */ f({
13
+ ], M = ["value", "placeholder"], N = ["value"], P = /* @__PURE__ */ f({
13
14
  __name: "CountdownToolbar",
14
15
  props: {
15
16
  block: {},
16
17
  fontFamilies: {}
17
18
  },
18
19
  emits: ["update"],
19
- setup(f, { emit: N }) {
20
- let P = N, { t: F } = p(), I = [
20
+ setup(f, { emit: P }) {
21
+ let F = P, { t: I } = p(), L = [
21
22
  "UTC",
22
23
  "America/New_York",
23
24
  "America/Chicago",
@@ -33,7 +34,7 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
33
34
  "Asia/Tokyo",
34
35
  "Australia/Sydney",
35
36
  "Pacific/Auckland"
36
- ], L = [
37
+ ], R = [
37
38
  {
38
39
  value: ":",
39
40
  label: ":"
@@ -46,48 +47,48 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
46
47
  value: " ",
47
48
  label: "␣"
48
49
  }
49
- ], R = [
50
+ ], z = [
50
51
  "Days",
51
52
  "Hours",
52
53
  "Minutes",
53
54
  "Seconds"
54
- ], z = d(() => R.map((e) => ({
55
+ ], B = d(() => z.map((e) => ({
55
56
  unit: e,
56
57
  showKey: `show${e}`,
57
58
  labelKey: `label${e}`,
58
59
  translationKey: e.toLowerCase()
59
60
  })));
60
- function B(e, t) {
61
- P("update", { [e]: t });
61
+ function V(e, t) {
62
+ F("update", { [e]: t });
62
63
  }
63
64
  return (d, p) => (e(), a(u, null, [
64
- o(v, { label: r(F).countdown.targetDate }, {
65
+ o(y, { label: r(I).countdown.targetDate }, {
65
66
  default: t(() => [i("input", {
66
67
  type: "datetime-local",
67
68
  class: c(r(h)),
68
69
  value: f.block.targetDate,
69
- onInput: p[0] ||= (e) => B("targetDate", e.target.value)
70
- }, null, 42, b)]),
70
+ onInput: p[0] ||= (e) => V("targetDate", e.target.value)
71
+ }, null, 42, x)]),
71
72
  _: 1
72
73
  }, 8, ["label"]),
73
- o(v, { label: r(F).countdown.timezone }, {
74
+ o(y, { label: r(I).countdown.timezone }, {
74
75
  default: t(() => [i("select", {
75
76
  class: c(r(h)),
76
77
  value: f.block.timezone,
77
- onChange: p[1] ||= (e) => B("timezone", e.target.value)
78
- }, [(e(), a(u, null, n(I, (e) => i("option", {
78
+ onChange: p[1] ||= (e) => V("timezone", e.target.value)
79
+ }, [(e(), a(u, null, n(L, (e) => i("option", {
79
80
  key: e,
80
81
  value: e
81
- }, s(e), 9, S)), 64))], 42, x)]),
82
+ }, s(e), 9, C)), 64))], 42, S)]),
82
83
  _: 1
83
84
  }, 8, ["label"]),
84
- o(v, { label: r(F).countdown.display }, {
85
- default: t(() => [i("div", C, [(e(!0), a(u, null, n(z.value, (t) => (e(), l(g, {
85
+ o(y, { label: r(I).countdown.display }, {
86
+ default: t(() => [i("div", w, [(e(!0), a(u, null, n(B.value, (t) => (e(), l(g, {
86
87
  key: t.unit,
87
88
  class: "tpl:text-[12px] tpl:text-[var(--tpl-text)]",
88
89
  "model-value": f.block[t.showKey],
89
- label: r(F).countdown[t.translationKey],
90
- "onUpdate:modelValue": (e) => B(t.showKey, e)
90
+ label: r(I).countdown[t.translationKey],
91
+ "onUpdate:modelValue": (e) => V(t.showKey, e)
91
92
  }, null, 8, [
92
93
  "model-value",
93
94
  "label",
@@ -95,103 +96,103 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
95
96
  ]))), 128))])]),
96
97
  _: 1
97
98
  }, 8, ["label"]),
98
- o(v, { label: r(F).countdown.separator }, {
99
- default: t(() => [o(_, {
100
- options: L,
99
+ o(y, { label: r(I).countdown.separator }, {
100
+ default: t(() => [o(v, {
101
+ options: R,
101
102
  "model-value": f.block.separator,
102
- "onUpdate:modelValue": p[2] ||= (e) => B("separator", e)
103
+ "onUpdate:modelValue": p[2] ||= (e) => V("separator", e)
103
104
  }, null, 8, ["model-value"])]),
104
105
  _: 1
105
106
  }, 8, ["label"]),
106
- o(v, { label: r(F).countdown.fontFamily }, {
107
+ o(y, { label: r(I).countdown.fontFamily }, {
107
108
  default: t(() => [i("select", {
108
109
  class: c(r(h)),
109
- value: f.block.fontFamily || "",
110
- onChange: p[3] ||= (e) => B("fontFamily", e.target.value || void 0)
111
- }, [i("option", T, s(r(F).countdown.inheritFont), 1), (e(!0), a(u, null, n(f.fontFamilies, (t) => (e(), a("option", {
110
+ value: r(_)(f.block.fontFamily),
111
+ onChange: p[3] ||= (e) => V("fontFamily", e.target.value || void 0)
112
+ }, [i("option", E, s(r(I).countdown.inheritFont), 1), (e(!0), a(u, null, n(f.fontFamilies, (t) => (e(), a("option", {
112
113
  key: t.value,
113
114
  value: t.value
114
- }, s(t.label), 9, E))), 128))], 42, w)]),
115
+ }, s(t.label), 9, D))), 128))], 42, T)]),
115
116
  _: 1
116
117
  }, 8, ["label"]),
117
- i("div", D, [o(v, { label: r(F).countdown.digitFontSize }, {
118
- default: t(() => [o(y, {
118
+ i("div", O, [o(y, { label: r(I).countdown.digitFontSize }, {
119
+ default: t(() => [o(b, {
119
120
  "model-value": f.block.digitFontSize,
120
121
  min: 12,
121
122
  max: 72,
122
123
  suffix: "px",
123
- "onUpdate:modelValue": p[4] ||= (e) => B("digitFontSize", e)
124
+ "onUpdate:modelValue": p[4] ||= (e) => V("digitFontSize", e)
124
125
  }, null, 8, ["model-value"])]),
125
126
  _: 1
126
- }, 8, ["label"]), o(v, { label: r(F).countdown.labelFontSize }, {
127
- default: t(() => [o(y, {
127
+ }, 8, ["label"]), o(y, { label: r(I).countdown.labelFontSize }, {
128
+ default: t(() => [o(b, {
128
129
  "model-value": f.block.labelFontSize,
129
130
  min: 8,
130
131
  max: 24,
131
132
  suffix: "px",
132
- "onUpdate:modelValue": p[5] ||= (e) => B("labelFontSize", e)
133
+ "onUpdate:modelValue": p[5] ||= (e) => V("labelFontSize", e)
133
134
  }, null, 8, ["model-value"])]),
134
135
  _: 1
135
136
  }, 8, ["label"])]),
136
- i("div", O, [o(v, { label: r(F).countdown.digitColor }, {
137
+ i("div", k, [o(y, { label: r(I).countdown.digitColor }, {
137
138
  default: t(() => [o(m, {
138
139
  "model-value": f.block.digitColor,
139
- "onUpdate:modelValue": p[6] ||= (e) => B("digitColor", e)
140
+ "onUpdate:modelValue": p[6] ||= (e) => V("digitColor", e)
140
141
  }, null, 8, ["model-value"])]),
141
142
  _: 1
142
- }, 8, ["label"]), o(v, { label: r(F).countdown.labelColor }, {
143
+ }, 8, ["label"]), o(y, { label: r(I).countdown.labelColor }, {
143
144
  default: t(() => [o(m, {
144
145
  "model-value": f.block.labelColor,
145
- "onUpdate:modelValue": p[7] ||= (e) => B("labelColor", e)
146
+ "onUpdate:modelValue": p[7] ||= (e) => V("labelColor", e)
146
147
  }, null, 8, ["model-value"])]),
147
148
  _: 1
148
149
  }, 8, ["label"])]),
149
- o(v, { label: r(F).countdown.background }, {
150
+ o(y, { label: r(I).countdown.background }, {
150
151
  default: t(() => [o(m, {
151
152
  "model-value": f.block.backgroundColor,
152
- "onUpdate:modelValue": p[8] ||= (e) => B("backgroundColor", e)
153
+ "onUpdate:modelValue": p[8] ||= (e) => V("backgroundColor", e)
153
154
  }, null, 8, ["model-value"])]),
154
155
  _: 1
155
156
  }, 8, ["label"]),
156
- o(v, { label: r(F).countdown.labels }, {
157
- default: t(() => [i("div", k, [(e(!0), a(u, null, n(z.value, (t) => (e(), a("input", {
157
+ o(y, { label: r(I).countdown.labels }, {
158
+ default: t(() => [i("div", A, [(e(!0), a(u, null, n(B.value, (t) => (e(), a("input", {
158
159
  key: t.unit,
159
160
  type: "text",
160
161
  class: c(r(h)),
161
162
  value: f.block[t.labelKey],
162
- placeholder: r(F).countdown[t.translationKey],
163
- onInput: (e) => B(t.labelKey, e.target.value)
164
- }, null, 42, A))), 128))])]),
163
+ placeholder: r(I).countdown[t.translationKey],
164
+ onInput: (e) => V(t.labelKey, e.target.value)
165
+ }, null, 42, j))), 128))])]),
165
166
  _: 1
166
167
  }, 8, ["label"]),
167
- o(v, { label: r(F).countdown.expiry }, {
168
+ o(y, { label: r(I).countdown.expiry }, {
168
169
  default: t(() => [i("input", {
169
170
  type: "text",
170
171
  class: c(r(h)),
171
172
  value: f.block.expiredMessage,
172
- placeholder: r(F).countdown.expiredMessagePlaceholder,
173
- onInput: p[9] ||= (e) => B("expiredMessage", e.target.value)
174
- }, null, 42, j)]),
173
+ placeholder: r(I).countdown.expiredMessagePlaceholder,
174
+ onInput: p[9] ||= (e) => V("expiredMessage", e.target.value)
175
+ }, null, 42, M)]),
175
176
  _: 1
176
177
  }, 8, ["label"]),
177
- o(v, { label: r(F).countdown.expiredImageUrl }, {
178
+ o(y, { label: r(I).countdown.expiredImageUrl }, {
178
179
  default: t(() => [i("input", {
179
180
  type: "url",
180
181
  class: c(r(h)),
181
182
  value: f.block.expiredImageUrl,
182
183
  placeholder: "https://...",
183
- onInput: p[10] ||= (e) => B("expiredImageUrl", e.target.value)
184
- }, null, 42, M)]),
184
+ onInput: p[10] ||= (e) => V("expiredImageUrl", e.target.value)
185
+ }, null, 42, N)]),
185
186
  _: 1
186
187
  }, 8, ["label"]),
187
188
  o(g, {
188
189
  class: "tpl:mb-3.5 tpl:text-[12px] tpl:text-[var(--tpl-text)]",
189
190
  "model-value": f.block.hideOnExpiry,
190
- label: r(F).countdown.hideOnExpiry,
191
- "onUpdate:modelValue": p[11] ||= (e) => B("hideOnExpiry", e)
191
+ label: r(I).countdown.hideOnExpiry,
192
+ "onUpdate:modelValue": p[11] ||= (e) => V("hideOnExpiry", e)
192
193
  }, null, 8, ["model-value", "label"])
193
194
  ], 64));
194
195
  }
195
196
  });
196
197
  //#endregion
197
- export { N as default };
198
+ export { P as default };
@@ -1,17 +1,17 @@
1
- import { A as e, At as t, B as n, D as ee, R as r, V as te, Z as i, at as a, c as o, d as s, g as c, h as l, jt as u, kt as d, l as ne, s as re, u as f, v as p } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { a as ie, t as ae } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
- import { $ as m, g as oe, i as se } from "./keys-CDqfZIRt.js";
1
+ import { A as e, At as t, B as n, D as ee, R as r, V as te, Z as i, at as a, c as o, d as s, g as c, h as l, jt as u, kt as d, l as ne, s as re, u as f, v as p } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { a as ie, t as ae } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
+ import { $ as m, g as oe, i as se } from "./keys-injl74ob.js";
4
4
  import "./timeouts-DHPZQ0G3.js";
5
- import { t as h } from "./createLucideIcon-BVcoovvP.js";
6
- import { t as ce } from "./circle-alert-B6xl1B_M.js";
7
- import { t as g } from "./image-up-C1jC7NzQ.js";
8
- import { t as _ } from "./upload-BxBtMPMv.js";
9
- import { t as v } from "./x-DrZO5tt0.js";
10
- import { t as le } from "./LoadingTrack-C1Epulqq.js";
5
+ import { t as h } from "./createLucideIcon-BAPyioGd.js";
6
+ import { t as ce } from "./circle-alert-BR1_Yfb-.js";
7
+ import { t as g } from "./image-up-BoFGZm5Q.js";
8
+ import { t as _ } from "./upload-C8uO7KsR.js";
9
+ import { t as v } from "./x-gEC0yMci.js";
10
+ import { t as le } from "./LoadingTrack-DROqNuuD.js";
11
11
  import { t as y } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { n as ue } from "./useCloudI18n-DpEsiLeR.js";
12
+ import { n as ue } from "./useCloudI18n-GvIOLziA.js";
13
13
  import { v as b } from "./styleConstants-C_YAPdQS.js";
14
- import { _ as de } from "./cloud-BNEL7bxL.js";
14
+ import { _ as de } from "./cloud-CVfwPu19.js";
15
15
  var fe = h({
16
16
  name: "file-image",
17
17
  size: 24,
@@ -99,25 +99,24 @@ var fe = h({
99
99
  n && Z(n), t.value = "";
100
100
  }
101
101
  function Z(e) {
102
- if (e.size > 10485760) {
103
- V.error.value = B.designReference.fileTooLarge;
104
- return;
105
- }
106
- if (U.value === "image") {
107
- if (![
108
- "image/png",
109
- "image/jpeg",
110
- "image/jpg",
111
- "image/webp"
112
- ].includes(e.type)) {
102
+ if (e.size > 10485760) V.error.value = B.designReference.fileTooLarge;
103
+ else {
104
+ if (U.value === "image") {
105
+ if (![
106
+ "image/png",
107
+ "image/jpeg",
108
+ "image/jpg",
109
+ "image/webp"
110
+ ].includes(e.type)) {
111
+ V.error.value = B.designReference.invalidFileType;
112
+ return;
113
+ }
114
+ } else if (U.value === "pdf" && e.type !== "application/pdf") {
113
115
  V.error.value = B.designReference.invalidFileType;
114
116
  return;
115
117
  }
116
- } else if (U.value === "pdf" && e.type !== "application/pdf") {
117
- V.error.value = B.designReference.invalidFileType;
118
- return;
118
+ W.value = e, V.error.value = null, K.value && URL.revokeObjectURL(K.value), e.type.startsWith("image/") ? K.value = URL.createObjectURL(e) : K.value = null;
119
119
  }
120
- W.value = e, V.error.value = null, K.value && URL.revokeObjectURL(K.value), e.type.startsWith("image/") ? K.value = URL.createObjectURL(e) : K.value = null;
121
120
  }
122
121
  function Q() {
123
122
  K.value &&= (URL.revokeObjectURL(K.value), null), W.value = null;
@@ -1,11 +1,11 @@
1
- import { A as e, F as t, M as n, S as r, at as i, c as a, d as o, g as s, h as c, jt as l, kt as u, l as d, r as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { K as g, g as _ } from "./keys-CDqfZIRt.js";
3
- import { t as v } from "./useI18n-B_CdcBwG.js";
4
- import { t as y } from "./createLucideIcon-BVcoovvP.js";
5
- import { t as b } from "./circle-alert-B6xl1B_M.js";
6
- import { t as x } from "./info-ClH66pKN.js";
7
- import { n as S, t as C } from "./useScrollToBlock-DA_aIJXS.js";
8
- import { t as w } from "./triangle-alert-fcb2KoA-.js";
1
+ import { A as e, F as t, M as n, S as r, at as i, c as a, d as o, g as s, h as c, jt as l, kt as u, l as d, r as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { K as g, g as _ } from "./keys-injl74ob.js";
3
+ import { t as v } from "./useI18n-uF11q85g.js";
4
+ import { t as y } from "./createLucideIcon-BAPyioGd.js";
5
+ import { t as b } from "./circle-alert-BR1_Yfb-.js";
6
+ import { t as x } from "./info-0bQQGjTV.js";
7
+ import { n as S, t as C } from "./useScrollToBlock-Dr7Sb6Tr.js";
8
+ import { t as w } from "./triangle-alert-BHnfd3fV.js";
9
9
  var T = y({
10
10
  name: "arrow-right",
11
11
  size: 24,
@@ -1,4 +1,4 @@
1
- import { A as e, d as t } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
1
+ import { A as e, d as t } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  //#region src/components/LoadingTrack.vue
4
4
  var r = {}, i = { class: "tpl-loading-track" };
@@ -1,15 +1,15 @@
1
- import { A as e, At as t, B as n, E as r, J as i, K as a, M as o, S as s, W as c, Z as l, at as u, b as d, c as f, d as p, g as m, h, i as g, jt as _, kt as v, l as y, r as b, s as x, u as S, v as C } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { c as w, n as T, s as ee, t as te } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
- import { F as E, H as D, R as O, z as k } from "./dist-HjILVdTA.js";
4
- import { t as ne } from "./dist-BDuPwOyn.js";
5
- import { J as re, Y as A, Z as ie, d as ae } from "./keys-CDqfZIRt.js";
6
- import { t as j } from "./useI18n-B_CdcBwG.js";
7
- import { a as M, i as oe, n as se, o as ce, r as le, t as ue } from "./usePopoverPosition-BYmd-lhR.js";
8
- import { t as N } from "./createLucideIcon-BVcoovvP.js";
9
- import { t as P } from "./pencil-BDnjo24u.js";
10
- import { t as de } from "./x-DrZO5tt0.js";
11
- import { t as F } from "./useMergeTag-D3XDE_58.js";
12
- import { t as I } from "./useLogicTag-wqfdwYYR.js";
1
+ import { A as e, At as t, B as n, E as r, J as i, K as a, M as o, S as s, W as c, Z as l, at as u, b as d, c as f, d as p, g as m, h, i as g, jt as _, kt as v, l as y, r as b, s as x, u as S, v as C } from "./vue.runtime.esm-bundler-CctRY8kr.js";
2
+ import { c as w, n as T, s as ee, t as te } from "./runtime-dom.esm-bundler-CO67ema2.js";
3
+ import { F as E, H as D, R as O, z as k } from "./dist-CSaWqmWM.js";
4
+ import { t as ne } from "./dist-B_vYjCsk.js";
5
+ import { J as re, Y as A, Z as ie, d as ae } from "./keys-injl74ob.js";
6
+ import { t as j } from "./useI18n-uF11q85g.js";
7
+ import { a as M, i as oe, n as se, o as ce, r as le, t as ue } from "./usePopoverPosition-DkBrHfCo.js";
8
+ import { t as N } from "./createLucideIcon-BAPyioGd.js";
9
+ import { t as P } from "./pencil-B6m0OG0n.js";
10
+ import { t as de } from "./x-gEC0yMci.js";
11
+ import { t as F } from "./useMergeTag-DfPKX2Tk.js";
12
+ import { t as I } from "./useLogicTag-BH87j1vZ.js";
13
13
  import { u as fe } from "./styleConstants-C_YAPdQS.js";
14
14
  var pe = N({
15
15
  name: "braces",
@@ -669,13 +669,7 @@ function ot(e, t) {
669
669
  i && (e ? (i.setAttribute("role", "combobox"), i.setAttribute("aria-haspopup", "listbox"), i.setAttribute("aria-expanded", "true"), i.setAttribute("aria-controls", c)) : (i.removeAttribute("aria-expanded"), i.removeAttribute("aria-controls"), i.removeAttribute("aria-activedescendant"), i.removeAttribute("aria-haspopup"), i.removeAttribute("role")));
670
670
  }
671
671
  function S() {
672
- if (i) {
673
- if (a.value.length === 0) {
674
- i.removeAttribute("aria-activedescendant");
675
- return;
676
- }
677
- i.setAttribute("aria-activedescendant", `${c}-opt-${o.value}`);
678
- }
672
+ i && (a.value.length === 0 ? i.removeAttribute("aria-activedescendant") : i.setAttribute("aria-activedescendant", `${c}-opt-${o.value}`));
679
673
  }
680
674
  function C(e) {
681
675
  s?.(e);