@emailmaker/emailmaker 1.0.104-alpha.1 → 1.0.104-alpha.3
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 +22 -22
- package/emailmaker-esm.js +1 -1
- package/emailmaker.d.ts +201 -3
- package/emailmaker.js +1 -1
- package/fm_notification.d.ts +1 -1
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/iframe-eblock.603dd439cc904ee550c8.html +1 -0
- package/iframe/iframe.603dd439cc904ee550c8.html +1 -0
- package/iframe/index.html +1 -1
- package/iframe/js/174.a18798fa.js +1 -0
- package/iframe/js/525.2e6ea688.js +1 -0
- package/iframe/js/882.698ebb71.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/package.json +1 -1
- package/static/js/{1902.8258bb16.js → 1902.5d5b2a4e.js} +2 -2
- package/static/js/3628.8425fc03.js +3 -0
- package/static/js/5102.96ee2feb.js +2 -0
- package/static/js/775.f635afb1.js +2 -0
- package/static/js/{9162.b1025754.js → 9162.bbb1ae0c.js} +3 -3
- package/static/js/9372.22a2cdc7.js +2 -0
- package/static/js/{emailmaker_core.d55b3631.js → emailmaker_core.1cf410b5.js} +3 -3
- package/iframe/iframe-eblock.b083166beb2ae4386d23.html +0 -1
- package/iframe/iframe.b083166beb2ae4386d23.html +0 -1
- package/iframe/js/174.c8edb981.js +0 -1
- package/iframe/js/525.b697e1f0.js +0 -1
- package/iframe/js/882.8fc19668.js +0 -1
- package/static/js/3628.4875eb09.js +0 -3
- package/static/js/5102.bda76ffa.js +0 -2
- package/static/js/775.723eb688.js +0 -2
- package/static/js/9372.b2504480.js +0 -2
- /package/iframe/js/{174.c8edb981.js.LICENSE.txt → 174.a18798fa.js.LICENSE.txt} +0 -0
- /package/iframe/js/{525.b697e1f0.js.LICENSE.txt → 525.2e6ea688.js.LICENSE.txt} +0 -0
- /package/iframe/js/{882.8fc19668.js.LICENSE.txt → 882.698ebb71.js.LICENSE.txt} +0 -0
- /package/static/js/{3628.4875eb09.js.LICENSE.txt → 3628.8425fc03.js.LICENSE.txt} +0 -0
- /package/static/js/{9162.b1025754.js.LICENSE.txt → 9162.bbb1ae0c.js.LICENSE.txt} +0 -0
- /package/static/js/{emailmaker_core.d55b3631.js.LICENSE.txt → emailmaker_core.1cf410b5.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.
|
|
3
|
+
"main.js": "/main.7bfa03a3.js",
|
|
4
4
|
"main.css": "/static/css/main.35826458.css",
|
|
5
|
-
"emailmaker_core.js": "/static/js/emailmaker_core.
|
|
5
|
+
"emailmaker_core.js": "/static/js/emailmaker_core.1cf410b5.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",
|
|
@@ -12,7 +12,7 @@
|
|
|
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
14
|
"static/css/5102.4bf6c54e.chunk.css": "/static/css/5102.4bf6c54e.chunk.css",
|
|
15
|
-
"static/js/5102.
|
|
15
|
+
"static/js/5102.96ee2feb.js": "/static/js/5102.96ee2feb.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",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"/mergeTags/locale1.js": "/static/js/6859.a585514c.js",
|
|
88
88
|
"static/css/1670.c105226d.chunk.css": "/static/css/1670.c105226d.chunk.css",
|
|
89
89
|
"static/js/1670.21de3861.js": "/static/js/1670.21de3861.js",
|
|
90
|
-
"static/js/1902.
|
|
90
|
+
"static/js/1902.5d5b2a4e.js": "/static/js/1902.5d5b2a4e.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.bbb1ae0c.js": "/static/js/9162.bbb1ae0c.js",
|
|
99
99
|
"static/js/6525.d10871af.js": "/static/js/6525.d10871af.js",
|
|
100
100
|
"static/js/7126.8d809cff.js": "/static/js/7126.8d809cff.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.8425fc03.js": "/static/js/3628.8425fc03.js",
|
|
103
|
+
"static/js/9372.22a2cdc7.js": "/static/js/9372.22a2cdc7.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.f635afb1.js": "/static/js/775.f635afb1.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",
|
|
@@ -171,6 +171,7 @@
|
|
|
171
171
|
"static/media/image-editor/images/stickers/clouds/10.png": "/static/media/image-editor/images/stickers/clouds/10.png",
|
|
172
172
|
"static/media/image-editor/images/stickers/clouds/1.png": "/static/media/image-editor/images/stickers/clouds/1.png",
|
|
173
173
|
"static/media/image-editor/images/frames/oak/thumbnail.png": "/static/media/image-editor/images/frames/oak/thumbnail.png",
|
|
174
|
+
"index.d.ts": "/emailmaker.d.ts",
|
|
174
175
|
"static/media/image-editor/images/frames/ebony/thumbnail.png": "/static/media/image-editor/images/frames/ebony/thumbnail.png",
|
|
175
176
|
"static/media/image-editor/images/frames/grunge2/bottomLeft.png": "/static/media/image-editor/images/frames/grunge2/bottomLeft.png",
|
|
176
177
|
"static/media/image-editor/images/stickers/clouds/13.png": "/static/media/image-editor/images/stickers/clouds/13.png",
|
|
@@ -182,7 +183,6 @@
|
|
|
182
183
|
"static/media/image-editor/fonts/Montserrat-Regular.woff2": "/static/media/image-editor/fonts/Montserrat-Regular.woff2",
|
|
183
184
|
"static/media/image-editor/images/frames/pine/bottomRight.png": "/static/media/image-editor/images/frames/pine/bottomRight.png",
|
|
184
185
|
"static/media/image-editor/fonts/Montserrat-Light.woff2": "/static/media/image-editor/fonts/Montserrat-Light.woff2",
|
|
185
|
-
"index.d.ts": "/emailmaker.d.ts",
|
|
186
186
|
"static/media/image-editor/fonts/Montserrat-Black.woff2": "/static/media/image-editor/fonts/Montserrat-Black.woff2",
|
|
187
187
|
"static/media/image-editor/images/frames/pine/topRight.png": "/static/media/image-editor/images/frames/pine/topRight.png",
|
|
188
188
|
"static/media/image-editor/images/stickers/clouds/11.png": "/static/media/image-editor/images/stickers/clouds/11.png",
|
|
@@ -365,8 +365,8 @@
|
|
|
365
365
|
"static/media/image-editor/images/stickers/bubbles/81.png": "/static/media/image-editor/images/stickers/bubbles/81.png",
|
|
366
366
|
"static/media/image-editor/images/stickers/landmarks/48.svg": "/static/media/image-editor/images/stickers/landmarks/48.svg",
|
|
367
367
|
"static/media/image-editor/images/stickers/bubbles/97.png": "/static/media/image-editor/images/stickers/bubbles/97.png",
|
|
368
|
-
"static/media/image-editor/images/stickers/bubbles/83.png": "/static/media/image-editor/images/stickers/bubbles/83.png",
|
|
369
368
|
"notification.d.ts": "/fm_notification.d.ts",
|
|
369
|
+
"static/media/image-editor/images/stickers/bubbles/83.png": "/static/media/image-editor/images/stickers/bubbles/83.png",
|
|
370
370
|
"static/media/image-editor/images/stickers/bubbles/58.png": "/static/media/image-editor/images/stickers/bubbles/58.png",
|
|
371
371
|
"static/media/image-editor/images/frames/grunge1/bottom.png": "/static/media/image-editor/images/frames/grunge1/bottom.png",
|
|
372
372
|
"static/media/image-editor/images/stickers/bubbles/70.png": "/static/media/image-editor/images/stickers/bubbles/70.png",
|
|
@@ -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.
|
|
939
|
+
"main.7bfa03a3.js.map": "/main.7bfa03a3.js.map",
|
|
940
940
|
"main.35826458.css.map": "/static/css/main.35826458.css.map",
|
|
941
|
-
"emailmaker_core.
|
|
941
|
+
"emailmaker_core.1cf410b5.js.map": "/static/js/emailmaker_core.1cf410b5.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",
|
|
@@ -947,7 +947,7 @@
|
|
|
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
949
|
"5102.4bf6c54e.chunk.css.map": "/static/css/5102.4bf6c54e.chunk.css.map",
|
|
950
|
-
"5102.
|
|
950
|
+
"5102.96ee2feb.js.map": "/static/js/5102.96ee2feb.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",
|
|
@@ -1021,7 +1021,7 @@
|
|
|
1021
1021
|
"6859.a585514c.js.map": "/static/js/6859.a585514c.js.map",
|
|
1022
1022
|
"1670.c105226d.chunk.css.map": "/static/css/1670.c105226d.chunk.css.map",
|
|
1023
1023
|
"1670.21de3861.js.map": "/static/js/1670.21de3861.js.map",
|
|
1024
|
-
"1902.
|
|
1024
|
+
"1902.5d5b2a4e.js.map": "/static/js/1902.5d5b2a4e.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.bbb1ae0c.js.map": "/static/js/9162.bbb1ae0c.js.map",
|
|
1033
1033
|
"6525.d10871af.js.map": "/static/js/6525.d10871af.js.map",
|
|
1034
1034
|
"7126.8d809cff.js.map": "/static/js/7126.8d809cff.js.map",
|
|
1035
1035
|
"5612.37f3811e.js.map": "/static/js/5612.37f3811e.js.map",
|
|
1036
|
-
"3628.
|
|
1037
|
-
"9372.
|
|
1036
|
+
"3628.8425fc03.js.map": "/static/js/3628.8425fc03.js.map",
|
|
1037
|
+
"9372.22a2cdc7.js.map": "/static/js/9372.22a2cdc7.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.f635afb1.js.map": "/static/js/775.f635afb1.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.
|
|
1053
|
+
"static/js/9162.bbb1ae0c.js",
|
|
1054
1054
|
"static/js/7126.8d809cff.js",
|
|
1055
|
-
"static/js/775.
|
|
1056
|
-
"static/js/9372.
|
|
1057
|
-
"main.
|
|
1055
|
+
"static/js/775.f635afb1.js",
|
|
1056
|
+
"static/js/9372.22a2cdc7.js",
|
|
1057
|
+
"main.7bfa03a3.js",
|
|
1058
1058
|
"static/css/main.35826458.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.3/";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.bbb1ae0c.js":775===e?"static/js/775.f635afb1.js":9372===e?"static/js/9372.22a2cdc7.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:"21de3861",1729:"a0be903e",1788:"e7e85733",1807:"edd17ae4",1872:"610556e1",1902:"5d5b2a4e",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:"8425fc03",3711:"d621dbad",3816:"bf684fe1",3914:"c63f1b85",4425:"39579a63",4504:"4f3bb0b0",4607:"25f2d561",4686:"6a800b56",4702:"de98cbd5",4813:"ca2fe39e",4823:"d4ba65be",4863:"3c9556d1",5102:"96ee2feb",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:"c105226d",5102:"4bf6c54e",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.3"})(),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
|
@@ -106,6 +106,103 @@ export declare namespace Notify {
|
|
|
106
106
|
type FM_Notifications<Notifications extends Record<string, any>> = {
|
|
107
107
|
[Key in keyof Notifications as `FM_${Key & string}`]: Notifications[Key];
|
|
108
108
|
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Payload types for FM_* notification events.
|
|
112
|
+
* Mirror of FileManager.Notify payloads so types are meaningful without resolving @emailmaker/filemanager.
|
|
113
|
+
*/
|
|
114
|
+
namespace FM {
|
|
115
|
+
export interface FileManageErrorInfo {
|
|
116
|
+
message?: string;
|
|
117
|
+
code?: string;
|
|
118
|
+
status?: number;
|
|
119
|
+
raw?: unknown;
|
|
120
|
+
stack?: string;
|
|
121
|
+
}
|
|
122
|
+
export interface ItemContextPayload {
|
|
123
|
+
itemIds?: string[];
|
|
124
|
+
itemNames?: string[];
|
|
125
|
+
folderId?: string | null;
|
|
126
|
+
folderName?: string | null;
|
|
127
|
+
}
|
|
128
|
+
export interface SingleItemPayload {
|
|
129
|
+
itemId?: string;
|
|
130
|
+
itemName?: string;
|
|
131
|
+
folderId?: string | null;
|
|
132
|
+
folderName?: string | null;
|
|
133
|
+
}
|
|
134
|
+
export type UploadEventSource = 'upload' | 'uploadByUrl' | 'pixie' | 'iconStock' | 'imageStock' | 'gif';
|
|
135
|
+
export interface OperationErrorDetail {
|
|
136
|
+
itemId?: string;
|
|
137
|
+
itemName?: string;
|
|
138
|
+
error: FileManageErrorInfo;
|
|
139
|
+
}
|
|
140
|
+
export interface OperationErrorPayload extends ItemContextPayload {
|
|
141
|
+
failCount: number;
|
|
142
|
+
totalCount: number;
|
|
143
|
+
errors?: OperationErrorDetail[];
|
|
144
|
+
isTrashMove?: boolean;
|
|
145
|
+
eventSource?: UploadEventSource;
|
|
146
|
+
}
|
|
147
|
+
export interface OperationSuccessPayload extends ItemContextPayload {
|
|
148
|
+
successCount: number;
|
|
149
|
+
totalCount: number;
|
|
150
|
+
eventSource?: UploadEventSource;
|
|
151
|
+
}
|
|
152
|
+
export interface FolderOperationPayload extends ItemContextPayload {
|
|
153
|
+
folderId?: string | null;
|
|
154
|
+
folderName?: string;
|
|
155
|
+
reason?: string;
|
|
156
|
+
is_force_create?: boolean;
|
|
157
|
+
}
|
|
158
|
+
export interface RenameErrorPayload extends SingleItemPayload {
|
|
159
|
+
error: FileManageErrorInfo;
|
|
160
|
+
}
|
|
161
|
+
export interface FileUploadPayload extends SingleItemPayload {
|
|
162
|
+
uploadId?: string;
|
|
163
|
+
eventSource?: UploadEventSource;
|
|
164
|
+
}
|
|
165
|
+
export interface FileUploadErrorPayload extends FileUploadPayload {
|
|
166
|
+
error?: FileManageErrorInfo;
|
|
167
|
+
}
|
|
168
|
+
export interface UnsupportedFileTypePayload extends FileUploadErrorPayload {
|
|
169
|
+
fileType: string;
|
|
170
|
+
}
|
|
171
|
+
export interface FileUrlValidationErrorPayload {
|
|
172
|
+
url?: string | null;
|
|
173
|
+
error: FileManageErrorInfo;
|
|
174
|
+
}
|
|
175
|
+
export interface ImageFilePayload extends SingleItemPayload {
|
|
176
|
+
thumbnail?: string | null;
|
|
177
|
+
}
|
|
178
|
+
export interface UrlUploadPayload {
|
|
179
|
+
url?: string | null;
|
|
180
|
+
folderId?: string | null;
|
|
181
|
+
folderName?: string | null;
|
|
182
|
+
eventSource?: UploadEventSource;
|
|
183
|
+
}
|
|
184
|
+
export interface UrlUploadErrorPayload extends UrlUploadPayload {
|
|
185
|
+
error: FileManageErrorInfo;
|
|
186
|
+
}
|
|
187
|
+
export interface FetchFilesErrorPayload {
|
|
188
|
+
params?: { folderId?: string; search?: string; page?: number; limit?: number; sortBy?: string; sortOrder?: string; itemType?: string };
|
|
189
|
+
}
|
|
190
|
+
export interface AIImageGenerationBasePayload {
|
|
191
|
+
request: string;
|
|
192
|
+
taskId?: string | null;
|
|
193
|
+
}
|
|
194
|
+
export interface AIImageGenerationStartedPayload extends AIImageGenerationBasePayload {
|
|
195
|
+
response?: unknown;
|
|
196
|
+
}
|
|
197
|
+
export interface AIImageGenerationSuccessPayload extends AIImageGenerationBasePayload {
|
|
198
|
+
images: string[];
|
|
199
|
+
}
|
|
200
|
+
export interface AIImageGenerationFailedPayload extends AIImageGenerationBasePayload {
|
|
201
|
+
response?: unknown;
|
|
202
|
+
error?: FileManageErrorInfo;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
109
206
|
//
|
|
110
207
|
// ─────────────────────────────────────────────────────────────
|
|
111
208
|
// Base event types
|
|
@@ -168,9 +265,57 @@ export declare namespace Notify {
|
|
|
168
265
|
GET_LOCALES_ERROR: any;
|
|
169
266
|
}
|
|
170
267
|
|
|
268
|
+
/**
|
|
269
|
+
* FM_* error ids from FileManager (mapped when resolved).
|
|
270
|
+
* Fallback list below ensures NotifyEvent.id includes FM_* when @emailmaker/filemanager is not resolved (e.g. on CI/Uni).
|
|
271
|
+
*/
|
|
171
272
|
type FMErrorMap = FM_Notifications<FileManager.Notify.ErrorMap>;
|
|
172
273
|
|
|
173
|
-
|
|
274
|
+
/** Payloads use Notify.FM.* types; mirrors FileManager.Notify when package is not resolved. */
|
|
275
|
+
interface FMErrorMapFallback {
|
|
276
|
+
FM_FILE_DELETE_ERROR: FM.OperationErrorPayload;
|
|
277
|
+
FM_FILE_MOVE_ERROR: FM.OperationErrorPayload;
|
|
278
|
+
FM_FILE_COPY_ERROR: FM.OperationErrorPayload;
|
|
279
|
+
FM_FILES_DELETE_ERROR: FM.OperationErrorPayload;
|
|
280
|
+
FM_FOLDER_DELETE_ERROR: FM.OperationErrorPayload;
|
|
281
|
+
FM_FILES_UPLOAD_BATCH_FAILED: FM.OperationErrorPayload;
|
|
282
|
+
FM_FILES_MOVE_ERROR: FM.OperationErrorPayload;
|
|
283
|
+
FM_FILES_COPY_ERROR: FM.OperationErrorPayload;
|
|
284
|
+
FM_FILE_DOWNLOAD_FAILED: FM.ImageFilePayload;
|
|
285
|
+
FM_IMAGE_DOWNLOAD_FAILED: FM.ImageFilePayload;
|
|
286
|
+
FM_IMAGE_SAVE_FAILED: FM.ImageFilePayload;
|
|
287
|
+
FM_EDITOR_INIT_FAILED: undefined;
|
|
288
|
+
FM_AI_RESPONSE_INVALID: unknown;
|
|
289
|
+
FM_AI_IMAGE_GENERATION_FAILED: FM.AIImageGenerationFailedPayload;
|
|
290
|
+
FM_AI_IMAGE_GENERATION_LIMIT_EXCEEDED: undefined;
|
|
291
|
+
FM_FILES_FETCH_FAILED: FM.FetchFilesErrorPayload;
|
|
292
|
+
FM_FILE_RENAME_DISABLED_BY_CONFIG: FM.SingleItemPayload;
|
|
293
|
+
FM_FILE_RENAME_FAILED: FM.RenameErrorPayload;
|
|
294
|
+
FM_FOLDER_RENAME_DISABLED_BY_CONFIG: FM.SingleItemPayload;
|
|
295
|
+
FM_FOLDER_RENAME_FAILED: FM.RenameErrorPayload;
|
|
296
|
+
FM_ITEM_RENAME_FAILED: FM.RenameErrorPayload;
|
|
297
|
+
FM_FILE_UPLOAD_ITEM_FAILED: FM.FileUploadErrorPayload;
|
|
298
|
+
FM_FILES_UPLOAD_URL_VALIDATION_FAILED: FM.UrlUploadPayload;
|
|
299
|
+
FM_FILES_UPLOAD_URL_NOT_SUPPORTED: FM.UrlUploadPayload;
|
|
300
|
+
FM_FILES_UPLOAD_BY_URL_FAILED: FM.UrlUploadErrorPayload;
|
|
301
|
+
FM_FILES_UPLOAD_PROVIDER_NOT_CONFIGURED: FM.FolderOperationPayload;
|
|
302
|
+
FM_FILES_MOVE_DIRECTORY_NOT_SELECTED: undefined;
|
|
303
|
+
FM_FILES_COPY_DIRECTORY_NOT_SELECTED: undefined;
|
|
304
|
+
FM_FOLDERS_FETCH_FAILED: FM.FolderOperationPayload;
|
|
305
|
+
FM_FOLDER_ALREADY_EXISTS: FM.FolderOperationPayload;
|
|
306
|
+
FM_FOLDER_ALREADY_EXISTS_COPY: FM.FolderOperationPayload;
|
|
307
|
+
FM_FOLDER_ALREADY_EXISTS_MOVE: FM.FolderOperationPayload;
|
|
308
|
+
FM_FOLDER_CREATE_PROVIDER_NOT_CONFIGURED: FM.FolderOperationPayload;
|
|
309
|
+
FM_FOLDER_CREATE_FAILED: FM.FolderOperationPayload;
|
|
310
|
+
FM_FOLDER_CHILDREN_COUNT_FAILED: FM.FolderOperationPayload;
|
|
311
|
+
FM_FOLDER_CHILDREN_FETCH_FAILED: FM.FolderOperationPayload;
|
|
312
|
+
FM_FILE_URL_VALIDATION_FAILED: FM.FileUrlValidationErrorPayload;
|
|
313
|
+
FM_TRASH_CLEAR_FAILED: FM.OperationErrorPayload;
|
|
314
|
+
FM_TRASH_CLEAR_ERROR: undefined;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/** FM_* keys from Fallback so they are always in NotifyEvent.id (CI/Uni); when FileManager resolves, FMErrorMap augments payload types via declaration merging in consuming code. */
|
|
318
|
+
interface ErrorMap extends FMErrorMapFallback {}
|
|
174
319
|
|
|
175
320
|
/**
|
|
176
321
|
* Union of all possible error event types.
|
|
@@ -201,7 +346,30 @@ export declare namespace Notify {
|
|
|
201
346
|
|
|
202
347
|
type FMSuccessMap = FM_Notifications<FileManager.Notify.SuccessMap>;
|
|
203
348
|
|
|
204
|
-
|
|
349
|
+
/**
|
|
350
|
+
* Fallback: FM_* success ids when @emailmaker/filemanager is not resolved at build time.
|
|
351
|
+
*/
|
|
352
|
+
interface FMSuccessMapFallback {
|
|
353
|
+
FM_FILE_DELETE_SUCCESS: FM.OperationSuccessPayload;
|
|
354
|
+
FM_FILE_MOVE_SUCCESS: FM.OperationSuccessPayload;
|
|
355
|
+
FM_FILE_COPY_SUCCESS: FM.OperationSuccessPayload;
|
|
356
|
+
FM_FILES_DELETE_SUCCESS: FM.OperationSuccessPayload;
|
|
357
|
+
FM_FILES_MOVE_SUCCESS: FM.OperationSuccessPayload;
|
|
358
|
+
FM_FILES_COPY_SUCCESS: FM.OperationSuccessPayload;
|
|
359
|
+
FM_FOLDER_DELETE_SUCCESS: FM.OperationSuccessPayload;
|
|
360
|
+
FM_FILES_UPLOAD_BATCH_SUCCESS: FM.OperationSuccessPayload;
|
|
361
|
+
FM_AI_IMAGE_GENERATION_STARTED: FM.AIImageGenerationStartedPayload;
|
|
362
|
+
FM_AI_IMAGE_GENERERATION_SUCCESS: FM.AIImageGenerationSuccessPayload;
|
|
363
|
+
FM_IMAGE_UPDATE_SUCCESS: FM.ImageFilePayload;
|
|
364
|
+
FM_FILE_RENAME_SUCCESS: FM.SingleItemPayload;
|
|
365
|
+
FM_FOLDER_RENAME_SUCCESS: FM.SingleItemPayload;
|
|
366
|
+
FM_FOLDER_CREATE_SUCCESS: FM.FolderOperationPayload;
|
|
367
|
+
FM_FILE_UPLOAD_ITEM_SUCCESS: FM.FileUploadPayload;
|
|
368
|
+
FM_TRASH_CLEARED_SUCCESS: undefined;
|
|
369
|
+
FM_FOLDER_NOT_FOUND_NAVIGATE: undefined;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
interface SuccessMap extends FMSuccessMapFallback {}
|
|
205
373
|
|
|
206
374
|
type Success =
|
|
207
375
|
| EmptyMessage
|
|
@@ -218,7 +386,16 @@ export declare namespace Notify {
|
|
|
218
386
|
|
|
219
387
|
type FMWarningMap = FM_Notifications<FileManager.Notify.WarningMap>;
|
|
220
388
|
|
|
221
|
-
|
|
389
|
+
/**
|
|
390
|
+
* Fallback: FM_* warning ids when @emailmaker/filemanager is not resolved at build time.
|
|
391
|
+
*/
|
|
392
|
+
interface FMWarningMapFallback {
|
|
393
|
+
FM_FILES_UPLOAD_UNSUPPORTED_TYPE: FM.UnsupportedFileTypePayload;
|
|
394
|
+
FM_FOLDER_OPERATION_VALIDATION_FAILED: FM.FolderOperationPayload;
|
|
395
|
+
FM_TRASH_CLEARED_PARTIAL: FM.OperationErrorPayload;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
interface WarningMap extends FMWarningMapFallback {}
|
|
222
399
|
|
|
223
400
|
type Warning =
|
|
224
401
|
| EmptyMessage
|
|
@@ -1947,6 +2124,27 @@ export declare namespace ExportedApi {
|
|
|
1947
2124
|
*/
|
|
1948
2125
|
preloadPagesAfter?: number;
|
|
1949
2126
|
};
|
|
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;
|
|
1950
2148
|
}
|
|
1951
2149
|
|
|
1952
2150
|
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.3/";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.bbb1ae0c.js":775===e?"static/js/775.f635afb1.js":9372===e?"static/js/9372.22a2cdc7.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:"21de3861",1729:"a0be903e",1788:"e7e85733",1807:"edd17ae4",1872:"610556e1",1902:"5d5b2a4e",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:"8425fc03",3711:"d621dbad",3816:"bf684fe1",3914:"c63f1b85",4425:"39579a63",4504:"4f3bb0b0",4607:"25f2d561",4686:"6a800b56",4702:"de98cbd5",4813:"ca2fe39e",4823:"d4ba65be",4863:"3c9556d1",5102:"96ee2feb",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:"c105226d",5102:"4bf6c54e",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.3"})(),a})());
|
|
2
2
|
//# sourceMappingURL=emailmaker.js.map
|
package/fm_notification.d.ts
CHANGED
|
@@ -278,7 +278,7 @@ declare namespace Notify {
|
|
|
278
278
|
/**
|
|
279
279
|
* Source of the upload event: 'upload' for file picker/drag-drop, 'uploadByUrl' for URL upload.
|
|
280
280
|
*/
|
|
281
|
-
export type UploadEventSource = 'upload' | 'uploadByUrl';
|
|
281
|
+
export type UploadEventSource = 'upload' | 'uploadByUrl' | 'pixie' | 'iconStock' | 'imageStock' | 'gif';
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* Payload for file upload operations.
|