@emailmaker/emailmaker 1.0.104-alpha.3 → 1.0.104-alpha.5
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 +32 -32
- package/emailmaker-esm.js +1 -1
- package/emailmaker.d.ts +10 -22
- package/emailmaker.js +1 -1
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/iframe-eblock.164ef54af71217fdd487.html +1 -0
- package/iframe/iframe.164ef54af71217fdd487.html +1 -0
- package/iframe/index.html +1 -1
- package/iframe/js/174.33554398.js +1 -0
- package/iframe/js/525.0cb2fa70.js +1 -0
- package/iframe/js/882.1c161e5f.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/package.json +1 -1
- package/static/css/1670.8043d956.chunk.css +2 -0
- package/static/css/5102.312a4496.chunk.css +2 -0
- package/static/css/main.dd6b968b.css +2 -0
- package/static/js/{1670.21de3861.js → 1670.ce6f9dd6.js} +3 -3
- package/static/js/{1902.5d5b2a4e.js → 1902.335b625b.js} +2 -2
- package/static/js/3628.fcf9c2d3.js +3 -0
- package/static/js/{5102.96ee2feb.js → 5102.6c03b989.js} +2 -2
- package/static/js/7126.9660446b.js +3 -0
- package/static/js/775.56b1c7d0.js +2 -0
- package/static/js/{9162.bbb1ae0c.js → 9162.ceffe13d.js} +3 -3
- package/static/js/9372.c2b9829b.js +2 -0
- package/static/js/{emailmaker_core.1cf410b5.js → emailmaker_core.4c5ecbe9.js} +3 -3
- package/iframe/iframe-eblock.603dd439cc904ee550c8.html +0 -1
- package/iframe/iframe.603dd439cc904ee550c8.html +0 -1
- package/iframe/js/174.a18798fa.js +0 -1
- package/iframe/js/525.2e6ea688.js +0 -1
- package/iframe/js/882.698ebb71.js +0 -1
- package/static/css/1670.c105226d.chunk.css +0 -2
- package/static/css/5102.4bf6c54e.chunk.css +0 -2
- package/static/css/main.35826458.css +0 -2
- package/static/js/3628.8425fc03.js +0 -3
- package/static/js/7126.8d809cff.js +0 -3
- package/static/js/775.f635afb1.js +0 -2
- package/static/js/9372.22a2cdc7.js +0 -2
- /package/iframe/js/{174.a18798fa.js.LICENSE.txt → 174.33554398.js.LICENSE.txt} +0 -0
- /package/iframe/js/{525.2e6ea688.js.LICENSE.txt → 525.0cb2fa70.js.LICENSE.txt} +0 -0
- /package/iframe/js/{882.698ebb71.js.LICENSE.txt → 882.1c161e5f.js.LICENSE.txt} +0 -0
- /package/static/js/{1670.21de3861.js.LICENSE.txt → 1670.ce6f9dd6.js.LICENSE.txt} +0 -0
- /package/static/js/{3628.8425fc03.js.LICENSE.txt → 3628.fcf9c2d3.js.LICENSE.txt} +0 -0
- /package/static/js/{7126.8d809cff.js.LICENSE.txt → 7126.9660446b.js.LICENSE.txt} +0 -0
- /package/static/js/{9162.bbb1ae0c.js.LICENSE.txt → 9162.ceffe13d.js.LICENSE.txt} +0 -0
- /package/static/js/{emailmaker_core.1cf410b5.js.LICENSE.txt → emailmaker_core.4c5ecbe9.js.LICENSE.txt} +0 -0
package/README.md
CHANGED
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.7498315e.js",
|
|
4
|
+
"main.css": "/static/css/main.dd6b968b.css",
|
|
5
|
+
"emailmaker_core.js": "/static/js/emailmaker_core.4c5ecbe9.js",
|
|
6
6
|
"emailmaker.js": "/emailmaker.js",
|
|
7
7
|
"emailmaker-esm.js": "/emailmaker-esm.js",
|
|
8
8
|
"static/css/81.c6c6e3f4.chunk.css": "/static/css/81.c6c6e3f4.chunk.css",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"static/js/8580.1a3fa0de.js": "/static/js/8580.1a3fa0de.js",
|
|
12
12
|
"static/js/2642.b60a63f6.js": "/static/js/2642.b60a63f6.js",
|
|
13
13
|
"static/js/4504.4f3bb0b0.js": "/static/js/4504.4f3bb0b0.js",
|
|
14
|
-
"static/css/5102.
|
|
15
|
-
"static/js/5102.
|
|
14
|
+
"static/css/5102.312a4496.chunk.css": "/static/css/5102.312a4496.chunk.css",
|
|
15
|
+
"static/js/5102.6c03b989.js": "/static/js/5102.6c03b989.js",
|
|
16
16
|
"static/css/8778.3f22f159.chunk.css": "/static/css/8778.3f22f159.chunk.css",
|
|
17
17
|
"static/js/8778.774e59e8.js": "/static/js/8778.774e59e8.js",
|
|
18
18
|
"static/js/1729.a0be903e.js": "/static/js/1729.a0be903e.js",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"ant-locale/locale-zh_TW-js.js": "/static/js/4813.ca2fe39e.js",
|
|
86
86
|
"/mergeTags/locale0.js": "/static/js/2466.a3a4151a.js",
|
|
87
87
|
"/mergeTags/locale1.js": "/static/js/6859.a585514c.js",
|
|
88
|
-
"static/css/1670.
|
|
89
|
-
"static/js/1670.
|
|
90
|
-
"static/js/1902.
|
|
88
|
+
"static/css/1670.8043d956.chunk.css": "/static/css/1670.8043d956.chunk.css",
|
|
89
|
+
"static/js/1670.ce6f9dd6.js": "/static/js/1670.ce6f9dd6.js",
|
|
90
|
+
"static/js/1902.335b625b.js": "/static/js/1902.335b625b.js",
|
|
91
91
|
"static/js/1807.edd17ae4.js": "/static/js/1807.edd17ae4.js",
|
|
92
92
|
"static/js/4863.3c9556d1.js": "/static/js/4863.3c9556d1.js",
|
|
93
93
|
"static/js/2278.b3ed09ee.js": "/static/js/2278.b3ed09ee.js",
|
|
@@ -95,12 +95,12 @@
|
|
|
95
95
|
"static/js/9830.76800418.js": "/static/js/9830.76800418.js",
|
|
96
96
|
"static/js/7716.a8d67437.js": "/static/js/7716.a8d67437.js",
|
|
97
97
|
"static/js/476.285c6ca0.js": "/static/js/476.285c6ca0.js",
|
|
98
|
-
"static/js/9162.
|
|
98
|
+
"static/js/9162.ceffe13d.js": "/static/js/9162.ceffe13d.js",
|
|
99
99
|
"static/js/6525.d10871af.js": "/static/js/6525.d10871af.js",
|
|
100
|
-
"static/js/7126.
|
|
100
|
+
"static/js/7126.9660446b.js": "/static/js/7126.9660446b.js",
|
|
101
101
|
"static/js/5612.37f3811e.js": "/static/js/5612.37f3811e.js",
|
|
102
|
-
"static/js/3628.
|
|
103
|
-
"static/js/9372.
|
|
102
|
+
"static/js/3628.fcf9c2d3.js": "/static/js/3628.fcf9c2d3.js",
|
|
103
|
+
"static/js/9372.c2b9829b.js": "/static/js/9372.c2b9829b.js",
|
|
104
104
|
"static/js/6369.5a01396a.js": "/static/js/6369.5a01396a.js",
|
|
105
105
|
"static/js/3158.e4c478b5.js": "/static/js/3158.e4c478b5.js",
|
|
106
106
|
"static/js/1117.e72e1611.js": "/static/js/1117.e72e1611.js",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"static/js/284.df9cd8ae.js": "/static/js/284.df9cd8ae.js",
|
|
110
110
|
"static/js/5365.cc28300d.js": "/static/js/5365.cc28300d.js",
|
|
111
111
|
"static/js/1157.1e6829d5.js": "/static/js/1157.1e6829d5.js",
|
|
112
|
-
"static/js/775.
|
|
112
|
+
"static/js/775.56b1c7d0.js": "/static/js/775.56b1c7d0.js",
|
|
113
113
|
"html.worker.js": "/html.worker.js",
|
|
114
114
|
"static/media/image-editor/images/stickers/bubbles/105.png": "/static/media/image-editor/images/stickers/bubbles/105.png",
|
|
115
115
|
"css.worker.js": "/css.worker.js",
|
|
@@ -936,9 +936,9 @@
|
|
|
936
936
|
"static/media/image-editor/images/textures/12.png": "/static/media/image-editor/images/textures/12.png",
|
|
937
937
|
"static/media/image-editor/images/textures/7.png": "/static/media/image-editor/images/textures/7.png",
|
|
938
938
|
"static/media/image-editor/images/textures/11.png": "/static/media/image-editor/images/textures/11.png",
|
|
939
|
-
"main.
|
|
940
|
-
"main.
|
|
941
|
-
"emailmaker_core.
|
|
939
|
+
"main.7498315e.js.map": "/main.7498315e.js.map",
|
|
940
|
+
"main.dd6b968b.css.map": "/static/css/main.dd6b968b.css.map",
|
|
941
|
+
"emailmaker_core.4c5ecbe9.js.map": "/static/js/emailmaker_core.4c5ecbe9.js.map",
|
|
942
942
|
"emailmaker.js.map": "/emailmaker.js.map",
|
|
943
943
|
"emailmaker-esm.js.map": "/emailmaker-esm.js.map",
|
|
944
944
|
"81.c6c6e3f4.chunk.css.map": "/static/css/81.c6c6e3f4.chunk.css.map",
|
|
@@ -946,8 +946,8 @@
|
|
|
946
946
|
"8580.aeb3f0bc.chunk.css.map": "/static/css/8580.aeb3f0bc.chunk.css.map",
|
|
947
947
|
"8580.1a3fa0de.js.map": "/static/js/8580.1a3fa0de.js.map",
|
|
948
948
|
"4504.4f3bb0b0.js.map": "/static/js/4504.4f3bb0b0.js.map",
|
|
949
|
-
"5102.
|
|
950
|
-
"5102.
|
|
949
|
+
"5102.312a4496.chunk.css.map": "/static/css/5102.312a4496.chunk.css.map",
|
|
950
|
+
"5102.6c03b989.js.map": "/static/js/5102.6c03b989.js.map",
|
|
951
951
|
"8778.3f22f159.chunk.css.map": "/static/css/8778.3f22f159.chunk.css.map",
|
|
952
952
|
"8778.774e59e8.js.map": "/static/js/8778.774e59e8.js.map",
|
|
953
953
|
"4607.25f2d561.js.map": "/static/js/4607.25f2d561.js.map",
|
|
@@ -1019,9 +1019,9 @@
|
|
|
1019
1019
|
"4813.ca2fe39e.js.map": "/static/js/4813.ca2fe39e.js.map",
|
|
1020
1020
|
"2466.a3a4151a.js.map": "/static/js/2466.a3a4151a.js.map",
|
|
1021
1021
|
"6859.a585514c.js.map": "/static/js/6859.a585514c.js.map",
|
|
1022
|
-
"1670.
|
|
1023
|
-
"1670.
|
|
1024
|
-
"1902.
|
|
1022
|
+
"1670.8043d956.chunk.css.map": "/static/css/1670.8043d956.chunk.css.map",
|
|
1023
|
+
"1670.ce6f9dd6.js.map": "/static/js/1670.ce6f9dd6.js.map",
|
|
1024
|
+
"1902.335b625b.js.map": "/static/js/1902.335b625b.js.map",
|
|
1025
1025
|
"1807.edd17ae4.js.map": "/static/js/1807.edd17ae4.js.map",
|
|
1026
1026
|
"4863.3c9556d1.js.map": "/static/js/4863.3c9556d1.js.map",
|
|
1027
1027
|
"2278.b3ed09ee.js.map": "/static/js/2278.b3ed09ee.js.map",
|
|
@@ -1029,12 +1029,12 @@
|
|
|
1029
1029
|
"9830.76800418.js.map": "/static/js/9830.76800418.js.map",
|
|
1030
1030
|
"7716.a8d67437.js.map": "/static/js/7716.a8d67437.js.map",
|
|
1031
1031
|
"476.285c6ca0.js.map": "/static/js/476.285c6ca0.js.map",
|
|
1032
|
-
"9162.
|
|
1032
|
+
"9162.ceffe13d.js.map": "/static/js/9162.ceffe13d.js.map",
|
|
1033
1033
|
"6525.d10871af.js.map": "/static/js/6525.d10871af.js.map",
|
|
1034
|
-
"7126.
|
|
1034
|
+
"7126.9660446b.js.map": "/static/js/7126.9660446b.js.map",
|
|
1035
1035
|
"5612.37f3811e.js.map": "/static/js/5612.37f3811e.js.map",
|
|
1036
|
-
"3628.
|
|
1037
|
-
"9372.
|
|
1036
|
+
"3628.fcf9c2d3.js.map": "/static/js/3628.fcf9c2d3.js.map",
|
|
1037
|
+
"9372.c2b9829b.js.map": "/static/js/9372.c2b9829b.js.map",
|
|
1038
1038
|
"6369.5a01396a.js.map": "/static/js/6369.5a01396a.js.map",
|
|
1039
1039
|
"3158.e4c478b5.js.map": "/static/js/3158.e4c478b5.js.map",
|
|
1040
1040
|
"1117.e72e1611.js.map": "/static/js/1117.e72e1611.js.map",
|
|
@@ -1043,18 +1043,18 @@
|
|
|
1043
1043
|
"284.df9cd8ae.js.map": "/static/js/284.df9cd8ae.js.map",
|
|
1044
1044
|
"5365.cc28300d.js.map": "/static/js/5365.cc28300d.js.map",
|
|
1045
1045
|
"1157.1e6829d5.js.map": "/static/js/1157.1e6829d5.js.map",
|
|
1046
|
-
"775.
|
|
1046
|
+
"775.56b1c7d0.js.map": "/static/js/775.56b1c7d0.js.map"
|
|
1047
1047
|
},
|
|
1048
1048
|
"entrypoints": [
|
|
1049
1049
|
"static/js/6369.5a01396a.js",
|
|
1050
1050
|
"static/js/3158.e4c478b5.js",
|
|
1051
1051
|
"static/js/1117.e72e1611.js",
|
|
1052
1052
|
"static/js/5255.c937525e.js",
|
|
1053
|
-
"static/js/9162.
|
|
1054
|
-
"static/js/7126.
|
|
1055
|
-
"static/js/775.
|
|
1056
|
-
"static/js/9372.
|
|
1057
|
-
"main.
|
|
1058
|
-
"static/css/main.
|
|
1053
|
+
"static/js/9162.ceffe13d.js",
|
|
1054
|
+
"static/js/7126.9660446b.js",
|
|
1055
|
+
"static/js/775.56b1c7d0.js",
|
|
1056
|
+
"static/js/9372.c2b9829b.js",
|
|
1057
|
+
"main.7498315e.js",
|
|
1058
|
+
"static/css/main.dd6b968b.css"
|
|
1059
1059
|
]
|
|
1060
1060
|
}
|
package/emailmaker-esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const load=function(e){var t,r=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={2783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FileManagerApiError:()=>a});class a extends Error{constructor(e,t,r,n){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=t,this.httpStatus=r,this.details=n,Error.captureStackTrace&&Error.captureStackTrace(this,a)}}},32431:(e,t,a)=>{var n;let o="https://unpkg.com/@emailmaker/emailmaker@1.0.104-alpha.
|
|
1
|
+
const load=function(e){var t,r=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={2783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FileManagerApiError:()=>a});class a extends Error{constructor(e,t,r,n){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=t,this.httpStatus=r,this.details=n,Error.captureStackTrace&&Error.captureStackTrace(this,a)}}},32431:(e,t,a)=>{var n;let o="https://unpkg.com/@emailmaker/emailmaker@1.0.104-alpha.5/";const i="emailmaker";if("object"===typeof r&&null!==(n=r)&&void 0!==n&&n.publicPath){var c;o=null===(c=r)||void 0===c?void 0:c.publicPath}else{let e="";const t=document.querySelector(`script[src*=${i}\\.js]`)||document.querySelector(`script[src*=${i}-esm\\.js]`);t instanceof HTMLScriptElement&&(e=t.src),e&&(o=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}a.p=new URL(o,window.location.origin).href}},a={};function n(t){var r=a[t];if(void 0!==r)return r.exports;var o=a[t]={exports:{}};return e[t].call(o.exports,o,o.exports,n),o.exports}n.m=e,n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&a&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,n.d(o,i),o}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>6369===e?"static/js/6369.5a01396a.js":3158===e?"static/js/3158.e4c478b5.js":1117===e?"static/js/1117.e72e1611.js":5255===e?"static/js/5255.c937525e.js":9162===e?"static/js/9162.ceffe13d.js":775===e?"static/js/775.56b1c7d0.js":9372===e?"static/js/9372.c2b9829b.js":"static/js/"+e+"."+{77:"6ea8ad5d",197:"64f9fd6b",284:"df9cd8ae",290:"3b771060",494:"87c48e86",737:"fae14b35",1157:"1e6829d5",1241:"9f7c977b",1330:"607183c7",1332:"3eba834b",1377:"b486b1f4",1454:"23356a65",1502:"6be06fc7",1510:"32a77efc",1626:"0cd4dd3f",1640:"7ae88653",1670:"ce6f9dd6",1729:"a0be903e",1788:"e7e85733",1807:"edd17ae4",1872:"610556e1",1902:"335b625b",2066:"a4cfddd1",2114:"dff67863",2139:"5b04512a",2278:"b3ed09ee",2408:"8dcea713",2438:"02617e55",2466:"a3a4151a",2642:"b60a63f6",2827:"e02551c9",2844:"4c02df45",2917:"f75d7ce1",2988:"6d43f35a",3302:"9b320bc9",3411:"69f4008b",3624:"a7076f34",3628:"fcf9c2d3",3711:"d621dbad",3816:"bf684fe1",3914:"c63f1b85",4425:"39579a63",4504:"4f3bb0b0",4607:"25f2d561",4686:"6a800b56",4702:"de98cbd5",4813:"ca2fe39e",4823:"d4ba65be",4863:"3c9556d1",5102:"6c03b989",5108:"473a7fe1",5261:"3e64116f",5322:"ce259c32",5365:"cc28300d",5466:"a0f769cb",5612:"37f3811e",5653:"5f06277c",5827:"6555a26a",5862:"225d9aac",5864:"340bc721",5902:"73cb2cc4",5980:"fbc691ed",6033:"71847c1c",6135:"ceb22131",6418:"5c3bf780",6428:"8b233458",6525:"d10871af",6552:"9d811323",6618:"8866f1fa",6764:"9e4a7f5f",6832:"4c4f3da7",6859:"a585514c",7231:"9ca1301e",7288:"170ea51b",7426:"eaa2cbe4",7974:"5b71f208",8466:"ae622785",8534:"10b79ff1",8580:"1a3fa0de",8590:"2779de33",8682:"ec99bbfe",8778:"774e59e8",8796:"a6838d71",8839:"25cace14",9169:"dee65ca6",9200:"63433716",9508:"a68ced7b",9716:"fb4af6bc",9830:"76800418"}[e]+".js",n.miniCssF=e=>"static/css/"+e+"."+{1670:"8043d956",5102:"312a4496",8580:"aeb3f0bc",8778:"3f22f159"}[e]+".chunk.css",n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="email-maker:";n.l=(r,a,o,i)=>{if(e[r])e[r].push(a);else{var c,d;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+o){c=u;break}}c||(d=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+o),c.src=r),e[r]=[a];var f=(t,a)=>{c.onerror=c.onload=null,clearTimeout(p);var n=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(a)),t)return t(a)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),d&&document.head.appendChild(c)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise((t,r)=>{var a=n.miniCssF(e),o=n.p+a;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var n=(i=r[a]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(n===e||n===t))return i}var o=document.getElementsByTagName("style");for(a=0;a<o.length;a++){var i;if((n=(i=o[a]).getAttribute("data-href"))===e||n===t)return i}})(a,o))return t();((e,t,r,a,o)=>{var i=document.createElement("link");i.setAttribute("data-emailmaker","true"),i.rel="stylesheet",i.type="text/css",n.nc&&(i.nonce=n.nc),i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)a();else{var n=r&&r.type,c=r&&r.target&&r.target.href||t,d=new Error("Loading CSS chunk "+e+" failed.\n("+n+": "+c+")");d.name="ChunkLoadError",d.code="CSS_CHUNK_LOAD_FAILED",d.type=n,d.request=c,i.parentNode&&i.parentNode.removeChild(i),o(d)}},i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i)})(e,o,null,t,r)}),t={1849:0,7391:0};n.f.miniCss=(r,a)=>{t[r]?a.push(t[r]):0!==t[r]&&{1670:1,5102:1,8580:1,8778:1}[r]&&a.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={1849:0,7391:0};n.f.j=(t,r)=>{var a=n.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else{var o=new Promise((r,n)=>a=e[t]=[r,n]);r.push(a[2]=o);var i=n.p+n.u(t),c=new Error;n.l(i,r=>{if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,a[1](c)}},"chunk-"+t,t)}};var t=(t,r)=>{var a,o,[i,c,d]=r,s=0;if(i.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);if(d)d(n)}for(t&&t(r);s<i.length;s++)o=i[s],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;var o={};(()=>{"use strict";n.r(o),n.d(o,{errors:()=>t,helpers:()=>e,init:()=>c,parseAMP:()=>d,version:()=>s});var e={};n.r(e),n.d(e,{mapHttpStatusToErrorCode:()=>r});n(32431);var t=n(2783);function r(e,t="BackendError"){switch(e){case 400:return"ValidationError";case 401:return"AuthenticationFailed";case 403:return"AuthorizationFailed";case 404:return"FileNotFound";case 413:return"PayloadTooLarge";case 415:return"UnsupportedMediaType";case 429:return"RateLimitExceeded";case 500:return"BackendError";case 503:return"ServiceUnavailable";case 504:return"Timeout";default:return t}}let a,i;function c(e){return a||(a=n.e(1902).then(n.bind(n,71902))),a.then(t=>t.init(e))}function d(e){return i||(i=n.e(1807).then(n.bind(n,24188))),i.then(t=>t.parseAMP(e))}const s="1.0.104-alpha.5"})(),t=o})(),t},app=load("undefined"===typeof EmailmakerEnvironment?void 0:EmailmakerEnvironment);export const parseAMP=app.parseAMP;export const version=app.version;export const errors=app.errors;export const helpers=app.helpers;export const init=app.init;
|
|
2
2
|
//# sourceMappingURL=emailmaker-esm.js.map
|
package/emailmaker.d.ts
CHANGED
|
@@ -1343,15 +1343,18 @@ export declare namespace ExportedApi {
|
|
|
1343
1343
|
type FileProxyEventPayload = { url: string; project: string };
|
|
1344
1344
|
type LoadImageListener = AppListener<LoadEventPayload, string | void>;
|
|
1345
1345
|
type FileProxyListener = AppListener<FileProxyEventPayload, Blob | void>;
|
|
1346
|
+
type ProxyUrlListener = AppListener<FileProxyEventPayload, string | void>;
|
|
1346
1347
|
interface Options {
|
|
1347
1348
|
handleLoadImage?: LoadImageListener;
|
|
1348
1349
|
handleFileProxy?: FileProxyListener;
|
|
1350
|
+
handleUrlProxy?: ProxyUrlListener;
|
|
1349
1351
|
}
|
|
1350
1352
|
|
|
1351
1353
|
interface Instance {
|
|
1352
1354
|
/** fires when image loading */
|
|
1353
1355
|
handleLoadImage: AppEvent<LoadImageListener>;
|
|
1354
1356
|
handleFileProxy: AppEvent<FileProxyListener>;
|
|
1357
|
+
handleUrlProxy: AppEvent<ProxyUrlListener>;
|
|
1355
1358
|
}
|
|
1356
1359
|
}
|
|
1357
1360
|
interface Options extends ImageHandlerMixin.Options { }
|
|
@@ -1855,9 +1858,15 @@ export interface StorageProvider {
|
|
|
1855
1858
|
* @param url - File URL
|
|
1856
1859
|
* @param folderId - Target folder (or undefined for root). If not specified,
|
|
1857
1860
|
* uses the root folder.
|
|
1861
|
+
* @param options - Optional. eventSource — источник загрузки для логики интегратора
|
|
1862
|
+
* (например, отключение прокси при загрузке из стоков: imageStock, iconStock, gif).
|
|
1858
1863
|
* @returns The uploaded or existing complete file object
|
|
1859
1864
|
*/
|
|
1860
|
-
uploadFileByUrl: (
|
|
1865
|
+
uploadFileByUrl: (
|
|
1866
|
+
url: string,
|
|
1867
|
+
folderId?: string,
|
|
1868
|
+
options?: { eventSource?: 'upload' | 'uploadByUrl' | 'pixie' | 'iconStock' | 'imageStock' | 'gif' }
|
|
1869
|
+
) => MayBePromise<FileSystemItem>;
|
|
1861
1870
|
|
|
1862
1871
|
/**
|
|
1863
1872
|
* Delete multiple items (files or folders).
|
|
@@ -2124,27 +2133,6 @@ export declare namespace ExportedApi {
|
|
|
2124
2133
|
*/
|
|
2125
2134
|
preloadPagesAfter?: number;
|
|
2126
2135
|
};
|
|
2127
|
-
|
|
2128
|
-
/**
|
|
2129
|
-
* Service proxy URL for Unsplash (stock images).
|
|
2130
|
-
* When set, API requests go through this proxy instead of api.unsplash.com directly.
|
|
2131
|
-
* Example: https://api.emailmaker.ru/services/stock_images
|
|
2132
|
-
*/
|
|
2133
|
-
stockImagesProxyUrl?: string;
|
|
2134
|
-
|
|
2135
|
-
/**
|
|
2136
|
-
* Service proxy URL for Giphy (stock GIFs).
|
|
2137
|
-
* When set, API requests go through this proxy instead of api.giphy.com directly.
|
|
2138
|
-
* Example: https://api.emailmaker.ru/services/stock_gifs
|
|
2139
|
-
*/
|
|
2140
|
-
stockGifsProxyUrl?: string;
|
|
2141
|
-
|
|
2142
|
-
/**
|
|
2143
|
-
* Service proxy URL for Streamline (stock icons).
|
|
2144
|
-
* When set, API requests go through this proxy instead of public-api.streamlinehq.com directly.
|
|
2145
|
-
* Example: https://api.emailmaker.ru/services/stock_icons
|
|
2146
|
-
*/
|
|
2147
|
-
stockIconsProxyUrl?: string;
|
|
2148
2136
|
}
|
|
2149
2137
|
|
|
2150
2138
|
export interface Config {
|
package/emailmaker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports.emailmaker=t():e.emailmaker=t()}(globalThis,()=>(()=>{var e={2783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FileManagerApiError:()=>a});class a extends Error{constructor(e,t,r,n){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=t,this.httpStatus=r,this.details=n,Error.captureStackTrace&&Error.captureStackTrace(this,a)}}},32431:(e,t,r)=>{var a;let n="https://unpkg.com/@emailmaker/emailmaker@1.0.104-alpha.
|
|
1
|
+
!function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports.emailmaker=t():e.emailmaker=t()}(globalThis,()=>(()=>{var e={2783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FileManagerApiError:()=>a});class a extends Error{constructor(e,t,r,n){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=t,this.httpStatus=r,this.details=n,Error.captureStackTrace&&Error.captureStackTrace(this,a)}}},32431:(e,t,r)=>{var a;let n="https://unpkg.com/@emailmaker/emailmaker@1.0.104-alpha.5/";const o="emailmaker";if("object"===typeof EmailmakerEnvironment&&null!==(a=EmailmakerEnvironment)&&void 0!==a&&a.publicPath){var i;n=null===(i=EmailmakerEnvironment)||void 0===i?void 0:i.publicPath}else{let e="";const t=document.querySelector(`script[src*=${o}\\.js]`)||document.querySelector(`script[src*=${o}-esm\\.js]`);t instanceof HTMLScriptElement&&(e=t.src),e&&(n=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}r.p=new URL(n,window.location.origin).href}},t={};function r(a){var n=t[a];if(void 0!==n)return n.exports;var o=t[a]={exports:{}};return e[a].call(o.exports,o,o.exports,r),o.exports}r.m=e,r.amdO={},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(a,n){if(1&n&&(a=this(a)),8&n)return a;if("object"===typeof a&&a){if(4&n&&a.__esModule)return a;if(16&n&&"function"===typeof a.then)return a}var o=Object.create(null);r.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&a;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>i[e]=()=>a[e]);return i.default=()=>a,r.d(o,i),o}})(),r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,a)=>(r.f[a](e,t),t),[])),r.u=e=>6369===e?"static/js/6369.5a01396a.js":3158===e?"static/js/3158.e4c478b5.js":1117===e?"static/js/1117.e72e1611.js":5255===e?"static/js/5255.c937525e.js":9162===e?"static/js/9162.ceffe13d.js":775===e?"static/js/775.56b1c7d0.js":9372===e?"static/js/9372.c2b9829b.js":"static/js/"+e+"."+{77:"6ea8ad5d",197:"64f9fd6b",284:"df9cd8ae",290:"3b771060",494:"87c48e86",737:"fae14b35",1157:"1e6829d5",1241:"9f7c977b",1330:"607183c7",1332:"3eba834b",1377:"b486b1f4",1454:"23356a65",1502:"6be06fc7",1510:"32a77efc",1626:"0cd4dd3f",1640:"7ae88653",1670:"ce6f9dd6",1729:"a0be903e",1788:"e7e85733",1807:"edd17ae4",1872:"610556e1",1902:"335b625b",2066:"a4cfddd1",2114:"dff67863",2139:"5b04512a",2278:"b3ed09ee",2408:"8dcea713",2438:"02617e55",2466:"a3a4151a",2642:"b60a63f6",2827:"e02551c9",2844:"4c02df45",2917:"f75d7ce1",2988:"6d43f35a",3302:"9b320bc9",3411:"69f4008b",3624:"a7076f34",3628:"fcf9c2d3",3711:"d621dbad",3816:"bf684fe1",3914:"c63f1b85",4425:"39579a63",4504:"4f3bb0b0",4607:"25f2d561",4686:"6a800b56",4702:"de98cbd5",4813:"ca2fe39e",4823:"d4ba65be",4863:"3c9556d1",5102:"6c03b989",5108:"473a7fe1",5261:"3e64116f",5322:"ce259c32",5365:"cc28300d",5466:"a0f769cb",5612:"37f3811e",5653:"5f06277c",5827:"6555a26a",5862:"225d9aac",5864:"340bc721",5902:"73cb2cc4",5980:"fbc691ed",6033:"71847c1c",6135:"ceb22131",6418:"5c3bf780",6428:"8b233458",6525:"d10871af",6552:"9d811323",6618:"8866f1fa",6764:"9e4a7f5f",6832:"4c4f3da7",6859:"a585514c",7231:"9ca1301e",7288:"170ea51b",7426:"eaa2cbe4",7974:"5b71f208",8466:"ae622785",8534:"10b79ff1",8580:"1a3fa0de",8590:"2779de33",8682:"ec99bbfe",8778:"774e59e8",8796:"a6838d71",8839:"25cace14",9169:"dee65ca6",9200:"63433716",9508:"a68ced7b",9716:"fb4af6bc",9830:"76800418"}[e]+".js",r.miniCssF=e=>"static/css/"+e+"."+{1670:"8043d956",5102:"312a4496",8580:"aeb3f0bc",8778:"3f22f159"}[e]+".chunk.css",r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="email-maker:";r.l=(a,n,o,i)=>{if(e[a])e[a].push(n);else{var c,d;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l<s.length;l++){var f=s[l];if(f.getAttribute("src")==a||f.getAttribute("data-webpack")==t+o){c=f;break}}c||(d=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.setAttribute("data-webpack",t+o),c.src=a),e[a]=[n];var u=(t,r)=>{c.onerror=c.onload=null,clearTimeout(b);var n=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(r)),t)return t(r)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),d&&document.head.appendChild(c)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise((t,a)=>{var n=r.miniCssF(e),o=r.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),a=0;a<r.length;a++){var n=(i=r[a]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(n===e||n===t))return i}var o=document.getElementsByTagName("style");for(a=0;a<o.length;a++){var i;if((n=(i=o[a]).getAttribute("data-href"))===e||n===t)return i}})(n,o))return t();((e,t,a,n,o)=>{var i=document.createElement("link");i.setAttribute("data-emailmaker","true"),i.rel="stylesheet",i.type="text/css",r.nc&&(i.nonce=r.nc),i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&r.type,c=r&&r.target&&r.target.href||t,d=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+c+")");d.name="ChunkLoadError",d.code="CSS_CHUNK_LOAD_FAILED",d.type=a,d.request=c,i.parentNode&&i.parentNode.removeChild(i),o(d)}},i.href=t,a?a.parentNode.insertBefore(i,a.nextSibling):document.head.appendChild(i)})(e,o,null,t,a)}),t={7391:0,1849:0};r.f.miniCss=(r,a)=>{t[r]?a.push(t[r]):0!==t[r]&&{1670:1,5102:1,8580:1,8778:1}[r]&&a.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={7391:0,1849:0};r.f.j=(t,a)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)a.push(n[2]);else{var o=new Promise((r,a)=>n=e[t]=[r,a]);a.push(n[2]=o);var i=r.p+r.u(t),c=new Error;r.l(i,a=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,n[1](c)}},"chunk-"+t,t)}};var t=(t,a)=>{var n,o,[i,c,d]=a,s=0;if(i.some(t=>0!==e[t])){for(n in c)r.o(c,n)&&(r.m[n]=c[n]);if(d)d(r)}for(t&&t(a);s<i.length;s++)o=i[s],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0},a=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})(),r.nc=void 0;var a={};return(()=>{"use strict";r.r(a),r.d(a,{errors:()=>t,helpers:()=>e,init:()=>c,parseAMP:()=>d,version:()=>s});var e={};r.r(e),r.d(e,{mapHttpStatusToErrorCode:()=>n});r(32431);var t=r(2783);function n(e,t="BackendError"){switch(e){case 400:return"ValidationError";case 401:return"AuthenticationFailed";case 403:return"AuthorizationFailed";case 404:return"FileNotFound";case 413:return"PayloadTooLarge";case 415:return"UnsupportedMediaType";case 429:return"RateLimitExceeded";case 500:return"BackendError";case 503:return"ServiceUnavailable";case 504:return"Timeout";default:return t}}let o,i;function c(e){return o||(o=r.e(1902).then(r.bind(r,71902))),o.then(t=>t.init(e))}function d(e){return i||(i=r.e(1807).then(r.bind(r,24188))),i.then(t=>t.parseAMP(e))}const s="1.0.104-alpha.5"})(),a})());
|
|
2
2
|
//# sourceMappingURL=emailmaker.js.map
|