@emailmaker/emailmaker 1.0.66 → 1.0.67-alpha.2
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.
- package/README.md +1 -1
- package/asset-manifest.json +21 -23
- package/emailmaker-esm.js +1 -1
- package/emailmaker.d.ts +17 -1
- package/emailmaker.js +1 -1
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/{iframe-eblock.8a49c7ae6b7ddbda68c6.html → iframe-eblock.7f4a25eb84aaea5b3817.html} +1 -1
- package/iframe/iframe.7f4a25eb84aaea5b3817.html +1 -0
- package/iframe/js/882.5826de72.js +1 -0
- package/iframe/js/97.1cb044af.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/package.json +1 -1
- package/plugin.html +14 -14
- package/plugin_blocks_test.html +1 -1
- package/plugin_default.html +1 -1
- package/plugin_idigital.html +1 -1
- package/plugin_s.html +1 -1
- package/react/index.js +1 -1
- package/react/index.mjs +1 -1
- package/static/css/{7352.ab1f9d35.chunk.css → 7352.6877a0bf.chunk.css} +1 -1
- package/static/gfonts.json +1 -81857
- package/static/js/{1538.948c6e28.chunk.js → 1538.e13a140c.chunk.js} +2 -2
- package/static/js/2117.ff58a29c.js +2 -0
- package/static/js/{6155.6fa7365b.js → 2327.83204f0b.js} +1 -1
- package/static/js/3017.508a3b04.chunk.js +1 -0
- package/static/js/3600.81d4c730.js +1 -0
- package/static/js/7296.2bbf9459.js +1 -0
- package/static/js/7298.310f64b1.js +2 -0
- package/static/js/{7352.530c404f.chunk.js → 7352.fd77434d.chunk.js} +2 -2
- package/static/js/{8084.be8b9fa1.chunk.js → 8084.67de697a.chunk.js} +1 -1
- package/static/js/{emailmaker_core.f50f1912.js → emailmaker_core.6214b942.js} +2 -2
- package/static/js/mocks.c196c616.chunk.js +1 -0
- package/translations.pot +109 -109
- package/iframe/iframe.8a49c7ae6b7ddbda68c6.html +0 -1
- package/iframe/js/882.0af3b11d.js +0 -1
- package/iframe/js/97.0d035714.js +0 -1
- package/static/js/2150.ad9a6d86.js +0 -2
- package/static/js/3017.cd784f0e.chunk.js +0 -1
- package/static/js/3600.ff635aee.js +0 -1
- package/static/js/5052.b304d1ad.chunk.js +0 -1
- package/static/js/7419.2ade6de6.js +0 -1
- package/static/js/8411.01fb7c30.js +0 -2
- package/static/js/ant-locale/locale-ru_RU-js.a1cd5bb3.chunk.js +0 -1
- package/static/js/mocks.4e11136d.chunk.js +0 -1
- /package/iframe/js/{882.0af3b11d.js.LICENSE.txt → 882.5826de72.js.LICENSE.txt} +0 -0
- /package/static/js/{1538.948c6e28.chunk.js.LICENSE.txt → 1538.e13a140c.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{8411.01fb7c30.js.LICENSE.txt → 2117.ff58a29c.js.LICENSE.txt} +0 -0
- /package/static/js/{2150.ad9a6d86.js.LICENSE.txt → 7298.310f64b1.js.LICENSE.txt} +0 -0
- /package/static/js/{7352.530c404f.chunk.js.LICENSE.txt → 7352.fd77434d.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{emailmaker_core.f50f1912.js.LICENSE.txt → emailmaker_core.6214b942.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
package/plugin.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?85a185a95cd802433539"></script></head><body><button id="change_theme" style="width: 150px; height: 30px">Click Me</button><div style="background: white; width: 100%; height: 50px; display: flex; justify-content: center; align-items: center"></div><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?85a185a95cd802433539";
|
|
2
2
|
const auth_jwt = {
|
|
3
3
|
username: '****',
|
|
4
4
|
password: '****',
|
|
@@ -176,20 +176,20 @@
|
|
|
176
176
|
// const response = await fetch("./key.txt");
|
|
177
177
|
// const key = await response.text();
|
|
178
178
|
const instance = await emailmaker.init({ ...options, });
|
|
179
|
-
let i = 0;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
179
|
+
// let i = 0;
|
|
180
|
+
// let id = 0;
|
|
181
|
+
// setInterval(() => {
|
|
182
|
+
// i = i === 0 ? 1 : 0;
|
|
183
|
+
// instance.show({
|
|
184
|
+
// ...options.content,
|
|
185
|
+
// email: {
|
|
186
|
+
// ...options.content.email,
|
|
187
|
+
// // id: id++,
|
|
188
|
+
// code: '<div>31111111111111111111111111</div>'
|
|
189
|
+
// }
|
|
190
190
|
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
// });
|
|
192
|
+
// }, 30000);
|
|
193
193
|
instance.handleSaveEmail(async ({ value, patch, prev }) => {
|
|
194
194
|
const _email = await instance.compileEmail(value);
|
|
195
195
|
console.log(_email);
|
package/plugin_blocks_test.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?85a185a95cd802433539"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">const getAuthToken = async () => {
|
|
2
2
|
var requestOptions = {
|
|
3
3
|
method: 'POST',
|
|
4
4
|
redirect: 'follow',
|
package/plugin_default.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?85a185a95cd802433539"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh;"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?85a185a95cd802433539";
|
|
2
2
|
const auth_jwt = {
|
|
3
3
|
username: "****",
|
|
4
4
|
password: "****"
|
package/plugin_idigital.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?85a185a95cd802433539"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh"></div><script async defer="defer">// import { init } from "./emailmaker-esm.js?85a185a95cd802433539";
|
|
2
2
|
const auth_jwt = {
|
|
3
3
|
username: '****',
|
|
4
4
|
password: '****',
|
package/plugin_s.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?
|
|
1
|
+
<!doctype html><html lang="en"><head><script id="plugin-script" src="emailmaker.js?85a185a95cd802433539"></script></head><body><div id="test" style="padding: 0px; background: #fff; height: 100vh;"></div><script async defer="defer">const getAuthToken = async () => {
|
|
2
2
|
|
|
3
3
|
var requestOptions = {
|
|
4
4
|
method: 'POST',
|
package/react/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var s in r)("object"==typeof exports?exports:e)[s]=r[s]}}(globalThis,(()=>(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var s in r)e.o(r,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:r[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>n});const r=require("react");var s=e.n(r);const o=require("@emailmaker/emailmaker");class n extends s().Component{constructor(...e){super(...e),this._instancePromise=Promise.resolve(void 0),this._element=null,this.setElement=e=>{this._element=e,this._reset()}}_reset(){const{props:e,_element:t}=this;this._instancePromise=this._instancePromise.then((r=>{if(e===this.props&&t===this._element){if(t)return r?r.reset({...e,element:t}):(0,o.init)({...e,element:t});r&&r.destroy()}}),(e=>console.log(e)))}componentDidUpdate(){this._reset()}render(){const{id:e,className:t,style:r,container:o}=this.props,n={id:e,className:t,style:r,...o};return s().createElement("div",Object.assign({},n,{ref:this.setElement}))}}return t})()));
|
package/react/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import*as t from"@emailmaker/emailmaker";var s={d:(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},r={};s.d(r,{A:()=>l});const n=(i={default:()=>e.default},o={},s.d(o,i),o);var i,o;const a=(e=>{var t={};return s.d(t,e),t})({init:()=>t.init});class l extends n.default.Component{_instancePromise=Promise.resolve(void 0)
|
|
1
|
+
import*as e from"react";import*as t from"@emailmaker/emailmaker";var s={d:(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},r={};s.d(r,{A:()=>l});const n=(i={default:()=>e.default},o={},s.d(o,i),o);var i,o;const a=(e=>{var t={};return s.d(t,e),t})({init:()=>t.init});class l extends n.default.Component{constructor(...e){super(...e),this._instancePromise=Promise.resolve(void 0),this._element=null,this.setElement=e=>{this._element=e,this._reset()}}_reset(){const{props:e,_element:t}=this;this._instancePromise=this._instancePromise.then((s=>{if(e===this.props&&t===this._element){if(t)return s?s.reset({...e,element:t}):(0,a.init)({...e,element:t});s&&s.destroy()}}),(e=>console.log(e)))}componentDidUpdate(){this._reset()}render(){const{id:e,className:t,style:s,container:r}=this.props,i={id:e,className:t,style:s,...r};return n.default.createElement("div",Object.assign({},i,{ref:this.setElement}))}}var m=r.A;export{m as default};
|