@emailmaker/emailmaker 1.0.81 → 1.0.83
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 +12 -1
- package/asset-manifest.json +13 -13
- package/emailmaker-esm.js +1 -1
- package/emailmaker.d.ts +27 -12
- package/emailmaker.js +1 -1
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/iframe-eblock.5638f747b810a63f96cb.html +1 -1
- package/iframe/iframe.5638f747b810a63f96cb.html +1 -1
- package/iframe/js/826.476ca6d3.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/plugin.html +15 -13
- package/plugin_blocks_test.html +1 -1
- package/plugin_default.html +21 -10
- package/plugin_idigital.html +1 -1
- package/plugin_nota.html +1 -1
- package/plugin_s.html +1 -1
- package/static/css/{3397.945f9768.chunk.css → 3397.140afac1.chunk.css} +1 -1
- package/static/js/{1538.9e47c193.chunk.js → 1538.d2b702b9.chunk.js} +2 -2
- package/static/js/{3397.e93f3419.chunk.js → 3397.04dd99eb.chunk.js} +2 -2
- package/static/js/3927.fd3236cc.js +1 -0
- package/static/js/{4592.2bf8f222.js → 4592.233b6b6b.js} +1 -1
- package/static/js/{emailmaker_core.38105768.js → emailmaker_core.4410dc8f.js} +2 -2
- package/translations.pot +154 -163
- package/iframe/js/826.680d79d8.js +0 -1
- package/static/js/3927.61b738e4.js +0 -1
- /package/iframe/js/{826.680d79d8.js.LICENSE.txt → 826.476ca6d3.js.LICENSE.txt} +0 -0
- /package/static/js/{1538.9e47c193.chunk.js.LICENSE.txt → 1538.d2b702b9.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{3397.e93f3419.chunk.js.LICENSE.txt → 3397.04dd99eb.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{emailmaker_core.38105768.js.LICENSE.txt → emailmaker_core.4410dc8f.js.LICENSE.txt} +0 -0
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Выполните этот код в командной строке:
|
|
7
7
|
|
|
8
8
|
```cmd
|
|
9
|
-
$ npm i @emailmaker/emailmaker@1.0.
|
|
9
|
+
$ npm i @emailmaker/emailmaker@1.0.83 -save
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Добавьте EmailMaker plugin в ваш App config.
|
|
@@ -123,6 +123,8 @@ HTML верстка письма.
|
|
|
123
123
|
| sendTestEnabled | Показ кнопки "Отправить тест". | true |
|
|
124
124
|
| sharePreviewEnabled | Показ кнопки "Поделиться". | true |
|
|
125
125
|
| webversionEnabled | Показ ссылки на веб-версию. | true |
|
|
126
|
+
| commonStylesEnabled | Показ стилей контента. | true |
|
|
127
|
+
| emailResponsiveControlEnabled | Показ переключателя адаптивности письма. | true |
|
|
126
128
|
| | | |
|
|
127
129
|
| emailDropdownMenuEnabled | Показ меню письма. | true |
|
|
128
130
|
| emailDropdownMenuClone | Показ пункта "Клонировать". | true |
|
|
@@ -193,15 +195,24 @@ HTML верстка письма.
|
|
|
193
195
|
| formButtonFieldTextAlignEnabled | Показ кнопок выравнивания текста у кнопки. | true |
|
|
194
196
|
| formButtonFieldBackgroundImageEnabled | Показ полей фонового изображения у кнопки. | true |
|
|
195
197
|
| formButtonFieldPaddingsEnabled | Показ полей внутренних отступов у кнопки. | true |
|
|
198
|
+
| formButtonFieldReplacerEnabled | Показ реплейсера у кнопки. | true |
|
|
196
199
|
| | | |
|
|
197
200
|
| formCellFieldVerticalAlignEnabled | Показ кнопок вертикального выравнивания у ячейки. | true |
|
|
198
201
|
| formCellFieldBackgroundImageEnabled | Показ полей фонового изображения у ячейки. | true |
|
|
199
202
|
| formCellFieldPaddingsEnabled | Показ полей внутренних отступов у ячейки. | true |
|
|
203
|
+
| formCellFieldSizeEnabled | Показ полей ширины и высоты. | true |
|
|
204
|
+
| | | |
|
|
205
|
+
| formImageFieldVerticalAlignEnabled | Показ кнопок вертикального выравнивания у картинки. | true |
|
|
206
|
+
| formImageFieldReplacerEnabled | Показ кнопок вертикального выравнивания у картинки. | true |
|
|
207
|
+
| formImageFieldHeightEnabled | Показ поля высоты у картинки. | true |
|
|
200
208
|
| | | |
|
|
201
209
|
| formTableFieldBackgroundImageEnabled | Показ полей фонового изображения у таблицы. | true |
|
|
202
210
|
| formDivFieldBackgroundImageEnabled | Показ полей фонового изображения у контейнера. | true |
|
|
203
211
|
| formEmailFieldBackgroundImageEnabled | Показ полей фонового изображения у письма. | true |
|
|
204
212
|
| | | |
|
|
213
|
+
| formTextFieldTypografEnabled | Показ кнопки типографа. | true |
|
|
214
|
+
| formTextFieldReplacerEnabled | Показ кнопки реплейсера. | true |
|
|
215
|
+
| | | |
|
|
205
216
|
| elementImageEnabled | Элемент Картинка. | true |
|
|
206
217
|
| elementTextEnabled | Элемент Текст. | true |
|
|
207
218
|
| elementHeaderEnabled | Элемент Заголовок. | true |
|
package/asset-manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"main.js": "/main.
|
|
4
|
-
"main.css": "/static/css/main.
|
|
5
|
-
"emailmaker_core.js": "/static/js/emailmaker_core.
|
|
3
|
+
"main.js": "/main.c11d64f7.js",
|
|
4
|
+
"main.css": "/static/css/main.48bae97c.css",
|
|
5
|
+
"emailmaker_core.js": "/static/js/emailmaker_core.4410dc8f.js",
|
|
6
6
|
"emailmaker.js": "/emailmaker.js",
|
|
7
7
|
"emailmaker-esm.js": "/emailmaker-esm.js",
|
|
8
8
|
"static/css/578.fe5765dd.chunk.css": "/static/css/578.fe5765dd.chunk.css",
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
"ant-locale/locale-zh_TW-js.js": "/static/js/ant-locale/locale-zh_TW-js.163140fa.chunk.js",
|
|
83
83
|
"/mergeTags/locale0.js": "/static/js//mergeTags/locale0.594765fd.chunk.js",
|
|
84
84
|
"/mergeTags/locale1.js": "/static/js//mergeTags/locale1.7a79e21e.chunk.js",
|
|
85
|
-
"static/css/3397.
|
|
86
|
-
"static/js/3397.
|
|
85
|
+
"static/css/3397.140afac1.chunk.css": "/static/css/3397.140afac1.chunk.css",
|
|
86
|
+
"static/js/3397.04dd99eb.chunk.js": "/static/js/3397.04dd99eb.chunk.js",
|
|
87
87
|
"static/js/3017.d2c48f42.chunk.js": "/static/js/3017.d2c48f42.chunk.js",
|
|
88
|
-
"static/js/1538.
|
|
88
|
+
"static/js/1538.d2b702b9.chunk.js": "/static/js/1538.d2b702b9.chunk.js",
|
|
89
89
|
"static/js/9644.1ae95bb7.chunk.js": "/static/js/9644.1ae95bb7.chunk.js",
|
|
90
90
|
"static/js/7463.69864ff5.chunk.js": "/static/js/7463.69864ff5.chunk.js",
|
|
91
91
|
"static/js/6144.a3bf0881.chunk.js": "/static/js/6144.a3bf0881.chunk.js",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"static/js/1302.39ea1b43.js": "/static/js/1302.39ea1b43.js",
|
|
96
96
|
"static/js/5346.7af72a07.chunk.js": "/static/js/5346.7af72a07.chunk.js",
|
|
97
97
|
"static/js/3758.c4bda075.js": "/static/js/3758.c4bda075.js",
|
|
98
|
-
"static/js/3927.
|
|
98
|
+
"static/js/3927.fd3236cc.js": "/static/js/3927.fd3236cc.js",
|
|
99
99
|
"static/js/3085.59662838.chunk.js": "/static/js/3085.59662838.chunk.js",
|
|
100
100
|
"static/js/6419.e52a6158.js": "/static/js/6419.e52a6158.js",
|
|
101
101
|
"static/js/4972.8646ad7f.js": "/static/js/4972.8646ad7f.js",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"static/js/3273.6cedb8e0.js": "/static/js/3273.6cedb8e0.js",
|
|
105
105
|
"static/js/6819.2f1dcf17.chunk.js": "/static/js/6819.2f1dcf17.chunk.js",
|
|
106
106
|
"static/js/1880.de5a11ab.chunk.js": "/static/js/1880.de5a11ab.chunk.js",
|
|
107
|
-
"static/js/4592.
|
|
107
|
+
"static/js/4592.233b6b6b.js": "/static/js/4592.233b6b6b.js",
|
|
108
108
|
"html.worker.js": "/html.worker.js",
|
|
109
109
|
"css.worker.js": "/css.worker.js",
|
|
110
110
|
"static/media/frame_light.png": "/static/media/frame_light.22a9b4ec728365d8193f.png",
|
|
@@ -134,11 +134,11 @@
|
|
|
134
134
|
"index.html": "/index.html",
|
|
135
135
|
"static/media/ig.png": "/static/media/ig.47a89992b4bec92d4364.png",
|
|
136
136
|
"static/media/yd.png": "/static/media/yd.c40d05dde64ef695fdf2.png",
|
|
137
|
+
"plugin_default.html": "/plugin_default.html",
|
|
137
138
|
"static/media/vk.png": "/static/media/vk.fe41df919f4e8718e0b3.png",
|
|
138
139
|
"static/media/tw.png": "/static/media/tw.823a7736ac2d82815c71.png",
|
|
139
140
|
"static/media/tg.png": "/static/media/tg.10f004529a98df9732b9.png",
|
|
140
141
|
"static/media/yt.png": "/static/media/yt.4ac57e55d158b40c7fc1.png",
|
|
141
|
-
"plugin_default.html": "/plugin_default.html",
|
|
142
142
|
"plugin_s.html": "/plugin_s.html",
|
|
143
143
|
"static/media/icon-border-radius.svg": "/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg",
|
|
144
144
|
"static/media/fb.png": "/static/media/fb.ff10384394f8044ec889.png",
|
|
@@ -152,9 +152,9 @@
|
|
|
152
152
|
"static/js/3273.6cedb8e0.js",
|
|
153
153
|
"static/js/1302.39ea1b43.js",
|
|
154
154
|
"static/js/3758.c4bda075.js",
|
|
155
|
-
"static/js/4592.
|
|
156
|
-
"static/js/3927.
|
|
157
|
-
"main.
|
|
158
|
-
"static/css/main.
|
|
155
|
+
"static/js/4592.233b6b6b.js",
|
|
156
|
+
"static/js/3927.fd3236cc.js",
|
|
157
|
+
"main.c11d64f7.js",
|
|
158
|
+
"static/css/main.48bae97c.css"
|
|
159
159
|
]
|
|
160
160
|
}
|
package/emailmaker-esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const load=function(e){var a,l=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={27612:(e,a,t)=>{var o;let c="https://unpkg.com/@emailmaker/emailmaker@1.0.
|
|
1
|
+
const load=function(e){var a,l=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={27612:(e,a,t)=>{var o;let c="https://unpkg.com/@emailmaker/emailmaker@1.0.83/",n="emailmaker";if("object"===typeof l&&null!==(o=l)&&void 0!==o&&o.publicPath){var r;c=null===(r=l)||void 0===r?void 0:r.publicPath}else{let e="";const a=document.querySelector(`script[src*=${n}\\.js]`)||document.querySelector(`script[src*=${n}-esm\\.js]`);a instanceof HTMLScriptElement&&(e=a.src),e&&(c=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}t.p=new URL(c,window.location.origin).href}},t={};function o(a){var l=t[a];if(void 0!==l)return l.exports;var c=t[a]={exports:{}};return e[a].call(c.exports,c,c.exports,o),c.exports}o.m=e,o.amdO={},o.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return o.d(a,{a:a}),a},(()=>{var e,a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;o.t=function(l,t){if(1&t&&(l=this(l)),8&t)return l;if("object"===typeof l&&l){if(4&t&&l.__esModule)return l;if(16&t&&"function"===typeof l.then)return l}var c=Object.create(null);o.r(c);var n={};e=e||[null,a({}),a([]),a(a)];for(var r=2&t&&l;"object"==typeof r&&!~e.indexOf(r);r=a(r))Object.getOwnPropertyNames(r).forEach((e=>n[e]=()=>l[e]));return n.default=()=>l,o.d(c,n),c}})(),o.d=(e,a)=>{for(var l in a)o.o(a,l)&&!o.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:a[l]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((a,l)=>(o.f[l](e,a),a)),[])),o.u=e=>6419===e?"static/js/6419.e52a6158.js":4972===e?"static/js/4972.8646ad7f.js":4138===e?"static/js/4138.7f4f36d7.js":6498===e?"static/js/6498.bfe18798.js":3273===e?"static/js/3273.6cedb8e0.js":1302===e?"static/js/1302.39ea1b43.js":4592===e?"static/js/4592.233b6b6b.js":3927===e?"static/js/3927.fd3236cc.js":"static/js/"+({77:"ant-locale/locale-sv_SE-js",197:"ant-locale/locale-zh_HK-js",290:"ant-locale/locale-ml_IN-js",494:"ant-locale/locale-fr_CA-js",737:"ant-locale/locale-hy_AM-js",1241:"ant-locale/locale-vi_VN-js",1330:"ant-locale/locale-fr_FR-js",1332:"ant-locale/locale-hi_IN-js",1377:"ant-locale/locale-cs_CZ-js",1454:"ant-locale/locale-ka_GE-js",1502:"ant-locale/locale-en_GB-js",1510:"ant-locale/locale-hr_HR-js",1626:"ant-locale/locale-ca_ES-js",1640:"ant-locale/locale-ta_IN-js",1788:"ant-locale/locale-uk_UA-js",1872:"ant-locale/locale-ga_IE-js",2066:"ant-locale/locale-da_DK-js",2114:"ant-locale/locale-es_ES-js",2408:"ant-locale/locale-it_IT-js",2438:"ant-locale/locale-lt_LT-js",2466:"/mergeTags/locale0",2827:"ant-locale/locale-sl_SI-js",2844:"ant-locale/locale-bg_BG-js",2917:"ant-locale/locale-nb_NO-js",2988:"ant-locale/locale-ro_RO-js",3302:"ant-locale/locale-lv_LV-js",3411:"ant-locale/locale-fr_BE-js",3624:"ant-locale/locale-id_ID-js",3711:"ant-locale/locale-gl_ES-js",3816:"ant-locale/locale-az_AZ-js",3914:"ant-locale/locale-kn_IN-js",4425:"ant-locale/locale-kk_KZ-js",4607:"ant-locale/locale-ar_EG-js",4686:"ant-locale/locale-tr_TR-js",4702:"ant-locale/locale-pt_BR-js",4813:"ant-locale/locale-zh_TW-js",4823:"ant-locale/locale-si_LK-js",5108:"ant-locale/locale-ku_IQ-js",5261:"ant-locale/locale-ko_KR-js",5322:"ant-locale/locale-fa_IR-js",5466:"ant-locale/locale-nl_NL-js",5653:"ant-locale/locale-nl_BE-js",5827:"ant-locale/locale-ne_NP-js",5862:"ant-locale/locale-pl_PL-js",5864:"ant-locale/locale-tk_TK-js",5902:"ant-locale/locale-th_TH-js",5980:"ant-locale/locale-ms_MY-js",6033:"ant-locale/locale-km_KH-js",6135:"ant-locale/locale-et_EE-js",6418:"ant-locale/locale-sk_SK-js",6428:"ant-locale/locale-bn_BD-js",6552:"ant-locale/locale-fi_FI-js",6618:"ant-locale/locale-my_MM-js",6764:"ant-locale/locale-hu_HU-js",6832:"ant-locale/locale-mn_MN-js",6859:"/mergeTags/locale1",7288:"ant-locale/locale-el_GR-js",7426:"ant-locale/locale-is_IS-js",7974:"ant-locale/locale-he_IL-js",8466:"ant-locale/locale-mk_MK-js",8534:"ant-locale/locale-pt_PT-js",8590:"ant-locale/locale-ur_PK-js",8682:"ant-locale/locale-sr_RS-js",8796:"ant-locale/locale-de_DE-js",8839:"ant-locale/locale-ja_JP-js",9169:"ant-locale/locale-zh_CN-js",9200:"ant-locale/locale-by_BY-js",9508:"ant-locale/locale-kmr_IQ-js",9716:"ant-locale/locale-eu_ES-js"}[e]||e)+"."+{77:"9f47a065",197:"0feb368f",290:"3aa233eb",494:"ba00ca3a",737:"6b20bceb",1241:"f0324229",1330:"1e6d0a10",1332:"8e3ea1dc",1377:"f1151015",1454:"8b08646c",1502:"6756ba01",1510:"94001d08",1538:"d2b702b9",1626:"e4bdfa2b",1640:"3b46361c",1729:"a0be903e",1788:"ef0d8c8e",1872:"cc1f0f56",1880:"de5a11ab",2066:"33e12cfb",2114:"43424efe",2408:"46a8ce6d",2438:"08ac662b",2466:"594765fd",2642:"b60a63f6",2827:"8afbce30",2844:"2f68d816",2917:"471cc88a",2988:"4a05dc9d",3017:"d2c48f42",3019:"aaa6d087",3085:"59662838",3302:"2a33af61",3397:"04dd99eb",3411:"2aec36ca",3624:"b380cc8b",3711:"c1588dec",3816:"1b3f2ec6",3914:"40066823",4309:"ae8e4ad0",4425:"a1cc2ddc",4607:"a1f4a2ee",4686:"b5e42917",4702:"75dc6403",4813:"163140fa",4823:"3b54f4c4",5108:"594553b1",5261:"68047848",5322:"3b6bfddc",5346:"7af72a07",5466:"453457a0",5653:"2af0a7fe",5827:"52b65a1a",5862:"1e4b27da",5864:"63d0b187",5902:"83e732d3",5980:"924bfbf0",6033:"09c630f9",6135:"3694348e",6144:"a3bf0881",6418:"cd76b6b1",6428:"38ca14cb",6552:"8e749864",6618:"bc3805ae",6764:"50a3ffc6",6819:"2f1dcf17",6832:"2550caa5",6859:"7a79e21e",7288:"007d40b4",7426:"995979c0",7463:"69864ff5",7974:"1be3257a",8084:"67de697a",8466:"caa088c9",8534:"b07438c3",8590:"904c3e1c",8682:"0708405f",8796:"42497042",8839:"69f9da33",9169:"428a6bc7",9200:"927570db",9508:"c25f3afa",9644:"1ae95bb7",9716:"e2678a29",9880:"74dc5e4f"}[e]+".chunk.js",o.miniCssF=e=>"static/css/"+e+"."+{3397:"140afac1",8084:"15f07f40"}[e]+".chunk.css",o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={},a="email-maker:";o.l=(l,t,c,n)=>{if(e[l])e[l].push(t);else{var r,s;if(void 0!==c)for(var i=document.getElementsByTagName("script"),d=0;d<i.length;d++){var f=i[d];if(f.getAttribute("src")==l||f.getAttribute("data-webpack")==a+c){r=f;break}}r||(s=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",a+c),r.src=l),e[l]=[t];var u=(a,t)=>{r.onerror=r.onload=null,clearTimeout(j);var o=e[l];if(delete e[l],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((e=>e(t))),a)return a(t)},j=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),s&&document.head.appendChild(r)}}})(),o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((a,l)=>{var t=o.miniCssF(e),c=o.p+t;if(((e,a)=>{for(var l=document.getElementsByTagName("link"),t=0;t<l.length;t++){var o=(n=l[t]).getAttribute("data-href")||n.getAttribute("href");if("stylesheet"===n.rel&&(o===e||o===a))return n}var c=document.getElementsByTagName("style");for(t=0;t<c.length;t++){var n;if((o=(n=c[t]).getAttribute("data-href"))===e||o===a)return n}})(t,c))return a();((e,a,l,t,c)=>{var n=document.createElement("link");n.setAttribute("data-emailmaker","true"),n.rel="stylesheet",n.type="text/css",o.nc&&(n.nonce=o.nc),n.onerror=n.onload=l=>{if(n.onerror=n.onload=null,"load"===l.type)t();else{var o=l&&l.type,r=l&&l.target&&l.target.href||a,s=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+r+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=o,s.request=r,n.parentNode&&n.parentNode.removeChild(n),c(s)}},n.href=a,l?l.parentNode.insertBefore(n,l.nextSibling):document.head.appendChild(n)})(e,c,null,a,l)})),a={1849:0,7391:0};o.f.miniCss=(l,t)=>{a[l]?t.push(a[l]):0!==a[l]&&{3397:1,8084:1}[l]&&t.push(a[l]=e(l).then((()=>{a[l]=0}),(e=>{throw delete a[l],e})))}}})(),(()=>{var e={1849:0,7391:0};o.f.j=(a,l)=>{var t=o.o(e,a)?e[a]:void 0;if(0!==t)if(t)l.push(t[2]);else{var c=new Promise(((l,o)=>t=e[a]=[l,o]));l.push(t[2]=c);var n=o.p+o.u(a),r=new Error;o.l(n,(l=>{if(o.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var c=l&&("load"===l.type?"missing":l.type),n=l&&l.target&&l.target.src;r.message="Loading chunk "+a+" failed.\n("+c+": "+n+")",r.name="ChunkLoadError",r.type=c,r.request=n,t[1](r)}}),"chunk-"+a,a)}};var a=(a,l)=>{var t,c,[n,r,s]=l,i=0;if(n.some((a=>0!==e[a]))){for(t in r)o.o(r,t)&&(o.m[t]=r[t]);if(s)s(o)}for(a&&a(l);i<n.length;i++)c=n[i],o.o(e,c)&&e[c]&&e[c][0](),e[c]=0},l=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];l.forEach(a.bind(null,0)),l.push=a.bind(null,l.push.bind(l))})(),o.nc=void 0;var c={};(()=>{"use strict";o.r(c),o.d(c,{init:()=>l,parseAMP:()=>t,version:()=>n});o(27612);let e,a;function l(a){return e||(e=o.e(3017).then(o.bind(o,63017))),e.then((e=>e.init(a)))}function t(e){return a||(a=o.e(1538).then(o.bind(o,71538))),a.then((a=>a.parseAMP(e)))}const n="1.0.83"})(),a=c})(),a},app=load("undefined"===typeof EmailmakerEnvironment?void 0:EmailmakerEnvironment);export const parseAMP=app.parseAMP;export const version=app.version;export const init=app.init;
|
package/emailmaker.d.ts
CHANGED
|
@@ -641,6 +641,8 @@ declare namespace ExportedApi {
|
|
|
641
641
|
formButtonFieldBackgroundImageEnabled: boolean;
|
|
642
642
|
/** showing internal margins */
|
|
643
643
|
formButtonFieldPaddingsEnabled: boolean;
|
|
644
|
+
/** showing replacer button */
|
|
645
|
+
formButtonFieldReplacerEnabled: boolean;
|
|
644
646
|
|
|
645
647
|
/** showing vertical alignment buttons */
|
|
646
648
|
formCellFieldVerticalAlignEnabled: boolean;
|
|
@@ -648,6 +650,8 @@ declare namespace ExportedApi {
|
|
|
648
650
|
formCellFieldBackgroundImageEnabled: boolean;
|
|
649
651
|
/** showing internal margins */
|
|
650
652
|
formCellFieldPaddingsEnabled: boolean;
|
|
653
|
+
/** showing sizes */
|
|
654
|
+
formCellFieldSizeEnabled: boolean;
|
|
651
655
|
/** showing the button to insert an image into the button text */
|
|
652
656
|
formLinkFieldInsertImageEnabled: boolean;
|
|
653
657
|
/** showing background image fields */
|
|
@@ -656,6 +660,16 @@ declare namespace ExportedApi {
|
|
|
656
660
|
formDivFieldBackgroundImageEnabled: boolean;
|
|
657
661
|
/** showing background image fields */
|
|
658
662
|
formEmailFieldBackgroundImageEnabled: boolean;
|
|
663
|
+
/** showing vertical alignment buttons */
|
|
664
|
+
formImageFieldVerticalAlignEnabled: boolean;
|
|
665
|
+
/** showing replacer button */
|
|
666
|
+
formImageFieldReplacerEnabled: boolean;
|
|
667
|
+
/** showing height field */
|
|
668
|
+
formImageFieldHeightEnabled: boolean;
|
|
669
|
+
/** showing typograf button */
|
|
670
|
+
formTextFieldTypografEnabled: boolean;
|
|
671
|
+
/** showing replacer button */
|
|
672
|
+
formTextFieldReplacerEnabled: boolean;
|
|
659
673
|
|
|
660
674
|
revisionService: boolean;
|
|
661
675
|
|
|
@@ -694,6 +708,9 @@ declare namespace ExportedApi {
|
|
|
694
708
|
|
|
695
709
|
mergeTags?: MergeTagsInfo;
|
|
696
710
|
|
|
711
|
+
/** showing the merge tags button */
|
|
712
|
+
mergeTagsShow?: boolean;
|
|
713
|
+
|
|
697
714
|
testEmails?: string[];
|
|
698
715
|
|
|
699
716
|
/** showing the config switch */
|
|
@@ -709,6 +726,10 @@ declare namespace ExportedApi {
|
|
|
709
726
|
headerShow?: boolean;
|
|
710
727
|
/** webversion show */
|
|
711
728
|
webversionEnabled?: boolean;
|
|
729
|
+
/** common styles show */
|
|
730
|
+
commonStylesEnabled?: boolean;
|
|
731
|
+
/** adaptive control show */
|
|
732
|
+
emailResponsiveControlEnabled?: boolean;
|
|
712
733
|
/** show export to text */
|
|
713
734
|
exportTextEnabled?: boolean;
|
|
714
735
|
/** show export to HTML */
|
|
@@ -862,8 +883,7 @@ declare namespace ExportedApi {
|
|
|
862
883
|
handleChunkLoaded?: () => void;
|
|
863
884
|
}
|
|
864
885
|
namespace CoreMixin {
|
|
865
|
-
interface Options extends CoreOptions {
|
|
866
|
-
}
|
|
886
|
+
interface Options extends CoreOptions {}
|
|
867
887
|
|
|
868
888
|
interface Instance {
|
|
869
889
|
getElement(): Element | DocumentFragment | undefined;
|
|
@@ -1025,7 +1045,7 @@ declare namespace ExportedApi {
|
|
|
1025
1045
|
/**
|
|
1026
1046
|
* get compiled email
|
|
1027
1047
|
*/
|
|
1028
|
-
compileEmail(email?: Email, all?: boolean | { text?: boolean
|
|
1048
|
+
compileEmail(email?: Email, all?: boolean | { text?: boolean; amp?: boolean }): Promise<CompiledEmail>;
|
|
1029
1049
|
/**
|
|
1030
1050
|
* get blocks from inner storage
|
|
1031
1051
|
*/
|
|
@@ -1075,8 +1095,7 @@ declare namespace ExportedApi {
|
|
|
1075
1095
|
initialSpinner?: false;
|
|
1076
1096
|
}
|
|
1077
1097
|
|
|
1078
|
-
interface Instance {
|
|
1079
|
-
}
|
|
1098
|
+
interface Instance {}
|
|
1080
1099
|
}
|
|
1081
1100
|
interface Options extends SpinMixin.Options {}
|
|
1082
1101
|
|
|
@@ -1144,7 +1163,7 @@ declare namespace ExportedApi {
|
|
|
1144
1163
|
interface Instance extends NotificationMixin.Instance {}
|
|
1145
1164
|
}
|
|
1146
1165
|
|
|
1147
|
-
interface EditStackData {
|
|
1166
|
+
interface EditStackData {
|
|
1148
1167
|
serialize(): ArrayBuffer;
|
|
1149
1168
|
}
|
|
1150
1169
|
|
|
@@ -1154,7 +1173,6 @@ interface EditStackSnapshot {
|
|
|
1154
1173
|
}
|
|
1155
1174
|
|
|
1156
1175
|
interface IUndoRedoService {
|
|
1157
|
-
|
|
1158
1176
|
/**
|
|
1159
1177
|
* Undoes the last performed action, reverting the state to the previous step in history.
|
|
1160
1178
|
* If the history is empty, this method does nothing.
|
|
@@ -1215,21 +1233,18 @@ interface IUndoRedoService {
|
|
|
1215
1233
|
}
|
|
1216
1234
|
|
|
1217
1235
|
declare namespace ExportedApi {
|
|
1218
|
-
|
|
1219
1236
|
namespace UndoRedoMixin {
|
|
1220
1237
|
interface Instance {
|
|
1221
|
-
|
|
1238
|
+
/**
|
|
1222
1239
|
* An instance of `IUndoRedoService` that manages undo and redo operations.
|
|
1223
1240
|
*/
|
|
1224
1241
|
undoRedoService: IUndoRedoService;
|
|
1225
1242
|
}
|
|
1226
1243
|
}
|
|
1227
1244
|
|
|
1228
|
-
interface Instance extends UndoRedoMixin.Instance {
|
|
1245
|
+
interface Instance extends UndoRedoMixin.Instance {}
|
|
1229
1246
|
}
|
|
1230
1247
|
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
1248
|
declare namespace ExportedApi {
|
|
1234
1249
|
interface Instance {
|
|
1235
1250
|
/** reset app config */
|
package/emailmaker.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,a){"object"===typeof exports&&"object"===typeof module?module.exports=a():"function"===typeof define&&define.amd?define([],a):"object"===typeof exports?exports.emailmaker=a():e.emailmaker=a()}(globalThis,(()=>(()=>{var e={27612:(e,a,l)=>{var t;let o="https://unpkg.com/@emailmaker/emailmaker@1.0.
|
|
1
|
+
!function(e,a){"object"===typeof exports&&"object"===typeof module?module.exports=a():"function"===typeof define&&define.amd?define([],a):"object"===typeof exports?exports.emailmaker=a():e.emailmaker=a()}(globalThis,(()=>(()=>{var e={27612:(e,a,l)=>{var t;let o="https://unpkg.com/@emailmaker/emailmaker@1.0.83/",c="emailmaker";if("object"===typeof EmailmakerEnvironment&&null!==(t=EmailmakerEnvironment)&&void 0!==t&&t.publicPath){var n;o=null===(n=EmailmakerEnvironment)||void 0===n?void 0:n.publicPath}else{let e="";const a=document.querySelector(`script[src*=${c}\\.js]`)||document.querySelector(`script[src*=${c}-esm\\.js]`);a instanceof HTMLScriptElement&&(e=a.src),e&&(o=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}l.p=new URL(o,window.location.origin).href}},a={};function l(t){var o=a[t];if(void 0!==o)return o.exports;var c=a[t]={exports:{}};return e[t].call(c.exports,c,c.exports,l),c.exports}l.m=e,l.amdO={},l.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return l.d(a,{a:a}),a},(()=>{var e,a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;l.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"===typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"===typeof t.then)return t}var c=Object.create(null);l.r(c);var n={};e=e||[null,a({}),a([]),a(a)];for(var r=2&o&&t;"object"==typeof r&&!~e.indexOf(r);r=a(r))Object.getOwnPropertyNames(r).forEach((e=>n[e]=()=>t[e]));return n.default=()=>t,l.d(c,n),c}})(),l.d=(e,a)=>{for(var t in a)l.o(a,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce(((a,t)=>(l.f[t](e,a),a)),[])),l.u=e=>6419===e?"static/js/6419.e52a6158.js":4972===e?"static/js/4972.8646ad7f.js":4138===e?"static/js/4138.7f4f36d7.js":6498===e?"static/js/6498.bfe18798.js":3273===e?"static/js/3273.6cedb8e0.js":1302===e?"static/js/1302.39ea1b43.js":4592===e?"static/js/4592.233b6b6b.js":3927===e?"static/js/3927.fd3236cc.js":"static/js/"+({77:"ant-locale/locale-sv_SE-js",197:"ant-locale/locale-zh_HK-js",290:"ant-locale/locale-ml_IN-js",494:"ant-locale/locale-fr_CA-js",737:"ant-locale/locale-hy_AM-js",1241:"ant-locale/locale-vi_VN-js",1330:"ant-locale/locale-fr_FR-js",1332:"ant-locale/locale-hi_IN-js",1377:"ant-locale/locale-cs_CZ-js",1454:"ant-locale/locale-ka_GE-js",1502:"ant-locale/locale-en_GB-js",1510:"ant-locale/locale-hr_HR-js",1626:"ant-locale/locale-ca_ES-js",1640:"ant-locale/locale-ta_IN-js",1788:"ant-locale/locale-uk_UA-js",1872:"ant-locale/locale-ga_IE-js",2066:"ant-locale/locale-da_DK-js",2114:"ant-locale/locale-es_ES-js",2408:"ant-locale/locale-it_IT-js",2438:"ant-locale/locale-lt_LT-js",2466:"/mergeTags/locale0",2827:"ant-locale/locale-sl_SI-js",2844:"ant-locale/locale-bg_BG-js",2917:"ant-locale/locale-nb_NO-js",2988:"ant-locale/locale-ro_RO-js",3302:"ant-locale/locale-lv_LV-js",3411:"ant-locale/locale-fr_BE-js",3624:"ant-locale/locale-id_ID-js",3711:"ant-locale/locale-gl_ES-js",3816:"ant-locale/locale-az_AZ-js",3914:"ant-locale/locale-kn_IN-js",4425:"ant-locale/locale-kk_KZ-js",4607:"ant-locale/locale-ar_EG-js",4686:"ant-locale/locale-tr_TR-js",4702:"ant-locale/locale-pt_BR-js",4813:"ant-locale/locale-zh_TW-js",4823:"ant-locale/locale-si_LK-js",5108:"ant-locale/locale-ku_IQ-js",5261:"ant-locale/locale-ko_KR-js",5322:"ant-locale/locale-fa_IR-js",5466:"ant-locale/locale-nl_NL-js",5653:"ant-locale/locale-nl_BE-js",5827:"ant-locale/locale-ne_NP-js",5862:"ant-locale/locale-pl_PL-js",5864:"ant-locale/locale-tk_TK-js",5902:"ant-locale/locale-th_TH-js",5980:"ant-locale/locale-ms_MY-js",6033:"ant-locale/locale-km_KH-js",6135:"ant-locale/locale-et_EE-js",6418:"ant-locale/locale-sk_SK-js",6428:"ant-locale/locale-bn_BD-js",6552:"ant-locale/locale-fi_FI-js",6618:"ant-locale/locale-my_MM-js",6764:"ant-locale/locale-hu_HU-js",6832:"ant-locale/locale-mn_MN-js",6859:"/mergeTags/locale1",7288:"ant-locale/locale-el_GR-js",7426:"ant-locale/locale-is_IS-js",7974:"ant-locale/locale-he_IL-js",8466:"ant-locale/locale-mk_MK-js",8534:"ant-locale/locale-pt_PT-js",8590:"ant-locale/locale-ur_PK-js",8682:"ant-locale/locale-sr_RS-js",8796:"ant-locale/locale-de_DE-js",8839:"ant-locale/locale-ja_JP-js",9169:"ant-locale/locale-zh_CN-js",9200:"ant-locale/locale-by_BY-js",9508:"ant-locale/locale-kmr_IQ-js",9716:"ant-locale/locale-eu_ES-js"}[e]||e)+"."+{77:"9f47a065",197:"0feb368f",290:"3aa233eb",494:"ba00ca3a",737:"6b20bceb",1241:"f0324229",1330:"1e6d0a10",1332:"8e3ea1dc",1377:"f1151015",1454:"8b08646c",1502:"6756ba01",1510:"94001d08",1538:"d2b702b9",1626:"e4bdfa2b",1640:"3b46361c",1729:"a0be903e",1788:"ef0d8c8e",1872:"cc1f0f56",1880:"de5a11ab",2066:"33e12cfb",2114:"43424efe",2408:"46a8ce6d",2438:"08ac662b",2466:"594765fd",2642:"b60a63f6",2827:"8afbce30",2844:"2f68d816",2917:"471cc88a",2988:"4a05dc9d",3017:"d2c48f42",3019:"aaa6d087",3085:"59662838",3302:"2a33af61",3397:"04dd99eb",3411:"2aec36ca",3624:"b380cc8b",3711:"c1588dec",3816:"1b3f2ec6",3914:"40066823",4309:"ae8e4ad0",4425:"a1cc2ddc",4607:"a1f4a2ee",4686:"b5e42917",4702:"75dc6403",4813:"163140fa",4823:"3b54f4c4",5108:"594553b1",5261:"68047848",5322:"3b6bfddc",5346:"7af72a07",5466:"453457a0",5653:"2af0a7fe",5827:"52b65a1a",5862:"1e4b27da",5864:"63d0b187",5902:"83e732d3",5980:"924bfbf0",6033:"09c630f9",6135:"3694348e",6144:"a3bf0881",6418:"cd76b6b1",6428:"38ca14cb",6552:"8e749864",6618:"bc3805ae",6764:"50a3ffc6",6819:"2f1dcf17",6832:"2550caa5",6859:"7a79e21e",7288:"007d40b4",7426:"995979c0",7463:"69864ff5",7974:"1be3257a",8084:"67de697a",8466:"caa088c9",8534:"b07438c3",8590:"904c3e1c",8682:"0708405f",8796:"42497042",8839:"69f9da33",9169:"428a6bc7",9200:"927570db",9508:"c25f3afa",9644:"1ae95bb7",9716:"e2678a29",9880:"74dc5e4f"}[e]+".chunk.js",l.miniCssF=e=>"static/css/"+e+"."+{3397:"140afac1",8084:"15f07f40"}[e]+".chunk.css",l.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),l.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={},a="email-maker:";l.l=(t,o,c,n)=>{if(e[t])e[t].push(o);else{var r,s;if(void 0!==c)for(var i=document.getElementsByTagName("script"),d=0;d<i.length;d++){var f=i[d];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==a+c){r=f;break}}r||(s=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,l.nc&&r.setAttribute("nonce",l.nc),r.setAttribute("data-webpack",a+c),r.src=t),e[t]=[o];var u=(a,l)=>{r.onerror=r.onload=null,clearTimeout(j);var o=e[t];if(delete e[t],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((e=>e(l))),a)return a(l)},j=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),s&&document.head.appendChild(r)}}})(),l.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((a,t)=>{var o=l.miniCssF(e),c=l.p+o;if(((e,a)=>{for(var l=document.getElementsByTagName("link"),t=0;t<l.length;t++){var o=(n=l[t]).getAttribute("data-href")||n.getAttribute("href");if("stylesheet"===n.rel&&(o===e||o===a))return n}var c=document.getElementsByTagName("style");for(t=0;t<c.length;t++){var n;if((o=(n=c[t]).getAttribute("data-href"))===e||o===a)return n}})(o,c))return a();((e,a,t,o,c)=>{var n=document.createElement("link");n.setAttribute("data-emailmaker","true"),n.rel="stylesheet",n.type="text/css",l.nc&&(n.nonce=l.nc),n.onerror=n.onload=l=>{if(n.onerror=n.onload=null,"load"===l.type)o();else{var t=l&&l.type,r=l&&l.target&&l.target.href||a,s=new Error("Loading CSS chunk "+e+" failed.\n("+t+": "+r+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=t,s.request=r,n.parentNode&&n.parentNode.removeChild(n),c(s)}},n.href=a,t?t.parentNode.insertBefore(n,t.nextSibling):document.head.appendChild(n)})(e,c,null,a,t)})),a={7391:0,1849:0};l.f.miniCss=(l,t)=>{a[l]?t.push(a[l]):0!==a[l]&&{3397:1,8084:1}[l]&&t.push(a[l]=e(l).then((()=>{a[l]=0}),(e=>{throw delete a[l],e})))}}})(),(()=>{var e={7391:0,1849:0};l.f.j=(a,t)=>{var o=l.o(e,a)?e[a]:void 0;if(0!==o)if(o)t.push(o[2]);else{var c=new Promise(((l,t)=>o=e[a]=[l,t]));t.push(o[2]=c);var n=l.p+l.u(a),r=new Error;l.l(n,(t=>{if(l.o(e,a)&&(0!==(o=e[a])&&(e[a]=void 0),o)){var c=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;r.message="Loading chunk "+a+" failed.\n("+c+": "+n+")",r.name="ChunkLoadError",r.type=c,r.request=n,o[1](r)}}),"chunk-"+a,a)}};var a=(a,t)=>{var o,c,[n,r,s]=t,i=0;if(n.some((a=>0!==e[a]))){for(o in r)l.o(r,o)&&(l.m[o]=r[o]);if(s)s(l)}for(a&&a(t);i<n.length;i++)c=n[i],l.o(e,c)&&e[c]&&e[c][0](),e[c]=0},t=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];t.forEach(a.bind(null,0)),t.push=a.bind(null,t.push.bind(t))})(),l.nc=void 0;var t={};return(()=>{"use strict";l.r(t),l.d(t,{init:()=>o,parseAMP:()=>c,version:()=>n});l(27612);let e,a;function o(a){return e||(e=l.e(3017).then(l.bind(l,63017))),e.then((e=>e.init(a)))}function c(e){return a||(a=l.e(1538).then(l.bind(l,71538))),a.then((a=>a.parseAMP(e)))}const n="1.0.83"})(),t})()));
|