@emailmaker/emailmaker 1.0.31 → 1.0.33

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 (392) hide show
  1. package/README.md +1 -1
  2. package/iframe/{iframe-eblock.b53500d17048c23a89cc.html → iframe-eblock.a8bef4943d19ed8120eb.html} +1 -1
  3. package/iframe/{iframe.b53500d17048c23a89cc.html → iframe.a8bef4943d19ed8120eb.html} +1 -1
  4. package/iframe/js/cssbeautify.js +1 -1
  5. package/iframe/sandbox-eblock.js +1 -1
  6. package/iframe/sandbox.js +1 -1
  7. package/package.json +1 -1
  8. package/translations.pot +34 -34
  9. package/asset-manifest.json +0 -373
  10. package/css.worker.js +0 -2
  11. package/css.worker.js.LICENSE.txt +0 -6
  12. package/editor.worker.js +0 -1
  13. package/emailmaker-esm.js +0 -1
  14. package/emailmaker.d.ts +0 -1055
  15. package/emailmaker.js +0 -1
  16. package/html.worker.js +0 -2
  17. package/html.worker.js.LICENSE.txt +0 -14
  18. package/iframe/429.js +0 -1
  19. package/json.worker.js +0 -2
  20. package/json.worker.js.LICENSE.txt +0 -6
  21. package/plugin.html +0 -273
  22. package/plugin_blocks_test.html +0 -144
  23. package/plugin_default.html +0 -56
  24. package/plugin_s.html +0 -31
  25. package/static/css/1795.3b54559d.css +0 -1
  26. package/static/css/2256.d0db3199.css +0 -1
  27. package/static/css/3215.3a2b7cfe.css +0 -1
  28. package/static/css/4877.237f7f6b.css +0 -1
  29. package/static/css/5571.4415a91e.css +0 -1
  30. package/static/css/698.9a48c3be.css +0 -1
  31. package/static/css/984.b0f773d2.css +0 -1
  32. package/static/js/1028.4360e11f.js +0 -1
  33. package/static/js/1052.d1f85a29.js +0 -1
  34. package/static/js/1101.c32ce4f7.chunk.js +0 -2
  35. package/static/js/1101.c32ce4f7.chunk.js.LICENSE.txt +0 -6
  36. package/static/js/119.9a0f51df.chunk.js +0 -2
  37. package/static/js/119.9a0f51df.chunk.js.LICENSE.txt +0 -6
  38. package/static/js/1197.7e9444b1.js +0 -1
  39. package/static/js/1212.15b852ca.js +0 -1
  40. package/static/js/127.9f5a0761.chunk.js +0 -2
  41. package/static/js/127.9f5a0761.chunk.js.LICENSE.txt +0 -6
  42. package/static/js/1271.d2ba7d58.chunk.js +0 -2
  43. package/static/js/1271.d2ba7d58.chunk.js.LICENSE.txt +0 -6
  44. package/static/js/1283.b7058deb.chunk.js +0 -2
  45. package/static/js/1283.b7058deb.chunk.js.LICENSE.txt +0 -6
  46. package/static/js/1307.74cb7b10.js +0 -1
  47. package/static/js/1366.f647b62f.js +0 -2
  48. package/static/js/1366.f647b62f.js.LICENSE.txt +0 -6
  49. package/static/js/1399.cb6eb2fa.js +0 -1
  50. package/static/js/1403.68211890.js +0 -1
  51. package/static/js/1472.c8712709.js +0 -1
  52. package/static/js/1619.bb9c2d4f.chunk.js +0 -2
  53. package/static/js/1619.bb9c2d4f.chunk.js.LICENSE.txt +0 -6
  54. package/static/js/1663.cd15901b.chunk.js +0 -2
  55. package/static/js/1663.cd15901b.chunk.js.LICENSE.txt +0 -6
  56. package/static/js/1667.101647da.js +0 -1
  57. package/static/js/1729.b71e4a99.chunk.js +0 -1
  58. package/static/js/1792.c02dd1d4.js +0 -1
  59. package/static/js/1795.da1917e4.js +0 -1
  60. package/static/js/1818.053eb89f.chunk.js +0 -2
  61. package/static/js/1818.053eb89f.chunk.js.LICENSE.txt +0 -6
  62. package/static/js/1821.a8efb62e.chunk.js +0 -2
  63. package/static/js/1821.a8efb62e.chunk.js.LICENSE.txt +0 -6
  64. package/static/js/197.a135382e.js +0 -1
  65. package/static/js/2016.e08ef9ce.js +0 -1
  66. package/static/js/2029.041a1c1a.chunk.js +0 -2
  67. package/static/js/2029.041a1c1a.chunk.js.LICENSE.txt +0 -6
  68. package/static/js/2179.73130a54.chunk.js +0 -2
  69. package/static/js/2179.73130a54.chunk.js.LICENSE.txt +0 -6
  70. package/static/js/222.280bf6b3.js +0 -1
  71. package/static/js/2223.17806e9a.js +0 -2
  72. package/static/js/2223.17806e9a.js.LICENSE.txt +0 -10
  73. package/static/js/2225.d78bdfb7.js +0 -1
  74. package/static/js/2256.225fba63.js +0 -1
  75. package/static/js/227.5fd33eeb.chunk.js +0 -2
  76. package/static/js/227.5fd33eeb.chunk.js.LICENSE.txt +0 -10
  77. package/static/js/2464.2c009f8c.js +0 -2
  78. package/static/js/2464.2c009f8c.js.LICENSE.txt +0 -6
  79. package/static/js/2475.c86d0c20.chunk.js +0 -2
  80. package/static/js/2475.c86d0c20.chunk.js.LICENSE.txt +0 -6
  81. package/static/js/2547.9cdcf5fd.chunk.js +0 -2
  82. package/static/js/2547.9cdcf5fd.chunk.js.LICENSE.txt +0 -6
  83. package/static/js/2581.4558746b.chunk.js +0 -2
  84. package/static/js/2581.4558746b.chunk.js.LICENSE.txt +0 -6
  85. package/static/js/2582.d77da683.js +0 -2
  86. package/static/js/2582.d77da683.js.LICENSE.txt +0 -31
  87. package/static/js/2642.53da04d8.js +0 -1
  88. package/static/js/2675.dbe09fe1.chunk.js +0 -2
  89. package/static/js/2675.dbe09fe1.chunk.js.LICENSE.txt +0 -6
  90. package/static/js/2851.fea52359.chunk.js +0 -2
  91. package/static/js/2851.fea52359.chunk.js.LICENSE.txt +0 -6
  92. package/static/js/2896.fac80e3c.js +0 -2
  93. package/static/js/2896.fac80e3c.js.LICENSE.txt +0 -6
  94. package/static/js/2935.c0d4b469.chunk.js +0 -2
  95. package/static/js/2935.c0d4b469.chunk.js.LICENSE.txt +0 -6
  96. package/static/js/2951.3f25f72c.chunk.js +0 -2
  97. package/static/js/2951.3f25f72c.chunk.js.LICENSE.txt +0 -6
  98. package/static/js/3041.e05fa027.js +0 -1
  99. package/static/js/3068.591718b0.chunk.js +0 -2
  100. package/static/js/3068.591718b0.chunk.js.LICENSE.txt +0 -6
  101. package/static/js/3142.6792174f.js +0 -1
  102. package/static/js/3148.2e2f27ce.js +0 -1
  103. package/static/js/3299.983ba49b.chunk.js +0 -2
  104. package/static/js/3299.983ba49b.chunk.js.LICENSE.txt +0 -6
  105. package/static/js/3303.576ded0e.js +0 -1
  106. package/static/js/3447.2a559817.chunk.js +0 -2
  107. package/static/js/3447.2a559817.chunk.js.LICENSE.txt +0 -6
  108. package/static/js/353.3e6b29fb.js +0 -1
  109. package/static/js/3555.3ae2b597.chunk.js +0 -2
  110. package/static/js/3555.3ae2b597.chunk.js.LICENSE.txt +0 -6
  111. package/static/js/3651.8f2624f3.js +0 -1
  112. package/static/js/3682.d155b110.js +0 -2
  113. package/static/js/3682.d155b110.js.LICENSE.txt +0 -18
  114. package/static/js/3683.9414adf5.chunk.js +0 -2
  115. package/static/js/3683.9414adf5.chunk.js.LICENSE.txt +0 -6
  116. package/static/js/3704.aef08abb.js +0 -1
  117. package/static/js/3763.5f775790.chunk.js +0 -2
  118. package/static/js/3763.5f775790.chunk.js.LICENSE.txt +0 -6
  119. package/static/js/3768.f13fcea4.js +0 -1
  120. package/static/js/393.2f571faf.chunk.js +0 -2
  121. package/static/js/393.2f571faf.chunk.js.LICENSE.txt +0 -6
  122. package/static/js/3960.89f3c9f4.chunk.js +0 -2
  123. package/static/js/3960.89f3c9f4.chunk.js.LICENSE.txt +0 -6
  124. package/static/js/3991.d0073826.js +0 -1
  125. package/static/js/4001.0602b191.chunk.js +0 -2
  126. package/static/js/4001.0602b191.chunk.js.LICENSE.txt +0 -6
  127. package/static/js/4047.25747214.chunk.js +0 -2
  128. package/static/js/4047.25747214.chunk.js.LICENSE.txt +0 -6
  129. package/static/js/4087.48b614cb.js +0 -1
  130. package/static/js/4122.efa76a71.js +0 -1
  131. package/static/js/4159.cd6afba9.chunk.js +0 -2
  132. package/static/js/4159.cd6afba9.chunk.js.LICENSE.txt +0 -6
  133. package/static/js/4231.0dca1f81.js +0 -1
  134. package/static/js/4299.440bc3d2.chunk.js +0 -2
  135. package/static/js/4299.440bc3d2.chunk.js.LICENSE.txt +0 -6
  136. package/static/js/4325.e27cebb3.chunk.js +0 -2
  137. package/static/js/4325.e27cebb3.chunk.js.LICENSE.txt +0 -6
  138. package/static/js/4384.d7dc931a.js +0 -2
  139. package/static/js/4384.d7dc931a.js.LICENSE.txt +0 -15
  140. package/static/js/4417.4b3f75b4.chunk.js +0 -2
  141. package/static/js/4417.4b3f75b4.chunk.js.LICENSE.txt +0 -6
  142. package/static/js/4498.0767c1ee.js +0 -1
  143. package/static/js/451.d254d20c.chunk.js +0 -2
  144. package/static/js/451.d254d20c.chunk.js.LICENSE.txt +0 -6
  145. package/static/js/4627.cedc745b.chunk.js +0 -2
  146. package/static/js/4627.cedc745b.chunk.js.LICENSE.txt +0 -6
  147. package/static/js/4805.1ac956f6.js +0 -1
  148. package/static/js/4845.c3ae91f2.js +0 -1
  149. package/static/js/4867.ae5eb9c0.chunk.js +0 -2
  150. package/static/js/4867.ae5eb9c0.chunk.js.LICENSE.txt +0 -6
  151. package/static/js/4877.6ed62a0e.js +0 -1
  152. package/static/js/51.0157cb43.chunk.js +0 -2
  153. package/static/js/51.0157cb43.chunk.js.LICENSE.txt +0 -6
  154. package/static/js/515.16219a24.js +0 -2
  155. package/static/js/515.16219a24.js.LICENSE.txt +0 -6
  156. package/static/js/5243.c58a8a21.chunk.js +0 -2
  157. package/static/js/5243.c58a8a21.chunk.js.LICENSE.txt +0 -6
  158. package/static/js/5315.1a03f762.chunk.js +0 -2
  159. package/static/js/5315.1a03f762.chunk.js.LICENSE.txt +0 -6
  160. package/static/js/5319.92df1268.js +0 -1
  161. package/static/js/5339.df02c3e0.chunk.js +0 -2
  162. package/static/js/5339.df02c3e0.chunk.js.LICENSE.txt +0 -6
  163. package/static/js/5445.7db0b349.chunk.js +0 -2
  164. package/static/js/5445.7db0b349.chunk.js.LICENSE.txt +0 -6
  165. package/static/js/5475.dc9057be.chunk.js +0 -2
  166. package/static/js/5475.dc9057be.chunk.js.LICENSE.txt +0 -6
  167. package/static/js/5491.d8b1b7b0.chunk.js +0 -2
  168. package/static/js/5491.d8b1b7b0.chunk.js.LICENSE.txt +0 -6
  169. package/static/js/5497.a3910de2.js +0 -1
  170. package/static/js/5571.9c285c1e.js +0 -1
  171. package/static/js/577.ca8a62c4.chunk.js +0 -2
  172. package/static/js/577.ca8a62c4.chunk.js.LICENSE.txt +0 -6
  173. package/static/js/5796.4b4a1748.js +0 -2
  174. package/static/js/5796.4b4a1748.js.LICENSE.txt +0 -1
  175. package/static/js/5853.ce87dead.chunk.js +0 -2
  176. package/static/js/5853.ce87dead.chunk.js.LICENSE.txt +0 -6
  177. package/static/js/5873.5fdbcd6c.js +0 -1
  178. package/static/js/5916.3a56abae.js +0 -1
  179. package/static/js/5923.e8e7b96d.chunk.js +0 -2
  180. package/static/js/5923.e8e7b96d.chunk.js.LICENSE.txt +0 -6
  181. package/static/js/5927.4afcefc8.chunk.js +0 -1
  182. package/static/js/5957.d2ad88af.js +0 -2
  183. package/static/js/5957.d2ad88af.js.LICENSE.txt +0 -9
  184. package/static/js/5974.9d34d7d3.js +0 -1
  185. package/static/js/6021.7f32cea2.chunk.js +0 -2
  186. package/static/js/6021.7f32cea2.chunk.js.LICENSE.txt +0 -6
  187. package/static/js/6051.6cefb17a.chunk.js +0 -2
  188. package/static/js/6051.6cefb17a.chunk.js.LICENSE.txt +0 -6
  189. package/static/js/6075.38c621ae.chunk.js +0 -2
  190. package/static/js/6075.38c621ae.chunk.js.LICENSE.txt +0 -6
  191. package/static/js/6083.0ef791dc.chunk.js +0 -2
  192. package/static/js/6083.0ef791dc.chunk.js.LICENSE.txt +0 -6
  193. package/static/js/6091.804a3e5a.js +0 -2
  194. package/static/js/6091.804a3e5a.js.LICENSE.txt +0 -6
  195. package/static/js/6133.0da38de9.js +0 -1
  196. package/static/js/6154.eda7a5eb.js +0 -1
  197. package/static/js/6161.6a73be6e.chunk.js +0 -2
  198. package/static/js/6161.6a73be6e.chunk.js.LICENSE.txt +0 -6
  199. package/static/js/6242.14f46d39.js +0 -2
  200. package/static/js/6242.14f46d39.js.LICENSE.txt +0 -43
  201. package/static/js/6275.19545c93.chunk.js +0 -2
  202. package/static/js/6275.19545c93.chunk.js.LICENSE.txt +0 -6
  203. package/static/js/6300.1ed0e3a4.js +0 -1
  204. package/static/js/6547.377fc02b.chunk.js +0 -2
  205. package/static/js/6547.377fc02b.chunk.js.LICENSE.txt +0 -6
  206. package/static/js/6567.cad55045.js +0 -1
  207. package/static/js/6643.1eb62a36.chunk.js +0 -2
  208. package/static/js/6643.1eb62a36.chunk.js.LICENSE.txt +0 -6
  209. package/static/js/6691.1ee2f23b.chunk.js +0 -2
  210. package/static/js/6691.1ee2f23b.chunk.js.LICENSE.txt +0 -6
  211. package/static/js/6701.8bd3807d.chunk.js +0 -2
  212. package/static/js/6701.8bd3807d.chunk.js.LICENSE.txt +0 -6
  213. package/static/js/6739.22d13837.chunk.js +0 -2
  214. package/static/js/6739.22d13837.chunk.js.LICENSE.txt +0 -6
  215. package/static/js/687.147e9138.js +0 -1
  216. package/static/js/6915.e4ede32f.chunk.js +0 -2
  217. package/static/js/6915.e4ede32f.chunk.js.LICENSE.txt +0 -6
  218. package/static/js/698.aebcf9cd.js +0 -1
  219. package/static/js/7018.f481e3a0.js +0 -1
  220. package/static/js/7051.c0c7cf26.chunk.js +0 -2
  221. package/static/js/7051.c0c7cf26.chunk.js.LICENSE.txt +0 -6
  222. package/static/js/7059.9c893bc0.chunk.js +0 -2
  223. package/static/js/7059.9c893bc0.chunk.js.LICENSE.txt +0 -6
  224. package/static/js/7187.7e67eebe.chunk.js +0 -2
  225. package/static/js/7187.7e67eebe.chunk.js.LICENSE.txt +0 -6
  226. package/static/js/721.4c6f728a.chunk.js +0 -2
  227. package/static/js/721.4c6f728a.chunk.js.LICENSE.txt +0 -6
  228. package/static/js/7471.fe46efd9.js +0 -1
  229. package/static/js/7533.a49f7784.js +0 -1
  230. package/static/js/7635.9d5d1322.chunk.js +0 -2
  231. package/static/js/7635.9d5d1322.chunk.js.LICENSE.txt +0 -6
  232. package/static/js/7698.f82d28d4.js +0 -1
  233. package/static/js/7779.0d221377.chunk.js +0 -2
  234. package/static/js/7779.0d221377.chunk.js.LICENSE.txt +0 -6
  235. package/static/js/7795.c0e8c528.chunk.js +0 -2
  236. package/static/js/7795.c0e8c528.chunk.js.LICENSE.txt +0 -6
  237. package/static/js/7824.e0daa1f7.chunk.js +0 -1
  238. package/static/js/7963.a4acc856.chunk.js +0 -2
  239. package/static/js/7963.a4acc856.chunk.js.LICENSE.txt +0 -6
  240. package/static/js/8003.a4a62303.chunk.js +0 -2
  241. package/static/js/8003.a4a62303.chunk.js.LICENSE.txt +0 -6
  242. package/static/js/8015.b608b9db.chunk.js +0 -2
  243. package/static/js/8015.b608b9db.chunk.js.LICENSE.txt +0 -6
  244. package/static/js/8030.0b457006.js +0 -1
  245. package/static/js/8075.bea74e99.js +0 -1
  246. package/static/js/8179.acf16a1a.chunk.js +0 -1
  247. package/static/js/823.48325ac1.js +0 -2
  248. package/static/js/823.48325ac1.js.LICENSE.txt +0 -7
  249. package/static/js/8236.bdefaa6b.js +0 -2
  250. package/static/js/8236.bdefaa6b.js.LICENSE.txt +0 -42
  251. package/static/js/8309.7e81b18b.js +0 -1
  252. package/static/js/8319.7ea4b259.chunk.js +0 -2
  253. package/static/js/8319.7ea4b259.chunk.js.LICENSE.txt +0 -6
  254. package/static/js/8345.e3795419.js +0 -1
  255. package/static/js/851.23920710.chunk.js +0 -2
  256. package/static/js/851.23920710.chunk.js.LICENSE.txt +0 -6
  257. package/static/js/8671.6a83db75.js +0 -1
  258. package/static/js/8679.f65e4d91.chunk.js +0 -2
  259. package/static/js/8679.f65e4d91.chunk.js.LICENSE.txt +0 -6
  260. package/static/js/8689.5fdcff24.chunk.js +0 -1
  261. package/static/js/8694.60896e26.js +0 -1
  262. package/static/js/8696.301b3f9b.js +0 -1
  263. package/static/js/8738.3ba7b2e7.js +0 -2
  264. package/static/js/8738.3ba7b2e7.js.LICENSE.txt +0 -87
  265. package/static/js/8740.a2a83fd4.js +0 -1
  266. package/static/js/8779.f6f8b6f7.chunk.js +0 -2
  267. package/static/js/8779.f6f8b6f7.chunk.js.LICENSE.txt +0 -6
  268. package/static/js/883.616a487d.chunk.js +0 -2
  269. package/static/js/883.616a487d.chunk.js.LICENSE.txt +0 -6
  270. package/static/js/8879.10db9af5.js +0 -2
  271. package/static/js/8879.10db9af5.js.LICENSE.txt +0 -86
  272. package/static/js/8881.ce638df9.chunk.js +0 -2
  273. package/static/js/8881.ce638df9.chunk.js.LICENSE.txt +0 -6
  274. package/static/js/8911.8253711c.chunk.js +0 -2
  275. package/static/js/8911.8253711c.chunk.js.LICENSE.txt +0 -6
  276. package/static/js/9005.62fb383a.chunk.js +0 -2
  277. package/static/js/9005.62fb383a.chunk.js.LICENSE.txt +0 -6
  278. package/static/js/9019.7efd13af.js +0 -2
  279. package/static/js/9019.7efd13af.js.LICENSE.txt +0 -96
  280. package/static/js/9055.1f85af27.js +0 -1
  281. package/static/js/9061.3366c9e5.js +0 -1
  282. package/static/js/9101.08739c9d.js +0 -1
  283. package/static/js/9267.67d8f2bb.chunk.js +0 -2
  284. package/static/js/9267.67d8f2bb.chunk.js.LICENSE.txt +0 -6
  285. package/static/js/9328.74394e00.js +0 -1
  286. package/static/js/9603.4321e1c5.chunk.js +0 -2
  287. package/static/js/9603.4321e1c5.chunk.js.LICENSE.txt +0 -6
  288. package/static/js/9649.ff98467b.js +0 -1
  289. package/static/js/9653.3c3fd842.js +0 -1
  290. package/static/js/9763.2e0a4d2d.chunk.js +0 -2
  291. package/static/js/9763.2e0a4d2d.chunk.js.LICENSE.txt +0 -6
  292. package/static/js/9796.52daf89f.js +0 -1
  293. package/static/js/9878.cca6854e.js +0 -2
  294. package/static/js/9878.cca6854e.js.LICENSE.txt +0 -8
  295. package/static/js/9898.93cc5558.chunk.js +0 -2
  296. package/static/js/9898.93cc5558.chunk.js.LICENSE.txt +0 -6
  297. package/static/js/9907.c26468b0.js +0 -1
  298. package/static/js/9935.52cd750c.chunk.js +0 -2
  299. package/static/js/9935.52cd750c.chunk.js.LICENSE.txt +0 -6
  300. package/static/js/ant-locale/locale0.fdb32a9f.chunk.js +0 -1
  301. package/static/js/ant-locale/locale1.5b1308da.chunk.js +0 -1
  302. package/static/js/ant-locale/locale10.f74ae841.chunk.js +0 -1
  303. package/static/js/ant-locale/locale11.cf703a34.chunk.js +0 -1
  304. package/static/js/ant-locale/locale13.9bcbe954.chunk.js +0 -1
  305. package/static/js/ant-locale/locale14.138842ea.chunk.js +0 -1
  306. package/static/js/ant-locale/locale15.e80eb12a.chunk.js +0 -1
  307. package/static/js/ant-locale/locale16.49bc0148.chunk.js +0 -1
  308. package/static/js/ant-locale/locale17.2daaf9a6.chunk.js +0 -1
  309. package/static/js/ant-locale/locale18.f9e62843.chunk.js +0 -1
  310. package/static/js/ant-locale/locale19.c98c053a.chunk.js +0 -1
  311. package/static/js/ant-locale/locale2.b54c0d79.chunk.js +0 -1
  312. package/static/js/ant-locale/locale20.b5cb6b02.chunk.js +0 -1
  313. package/static/js/ant-locale/locale21.7764c4b3.chunk.js +0 -1
  314. package/static/js/ant-locale/locale22.5cbb9959.chunk.js +0 -1
  315. package/static/js/ant-locale/locale23.2342f692.chunk.js +0 -1
  316. package/static/js/ant-locale/locale24.3c622cfa.chunk.js +0 -1
  317. package/static/js/ant-locale/locale25.7658de4e.chunk.js +0 -1
  318. package/static/js/ant-locale/locale26.b7e751bd.chunk.js +0 -1
  319. package/static/js/ant-locale/locale27.a47676d9.chunk.js +0 -1
  320. package/static/js/ant-locale/locale28.c89eee28.chunk.js +0 -1
  321. package/static/js/ant-locale/locale3.48f0afe7.chunk.js +0 -1
  322. package/static/js/ant-locale/locale30.4d3672db.chunk.js +0 -1
  323. package/static/js/ant-locale/locale31.406215d5.chunk.js +0 -1
  324. package/static/js/ant-locale/locale32.6167b5e8.chunk.js +0 -1
  325. package/static/js/ant-locale/locale33.4be05b3c.chunk.js +0 -1
  326. package/static/js/ant-locale/locale34.3813ab2f.chunk.js +0 -1
  327. package/static/js/ant-locale/locale35.d58b9c31.chunk.js +0 -1
  328. package/static/js/ant-locale/locale36.34d5c9ee.chunk.js +0 -1
  329. package/static/js/ant-locale/locale37.1c16e25b.chunk.js +0 -1
  330. package/static/js/ant-locale/locale38.dfa6d712.chunk.js +0 -1
  331. package/static/js/ant-locale/locale39.31c90381.chunk.js +0 -1
  332. package/static/js/ant-locale/locale4.e6fdd0ee.chunk.js +0 -1
  333. package/static/js/ant-locale/locale40.fe7ab935.chunk.js +0 -1
  334. package/static/js/ant-locale/locale41.4dee0621.chunk.js +0 -1
  335. package/static/js/ant-locale/locale42.7061d0fc.chunk.js +0 -1
  336. package/static/js/ant-locale/locale43.b3c810a8.chunk.js +0 -1
  337. package/static/js/ant-locale/locale44.df0a5a76.chunk.js +0 -1
  338. package/static/js/ant-locale/locale45.a7f6f97e.chunk.js +0 -1
  339. package/static/js/ant-locale/locale46.8f49c2cd.chunk.js +0 -1
  340. package/static/js/ant-locale/locale47.b84733ce.chunk.js +0 -1
  341. package/static/js/ant-locale/locale48.bfb8c2b3.chunk.js +0 -1
  342. package/static/js/ant-locale/locale49.c67382b7.chunk.js +0 -1
  343. package/static/js/ant-locale/locale5.b2b61134.chunk.js +0 -1
  344. package/static/js/ant-locale/locale50.6520fd45.chunk.js +0 -1
  345. package/static/js/ant-locale/locale51.9b89fb56.chunk.js +0 -1
  346. package/static/js/ant-locale/locale52.11d21631.chunk.js +0 -1
  347. package/static/js/ant-locale/locale53.cea142dd.chunk.js +0 -1
  348. package/static/js/ant-locale/locale54.16ef125d.chunk.js +0 -1
  349. package/static/js/ant-locale/locale55.b1a653c1.chunk.js +0 -1
  350. package/static/js/ant-locale/locale56.83c76bd5.chunk.js +0 -1
  351. package/static/js/ant-locale/locale57.e685764a.chunk.js +0 -1
  352. package/static/js/ant-locale/locale58.d003f49e.chunk.js +0 -1
  353. package/static/js/ant-locale/locale59.556522b5.chunk.js +0 -1
  354. package/static/js/ant-locale/locale60.bf3ddb83.chunk.js +0 -1
  355. package/static/js/ant-locale/locale61.30fe9720.chunk.js +0 -1
  356. package/static/js/ant-locale/locale62.b21e6edb.chunk.js +0 -1
  357. package/static/js/ant-locale/locale63.8e66417e.chunk.js +0 -1
  358. package/static/js/ant-locale/locale64.fdae6858.chunk.js +0 -1
  359. package/static/js/ant-locale/locale65.58003560.chunk.js +0 -1
  360. package/static/js/ant-locale/locale66.94ea41f2.chunk.js +0 -1
  361. package/static/js/ant-locale/locale68.8a9f32b5.chunk.js +0 -1
  362. package/static/js/ant-locale/locale69.27295717.chunk.js +0 -1
  363. package/static/js/ant-locale/locale7.1509b3e0.chunk.js +0 -1
  364. package/static/js/ant-locale/locale70.964bc038.chunk.js +0 -1
  365. package/static/js/ant-locale/locale71.99926e0d.chunk.js +0 -1
  366. package/static/js/ant-locale/locale8.134136c4.chunk.js +0 -1
  367. package/static/js/ant-locale/locale9.9b87d751.chunk.js +0 -1
  368. package/static/js/emailmaker_core.80378bf9.js +0 -1
  369. package/static/js/mergeTags/locale0.23c595c1.chunk.js +0 -1
  370. package/static/js/mergeTags/locale1.3448e6cb.chunk.js +0 -1
  371. package/static/js/mocks.90ebae7c.chunk.js +0 -1
  372. package/static/media/ai-image.7c42c2e1.png +0 -0
  373. package/static/media/codicon.f13d28f3.ttf +0 -0
  374. package/static/media/empty-image.1827d656.png +0 -0
  375. package/static/media/frame_dark.318d7ed5.png +0 -0
  376. package/static/media/frame_light.22a9b4ec.png +0 -0
  377. package/static/media/frame_template_gallery.85693b39.png +0 -0
  378. package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +0 -1
  379. package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
  380. package/static/media/sign_up_01.33327158.png +0 -0
  381. package/static/media/sign_up_01_blocks.5538cfdb.png +0 -0
  382. package/static/media/sign_up_02.d99d2aa6.png +0 -0
  383. package/static/media/sign_up_02_blocks.837fc2c9.png +0 -0
  384. package/static/media/sign_up_03.5545ffad.png +0 -0
  385. package/static/media/sign_up_03_blocks.126601f7.png +0 -0
  386. package/static/media/sign_up_04.398a4ca5.png +0 -0
  387. package/static/media/sign_up_04_blocks.255c5c07.png +0 -0
  388. package/static/media/sign_up_05.4c58df1b.png +0 -0
  389. package/static/media/sign_up_05_blocks.431b6844.png +0 -0
  390. package/static/media/video.854adea5.png +0 -0
  391. package/ts.worker.js +0 -2
  392. package/ts.worker.js.LICENSE.txt +0 -21
package/emailmaker.d.ts DELETED
@@ -1,1055 +0,0 @@
1
- type MayBePromise<T> = T | Promise<T>;
2
- type PromiseWrap<T> = Promise<Awaited<T>>;
3
- type RecursivePartial<T> = { [K in keyof T]?: T[K] extends (number | string | boolean | bigint) ? T[K] : RecursivePartial<T[K]>; };
4
- type AppListener<Value, Result = void> = (value: Value) => MayBePromise<Result>;
5
- type AppEvent<Listener extends AppListener<any, any>> = (listener: Listener, priority?: number, thisArg?: any) => () => void;
6
-
7
- // type UploadEventPayload = { file: File; file_url: string };
8
- // type UploadListener<Cancelable = true> = Listener<UploadEventPayload, Cancelable>;
9
- // type UploadEvent<Cancelable = true> = AppEvent<UploadEventPayload, Cancelable>;
10
-
11
-
12
- type SaveEventPayload<T> = {
13
- /** source of the event */
14
- source?: string;
15
- /** previous value */
16
- prev?: T;
17
- /** changed fields */
18
- patch: Partial<T>;
19
- /** next value */
20
- value: T;
21
- };
22
-
23
- type CreateEventPayload<T> = {
24
- /** source of the event */
25
- source?: string;
26
- /** next value */
27
- value: T;
28
- };
29
-
30
- type RemoveEventPayload<T> = {
31
- /** source of the event */
32
- source?: string;
33
- /** removed value */
34
- value: T;
35
- };
36
-
37
- type MergeTagGroup = {
38
- type?: "group";
39
- label: string;
40
- value: string,
41
- children?: MergeTag[];
42
- };
43
-
44
- type MergeTagItem = {
45
- label: string;
46
- value: string;
47
- };
48
- type MergeTag = MergeTagGroup | MergeTagItem;
49
-
50
-
51
- type SaveListener<T> = AppListener<SaveEventPayload<T>, T | undefined>;
52
- type SaveEvent<T> = AppEvent<SaveListener<T>>;
53
- type RemoveListener<T> = AppListener<RemoveEventPayload<T>>;
54
- type RemoveEvent<T> = AppEvent<RemoveListener<T>>;
55
- type CreateListener<T> = AppListener<CreateEventPayload<T>, T | undefined>;
56
- type CreateEvent<T> = AppEvent<CreateListener<T>>;
57
-
58
- interface ParsedAMP {
59
- code: string;
60
- html: string;
61
- ampHtml: string;
62
- }
63
-
64
- type Notify = {
65
- type?: 'success' | 'info' | 'error' | 'warning';
66
- message: string | HTMLElement;
67
- description?: string | HTMLElement;
68
- btn?: string | HTMLElement;
69
- onClose?: () => void;
70
- duration?: number | null;
71
- icon?: string | HTMLElement;
72
- placement?: "top" | "topLeft" | "topRight" | "bottom" | "bottomLeft" | "bottomRight",
73
- style?: any;
74
- className?: string;
75
- onClick?: () => void;
76
- closeIcon?: boolean | string | HTMLElement;
77
- props?: any;
78
- role?: 'alert' | 'status';
79
- };
80
-
81
-
82
- type EmailDesc = {
83
- id?: string;
84
- title?: string;
85
- code?: string;
86
- subject?: string;
87
- preheader?: string;
88
- };
89
-
90
- type BlockDesc = {
91
- id?: string;
92
- title?: string;
93
- code?: string;
94
- };
95
-
96
- interface ISelection {
97
- selectionStartLineNumber: number;
98
- selectionStartColumn: number;
99
- positionLineNumber: number;
100
- positionColumn: number;
101
- }
102
- interface ISingleModelEditStackData {
103
- afterCursorState: ISelection[];
104
- afterVersionId: number;
105
- beforeCursorState: ISelection[];
106
- beforeVersionId: number;
107
- changes: {
108
- oldPosition: number;
109
- oldText: string;
110
- newPosition: number;
111
- newText: string;
112
- }[];
113
- }
114
-
115
- interface IFrameErrorInfo {
116
- future: ISingleModelEditStackData[];
117
- past: ISingleModelEditStackData[];
118
- errorResolved: boolean;
119
- message: string;
120
- text: string;
121
- stack: string;
122
- userId: string;
123
- entityId: string;
124
- entityType: "email" | "block";
125
- }
126
-
127
- declare namespace Notify {
128
- type Error =
129
- { innerException?: any; } & (
130
- { id?: ""; data?: any } |
131
- { id: "EMAIL_CREATING_ERROR"; data: EmailDesc; } |
132
- { id: "EMAIL_EDITING_ERROR"; data: EmailDesc; } |
133
- { id: 'FOLDER_CREATE_ERROR'; data: string; } |
134
- { id: "EMAIL_CLONING_ERROR"; data: EmailDesc; } |
135
- { id: "TAG_CREATING_ERROR"; data: string; } |
136
- { id: "EMAIL_ACCESS_TO_LOCKED_ERROR"; data: EmailDesc; } |
137
- { id: "EMAIL_TOO_MANY_TAGS_ERROR"; data: EmailDesc; } |
138
- { id: "BLOCK_GET_ERROR"; data: {}; } |
139
- { id: "BLOCK_ACCESS_TO_LOCKED_ERROR"; data: BlockDesc; } |
140
- { id: "BLOCK_TOO_MANY_TAGS_ERROR"; data: BlockDesc; } |
141
- { id: "BLOCK_CLONING_ERROR"; data: BlockDesc; } |
142
- { id: "AI_IMAGE_SEND_ERROR", data: any; } |
143
- { id: "AI_IMAGE_GET_ERROR", data: any; } |
144
- { id: "IMAGE_UPLOAD_WRONG_FORMAT", data: File; } |
145
- { id: "IMAGE_UPLOAD_ERROR", data: File; } |
146
- { id: "BLOCK_CREATING_ERROR", data: BlockDesc } |
147
- { id: "BLOCK_EDITING_ERROR"; data: BlockDesc; } |
148
- { id: "EMAIL_AUTOSAVE_ERROR", data: ExportedApi.EmailRevision } |
149
- { id: "EMAIL_INIT_EVENT_ERROR", data: EmailDesc } |
150
- { id: "SAVE_BUTTON_CLICK_EVENT_ERROR"; data: EmailDesc; } |
151
- { id: "NEXT_BUTTON_CLICK_EVENT_ERROR"; data: EmailDesc; } |
152
- { id: "BLOCK_REMOVING_ERROR"; data: BlockDesc; } |
153
- { id: "IFRAME_ERROR"; data: IFrameErrorInfo; } |
154
- { id: "GET_LOCALE_ERROR"; data: any; } |
155
- { id: "GET_LOCALES_ERROR"; data: any; }
156
- );
157
- type ErrorEvent = {
158
- type: "error";
159
- } & Error;
160
-
161
-
162
- type Success =
163
- { id?: ""; data?: any } |
164
- { id: "EMAIL_TITLE_UPDATED_FROM_AI"; data: string; } |
165
- { id: "EMAIL_PREHEADER_UPDATED_FROM_AI"; data: string; } |
166
- { id: "TEXT_COPIED_TO_CLIPBOARD"; data: string; } |
167
- { id: "EMAIL_SAVING_SUCCESS"; data: EmailDesc; } |
168
- { id: "AI_IMAGE_SEND_SUCCESS"; data: any; } |
169
- { id: "IMAGE_UPLOAD_SUCCESS"; data: File; } |
170
- { id: "BLOCK_CREATING_SUCCESS", data: BlockDesc } |
171
- { id: "BLOCK_EDITING_SUCCESS", data: BlockDesc } |
172
- { id: "EMAIL_AUTOSAVE_SUCCESS", data: ExportedApi.EmailRevision } |
173
- { id: "BLOCK_CLONING_SUCCESS"; data: BlockDesc; } |
174
- { id: "BLOCK_REMOVING_SUCCESS"; data: BlockDesc; };
175
-
176
- type SuccessEvent = {
177
- type: "success";
178
- } & Success;
179
-
180
-
181
- type Warning =
182
- { id?: ""; data?: any } |
183
- { id: "COPY_NOT_SAVED_BLOCK"; data: ExportedApi.Block; } |
184
- { id: "EMAIL_TITLE_UPDATED"; data: string; };
185
-
186
- type WarningEvent = { type: "warning" } & Warning;
187
-
188
- type Info =
189
- { id?: ""; data?: any };
190
-
191
- type InfoEvent = { type: "info" } & Info;
192
- }
193
-
194
- type NotifyEvent = Notify.SuccessEvent | Notify.ErrorEvent | Notify.WarningEvent | Notify.InfoEvent;
195
-
196
- declare namespace ExportedApi {
197
- interface Block {
198
- /**
199
- * Date of publication of the record (according to the time zone of the site).
200
- * @format date-time
201
- */
202
- date?: string | null;
203
- /**
204
- * Date of publication of the record, GMT.
205
- * @format date-time
206
- */
207
- date_gmt?: string | null;
208
-
209
- /** The unique identifier of the record. */
210
- id?: string;
211
- /**
212
- * The URL of the record.
213
- * @format uri
214
- */
215
-
216
- modified?: string;
217
- /**
218
- * The date the record was last modified (in GMT format).
219
- * @format date-time
220
- */
221
- modified_gmt?: string;
222
- /** The name of the entry. */
223
- title?: string;
224
- /** ID of the author of the entry. */
225
- author?: string;
226
- /** An excerpt of the recording. */
227
- excerpt?: string;
228
-
229
- subject?: string;
230
- description?: string;
231
- code?: string;
232
- project?: string | number;
233
- related_email?: string;
234
- type?: string;
235
- }
236
- }
237
- declare namespace ExportedApi {
238
- interface BlockRevision {
239
- /** ID of the editorial board author. */
240
- author?: string | number;
241
- /**
242
- * The date of publication of the record, according to the time zone of the site.
243
- * @format date-time
244
- */
245
- date?: string;
246
- /**
247
- * The time of publication of the editorial office, GMT.
248
- * @format date-time
249
- */
250
- date_gmt?: string;
251
- /** The global unique identifier of the record. */
252
- guid?: {
253
- /** GUID to write in the form in which it exists in the database. */
254
- raw?: string;
255
- /** The GUID for the record, converted for display. */
256
- rendered?: string;
257
- };
258
- /** Unique identifier of the editorial office. */
259
- id?: string;
260
- /**
261
- * The date of the last revision, according to the time zone of the site.
262
- * @format date-time
263
- */
264
- modified?: string;
265
- /**
266
- * Date of the last revision, GMT.
267
- * @format date-time
268
- */
269
- modified_gmt?: string;
270
- /** ID of the editorial parent. */
271
- parent?: string;
272
- /** The alphanumeric identifier of the record is unique for its type. */
273
- slug?: string;
274
- /** The name of the entry. */
275
- title?: string;
276
- /** An excerpt of the recording. */
277
- excerpt?: string;
278
- /**
279
- * Link to preview the recording.
280
- * @format uri
281
- */
282
- preview_link?: string;
283
-
284
-
285
- code?: string;
286
-
287
- }
288
- }
289
- declare namespace ExportedApi {
290
- interface Comment {
291
- /** Unique identifier for the comment. */
292
- id?: string;
293
- /** User object ID, if the author is a user. */
294
- author?: string;
295
- /**
296
- * The email address of the author of the comment.
297
- * @format email
298
- */
299
- author_email?: string;
300
- /**
301
- * The IP address of the comment author.
302
- * @format ip
303
- */
304
- author_ip?: string;
305
- /** The display name of the comment author. */
306
- author_name?: string;
307
- /**
308
- * URL for the author of the comment.
309
- * @format uri
310
- */
311
- author_url?: string;
312
- /** Value of the User-Agent of the comment author. */
313
- author_user_agent?: string;
314
- /** The content of the comment. */
315
- content?: string;
316
- /**
317
- * Date of publication of the comment (according to the time zone of the site).
318
- * @format date-time
319
- */
320
- date?: string;
321
- /**
322
- * The time of publication of the comment, GMT.
323
- * @format date-time
324
- */
325
- date_gmt?: string;
326
- /**
327
- * ID of the associated record object.
328
- * @default 0
329
- */
330
- post?: string;
331
- /** Comment status. */
332
- status?: string;
333
- /** Comment type. */
334
- type?: string;
335
- /** URL of the comment author's avatar image. */
336
- author_avatar_urls?: {
337
- /**
338
- * URL avatars with an image size of 24 pixels.
339
- * @format uri
340
- */
341
- '24'?: string;
342
- /**
343
- * URL avatars with an image size of 48 pixels.
344
- * @format uri
345
- */
346
- '48'?: string;
347
- /**
348
- * URL avatars with an image size of 96 pixels.
349
- * @format uri
350
- */
351
- '96'?: string;
352
- };
353
- /** Meta fields. */
354
- meta?: object;
355
- target_id?: string;
356
-
357
- parent?: string;
358
- }
359
- }
360
- declare namespace ExportedApi {
361
- type EditorOptions = {
362
- fontSize?: number;
363
- fontFamily?: number;
364
- tabSize?: number;
365
- wordWrap?: boolean;
366
- minimap?: boolean;
367
- insertSpaces?: boolean;
368
- indentSize?: number;
369
- };
370
- }
371
- declare namespace ExportedApi {
372
- interface Email {
373
- /**
374
- * Date of publication of the record, GMT.
375
- * @format date-time
376
- */
377
- date_gmt?: string | null;
378
- /** Unique identifier of the record. */
379
- id?: string;
380
- /** The name of the letter. */
381
- title?: string;
382
- /** Preheader of the letter. */
383
- preheader?: string;
384
- /** ID of the author of the entry. */
385
- author?: string;
386
- lock?: boolean;
387
- subject?: string;
388
- description?: string;
389
- code?: string;
390
- project?: string | number;
391
- // email tag names
392
- tags?: string[];
393
- utm_parameters?: {
394
- utm_source?: string;
395
- utm_medium?: string;
396
- utm_campaign?: string;
397
- utm_term?: string;
398
- utm_content?: string;
399
- };
400
- parent_email?: string;
401
- common_styles?: string;
402
- }
403
-
404
- interface CompiledEmail extends Email {
405
- readonly compiled: {
406
- html: string;
407
- ampHtml: string;
408
- };
409
- }
410
- }
411
- declare namespace ExportedApi {
412
- interface EmailRevision {
413
- /** ID of the editorial board author. */
414
- author?: string;
415
- /**
416
- * The date of publication of the record, according to the time zone of the site.
417
- * @format date-time
418
- */
419
- date?: string;
420
- /**
421
- * The time of publication of the editorial office, GMT.
422
- * @format date-time
423
- */
424
- date_gmt?: string;
425
- /** Unique identifier of the editorial office. */
426
- id?: string;
427
- /**
428
- * The date of the last revision, according to the time zone of the site.
429
- * @format date-time
430
- */
431
- modified?: string;
432
- /**
433
- * Date of the last revision, GMT.
434
- * @format date-time
435
- */
436
- modified_gmt?: string;
437
- /** ID of the editorial parent. */
438
- parent?: string;
439
- /** The name of the entry. */
440
- title?: string;
441
- /** An excerpt of the recording. */
442
- excerpt?: string;
443
-
444
- code?: string;
445
-
446
- preheader?: string;
447
-
448
- subject?: string;
449
-
450
- common_styles?: string;
451
- }
452
-
453
- interface CompiledEmailRevision extends EmailRevision {
454
- readonly compiled: {
455
- html: string;
456
- ampHtml: string;
457
- }
458
- }
459
- }
460
- declare namespace ExportedApi {
461
- export type ThemeConfig = any;
462
- }
463
- declare namespace ExportedApi {
464
- export type CodeModeDirection = 'none' | 'left' | 'right' | 'bottom';
465
- export type Locale = 'en_US' | 'ru_RU';
466
- export type ConfigMods = 'pro' | 'editor' | 'simple';
467
-
468
- export interface MergeTagsInfo {
469
- syntax: string[];
470
- items: MergeTag[];
471
- }
472
-
473
- type LocaleListener = AppListener<string, string>;
474
-
475
- interface AdvancedConfigs {
476
- [key: string]: Config;
477
- }
478
-
479
- interface Config {
480
- /** Application mode */
481
- mode?: ConfigMods;
482
-
483
- imageInfoToolUrl?: string;
484
- /** Application Styles */
485
- styles: string;
486
- /** Application theme */
487
- theme: string;
488
- /** Application theme settings */
489
- themes: { [P in string]: ThemeConfig };
490
- /** showing the back arrow */
491
- headerArrowBackVisible: boolean;
492
- /** display of the Subject field */
493
- headerTitleVisible: boolean;
494
- /** showing the Preheader field */
495
- headerPreheaderVisible: boolean;
496
- /** showing the Header field */
497
- /** showing breadcrumbs in an iframe */
498
- pathEnabled: boolean;
499
- /** showing copy-paste of a block in an iframe */
500
- copyPasteEnabled: boolean;
501
- /** showing the Version History button */
502
- historyEnabled: boolean;
503
- /** showing the Code-mode button */
504
- codeEnabled: boolean;
505
- /** showing the Code-mode button in the mode when there is a desktop/mobile switch */
506
- codeSideEnabled: boolean;
507
- /** showing the Preview button */
508
- previewIconEnabled: boolean;
509
- /** Preview link */
510
- previewModeEnabled: boolean;
511
- /** showing the Test button in the mailers */
512
- livePreviewEnabled: boolean;
513
- /** showing the Send Test button */
514
- sendTestEnabled: boolean;
515
- /** showing the Share button */
516
- sharePreviewEnabled: boolean;
517
- /** displaying the message menu */
518
- emailDropdownMenuEnabled: boolean;
519
- /** showing the Clone item in the message menu */
520
- emailDropdownMenuClone: boolean;
521
- /** showing the Import item in the emails menu */
522
- emailDropdownMenuImport: boolean;
523
- /** showing the Block item in the message menu */
524
- emailDropdownMenuLock: boolean;
525
- /** showing the Delete item in the message menu */
526
- emailDropdownMenuRemove: boolean;
527
- /** showing the Export button */
528
- emailExportEnabled: boolean;
529
- /** showing a secondary button */
530
- nextButtonEnabled: boolean;
531
- /** text of the secondary button */
532
- nextButtonText: string;
533
- /** showing the main button */
534
- saveButtonEnabled: boolean;
535
- /** text of the main button */
536
- saveButtonText: string;
537
- commandButtonsEnabled?: boolean;
538
- /** displaying the email ID */
539
- emailIdShow: boolean;
540
- /** side panel view */
541
- sidePanelFloating: boolean;
542
- /** mode switching bar */
543
- desktopMobileSwitchRule: boolean;
544
- /** mode switching panel */
545
- desktopMobileSwitchPanel: boolean;
546
- /** showing the block save button */
547
- saveBlockEnabled: boolean;
548
- /** showing the image change button */
549
- editImageControlEnabled: boolean;
550
- /** ability to collapse the sidebar */
551
- toggleSidePanel: boolean;
552
-
553
- /** Sidebar location */
554
- menuDirection: string;
555
-
556
- /** default setting of the opening tab (""/"commonBlocks"/"emptyBlocks") */
557
- defaultBuildPanel: string;
558
-
559
- /** Sidebar */
560
- commentsEnabled: boolean;
561
- optimizeEnabled: boolean;
562
- settingsEnabled: boolean;
563
- UTMEnabled: boolean;
564
- subjectEnabled: boolean;
565
- preheaderEnabled: boolean;
566
- descriptionEnabled: boolean;
567
- tagsEnabled: boolean;
568
- /** showing the mobile properties switch */
569
- switchDesktopMobilePropsEnabled: boolean;
570
- /** showing transition buttons to other elements */
571
- stepToOtherElementEnabled: boolean;
572
- /** showing the delete element button */
573
- deleteButtonEnabled: boolean;
574
- /** showing the Title field in the form of an image */
575
- formFieldImageTitleEnabled: boolean;
576
- /** showing border change fields */
577
- formFieldBorderEnabled: boolean;
578
- /** showing the rounding change fields */
579
- formFieldBorderRadiusEnabled: boolean;
580
- /** showing shadow change fields */
581
- formFieldBoxShadowEnabled: boolean;
582
- /** showing buttons to change the visibility of an element */
583
- formFieldVisibilityEnabled: boolean;
584
- /** showing the export to picture switch */
585
- formFieldExportAsPictureEnabled: boolean;
586
-
587
- /** showing the button to insert an image into the button text */
588
- formButtonFieldInsertImageEnabled: boolean;
589
- /** showing vertical alignment buttons */
590
- formButtonFieldVerticalAlignEnabled: boolean;
591
- /** showing text alignment buttons */
592
- formButtonFieldTextAlignEnabled: boolean;
593
- /** showing background image fields */
594
- formButtonFieldBackgroundImageEnabled: boolean;
595
- /** showing internal margins */
596
- formButtonFieldPaddingsEnabled: boolean;
597
-
598
- /** showing vertical alignment buttons */
599
- formCellFieldVerticalAlignEnabled: boolean;
600
- /** showing background image fields */
601
- formCellFieldBackgroundImageEnabled: boolean;
602
- /** showing internal margins */
603
- formCellFieldPaddingsEnabled: boolean;
604
- /** showing the button to insert an image into the button text */
605
- formLinkFieldInsertImageEnabled: boolean;
606
- /** showing background image fields */
607
- formTableFieldBackgroundImageEnabled: boolean;
608
- /** showing background image fields */
609
- formDivFieldBackgroundImageEnabled: boolean;
610
- /** showing background image fields */
611
- formEmailFieldBackgroundImageEnabled: boolean;
612
-
613
- revisionService: boolean;
614
-
615
- /** Elements */
616
- elementImageEnabled: boolean;
617
- elementTextEnabled: boolean;
618
- elementHeaderEnabled: boolean;
619
- elementButtonEnabled: boolean;
620
- elementListULEnabled: boolean;
621
- elementListOLEnabled: boolean;
622
- elementDividerEnabled: boolean;
623
- elementSpacerEnabled: boolean;
624
- elementSocialEnabled: boolean;
625
- elementTableEnabled: boolean;
626
- elementCountdownEnabled: boolean;
627
- elementVideoEnabled: boolean;
628
- elementAIimageEnabled: boolean;
629
- elementAItextEnabled: boolean;
630
- elementCarouselEnabled: boolean;
631
- elementFormEnabled: boolean;
632
-
633
- imageCenterStockEnabled: boolean;
634
- imageCenterGifEnabled: boolean;
635
- imageCenterEditorEnabled: boolean;
636
- compressMaxSize: number;
637
- compressMaxWidthOrHeight: number;
638
-
639
- editor: EditorOptions;
640
-
641
- locale: Locale;
642
-
643
- codeModeDirection: CodeModeDirection;
644
-
645
- preventSendDataToEM?: boolean;
646
-
647
- mergeTags?: MergeTagsInfo;
648
-
649
- testEmails?: string[];
650
-
651
- /** showing the config switch */
652
- configSwither?: boolean;
653
- /** Auto-save timeout */
654
- autosaveTimeout?: number;
655
- /** Configs that are passed to plugins */
656
- advancedConfigs?: AdvancedConfigs;
657
- }
658
-
659
- export interface User {
660
- id?: string | number;
661
- /** The login name for the user. */
662
- username?: string;
663
- /** User's display name */
664
- user?: string;
665
- /** The user's email address. @format email */
666
- email?: string;
667
- /** The user's password (never shown). */
668
- password?: string;
669
- /** URL of the user's avatar. */
670
- avatar_urls?: {
671
- /** URL avatars with an image size of 24 pixels. @format uri */
672
- '24'?: string;
673
- '48'?: string;
674
- '96'?: string;
675
- };
676
- }
677
-
678
- namespace AppConfigMixin {
679
- interface Options {
680
- config?: Partial<Config>;
681
- advancedConfigs?: AdvancedConfigs;
682
- project?: string | number;
683
- user?: User;
684
- handleReadLocale?: LocaleListener;
685
- }
686
-
687
- interface Instance {
688
- setConfig(config: RecursivePartial<Config>): Promise<void>;
689
- getConfig(): Partial<Config>;
690
- updateConfig(config: RecursivePartial<Config>): Promise<void>;
691
- handleReadLocale: AppEvent<LocaleListener>;
692
- }
693
- }
694
- interface Options extends AppConfigMixin.Options { }
695
-
696
- interface Instance extends AppConfigMixin.Instance { }
697
- }
698
- declare namespace ExportedApi {
699
- namespace AppInitMixin {
700
- interface Options {
701
- /** base url of the app server */
702
- baseUrl?: string;
703
- }
704
-
705
- interface Instance {}
706
- }
707
- interface Options extends AppInitMixin.Options {}
708
-
709
- interface Instance extends AppInitMixin.Instance {}
710
- }
711
-
712
- declare namespace ExportedApi {
713
- export type JWTAuthOptions = {
714
- email: string;
715
- password: string;
716
- remember?: boolean;
717
- };
718
-
719
- type JWTOptions = {
720
- /** JWT authorization credentials */
721
- jwtAuth?: JWTAuthOptions
722
- };
723
- namespace JWTMixin {
724
- interface Options extends JWTOptions { }
725
-
726
- interface Instance { }
727
- }
728
- interface Options extends JWTMixin.Options { }
729
-
730
- interface Instance extends JWTMixin.Instance { }
731
- }
732
- declare namespace ExportedApi {
733
- type OAuthCallback = (prevToken?: string) => MayBePromise<string>;
734
-
735
- type OAuthOptions = {
736
- /**
737
- * Get token callback
738
- */
739
- getAuthToken?: OAuthCallback;
740
- };
741
- namespace OAuthMixin {
742
- interface Options extends OAuthOptions { }
743
-
744
- interface Instance { }
745
- }
746
- interface Options extends OAuthMixin.Options { }
747
-
748
- interface Instance extends OAuthMixin.Instance { }
749
- }
750
-
751
- declare namespace ExportedApi {
752
- interface CoreOptions {
753
- element?: string | Element | DocumentFragment;
754
- }
755
- namespace CoreMixin {
756
- interface Options extends CoreOptions { }
757
-
758
- interface Instance {
759
- getElement(): Element | DocumentFragment | undefined;
760
- }
761
- }
762
- interface Options extends CoreMixin.Options { }
763
-
764
- interface Instance extends CoreMixin.Instance { }
765
- }
766
- declare namespace ExportedApi {
767
- namespace DataMixin {
768
- type BlockShowOptions = {
769
- /** block content */
770
- block: Block | string;
771
- /** autosaves */
772
- revisions?: BlockRevision[];
773
- /** comments */
774
- comments?: Comment[];
775
- /** blocks */
776
- blocks?: Block[];
777
- /** template identifier for email */
778
- templateId?: string | number;
779
- };
780
-
781
- type EmailShowOptions = {
782
- /** email content */
783
- email: Email | string;
784
- /** autosaves */
785
- autosaves?: EmailRevision[];
786
- /** comments */
787
- comments?: Comment[];
788
- /** blocks */
789
- blocks?: Block[];
790
- /** template identifier for block */
791
- templateId?: number;
792
- };
793
-
794
- type Content = string | Email | EmailShowOptions;// | BlockShowOptions;
795
-
796
- type ReadEmailHandler = (id: string) => MayBePromise<Email>;
797
- type ReadEmailAutosavesHandler = (emailId: string) => MayBePromise<EmailRevision[]>;
798
- type ReadBlocksHandler = (project: string) => MayBePromise<Block[]>;
799
- type ReadCommentsHandler = (emailId: string) => MayBePromise<Comment[]>;
800
-
801
- type EmailHandler = AppListener<CompiledEmail>;
802
- type HtmlHandler = AppListener<string>;
803
-
804
- type TestEmailSendEventPayload = {
805
- project?: string;
806
- email_id?: string;
807
- subject?: string;
808
- email?: string;
809
- code?: string;
810
- from_name?: string;
811
- compiled: {
812
- html: string;
813
- ampHtml: string;
814
- };
815
- };
816
-
817
- type TestEmailSendHandler = AppListener<TestEmailSendEventPayload, false | void>;
818
-
819
- type TestEmailModalSendHandler = AppListener<Email, false | void>;
820
-
821
- type LivePreviewHandler = AppListener<{
822
- project?: string;
823
- id: string;
824
- subject?: string;
825
- html: string;
826
- }>;
827
-
828
-
829
- type ShareHandler = AppListener<{
830
- project?: string;
831
- id: string;
832
- }>;
833
-
834
- type PreviewHandler = AppListener<{
835
- project?: string;
836
- id: string;
837
- }>
838
-
839
-
840
- interface Events {
841
- /** read email handler */
842
- handleReadEmail: AppEvent<ReadEmailHandler>;
843
- /** fires when email saved */
844
- handleSaveEmail: SaveEvent<CompiledEmail>;
845
- /** fires when email delete */
846
- handleRemoveEmail: RemoveEvent<CompiledEmail>;
847
-
848
- /** read autosaves handler */
849
- handleReadEmailRevisions: AppEvent<ReadEmailAutosavesHandler>;
850
- /** fires when email autosave */
851
- handleEmailAutosave: CreateEvent<CompiledEmailRevision>;
852
- /** fires when email autosave delete */
853
- handleRemoveEmailAutoSave: RemoveEvent<CompiledEmailRevision>;
854
-
855
- /** read blocks handler */
856
- handleReadBlocks: AppEvent<ReadBlocksHandler>;
857
- /** fires when block save */
858
- handleSaveBlock: SaveEvent<Block>;
859
- /** fires when block delete */
860
- handleRemoveBlock: RemoveEvent<Block>;
861
-
862
- /** read comments handler */
863
- handleReadComments: AppEvent<ReadCommentsHandler>;
864
- /** fires when comment save */
865
- handleSaveComment: SaveEvent<Comment>;
866
- /** fires when comment delete */
867
- handleRemoveComment: RemoveEvent<Comment>;
868
-
869
- /** fires when user clicked on 'save' button */
870
- handleSaveButtonClick: AppEvent<EmailHandler>;
871
- /** fires when user clicked on 'next' button */
872
- handleNextButtonClick: AppEvent<EmailHandler>;
873
- /** fires when user clicked on 'previous' button */
874
- handlePreviousButtonClick: AppEvent<EmailHandler>;
875
- /** fires when email iframe inited */
876
- handleEmailInit: AppEvent<EmailHandler>;
877
- /** fires when email changed */
878
- handleEmailChanged: AppEvent<EmailHandler>;
879
- /** fires when email Html changed */
880
- handleHtmlChanged: AppEvent<HtmlHandler>;
881
- /** fires when test email send*/
882
- handleTestEmailSend: AppEvent<TestEmailSendHandler>;
883
- /** fires when open test email modal */
884
- handleTestEmailModal: AppEvent<TestEmailModalSendHandler>;
885
- /** fires when email clone */
886
- handleCloneEmail: AppEvent<EmailHandler>;
887
- /** fires when email share */
888
- handleShareEmail: AppEvent<ShareHandler>;
889
- /** fires when open live preview */
890
- handleLivePreviewEmail: AppEvent<LivePreviewHandler>;
891
- /** fires when open preview */
892
- handlePreviewEmail: AppEvent<PreviewHandler>;
893
- }
894
-
895
- // export const ON_SEND_LIVEPREVIEW_ID = createEventIdentifier<{
896
- // project?: string;
897
- // id?: string;
898
- // subject?: string;
899
- // html?: string;
900
- // }, false | void>();
901
-
902
- // export const ON_SHARE_ID = createEventIdentifier<{
903
- // project?: string;
904
- // id?: string;
905
- // }, string | false | void>();
906
-
907
- // export const ON_SHOW_PREVIEW_ID = createEventIdentifier<{
908
- // project?: string;
909
- // id?: string;
910
- // }, string | false | void>();
911
-
912
- type Listeners = { [K in keyof Events]?: Events[K] extends AppEvent<infer Listener> ? Listener : never; };
913
- interface Options extends Listeners {
914
- /** entity content */
915
- content: Content;
916
- }
917
-
918
- interface Instance extends Events {
919
- /**
920
- * show block or email
921
- * @param content entity content
922
- */
923
- show(content: Content): Promise<void>;
924
- /** save current email */
925
- save(): Promise<CompiledEmail>;
926
- /**
927
- * get email from inner storage
928
- */
929
- getEmail(): Promise<CompiledEmail>;
930
- /**
931
- * get compiled email
932
- */
933
- compileEmail(email?: Email): Promise<CompiledEmail>;
934
- /**
935
- * get blocks from inner storage
936
- */
937
- getBlocks(): Promise<Block[]>;
938
- /**
939
- * get email satosaves
940
- * @param emailId email identifier
941
- */
942
- getEmailRevisions(): Promise<EmailRevision[]>;
943
- /**
944
- * get email comments
945
- */
946
- getComments(): Promise<Comment[]>;
947
- }
948
- }
949
- interface Options extends DataMixin.Options {
950
- standaloneKey?: string;
951
- }
952
-
953
- interface Instance extends DataMixin.Instance { }
954
- }
955
- declare namespace ExportedApi {
956
- namespace DestroyableMixin {
957
- type DestroyListener = AppListener<ExportedApi.Instance>;
958
- interface Options {
959
- handleDestroy?: DestroyListener;
960
- }
961
-
962
- interface Instance {
963
- /** fires when app destroyed */
964
- handleDestroy: AppEvent<DestroyListener>;
965
- destroy(): void;
966
- }
967
- }
968
- interface Options extends DestroyableMixin.Options { }
969
-
970
- interface Instance extends DestroyableMixin.Instance { }
971
- }
972
- declare namespace ExportedApi {
973
- namespace ImageHandlerMixin {
974
- type LoadEventPayload = { file: File, project: string };
975
- type LoadImageListener = AppListener<LoadEventPayload, string | void>;
976
- interface Options {
977
- handleLoadImage?: LoadImageListener;
978
- }
979
-
980
- interface Instance {
981
- /** fires when image loading */
982
- handleLoadImage: AppEvent<LoadImageListener>;
983
- }
984
- }
985
- interface Options extends ImageHandlerMixin.Options { }
986
-
987
- interface Instance extends ImageHandlerMixin.Instance { }
988
- }
989
- declare namespace ExportedApi {
990
- namespace LoadHandlerMixin {
991
- type LoadListener = AppListener<ExportedApi.Instance>;
992
- interface Options {
993
- handleLoad?: LoadListener;
994
- }
995
-
996
- interface Instance {
997
- /** fires when app loaded */
998
- handleLoad: AppEvent<LoadListener>;
999
- reset(options: ExportedApi.Options): Promise<ExportedApi.Instance>;
1000
- }
1001
- }
1002
- interface Options extends LoadHandlerMixin.Options { }
1003
-
1004
- interface Instance extends LoadHandlerMixin.Instance { }
1005
- }
1006
- declare namespace ExportedApi {
1007
- type ConfigNotify = Notify & Partial<NotifyEvent> & { message: string | HTMLElement };
1008
- namespace NotificationMixin {
1009
- type NotifyListener = AppListener<NotifyEvent, ConfigNotify | string | false | void>;
1010
- type ErrorListener = AppListener<Notify.ErrorEvent, ConfigNotify | string | false | void>;
1011
- type SuccessListener = AppListener<Notify.SuccessEvent, ConfigNotify | string | false | void>;
1012
- interface Options {
1013
- handleNotify?: NotifyListener;
1014
- handleError?: ErrorListener;
1015
- handleSuccess?: SuccessListener;
1016
- }
1017
-
1018
- interface Instance {
1019
- handleNotify: AppEvent<NotifyListener>;
1020
- handleError: AppEvent<ErrorListener>;
1021
- handleSuccess: AppEvent<SuccessListener>;
1022
- notify(config: ConfigNotify | string): void;
1023
- }
1024
- }
1025
- interface Options extends NotificationMixin.Options { }
1026
-
1027
- interface Instance extends NotificationMixin.Instance { }
1028
- }
1029
- declare namespace ExportedApi {
1030
- interface Instance {
1031
- /** reset app config */
1032
- reset(options: Options): Promise<Instance>;
1033
- }
1034
- }
1035
-
1036
- export type Instance = ExportedApi.Instance;
1037
-
1038
- export type Options = ExportedApi.Options;
1039
-
1040
- /**
1041
- * initialize app instance
1042
- * @param {options} app options
1043
- * @returns app instance
1044
- */
1045
- export function init(options: Options): Promise<Instance>;
1046
- /**
1047
- * parse AMP email
1048
- * @param {code} email or code
1049
- * @returns object, contains pure html and AMP code
1050
- */
1051
- export function parseAMP(code: string | { code: string }): Promise<ParsedAMP>;
1052
- /**
1053
- * app version
1054
- */
1055
- export const version: string;