@templatical/editor 0.35.0 → 0.36.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 (223) hide show
  1. package/dist/{AiChatSidebar-DPHbCGu4.js → AiChatSidebar-tu4eLcf_.js} +57 -57
  2. package/dist/{AiFeatureMenu--8z7qvg1.js → AiFeatureMenu-BF0i0vA4.js} +17 -17
  3. package/dist/{BlockIssueBadge-BGCsJqqM.js → BlockIssueBadge-DT-FqKeC.js} +9 -9
  4. package/dist/{BlockPreviewCanvas-DKspIy8V.js → BlockPreviewCanvas-DDCmMram.js} +28 -28
  5. package/dist/CloudHeaderExtras-NPhudovT.js +59 -0
  6. package/dist/{CloudPanels-Bp5gFtaL.js → CloudPanels-Iwnky0iA.js} +78 -108
  7. package/dist/{CollaboratorBar-DvwZm5u7.js → CollaboratorBar-DAITu0hz.js} +17 -17
  8. package/dist/{ColorPicker-DtozuN75.js → ColorPicker-BqlZ_TqG.js} +193 -193
  9. package/dist/{CommentsPanel-3C-DsEjy.js → CommentsPanel-CDvgmWP1.js} +3 -3
  10. package/dist/{CommentsSidebar-go1FnjDW.js → CommentsSidebar-X_xqM3dR.js} +158 -158
  11. package/dist/{CountdownBlock-D1fsNsyS.js → CountdownBlock-ZFJIdbP6.js} +12 -12
  12. package/dist/{CountdownToolbar-SLBuij7Q.js → CountdownToolbar-DBFoG3a6.js} +67 -67
  13. package/dist/{DesignReferenceSidebar-rcE_BvUd.js → DesignReferenceSidebar--QtXjLrw.js} +57 -57
  14. package/dist/{FieldRow-BWt7ECqo.js → FieldRow-C8nOknr_.js} +39 -39
  15. package/dist/{IssuesPanel-Cig46N1i.js → IssuesPanel-BLbNFMSX.js} +38 -38
  16. package/dist/{LoadingTrack-SQXoZVf2.js → LoadingTrack-BlTL4zFv.js} +2 -2
  17. package/dist/MediaPanels-CMTAhDXB.js +43 -0
  18. package/dist/{MergeTagInput-D1hzsn2b.js → MergeTagInput-BEjzj4Iu.js} +115 -115
  19. package/dist/{MergeTagModeToggle-CH9wR5YF.js → MergeTagModeToggle-DKN6ihI5.js} +40 -40
  20. package/dist/{MergeTagSuggestion-CoCuzEmW.js → MergeTagSuggestion-DKoLEeoj.js} +21 -21
  21. package/dist/{ParagraphEditor-CT2AdMdZ.js → ParagraphEditor-1E9yzOfk.js} +231 -258
  22. package/dist/{RestoreVersionDialog-mdqgQxFR.js → RestoreVersionDialog-BMGUkcd8.js} +28 -28
  23. package/dist/{RichTextEditorContent-riOB-rKD.js → RichTextEditorContent-BnxbQUV9.js} +49 -59
  24. package/dist/{SaveBlockDialog-Cn2v4Lpj.js → SaveBlockDialog-WKASpCCT.js} +78 -78
  25. package/dist/SavedBlocksBrowserModal-AYEXTMtQ.js +323 -0
  26. package/dist/{SavedBlocksPanels-ffBnWuVU.js → SavedBlocksPanels-D_CpacTl.js} +6 -6
  27. package/dist/{SavedBlocksPickBar-BmQC2tWN.js → SavedBlocksPickBar-BHMwg-1G.js} +11 -11
  28. package/dist/{TemplateScoringPanel-CxAtdreR.js → TemplateScoringPanel-CSin43YM.js} +99 -98
  29. package/dist/{TestEmailModal-Cjn1padY.js → TestEmailModal-BxizsRCd.js} +59 -59
  30. package/dist/{TestEmailPanel-Bf3XZ1jn.js → TestEmailPanel-vd2e5HzT.js} +3 -3
  31. package/dist/TitleEditor-CLJ68Ty4.js +199 -0
  32. package/dist/TplModal-Q9fDgS1M.js +51 -0
  33. package/dist/{VersionHistoryMenu-CrNrGsaa.js → VersionHistoryMenu-eGYVhM4H.js} +41 -47
  34. package/dist/{VersionHistoryPanels-CsuQk6W3.js → VersionHistoryPanels-C7Ntrrfq.js} +4 -4
  35. package/dist/{VersionPreviewBanner-BqbO0Zss.js → VersionPreviewBanner-BbQXnR0M.js} +9 -9
  36. package/dist/{blockTypeIcons-D_4HdaY9.js → blockTypeIcons-5qD4bB76.js} +5 -17
  37. package/dist/bundle-stats.json +8 -8
  38. package/dist/ca-Jx2CDwtn.js +83 -0
  39. package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js → AiChatSidebar-dyqqHAcI.js} +4 -4
  40. package/dist/cdn/chunks/{AiChatSidebar-D0f74_nS.js.map → AiChatSidebar-dyqqHAcI.js.map} +1 -1
  41. package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js → AiFeatureMenu-BjVMwhW8.js} +5 -5
  42. package/dist/cdn/chunks/{AiFeatureMenu-DwGb3eF9.js.map → AiFeatureMenu-BjVMwhW8.js.map} +1 -1
  43. package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js → BlockIssueBadge-BJ__oEtm.js} +4 -4
  44. package/dist/cdn/chunks/{BlockIssueBadge-CosQgeJ-.js.map → BlockIssueBadge-BJ__oEtm.js.map} +1 -1
  45. package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js → BlockPreviewCanvas-B5f26eLE.js} +5 -5
  46. package/dist/cdn/chunks/{BlockPreviewCanvas-CIpZ2a6g.js.map → BlockPreviewCanvas-B5f26eLE.js.map} +1 -1
  47. package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js → CloudHeaderExtras-D5P5IEKA.js} +4 -4
  48. package/dist/cdn/chunks/{CloudHeaderExtras-CQzQwKFB.js.map → CloudHeaderExtras-D5P5IEKA.js.map} +1 -1
  49. package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js → CloudPanels-DkmR05nB.js} +15 -45
  50. package/dist/cdn/chunks/{CloudPanels-BmexuLOU.js.map → CloudPanels-DkmR05nB.js.map} +1 -1
  51. package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js → CollaboratorBar-Yn7KSpt4.js} +4 -4
  52. package/dist/cdn/chunks/{CollaboratorBar-DEICobpp.js.map → CollaboratorBar-Yn7KSpt4.js.map} +1 -1
  53. package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js → ColorPicker-LcrzgMoW.js} +7 -7
  54. package/dist/cdn/chunks/{ColorPicker-C7yC58FK.js.map → ColorPicker-LcrzgMoW.js.map} +1 -1
  55. package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js → CommentsPanel-CntwwocI.js} +2 -2
  56. package/dist/cdn/chunks/{CommentsPanel-OjmKxLL7.js.map → CommentsPanel-CntwwocI.js.map} +1 -1
  57. package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js → CommentsSidebar-BLDKnKy7.js} +4 -4
  58. package/dist/cdn/chunks/{CommentsSidebar-C4pWZGpy.js.map → CommentsSidebar-BLDKnKy7.js.map} +1 -1
  59. package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js → CountdownBlock-B4AfqJwb.js} +2 -2
  60. package/dist/cdn/chunks/{CountdownBlock-rK055jpy.js.map → CountdownBlock-B4AfqJwb.js.map} +1 -1
  61. package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js → CountdownToolbar-CA1dpuOI.js} +3 -3
  62. package/dist/cdn/chunks/{CountdownToolbar-wlJOxyAl.js.map → CountdownToolbar-CA1dpuOI.js.map} +1 -1
  63. package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js → DesignReferenceSidebar-D1Y9Hswe.js} +5 -5
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-DELhnh8h.js.map → DesignReferenceSidebar-D1Y9Hswe.js.map} +1 -1
  65. package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js → IssuesPanel-Q62LTqvd.js} +5 -5
  66. package/dist/cdn/chunks/{IssuesPanel-C9i3o8aE.js.map → IssuesPanel-Q62LTqvd.js.map} +1 -1
  67. package/dist/cdn/chunks/MediaPanels-D21M6shx.js +45 -0
  68. package/dist/cdn/chunks/MediaPanels-D21M6shx.js.map +1 -0
  69. package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js → MergeTagInput-l7paaAml.js} +7 -7
  70. package/dist/cdn/chunks/{MergeTagInput-D76Kyvgu.js.map → MergeTagInput-l7paaAml.js.map} +1 -1
  71. package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js → MergeTagModeToggle-DYxkAGtA.js} +4 -4
  72. package/dist/cdn/chunks/{MergeTagModeToggle-Dz3gxN2y.js.map → MergeTagModeToggle-DYxkAGtA.js.map} +1 -1
  73. package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js → ParagraphEditor-Bd-GQXee.js} +15 -15
  74. package/dist/cdn/chunks/{ParagraphEditor-DQn0HMfV.js.map → ParagraphEditor-Bd-GQXee.js.map} +1 -1
  75. package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js → RestoreVersionDialog-2X9RpM9A.js} +4 -4
  76. package/dist/cdn/chunks/{RestoreVersionDialog-BdjOL8Oy.js.map → RestoreVersionDialog-2X9RpM9A.js.map} +1 -1
  77. package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js → RichTextEditorContent-D_rb0rmU.js} +8 -8
  78. package/dist/cdn/chunks/{RichTextEditorContent-Drzwgh0J.js.map → RichTextEditorContent-D_rb0rmU.js.map} +1 -1
  79. package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js → SaveBlockDialog-CufdTomT.js} +15 -15
  80. package/dist/cdn/chunks/{SaveBlockDialog-B3rbmXSM.js.map → SaveBlockDialog-CufdTomT.js.map} +1 -1
  81. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js → SavedBlocksBrowserModal-CqpaNsk7.js} +8 -8
  82. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CkUXlnd2.js.map → SavedBlocksBrowserModal-CqpaNsk7.js.map} +1 -1
  83. package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js → SavedBlocksPanels-DpxYxddo.js} +2 -2
  84. package/dist/cdn/chunks/{SavedBlocksPanels-BPi3PZKP.js.map → SavedBlocksPanels-DpxYxddo.js.map} +1 -1
  85. package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js → SavedBlocksPickBar-Drpoav1B.js} +4 -4
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-BvB9A5W2.js.map → SavedBlocksPickBar-Drpoav1B.js.map} +1 -1
  87. package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js → TemplateScoringPanel-DBjUNULq.js} +5 -5
  88. package/dist/cdn/chunks/{TemplateScoringPanel-BBCyLnOi.js.map → TemplateScoringPanel-DBjUNULq.js.map} +1 -1
  89. package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js → TestEmailModal-BTNlSW6f.js} +10 -10
  90. package/dist/cdn/chunks/{TestEmailModal-DAGTsBqi.js.map → TestEmailModal-BTNlSW6f.js.map} +1 -1
  91. package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js → TestEmailPanel-D0A9Zgxr.js} +2 -2
  92. package/dist/cdn/chunks/{TestEmailPanel-BfenVvfx.js.map → TestEmailPanel-D0A9Zgxr.js.map} +1 -1
  93. package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js → TitleEditor-CrnuIq62.js} +9 -9
  94. package/dist/cdn/chunks/{TitleEditor-oQ4gr6wS.js.map → TitleEditor-CrnuIq62.js.map} +1 -1
  95. package/dist/cdn/chunks/{TplModal-DxOMcVwp.js → TplModal-DYXrTz42.js} +5 -5
  96. package/dist/cdn/chunks/{TplModal-DxOMcVwp.js.map → TplModal-DYXrTz42.js.map} +1 -1
  97. package/dist/cdn/chunks/{VersionHistoryMenu-BfVUvWHT.js → VersionHistoryMenu-bDGnE4hb.js} +4 -4
  98. package/dist/cdn/chunks/VersionHistoryMenu-bDGnE4hb.js.map +1 -0
  99. package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js → VersionHistoryPanels-82P0Q0HM.js} +2 -2
  100. package/dist/cdn/chunks/{VersionHistoryPanels-NpDb641L.js.map → VersionHistoryPanels-82P0Q0HM.js.map} +1 -1
  101. package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js → VersionPreviewBanner-BJiwKkVC.js} +3 -3
  102. package/dist/cdn/chunks/{VersionPreviewBanner-Cpgt4xHc.js.map → VersionPreviewBanner-BJiwKkVC.js.map} +1 -1
  103. package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js → blockTypeIcons-CNjJSFun.js} +2 -2
  104. package/dist/cdn/chunks/{blockTypeIcons-t9vvaiuH.js.map → blockTypeIcons-CNjJSFun.js.map} +1 -1
  105. package/dist/cdn/chunks/{ca-CNRWAMHI.js → ca-Jx2CDwtn.js} +2 -6
  106. package/dist/cdn/chunks/ca-Jx2CDwtn.js.map +1 -0
  107. package/dist/cdn/chunks/{cloud-CullB76F.js → cloud-BLgCKP7Z.js} +452 -227
  108. package/dist/cdn/chunks/cloud-BLgCKP7Z.js.map +1 -0
  109. package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js +385 -0
  110. package/dist/cdn/chunks/createCloudRuntime-U-qCH-dq.js.map +1 -0
  111. package/dist/cdn/chunks/{de-DFYCT4QU.js → de-Ck0pBGHu.js} +2 -6
  112. package/dist/cdn/chunks/de-Ck0pBGHu.js.map +1 -0
  113. package/dist/cdn/chunks/{src-CaXeO-gG.js → editor-modal-MXgtarMl.js} +1474 -1935
  114. package/dist/cdn/chunks/editor-modal-MXgtarMl.js.map +1 -0
  115. package/dist/cdn/chunks/en-C9U7N77n.js +2 -0
  116. package/dist/cdn/chunks/{es-OgkdMZGX.js → es-lagTvUfX.js} +2 -6
  117. package/dist/cdn/chunks/es-lagTvUfX.js.map +1 -0
  118. package/dist/cdn/chunks/{extensions-BpXY7jO5.js → extensions-B8_jnIkD.js} +3 -3
  119. package/dist/cdn/chunks/{extensions-BpXY7jO5.js.map → extensions-B8_jnIkD.js.map} +1 -1
  120. package/dist/cdn/chunks/{fr-Dswns199.js → fr-C4hVl5Lk.js} +2 -6
  121. package/dist/cdn/chunks/fr-C4hVl5Lk.js.map +1 -0
  122. package/dist/cdn/chunks/{icons-BLxcQUck.js → icons-BUlqGSgd.js} +24 -24
  123. package/dist/cdn/chunks/{icons-BLxcQUck.js.map → icons-BUlqGSgd.js.map} +1 -1
  124. package/dist/cdn/chunks/{keys-DQp8x7Nx.js → keys-DBFhDFng.js} +4 -4
  125. package/dist/cdn/chunks/{keys-DQp8x7Nx.js.map → keys-DBFhDFng.js.map} +1 -1
  126. package/dist/cdn/chunks/{nl-CbcPJlrL.js → nl-CReD7Apd.js} +2 -6
  127. package/dist/cdn/chunks/nl-CReD7Apd.js.map +1 -0
  128. package/dist/cdn/chunks/{pt-BR-BibOQm-o.js → pt-BR-BRA0-vGP.js} +2 -6
  129. package/dist/cdn/chunks/pt-BR-BRA0-vGP.js.map +1 -0
  130. package/dist/cdn/chunks/{src-BC-eolWY.js → src-DZ0C9mH7.js} +2 -2
  131. package/dist/cdn/chunks/{src-BC-eolWY.js.map → src-DZ0C9mH7.js.map} +1 -1
  132. package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js → useCloudI18n-DSWSGj-A.js} +2 -2
  133. package/dist/cdn/chunks/{useCloudI18n-MxgHWrV6.js.map → useCloudI18n-DSWSGj-A.js.map} +1 -1
  134. package/dist/cdn/chunks/{useEditorCore-D4MytYB9.js → useEditorCore-Cs7rYVBo.js} +488 -406
  135. package/dist/cdn/chunks/useEditorCore-Cs7rYVBo.js.map +1 -0
  136. package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js → useEditorRoot-B0zW2nT4.js} +2 -2
  137. package/dist/cdn/chunks/{useEditorRoot-CteADR3y.js.map → useEditorRoot-B0zW2nT4.js.map} +1 -1
  138. package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js → useI18n-Dlo7R9RA.js} +2 -2
  139. package/dist/cdn/chunks/{useI18n-Ct1VIFcf.js.map → useI18n-Dlo7R9RA.js.map} +1 -1
  140. package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js → useMergeTag-BYAifvh8.js} +3 -3
  141. package/dist/cdn/chunks/{useMergeTag-CSocWpxV.js.map → useMergeTag-BYAifvh8.js.map} +1 -1
  142. package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js → usePopoverPosition-ElP3ABaV.js} +2 -2
  143. package/dist/cdn/chunks/{usePopoverPosition-BxVWE5_0.js.map → usePopoverPosition-ElP3ABaV.js.map} +1 -1
  144. package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js → useScrollToBlock-nTbWkgaU.js} +2 -2
  145. package/dist/cdn/chunks/{useScrollToBlock-Cz3fpgTK.js.map → useScrollToBlock-nTbWkgaU.js.map} +1 -1
  146. package/dist/cdn/editor.css +1 -1
  147. package/dist/cdn/editor.js +1091 -1004
  148. package/dist/cdn/editor.js.map +1 -1
  149. package/dist/{check-CY-Ec6FV.js → check-DWtkBzBU.js} +1 -1
  150. package/dist/{chevron-down-BghbWA9p.js → chevron-down-C-Fjxcqj.js} +1 -1
  151. package/dist/chevron-right-SOkn2d4P.js +11 -0
  152. package/dist/{chevron-up-n3qFAPS3.js → chevron-up-lntU1ypp.js} +1 -1
  153. package/dist/{circle-alert-L5uGGFRP.js → circle-alert-CjzUTwy3.js} +1 -1
  154. package/dist/{clock-Dgnwp18n.js → clock-pB2QKPsJ.js} +1 -1
  155. package/dist/{cloud-B1c4XIsn.js → cloud-DdidMW6f.js} +445 -200
  156. package/dist/copy-CId1E038.js +19 -0
  157. package/dist/createCloudRuntime-x5WZm3p8.js +383 -0
  158. package/dist/{createLucideIcon-05lB8iWe.js → createLucideIcon-Cwf_nTzE.js} +6 -6
  159. package/dist/de-Ck0pBGHu.js +83 -0
  160. package/dist/{dist-BxFbxpgW.js → dist-BVqAYoRB.js} +125 -125
  161. package/dist/dist-D8i1ixHK.js +177 -0
  162. package/dist/dist-DBirAJIs.js +410 -0
  163. package/dist/editor-modal-B_LaQf0s.js +5998 -0
  164. package/dist/en-DcmpWV53.js +2 -0
  165. package/dist/es-lagTvUfX.js +83 -0
  166. package/dist/{extensions-Bawm4BOM.js → extensions-CHOBZRab.js} +42 -42
  167. package/dist/eye-BuGtFUoJ.js +16 -0
  168. package/dist/fr-C4hVl5Lk.js +83 -0
  169. package/dist/{image-up-ovhjl9u9.js → image-up-gH4JEpU5.js} +1 -1
  170. package/dist/index.d.ts +77 -11
  171. package/dist/{info-c3KI927I.js → info-BQ60P82u.js} +1 -1
  172. package/dist/{keys-C3P1yxnr.js → keys-DQA2i1k1.js} +4 -4
  173. package/dist/link-3R8it3J7.js +14 -0
  174. package/dist/list-Ccdgj46T.js +33 -0
  175. package/dist/{loader-circle-B2Y8xZQb.js → loader-circle-B_tAD4k6.js} +1 -1
  176. package/dist/{message-circle-B7K-naUa.js → message-circle-P-KSc6V0.js} +1 -1
  177. package/dist/nl-CReD7Apd.js +83 -0
  178. package/dist/{pencil-BhWTFcp4.js → pencil-9ZiwqS4r.js} +1 -1
  179. package/dist/plus-BwJEzCaO.js +14 -0
  180. package/dist/pt-BR-BRA0-vGP.js +83 -0
  181. package/dist/{refresh-cw-BqUR5vgO.js → refresh-cw-DEgfb2FK.js} +2 -14
  182. package/dist/{runtime-dom.esm-bundler-BuG03jBM.js → runtime-dom.esm-bundler-PnoZU512.js} +106 -106
  183. package/dist/search-DqQ8Li5E.js +16 -0
  184. package/dist/{send-D1vvuW79.js → send-CE6uvqop.js} +1 -1
  185. package/dist/{shield-check-DjK54PnW.js → shield-check-DhD1Z3rd.js} +1 -1
  186. package/dist/{sparkles-DNdS9V_3.js → sparkles-R0ZQHa6F.js} +1 -1
  187. package/dist/style.css +1 -1
  188. package/dist/templatical-editor.js +2488 -2407
  189. package/dist/{text-align-start-Bcmo_VUY.js → text-align-start-DSux2UNn.js} +1 -1
  190. package/dist/{trash-C9bMXvw4.js → trash-Cf_SqsER.js} +1 -1
  191. package/dist/{triangle-alert-Bn8Bd2Yv.js → triangle-alert-C6tGa6jw.js} +1 -1
  192. package/dist/{upload-DKgg1gno.js → upload-DusKjpVr.js} +1 -1
  193. package/dist/{useAliveFlag-PVmp95MT.js → useAliveFlag-oyByIcjy.js} +1 -1
  194. package/dist/{useCloudI18n-BKoiYsWZ.js → useCloudI18n-BLyh_e2T.js} +2 -2
  195. package/dist/{useEditorCore-CYGvurZa.js → useEditorCore-DhlKOYwe.js} +1552 -1486
  196. package/dist/{useEditorRoot-DkRGTQRs.js → useEditorRoot-ds57-l6F.js} +2 -2
  197. package/dist/{useI18n-CL6RfPzK.js → useI18n-BbdxxpOE.js} +2 -2
  198. package/dist/{useMergeTag-C9GEpljB.js → useMergeTag-DlvOBW_B.js} +3 -3
  199. package/dist/{usePopoverPosition-CWxaIWd3.js → usePopoverPosition-CprM5p-c.js} +2 -2
  200. package/dist/{useScrollToBlock-oUx1HIZ2.js → useScrollToBlock-BTFw0b9O.js} +3 -3
  201. package/dist/{vue.runtime.esm-bundler-D9JUcKrV.js → vue.runtime.esm-bundler-DShF3P6k.js} +1192 -1181
  202. package/dist/{x-BPKoRPTG.js → x-D_-42Ukq.js} +1 -1
  203. package/package.json +9 -12
  204. package/dist/CloudHeaderExtras-CRUQvgSV.js +0 -59
  205. package/dist/SavedBlocksBrowserModal-BORqqASb.js +0 -322
  206. package/dist/TitleEditor-pYEUX6lR.js +0 -198
  207. package/dist/TplModal-DRx4ytx8.js +0 -51
  208. package/dist/cdn/chunks/VersionHistoryMenu-BfVUvWHT.js.map +0 -1
  209. package/dist/cdn/chunks/ca-CNRWAMHI.js.map +0 -1
  210. package/dist/cdn/chunks/cloud-CullB76F.js.map +0 -1
  211. package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js +0 -443
  212. package/dist/cdn/chunks/createCloudRuntime-Cx2JpUYU.js.map +0 -1
  213. package/dist/cdn/chunks/de-DFYCT4QU.js.map +0 -1
  214. package/dist/cdn/chunks/en-rGHphLWo.js +0 -2
  215. package/dist/cdn/chunks/es-OgkdMZGX.js.map +0 -1
  216. package/dist/cdn/chunks/fr-Dswns199.js.map +0 -1
  217. package/dist/cdn/chunks/nl-CbcPJlrL.js.map +0 -1
  218. package/dist/cdn/chunks/pt-BR-BibOQm-o.js.map +0 -1
  219. package/dist/cdn/chunks/src-CaXeO-gG.js.map +0 -1
  220. package/dist/cdn/chunks/useEditorCore-D4MytYB9.js.map +0 -1
  221. package/dist/createCloudRuntime-PevFSH74.js +0 -441
  222. package/dist/dist-dNiknO7j.js +0 -251
  223. package/dist/dist-heatwAdo.js +0 -150
@@ -1,21 +1,21 @@
1
- import { Dt as e, c as t, d as n, g as r, j as i, k as a, kt as o, l as s, r as c, rt as l, s as u, v as d, z as f } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
- import { t as p } from "./useI18n-CL6RfPzK.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-DShF3P6k.js";
2
+ import { t as p } from "./useI18n-BbdxxpOE.js";
3
3
  import { p as m } from "./styleConstants-C_YAPdQS.js";
4
- import { t as h } from "./ColorPicker-DtozuN75.js";
5
- import { i as g, n as _, r as v, t as y } from "./FieldRow-BWt7ECqo.js";
4
+ import { t as h } from "./ColorPicker-BqlZ_TqG.js";
5
+ import { i as g, n as _, r as v, t as y } from "./FieldRow-C8nOknr_.js";
6
6
  //#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
7
7
  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 = [
8
8
  "value",
9
9
  "placeholder",
10
10
  "onInput"
11
- ], j = ["value", "placeholder"], M = ["value"], N = /* @__PURE__ */ d({
11
+ ], j = ["value", "placeholder"], M = ["value"], N = /* @__PURE__ */ f({
12
12
  __name: "CountdownToolbar",
13
13
  props: {
14
14
  block: {},
15
15
  fontFamilies: {}
16
16
  },
17
17
  emits: ["update"],
18
- setup(d, { emit: N }) {
18
+ setup(f, { emit: N }) {
19
19
  let P = N, { t: F } = p(), I = [
20
20
  "UTC",
21
21
  "America/New_York",
@@ -50,7 +50,7 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
50
50
  "Hours",
51
51
  "Minutes",
52
52
  "Seconds"
53
- ], z = u(() => R.map((e) => ({
53
+ ], z = d(() => R.map((e) => ({
54
54
  unit: e,
55
55
  showKey: `show${e}`,
56
56
  labelKey: `label${e}`,
@@ -59,34 +59,34 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
59
59
  function B(e, t) {
60
60
  P("update", { [e]: t });
61
61
  }
62
- return (u, p) => (a(), n(c, null, [
63
- r(y, { label: l(F).countdown.targetDate }, {
64
- default: f(() => [t("input", {
62
+ return (d, p) => (e(), a(u, null, [
63
+ o(y, { label: r(F).countdown.targetDate }, {
64
+ default: t(() => [i("input", {
65
65
  type: "datetime-local",
66
- class: e(l(m)),
67
- value: d.block.targetDate,
66
+ class: c(r(m)),
67
+ value: f.block.targetDate,
68
68
  onInput: p[0] ||= (e) => B("targetDate", e.target.value)
69
69
  }, null, 42, b)]),
70
70
  _: 1
71
71
  }, 8, ["label"]),
72
- r(y, { label: l(F).countdown.timezone }, {
73
- default: f(() => [t("select", {
74
- class: e(l(m)),
75
- value: d.block.timezone,
72
+ o(y, { label: r(F).countdown.timezone }, {
73
+ default: t(() => [i("select", {
74
+ class: c(r(m)),
75
+ value: f.block.timezone,
76
76
  onChange: p[1] ||= (e) => B("timezone", e.target.value)
77
- }, [(a(), n(c, null, i(I, (e) => t("option", {
77
+ }, [(e(), a(u, null, n(I, (e) => i("option", {
78
78
  key: e,
79
79
  value: e
80
- }, o(e), 9, S)), 64))], 42, x)]),
80
+ }, s(e), 9, S)), 64))], 42, x)]),
81
81
  _: 1
82
82
  }, 8, ["label"]),
83
- r(y, { label: l(F).countdown.display }, {
84
- default: f(() => [t("div", C, [(a(!0), n(c, null, i(z.value, (e) => (a(), s(g, {
85
- key: e.unit,
83
+ o(y, { label: r(F).countdown.display }, {
84
+ default: t(() => [i("div", C, [(e(!0), a(u, null, n(z.value, (t) => (e(), l(g, {
85
+ key: t.unit,
86
86
  class: "tpl:text-[12px] tpl:text-[var(--tpl-text)]",
87
- "model-value": d.block[e.showKey],
88
- label: l(F).countdown[e.translationKey],
89
- "onUpdate:modelValue": (t) => B(e.showKey, t)
87
+ "model-value": f.block[t.showKey],
88
+ label: r(F).countdown[t.translationKey],
89
+ "onUpdate:modelValue": (e) => B(t.showKey, e)
90
90
  }, null, 8, [
91
91
  "model-value",
92
92
  "label",
@@ -94,37 +94,37 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
94
94
  ]))), 128))])]),
95
95
  _: 1
96
96
  }, 8, ["label"]),
97
- r(y, { label: l(F).countdown.separator }, {
98
- default: f(() => [r(v, {
97
+ o(y, { label: r(F).countdown.separator }, {
98
+ default: t(() => [o(v, {
99
99
  options: L,
100
- "model-value": d.block.separator,
100
+ "model-value": f.block.separator,
101
101
  "onUpdate:modelValue": p[2] ||= (e) => B("separator", e)
102
102
  }, null, 8, ["model-value"])]),
103
103
  _: 1
104
104
  }, 8, ["label"]),
105
- r(y, { label: l(F).countdown.fontFamily }, {
106
- default: f(() => [t("select", {
107
- class: e(l(m)),
108
- value: d.block.fontFamily || "",
105
+ o(y, { label: r(F).countdown.fontFamily }, {
106
+ default: t(() => [i("select", {
107
+ class: c(r(m)),
108
+ value: f.block.fontFamily || "",
109
109
  onChange: p[3] ||= (e) => B("fontFamily", e.target.value || void 0)
110
- }, [t("option", T, o(l(F).countdown.inheritFont), 1), (a(!0), n(c, null, i(d.fontFamilies, (e) => (a(), n("option", {
111
- key: e.value,
112
- value: e.value
113
- }, o(e.label), 9, E))), 128))], 42, w)]),
110
+ }, [i("option", T, s(r(F).countdown.inheritFont), 1), (e(!0), a(u, null, n(f.fontFamilies, (t) => (e(), a("option", {
111
+ key: t.value,
112
+ value: t.value
113
+ }, s(t.label), 9, E))), 128))], 42, w)]),
114
114
  _: 1
115
115
  }, 8, ["label"]),
116
- t("div", D, [r(y, { label: l(F).countdown.digitFontSize }, {
117
- default: f(() => [r(_, {
118
- "model-value": d.block.digitFontSize,
116
+ i("div", D, [o(y, { label: r(F).countdown.digitFontSize }, {
117
+ default: t(() => [o(_, {
118
+ "model-value": f.block.digitFontSize,
119
119
  min: 12,
120
120
  max: 72,
121
121
  suffix: "px",
122
122
  "onUpdate:modelValue": p[4] ||= (e) => B("digitFontSize", e)
123
123
  }, null, 8, ["model-value"])]),
124
124
  _: 1
125
- }, 8, ["label"]), r(y, { label: l(F).countdown.labelFontSize }, {
126
- default: f(() => [r(_, {
127
- "model-value": d.block.labelFontSize,
125
+ }, 8, ["label"]), o(y, { label: r(F).countdown.labelFontSize }, {
126
+ default: t(() => [o(_, {
127
+ "model-value": f.block.labelFontSize,
128
128
  min: 8,
129
129
  max: 24,
130
130
  suffix: "px",
@@ -132,61 +132,61 @@ var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid
132
132
  }, null, 8, ["model-value"])]),
133
133
  _: 1
134
134
  }, 8, ["label"])]),
135
- t("div", O, [r(y, { label: l(F).countdown.digitColor }, {
136
- default: f(() => [r(h, {
137
- "model-value": d.block.digitColor,
135
+ i("div", O, [o(y, { label: r(F).countdown.digitColor }, {
136
+ default: t(() => [o(h, {
137
+ "model-value": f.block.digitColor,
138
138
  "onUpdate:modelValue": p[6] ||= (e) => B("digitColor", e)
139
139
  }, null, 8, ["model-value"])]),
140
140
  _: 1
141
- }, 8, ["label"]), r(y, { label: l(F).countdown.labelColor }, {
142
- default: f(() => [r(h, {
143
- "model-value": d.block.labelColor,
141
+ }, 8, ["label"]), o(y, { label: r(F).countdown.labelColor }, {
142
+ default: t(() => [o(h, {
143
+ "model-value": f.block.labelColor,
144
144
  "onUpdate:modelValue": p[7] ||= (e) => B("labelColor", e)
145
145
  }, null, 8, ["model-value"])]),
146
146
  _: 1
147
147
  }, 8, ["label"])]),
148
- r(y, { label: l(F).countdown.background }, {
149
- default: f(() => [r(h, {
150
- "model-value": d.block.backgroundColor,
148
+ o(y, { label: r(F).countdown.background }, {
149
+ default: t(() => [o(h, {
150
+ "model-value": f.block.backgroundColor,
151
151
  "onUpdate:modelValue": p[8] ||= (e) => B("backgroundColor", e)
152
152
  }, null, 8, ["model-value"])]),
153
153
  _: 1
154
154
  }, 8, ["label"]),
155
- r(y, { label: l(F).countdown.labels }, {
156
- default: f(() => [t("div", k, [(a(!0), n(c, null, i(z.value, (t) => (a(), n("input", {
155
+ o(y, { label: r(F).countdown.labels }, {
156
+ default: t(() => [i("div", k, [(e(!0), a(u, null, n(z.value, (t) => (e(), a("input", {
157
157
  key: t.unit,
158
158
  type: "text",
159
- class: e(l(m)),
160
- value: d.block[t.labelKey],
161
- placeholder: l(F).countdown[t.translationKey],
159
+ class: c(r(m)),
160
+ value: f.block[t.labelKey],
161
+ placeholder: r(F).countdown[t.translationKey],
162
162
  onInput: (e) => B(t.labelKey, e.target.value)
163
163
  }, null, 42, A))), 128))])]),
164
164
  _: 1
165
165
  }, 8, ["label"]),
166
- r(y, { label: l(F).countdown.expiry }, {
167
- default: f(() => [t("input", {
166
+ o(y, { label: r(F).countdown.expiry }, {
167
+ default: t(() => [i("input", {
168
168
  type: "text",
169
- class: e(l(m)),
170
- value: d.block.expiredMessage,
171
- placeholder: l(F).countdown.expiredMessagePlaceholder,
169
+ class: c(r(m)),
170
+ value: f.block.expiredMessage,
171
+ placeholder: r(F).countdown.expiredMessagePlaceholder,
172
172
  onInput: p[9] ||= (e) => B("expiredMessage", e.target.value)
173
173
  }, null, 42, j)]),
174
174
  _: 1
175
175
  }, 8, ["label"]),
176
- r(y, { label: l(F).countdown.expiredImageUrl }, {
177
- default: f(() => [t("input", {
176
+ o(y, { label: r(F).countdown.expiredImageUrl }, {
177
+ default: t(() => [i("input", {
178
178
  type: "url",
179
- class: e(l(m)),
180
- value: d.block.expiredImageUrl,
179
+ class: c(r(m)),
180
+ value: f.block.expiredImageUrl,
181
181
  placeholder: "https://...",
182
182
  onInput: p[10] ||= (e) => B("expiredImageUrl", e.target.value)
183
183
  }, null, 42, M)]),
184
184
  _: 1
185
185
  }, 8, ["label"]),
186
- r(g, {
186
+ o(g, {
187
187
  class: "tpl:mb-3.5 tpl:text-[12px] tpl:text-[var(--tpl-text)]",
188
- "model-value": d.block.hideOnExpiry,
189
- label: l(F).countdown.hideOnExpiry,
188
+ "model-value": f.block.hideOnExpiry,
189
+ label: r(F).countdown.hideOnExpiry,
190
190
  "onUpdate:modelValue": p[11] ||= (e) => B("hideOnExpiry", e)
191
191
  }, null, 8, ["model-value", "label"])
192
192
  ], 64));
@@ -1,17 +1,17 @@
1
- import { B as e, Dt as t, E as n, L as r, Ot as i, X as a, c as o, d as s, g as c, h as l, k as u, kt as d, l as ee, rt as f, s as te, u as p, v as m, z as ne } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
2
- import { a as re, t as ie } from "./runtime-dom.esm-bundler-BuG03jBM.js";
3
- import { J as h, h as ae, i as oe } from "./keys-C3P1yxnr.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 ne, l as re, s as ie, u as d, v as f } from "./vue.runtime.esm-bundler-DShF3P6k.js";
2
+ import { a as ae, t as oe } from "./runtime-dom.esm-bundler-PnoZU512.js";
3
+ import { Y as p, g as se, i as ce } from "./keys-DQA2i1k1.js";
4
4
  import "./timeouts-DHPZQ0G3.js";
5
- import { t as g } from "./createLucideIcon-05lB8iWe.js";
6
- import { t as se } from "./circle-alert-L5uGGFRP.js";
7
- import { t as _ } from "./image-up-ovhjl9u9.js";
8
- import { t as ce } from "./upload-DKgg1gno.js";
9
- import { t as v } from "./x-BPKoRPTG.js";
10
- import { t as le } from "./LoadingTrack-SQXoZVf2.js";
11
- import { t as y } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { n as ue } from "./useCloudI18n-BKoiYsWZ.js";
13
- import { g as de } from "./cloud-B1c4XIsn.js";
14
- var fe = g({
5
+ import { t as m } from "./createLucideIcon-Cwf_nTzE.js";
6
+ import { t as le } from "./circle-alert-CjzUTwy3.js";
7
+ import { t as h } from "./image-up-gH4JEpU5.js";
8
+ import { t as ue } from "./upload-DusKjpVr.js";
9
+ import { t as g } from "./x-D_-42Ukq.js";
10
+ import { t as de } from "./LoadingTrack-BlTL4zFv.js";
11
+ import { t as _ } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { n as fe } from "./useCloudI18n-BLyh_e2T.js";
13
+ import { _ as pe } from "./cloud-DdidMW6f.js";
14
+ var me = m({
15
15
  name: "file-image",
16
16
  size: 24,
17
17
  node: [
@@ -34,7 +34,7 @@ var fe = g({
34
34
  key: "wt3hpn"
35
35
  }]
36
36
  ]
37
- }), b = g({
37
+ }), v = m({
38
38
  name: "file-text",
39
39
  size: 24,
40
40
  node: [
@@ -59,10 +59,10 @@ var fe = g({
59
59
  key: "z1uh3a"
60
60
  }]
61
61
  ]
62
- }), pe = {
62
+ }), he = {
63
63
  key: 0,
64
64
  class: "tpl-design-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
65
- }, me = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, he = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, ge = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, x = {
65
+ }, ge = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, y = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, b = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, x = {
66
66
  key: 0,
67
67
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
68
68
  }, S = { class: "tpl:flex tpl:w-full tpl:flex-col tpl:items-center tpl:gap-3" }, C = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, w = {
@@ -80,19 +80,19 @@ var fe = g({
80
80
  }, _e = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text)]" }, ve = { class: "tpl:flex tpl:gap-2" }, ye = {
81
81
  key: 1,
82
82
  class: "tpl:flex tpl:items-start tpl:gap-2 tpl:rounded-lg tpl:px-3 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
83
- }, be = ["disabled"], xe = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, R = /*#__PURE__*/ y(/* @__PURE__ */ m({
83
+ }, be = ["disabled"], xe = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, R = /*#__PURE__*/ _(/* @__PURE__ */ f({
84
84
  __name: "DesignReferenceSidebar",
85
85
  props: {
86
86
  visible: { type: Boolean },
87
87
  hasExistingBlocks: { type: Boolean }
88
88
  },
89
89
  emits: ["close", "apply"],
90
- setup(m, { emit: g }) {
91
- let y = m, R = g, { t: z } = ue(), Se = h(ae, "DesignReferenceSidebar"), Ce = h(oe, "DesignReferenceSidebar"), B = de({
90
+ setup(f, { emit: m }) {
91
+ let _ = f, R = m, { t: z } = fe(), Se = p(se, "DesignReferenceSidebar"), Ce = p(ce, "DesignReferenceSidebar"), B = pe({
92
92
  authManager: Ce,
93
93
  getTemplateId: () => Se.state.template?.id ?? null,
94
94
  onApply: (e) => R("apply", e)
95
- }), V = a(null), H = a("image"), U = a(null), W = a(""), G = a(null), K = a(!1), q = a(!1), J = te(() => !B.isGenerating.value && U.value !== null);
95
+ }), V = i(null), H = i("image"), U = i(null), W = i(""), G = i(null), K = i(!1), q = i(!1), J = ie(() => !B.isGenerating.value && U.value !== null);
96
96
  function Y(e) {
97
97
  H.value = e, Z();
98
98
  }
@@ -137,7 +137,7 @@ var fe = g({
137
137
  }
138
138
  function $() {
139
139
  if (!J.value) return;
140
- if (y.hasExistingBlocks && !K.value) {
140
+ if (_.hasExistingBlocks && !K.value) {
141
141
  K.value = !0;
142
142
  return;
143
143
  }
@@ -148,11 +148,11 @@ var fe = g({
148
148
  function De() {
149
149
  K.value = !1;
150
150
  }
151
- return r(() => y.visible, (e) => {
151
+ return r(() => _.visible, (e) => {
152
152
  e || (K.value = !1);
153
- }), n(() => {
153
+ }), ee(() => {
154
154
  G.value &&= (URL.revokeObjectURL(G.value), null);
155
- }), (n, r) => (u(), ee(ie, {
155
+ }), (ee, r) => (e(), re(oe, {
156
156
  "enter-active-class": "tpl-design-slide-enter-active",
157
157
  "enter-from-class": "tpl:translate-x-full",
158
158
  "enter-to-class": "tpl:translate-x-0",
@@ -160,58 +160,58 @@ var fe = g({
160
160
  "leave-from-class": "tpl:translate-x-0",
161
161
  "leave-to-class": "tpl:translate-x-full"
162
162
  }, {
163
- default: ne(() => [m.visible ? (u(), s("div", pe, [o("div", me, [o("div", he, [c(f(_), {
163
+ default: n(() => [f.visible ? (e(), s("div", he, [o("div", ge, [o("div", y, [c(a(h), {
164
164
  size: 13,
165
165
  "stroke-width": 2
166
- }), o("span", null, d(f(z).designReference.title), 1)]), o("button", {
166
+ }), o("span", null, u(a(z).designReference.title), 1)]), o("button", {
167
167
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
168
168
  onClick: r[0] ||= (e) => R("close")
169
- }, [c(f(v), {
169
+ }, [c(a(g), {
170
170
  size: 14,
171
171
  "stroke-width": 2
172
- })])]), o("div", ge, [f(B).isGenerating.value ? (u(), s("div", x, [o("div", S, [c(le), o("p", C, d(f(z).designReference.generating), 1)])])) : (u(), s("div", w, [
172
+ })])]), o("div", b, [a(B).isGenerating.value ? (e(), s("div", x, [o("div", S, [c(de), o("p", C, u(a(z).designReference.generating), 1)])])) : (e(), s("div", w, [
173
173
  o("div", T, [o("button", {
174
174
  class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all",
175
- style: i({
175
+ style: t({
176
176
  backgroundColor: H.value === "image" ? "var(--tpl-bg)" : "transparent",
177
177
  color: H.value === "image" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
178
178
  boxShadow: H.value === "image" ? "var(--tpl-shadow)" : "none"
179
179
  }),
180
180
  onClick: r[1] ||= (e) => Y("image")
181
- }, [c(f(fe), {
181
+ }, [c(a(me), {
182
182
  size: 12,
183
183
  "stroke-width": 2
184
- }), l(" " + d(f(z).designReference.uploadImage), 1)], 4), o("button", {
184
+ }), l(" " + u(a(z).designReference.uploadImage), 1)], 4), o("button", {
185
185
  class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all",
186
- style: i({
186
+ style: t({
187
187
  backgroundColor: H.value === "pdf" ? "var(--tpl-bg)" : "transparent",
188
188
  color: H.value === "pdf" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
189
189
  boxShadow: H.value === "pdf" ? "var(--tpl-shadow)" : "none"
190
190
  }),
191
191
  onClick: r[2] ||= (e) => Y("pdf")
192
- }, [c(f(b), {
192
+ }, [c(a(v), {
193
193
  size: 12,
194
194
  "stroke-width": 2
195
- }), l(" " + d(f(z).designReference.uploadPdf), 1)], 4)]),
196
- o("div", null, [U.value ? (u(), s("div", E, [o("div", D, [G.value ? (u(), s("img", {
195
+ }), l(" " + u(a(z).designReference.uploadPdf), 1)], 4)]),
196
+ o("div", null, [U.value ? (e(), s("div", E, [o("div", D, [G.value ? (e(), s("img", {
197
197
  key: 0,
198
198
  src: G.value,
199
199
  alt: U.value.name,
200
200
  class: "tpl:h-auto tpl:max-h-48 tpl:w-full tpl:object-contain"
201
- }, null, 8, O)) : (u(), s("div", k, [c(f(b), {
201
+ }, null, 8, O)) : (e(), s("div", k, [c(a(v), {
202
202
  size: 32,
203
203
  "stroke-width": 1.5,
204
204
  class: "tpl:text-[var(--tpl-text-dim)]"
205
- }), o("span", A, d(U.value.name), 1)])), o("button", {
205
+ }), o("span", A, u(U.value.name), 1)])), o("button", {
206
206
  class: "tpl:absolute tpl:top-2 tpl:right-2 tpl:rounded-full tpl:p-1 tpl:transition-colors tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:shadow-[var(--tpl-shadow)]",
207
207
  onClick: Z
208
- }, [c(f(v), {
208
+ }, [c(a(g), {
209
209
  size: 12,
210
210
  "stroke-width": 2
211
- })])])])) : (u(), s("div", {
211
+ })])])])) : (e(), s("div", {
212
212
  key: 1,
213
213
  class: "tpl-design-dropzone tpl:flex tpl:cursor-pointer tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border-2 tpl:border-dashed tpl:px-4 tpl:py-8 tpl:transition-colors",
214
- style: i({
214
+ style: t({
215
215
  borderColor: q.value ? "var(--tpl-primary)" : "var(--tpl-border-light)",
216
216
  backgroundColor: q.value ? "var(--tpl-primary-light)" : "var(--tpl-bg)"
217
217
  }),
@@ -220,13 +220,13 @@ var fe = g({
220
220
  onDragleave: Te,
221
221
  onDrop: Ee
222
222
  }, [
223
- c(f(ce), {
223
+ c(a(ue), {
224
224
  size: 24,
225
225
  "stroke-width": 1.5,
226
226
  class: "tpl:text-[var(--tpl-text-dim)]"
227
227
  }),
228
- o("span", j, d(f(z).designReference.dropHint), 1),
229
- o("span", M, d(H.value === "image" ? f(z).designReference.acceptedImages : f(z).designReference.acceptedPdf), 1)
228
+ o("span", j, u(a(z).designReference.dropHint), 1),
229
+ o("span", M, u(H.value === "image" ? a(z).designReference.acceptedImages : a(z).designReference.acceptedPdf), 1)
230
230
  ], 36)), o("input", {
231
231
  ref_key: "fileInput",
232
232
  ref: V,
@@ -235,36 +235,36 @@ var fe = g({
235
235
  accept: H.value === "image" ? "image/png,image/jpeg,image/webp" : "application/pdf",
236
236
  onChange: we
237
237
  }, null, 40, N)]),
238
- o("div", P, [o("label", F, d(f(z).designReference.promptLabel), 1), e(o("textarea", {
238
+ o("div", P, [o("label", F, u(a(z).designReference.promptLabel), 1), te(o("textarea", {
239
239
  "onUpdate:modelValue": r[4] ||= (e) => W.value = e,
240
- class: t(["tpl:min-h-[72px] tpl:w-full tpl:resize-none tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:font-sans tpl:text-sm tpl:outline-none tpl:transition-colors tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", ["tpl-design-prompt-input"]]),
241
- placeholder: f(z).designReference.promptPlaceholder,
240
+ class: ne(["tpl:min-h-[72px] tpl:w-full tpl:resize-none tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:font-sans tpl:text-sm tpl:outline-none tpl:transition-colors tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", ["tpl-design-prompt-input"]]),
241
+ placeholder: a(z).designReference.promptPlaceholder,
242
242
  rows: "3"
243
- }, null, 8, I), [[re, W.value]])]),
244
- K.value ? (u(), s("div", L, [o("p", _e, d(f(z).designReference.replaceWarning), 1), o("div", ve, [o("button", {
243
+ }, null, 8, I), [[ae, W.value]])]),
244
+ K.value ? (e(), s("div", L, [o("p", _e, u(a(z).designReference.replaceWarning), 1), o("div", ve, [o("button", {
245
245
  class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:text-[var(--tpl-text-muted)] tpl:border tpl:border-[var(--tpl-border)]",
246
246
  style: { "background-color": "transparent" },
247
247
  onClick: De
248
- }, d(f(z).designReference.replaceCancel), 1), o("button", {
248
+ }, u(a(z).designReference.replaceCancel), 1), o("button", {
249
249
  class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:hover:opacity-90 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
250
250
  onClick: $
251
- }, d(f(z).designReference.replaceConfirm), 1)])])) : p("", !0),
252
- f(B).error.value ? (u(), s("div", ye, [c(f(se), {
251
+ }, u(a(z).designReference.replaceConfirm), 1)])])) : d("", !0),
252
+ a(B).error.value ? (e(), s("div", ye, [c(a(le), {
253
253
  size: 14,
254
254
  "stroke-width": 2,
255
255
  class: "tpl:mt-0.5 tpl:shrink-0"
256
- }), o("span", null, d(f(z).designReference.error), 1)])) : p("", !0),
257
- K.value ? p("", !0) : (u(), s("button", {
256
+ }), o("span", null, u(a(z).designReference.error), 1)])) : d("", !0),
257
+ K.value ? d("", !0) : (e(), s("button", {
258
258
  key: 2,
259
259
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:hover:opacity-90 tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]",
260
260
  disabled: !J.value,
261
261
  onClick: $
262
- }, [c(f(_), {
262
+ }, [c(a(h), {
263
263
  size: 16,
264
264
  "stroke-width": 2
265
- }), l(" " + d(f(z).designReference.generate), 1)], 8, be)),
266
- o("p", xe, d(f(z).aiMenu.disclaimer), 1)
267
- ]))])])) : p("", !0)]),
265
+ }), l(" " + u(a(z).designReference.generate), 1)], 8, be)),
266
+ o("p", xe, u(a(z).aiMenu.disclaimer), 1)
267
+ ]))])])) : d("", !0)]),
268
268
  _: 1
269
269
  }));
270
270
  }
@@ -1,4 +1,4 @@
1
- import { Dt as e, M as t, Ot as n, P as r, c as i, d as a, h as o, j as s, k as c, kt as l, l as u, r as d, rt as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
1
+ import { A as e, At as t, F as n, M as r, N as i, at as a, c as o, d 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-DShF3P6k.js";
2
2
  import { g, h as _, m as v } from "./styleConstants-C_YAPdQS.js";
3
3
  //#region src/components/ToggleSwitch.vue?vue&type=script&setup=true&lang.ts
4
4
  var y = { key: 0 }, b = {
@@ -17,21 +17,21 @@ var y = { key: 0 }, b = {
17
17
  required: { type: Boolean }
18
18
  },
19
19
  emits: ["update:modelValue"],
20
- setup(n, { emit: r }) {
21
- let s = r;
22
- return (r, u) => (c(), a("label", { class: e(["tpl:flex tpl:items-center tpl:justify-between tpl:gap-2", n.disabled ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer"]) }, [r.$slots.default || n.label || n.required ? (c(), a("span", y, [t(r.$slots, "default", {}, () => [o(l(n.label), 1)]), n.required ? (c(), a("span", b, " *")) : m("", !0)])) : m("", !0), i("button", {
20
+ setup(t, { emit: n }) {
21
+ let r = n;
22
+ return (n, a) => (e(), s("label", { class: u(["tpl:flex tpl:items-center tpl:justify-between tpl:gap-2", t.disabled ? "tpl:cursor-not-allowed" : "tpl:cursor-pointer"]) }, [n.$slots.default || t.label || t.required ? (e(), s("span", y, [i(n.$slots, "default", {}, () => [c(l(t.label), 1)]), t.required ? (e(), s("span", b, " *")) : m("", !0)])) : m("", !0), o("button", {
23
23
  type: "button",
24
24
  role: "switch",
25
- "aria-checked": n.modelValue,
26
- "aria-label": n.label,
27
- disabled: n.disabled,
28
- class: e([
25
+ "aria-checked": t.modelValue,
26
+ "aria-label": t.label,
27
+ disabled: t.disabled,
28
+ class: u([
29
29
  "tpl:relative tpl:inline-flex tpl:h-5 tpl:w-9 tpl:shrink-0 tpl:rounded-full tpl:border-2 tpl:border-transparent tpl:transition-colors tpl:duration-200",
30
- n.modelValue ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-border)]",
31
- n.disabled ? "tpl:cursor-not-allowed tpl:opacity-60" : "tpl:cursor-pointer"
30
+ t.modelValue ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-border)]",
31
+ t.disabled ? "tpl:cursor-not-allowed tpl:opacity-60" : "tpl:cursor-pointer"
32
32
  ]),
33
- onClick: u[0] ||= (e) => !n.disabled && s("update:modelValue", !n.modelValue)
34
- }, [i("span", { class: e(["tpl:pointer-events-none tpl:inline-block tpl:size-4 tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow)] tpl:transition-transform tpl:duration-200", n.modelValue ? "tpl:translate-x-4" : "tpl:translate-x-0"]) }, null, 2)], 10, x)], 2));
33
+ onClick: a[0] ||= (e) => !t.disabled && r("update:modelValue", !t.modelValue)
34
+ }, [o("span", { class: u(["tpl:pointer-events-none tpl:inline-block tpl:size-4 tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow)] tpl:transition-transform tpl:duration-200", t.modelValue ? "tpl:translate-x-4" : "tpl:translate-x-0"]) }, null, 2)], 10, x)], 2));
35
35
  }
36
36
  }), C = [
37
37
  "aria-checked",
@@ -45,43 +45,43 @@ var y = { key: 0 }, b = {
45
45
  modelValue: {}
46
46
  },
47
47
  emits: ["update:modelValue"],
48
- setup(e, { emit: t }) {
49
- let i = e, o = t, f = p(() => i.options.findIndex((e) => e.value === i.modelValue)), h = p(() => `translateX(${Math.max(f.value, 0) * 100}%)`);
50
- return (t, i) => (c(), a("div", {
48
+ setup(i, { emit: a }) {
49
+ let o = i, c = a, u = p(() => o.options.findIndex((e) => e.value === o.modelValue)), h = p(() => `translateX(${Math.max(u.value, 0) * 100}%)`);
50
+ return (a, o) => (e(), s("div", {
51
51
  role: "radiogroup",
52
52
  class: "tpl:relative tpl:grid tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1",
53
- style: n({
54
- gridTemplateColumns: `repeat(${e.options.length}, 1fr)`,
53
+ style: t({
54
+ gridTemplateColumns: `repeat(${i.options.length}, 1fr)`,
55
55
  backgroundColor: "var(--tpl-bg-hover)"
56
56
  })
57
- }, [f.value >= 0 ? (c(), a("div", {
57
+ }, [u.value >= 0 ? (e(), s("div", {
58
58
  key: 0,
59
59
  class: "tpl:absolute tpl:inset-y-1 tpl:rounded-[var(--tpl-radius-sm)]",
60
- style: n({
60
+ style: t({
61
61
  left: "4px",
62
- width: `calc((100% - 8px) / ${e.options.length})`,
62
+ width: `calc((100% - 8px) / ${i.options.length})`,
63
63
  transform: h.value,
64
64
  backgroundColor: "var(--tpl-bg)",
65
65
  boxShadow: "var(--tpl-shadow)",
66
66
  transition: "transform 120ms cubic-bezier(0.16, 1, 0.3, 1)"
67
67
  })
68
- }, null, 4)) : m("", !0), (c(!0), a(d, null, s(e.options, (t) => (c(), a("button", {
69
- key: t.value,
68
+ }, null, 4)) : m("", !0), (e(!0), s(f, null, r(i.options, (r) => (e(), s("button", {
69
+ key: r.value,
70
70
  role: "radio",
71
- "aria-checked": e.modelValue === t.value,
72
- "aria-label": t.label,
71
+ "aria-checked": i.modelValue === r.value,
72
+ "aria-label": r.label,
73
73
  class: "tpl:relative tpl:z-10 tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:py-[5px] tpl:text-xs tpl:font-medium",
74
- style: n({
75
- color: e.modelValue === t.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
74
+ style: t({
75
+ color: i.modelValue === r.value ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
76
76
  transition: "color 120ms cubic-bezier(0.16, 1, 0.3, 1)"
77
77
  }),
78
- title: t.label,
79
- onClick: (e) => o("update:modelValue", t.value)
80
- }, [t.icon ? (c(), u(r(t.icon), {
78
+ title: r.label,
79
+ onClick: (e) => c("update:modelValue", r.value)
80
+ }, [r.icon ? (e(), d(n(r.icon), {
81
81
  key: 0,
82
82
  size: 14,
83
83
  "stroke-width": 2
84
- })) : (c(), a("span", w, l(t.label), 1))], 12, C))), 128))], 4));
84
+ })) : (e(), s("span", w, l(r.label), 1))], 12, C))), 128))], 4));
85
85
  }
86
86
  }), E = { class: "tpl:flex tpl:items-stretch" }, D = [
87
87
  "data-testid",
@@ -100,28 +100,28 @@ var y = { key: 0 }, b = {
100
100
  emits: ["update:modelValue"],
101
101
  setup(t, { emit: n }) {
102
102
  let r = n;
103
- function o(e) {
103
+ function i(e) {
104
104
  let t = e.target;
105
105
  t.validity?.badInput || r("update:modelValue", Number(t.value));
106
106
  }
107
- return (n, r) => (c(), a("div", E, [i("input", {
107
+ return (n, r) => (e(), s("div", E, [o("input", {
108
108
  type: "number",
109
109
  "data-testid": t.testid,
110
- class: e(f(v)),
110
+ class: u(a(v)),
111
111
  value: t.modelValue,
112
112
  min: t.min,
113
113
  max: t.max,
114
- onInput: o
115
- }, null, 42, D), i("span", { class: e(f(_)) }, l(t.suffix), 3)]));
114
+ onInput: i
115
+ }, null, 42, D), o("span", { class: u(a(_)) }, l(t.suffix), 3)]));
116
116
  }
117
117
  }), k = { class: "tpl:mb-3.5" }, A = /* @__PURE__ */ h({
118
118
  __name: "FieldRow",
119
119
  props: { label: {} },
120
- setup(n) {
121
- return (r, i) => (c(), a("div", k, [n.label ? (c(), a("label", {
120
+ setup(t) {
121
+ return (n, r) => (e(), s("div", k, [t.label ? (e(), s("label", {
122
122
  key: 0,
123
- class: e(f(g))
124
- }, l(n.label), 3)) : m("", !0), t(r.$slots, "default")]));
123
+ class: u(a(g))
124
+ }, l(t.label), 3)) : m("", !0), i(n.$slots, "default")]));
125
125
  }
126
126
  });
127
127
  //#endregion