@emailmaker/emailmaker 1.0.101-alpha.2 → 1.0.101-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.
Files changed (65) hide show
  1. package/README.md +2 -1
  2. package/asset-manifest.json +34 -33
  3. package/emailmaker-esm.js +1 -1
  4. package/emailmaker.d.ts +37 -20
  5. package/emailmaker.js +1 -1
  6. package/iframe/429.js +1 -1
  7. package/iframe/766.js +1 -1
  8. package/iframe/iframe-eblock.23c21a44a5dc8a1c4e79.html +1 -1
  9. package/iframe/iframe.23c21a44a5dc8a1c4e79.html +1 -1
  10. package/iframe/js/330.a0aeb747.js +1 -0
  11. package/iframe/sandbox-eblock.js +1 -1
  12. package/iframe/sandbox.js +1 -1
  13. package/package.json +1 -1
  14. package/plugin.html +1 -1
  15. package/plugin_blocks_test.html +1 -1
  16. package/plugin_default.html +1 -1
  17. package/plugin_default_config.html +666 -0
  18. package/plugin_idigital.html +1 -1
  19. package/plugin_nota.html +1 -1
  20. package/plugin_s.html +1 -1
  21. package/static/css/3435.162aa635.chunk.css +1 -0
  22. package/static/css/9638.d75174cf.chunk.css +1 -0
  23. package/static/js/2195.3f4b43e5.js +2 -0
  24. package/static/js/{9332.dc949fd3.js.LICENSE.txt → 2195.3f4b43e5.js.LICENSE.txt} +0 -7
  25. package/static/js/2200.42d4f2e8.js +2 -0
  26. package/static/js/{2897.21033685.js → 2897.745c5a53.js} +2 -2
  27. package/static/js/{3017.64a47f09.js → 3017.d27d1e16.js} +1 -1
  28. package/static/js/3435.43ded9f9.js +1 -0
  29. package/static/js/4574.2e8b86e3.js +1 -0
  30. package/static/js/{4972.a230fee4.js → 4972.d9c59bfc.js} +1 -1
  31. package/static/js/5447.b9977073.js +2 -0
  32. package/static/js/{6501.ce1c1684.js → 6501.6c1b1685.js} +1 -1
  33. package/static/js/6819.3e90e2de.js +2 -0
  34. package/static/js/7419.39384410.js +2 -0
  35. package/static/js/{84.c021c849.js → 84.efd34783.js} +1 -1
  36. package/static/js/9544.70c0ba76.js +2 -0
  37. package/static/js/{3473.abdeb8f7.js.LICENSE.txt → 9544.70c0ba76.js.LICENSE.txt} +0 -2
  38. package/static/js/9638.af70e006.js +2 -0
  39. package/static/js/{6798.4b7584f2.js.LICENSE.txt → 9638.af70e006.js.LICENSE.txt} +0 -7
  40. package/static/js/9795.84aa32d9.js +2 -0
  41. package/static/js/{2624.c73e6966.js.LICENSE.txt → 9795.84aa32d9.js.LICENSE.txt} +7 -0
  42. package/static/js/{emailmaker_core.ea526523.js → emailmaker_core.210811cd.js} +2 -2
  43. package/static/media/xa.8e9f984ff84e3f51c6f6.png +0 -0
  44. package/translations.pot +340 -336
  45. package/iframe/js/330.5b87e8cb.js +0 -1
  46. package/static/css/3435.6e12750c.chunk.css +0 -1
  47. package/static/css/6798.4b23f0cb.chunk.css +0 -1
  48. package/static/js/2624.c73e6966.js +0 -2
  49. package/static/js/3435.b0aac1ed.js +0 -1
  50. package/static/js/3473.abdeb8f7.js +0 -2
  51. package/static/js/5447.173960c2.js +0 -2
  52. package/static/js/6655.b54ad4d6.js +0 -2
  53. package/static/js/6798.4b7584f2.js +0 -2
  54. package/static/js/6819.c2bea9e8.js +0 -2
  55. package/static/js/7419.28b3875c.js +0 -2
  56. package/static/js/9332.dc949fd3.js +0 -2
  57. package/static/js/9981.1dda98a3.js +0 -1
  58. package/static/media/tw.823a7736ac2d82815c71.png +0 -0
  59. /package/iframe/js/{330.5b87e8cb.js.LICENSE.txt → 330.a0aeb747.js.LICENSE.txt} +0 -0
  60. /package/static/js/{6655.b54ad4d6.js.LICENSE.txt → 2200.42d4f2e8.js.LICENSE.txt} +0 -0
  61. /package/static/js/{2897.21033685.js.LICENSE.txt → 2897.745c5a53.js.LICENSE.txt} +0 -0
  62. /package/static/js/{5447.173960c2.js.LICENSE.txt → 5447.b9977073.js.LICENSE.txt} +0 -0
  63. /package/static/js/{6819.c2bea9e8.js.LICENSE.txt → 6819.3e90e2de.js.LICENSE.txt} +0 -0
  64. /package/static/js/{7419.28b3875c.js.LICENSE.txt → 7419.39384410.js.LICENSE.txt} +0 -0
  65. /package/static/js/{emailmaker_core.ea526523.js.LICENSE.txt → emailmaker_core.210811cd.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.101-alpha.2 -save
9
+ $ npm i @emailmaker/emailmaker@1.0.101-alpha.3 -save
10
10
  ```
11
11
 
12
12
  Добавьте EmailMaker plugin в ваш App config.
@@ -385,6 +385,7 @@ emailmaker.init({
385
385
  | `tempPath` | `string` | Путь к временной папке для загрузок | - |
386
386
  | `useSoftDelete` | `boolean` | Включить программное мягкое удаление | `false` |
387
387
  | `ensureFolderTrailingSlash` | `boolean` | Добавлять к путям папок завершающий слэш | `true` |
388
+ | `validateDuplicates` | `boolean` | Проверка на существование при операциях с файлами и папками | - |
388
389
 
389
390
  #### Методы
390
391
 
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "files": {
3
- "main.js": "/main.7571d175.js",
4
- "main.css": "/static/css/main.2510cf75.css",
5
- "emailmaker_core.js": "/static/js/emailmaker_core.ea526523.js",
3
+ "main.js": "/main.6ecb12a4.js",
4
+ "main.css": "/static/css/main.6a488fba.css",
5
+ "emailmaker_core.js": "/static/js/emailmaker_core.210811cd.js",
6
6
  "emailmaker.js": "/emailmaker.js",
7
7
  "emailmaker-esm.js": "/emailmaker-esm.js",
8
8
  "static/css/1169.c8d4ad26.chunk.css": "/static/css/1169.c8d4ad26.chunk.css",
9
9
  "static/js/1169.41f7faae.js": "/static/js/1169.41f7faae.js",
10
- "static/js/4309.6c1989bb.js": "/static/js/4309.6c1989bb.js",
11
- "static/js/2642.b60a63f6.js": "/static/js/2642.b60a63f6.js",
12
10
  "static/css/84.709e209c.chunk.css": "/static/css/84.709e209c.chunk.css",
13
- "static/js/84.c021c849.js": "/static/js/84.c021c849.js",
14
- "static/css/3435.6e12750c.chunk.css": "/static/css/3435.6e12750c.chunk.css",
15
- "static/js/3435.b0aac1ed.js": "/static/js/3435.b0aac1ed.js",
11
+ "static/js/84.efd34783.js": "/static/js/84.efd34783.js",
12
+ "static/js/2642.b60a63f6.js": "/static/js/2642.b60a63f6.js",
13
+ "static/css/3435.162aa635.chunk.css": "/static/css/3435.162aa635.chunk.css",
14
+ "static/js/3435.43ded9f9.js": "/static/js/3435.43ded9f9.js",
16
15
  "static/css/6501.e131603e.chunk.css": "/static/css/6501.e131603e.chunk.css",
17
- "static/js/6501.ce1c1684.js": "/static/js/6501.ce1c1684.js",
16
+ "static/js/6501.6c1b1685.js": "/static/js/6501.6c1b1685.js",
17
+ "static/js/4309.6c1989bb.js": "/static/js/4309.6c1989bb.js",
18
18
  "static/js/1729.a0be903e.js": "/static/js/1729.a0be903e.js",
19
19
  "ant-locale/locale-ar_EG-js.js": "/static/js/4607.a068e3a8.js",
20
20
  "ant-locale/locale-az_AZ-js.js": "/static/js/3816.b84a560f.js",
@@ -85,9 +85,9 @@
85
85
  "ant-locale/locale-zh_TW-js.js": "/static/js/4813.69bb4746.js",
86
86
  "/mergeTags/locale0.js": "/static/js/2466.24c6e2da.js",
87
87
  "/mergeTags/locale1.js": "/static/js/6859.24fd0fd2.js",
88
- "static/css/6798.4b23f0cb.chunk.css": "/static/css/6798.4b23f0cb.chunk.css",
89
- "static/js/6798.4b7584f2.js": "/static/js/6798.4b7584f2.js",
90
- "static/js/3017.64a47f09.js": "/static/js/3017.64a47f09.js",
88
+ "static/css/9638.d75174cf.chunk.css": "/static/css/9638.d75174cf.chunk.css",
89
+ "static/js/9638.af70e006.js": "/static/js/9638.af70e006.js",
90
+ "static/js/3017.d27d1e16.js": "/static/js/3017.d27d1e16.js",
91
91
  "static/js/1538.bfc8d578.js": "/static/js/1538.bfc8d578.js",
92
92
  "static/js/9644.c8707a98.js": "/static/js/9644.c8707a98.js",
93
93
  "static/js/7463.45a04221.js": "/static/js/7463.45a04221.js",
@@ -95,18 +95,18 @@
95
95
  "static/js/3019.b5f316a5.js": "/static/js/3019.b5f316a5.js",
96
96
  "static/js/8521.e891fa18.js": "/static/js/8521.e891fa18.js",
97
97
  "static/js/6957.7ea22637.js": "/static/js/6957.7ea22637.js",
98
- "static/js/2897.21033685.js": "/static/js/2897.21033685.js",
98
+ "static/js/2897.745c5a53.js": "/static/js/2897.745c5a53.js",
99
99
  "static/js/6801.d6cefb00.js": "/static/js/6801.d6cefb00.js",
100
- "static/js/9332.dc949fd3.js": "/static/js/9332.dc949fd3.js",
101
- "static/js/7419.28b3875c.js": "/static/js/7419.28b3875c.js",
102
- "static/js/9981.1dda98a3.js": "/static/js/9981.1dda98a3.js",
100
+ "static/js/2195.3f4b43e5.js": "/static/js/2195.3f4b43e5.js",
101
+ "static/js/7419.39384410.js": "/static/js/7419.39384410.js",
102
+ "static/js/4574.2e8b86e3.js": "/static/js/4574.2e8b86e3.js",
103
103
  "static/js/6419.3f1ccca4.js": "/static/js/6419.3f1ccca4.js",
104
- "static/js/4972.a230fee4.js": "/static/js/4972.a230fee4.js",
105
- "static/js/3473.abdeb8f7.js": "/static/js/3473.abdeb8f7.js",
106
- "static/js/6655.b54ad4d6.js": "/static/js/6655.b54ad4d6.js",
107
- "static/js/5447.173960c2.js": "/static/js/5447.173960c2.js",
108
- "static/js/2624.c73e6966.js": "/static/js/2624.c73e6966.js",
109
- "static/js/6819.c2bea9e8.js": "/static/js/6819.c2bea9e8.js",
104
+ "static/js/4972.d9c59bfc.js": "/static/js/4972.d9c59bfc.js",
105
+ "static/js/9544.70c0ba76.js": "/static/js/9544.70c0ba76.js",
106
+ "static/js/2200.42d4f2e8.js": "/static/js/2200.42d4f2e8.js",
107
+ "static/js/5447.b9977073.js": "/static/js/5447.b9977073.js",
108
+ "static/js/9795.84aa32d9.js": "/static/js/9795.84aa32d9.js",
109
+ "static/js/6819.3e90e2de.js": "/static/js/6819.3e90e2de.js",
110
110
  "static/js/1880.5668de7d.js": "/static/js/1880.5668de7d.js",
111
111
  "static/js/3085.0ddbb320.js": "/static/js/3085.0ddbb320.js",
112
112
  "html.worker.js": "/html.worker.js",
@@ -207,6 +207,7 @@
207
207
  "static/media/image-editor/images/textures/6.png": "/static/media/image-editor/images/textures/6.png",
208
208
  "static/media/image-editor/images/stickers/bubbles/34.png": "/static/media/image-editor/images/stickers/bubbles/34.png",
209
209
  "static/media/image-editor/images/stickers/landmarks/47.svg": "/static/media/image-editor/images/stickers/landmarks/47.svg",
210
+ "plugin_default_config.html": "/plugin_default_config.html",
210
211
  "static/media/image-editor/images/stickers/bubbles/29.png": "/static/media/image-editor/images/stickers/bubbles/29.png",
211
212
  "static/media/image-editor/images/stickers/bubbles/61.png": "/static/media/image-editor/images/stickers/bubbles/61.png",
212
213
  "static/media/image-editor/fonts/codystar-v10-latin-ext_latin-regular.woff2": "/static/media/image-editor/fonts/codystar-v10-latin-ext_latin-regular.woff2",
@@ -790,6 +791,7 @@
790
791
  "static/media/image-editor/images/stickers/emoticons/scared-3.svg": "/static/media/image-editor/images/stickers/emoticons/scared-3.svg",
791
792
  "static/media/image-editor/images/stickers/landmarks/35.svg": "/static/media/image-editor/images/stickers/landmarks/35.svg",
792
793
  "static/media/image-editor/images/stickers/emoticons/happy-12.svg": "/static/media/image-editor/images/stickers/emoticons/happy-12.svg",
794
+ "static/media/xa.png": "/static/media/xa.8e9f984ff84e3f51c6f6.png",
793
795
  "static/media/image-editor/images/stickers/categories/emoticon.svg": "/static/media/image-editor/images/stickers/categories/emoticon.svg",
794
796
  "static/media/image-editor/images/stickers/emoticons/businessman.svg": "/static/media/image-editor/images/stickers/emoticons/businessman.svg",
795
797
  "static/media/image-editor/images/stickers/emoticons/asian-1.svg": "/static/media/image-editor/images/stickers/emoticons/asian-1.svg",
@@ -846,7 +848,6 @@
846
848
  "static/media/image-editor/images/stickers/emoticons/creepy.svg": "/static/media/image-editor/images/stickers/emoticons/creepy.svg",
847
849
  "static/media/image-editor/images/stickers/transportation/15.svg": "/static/media/image-editor/images/stickers/transportation/15.svg",
848
850
  "static/media/image-editor/images/stickers/emoticons/happy.svg": "/static/media/image-editor/images/stickers/emoticons/happy.svg",
849
- "static/media/tw.png": "/static/media/tw.823a7736ac2d82815c71.png",
850
851
  "static/media/image-editor/images/stickers/emoticons/in-love-2.svg": "/static/media/image-editor/images/stickers/emoticons/in-love-2.svg",
851
852
  "static/media/image-editor/images/stickers/emoticons/sad-3.svg": "/static/media/image-editor/images/stickers/emoticons/sad-3.svg",
852
853
  "static/media/image-editor/images/stickers/emoticons/sick-2.svg": "/static/media/image-editor/images/stickers/emoticons/sick-2.svg",
@@ -930,15 +931,15 @@
930
931
  },
931
932
  "entrypoints": [
932
933
  "static/js/6419.3f1ccca4.js",
933
- "static/js/4972.a230fee4.js",
934
- "static/js/3473.abdeb8f7.js",
935
- "static/js/6655.b54ad4d6.js",
936
- "static/js/5447.173960c2.js",
937
- "static/js/2624.c73e6966.js",
938
- "static/js/2897.21033685.js",
939
- "static/js/9332.dc949fd3.js",
940
- "static/js/9981.1dda98a3.js",
941
- "main.7571d175.js",
942
- "static/css/main.2510cf75.css"
934
+ "static/js/4972.d9c59bfc.js",
935
+ "static/js/9544.70c0ba76.js",
936
+ "static/js/2200.42d4f2e8.js",
937
+ "static/js/5447.b9977073.js",
938
+ "static/js/9795.84aa32d9.js",
939
+ "static/js/2897.745c5a53.js",
940
+ "static/js/2195.3f4b43e5.js",
941
+ "static/js/4574.2e8b86e3.js",
942
+ "main.6ecb12a4.js",
943
+ "static/css/main.6a488fba.css"
943
944
  ]
944
945
  }
package/emailmaker-esm.js CHANGED
@@ -1 +1 @@
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={27612:(e,t,a)=>{var n;let o="https://unpkg.com/@emailmaker/emailmaker@1.0.101-alpha.2/",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||"function"==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=>6419===e?"static/js/6419.3f1ccca4.js":4972===e?"static/js/4972.a230fee4.js":3473===e?"static/js/3473.abdeb8f7.js":6655===e?"static/js/6655.b54ad4d6.js":5447===e?"static/js/5447.173960c2.js":2624===e?"static/js/2624.c73e6966.js":2897===e?"static/js/2897.21033685.js":9981===e?"static/js/9981.1dda98a3.js":"static/js/"+e+"."+{77:"ecd8298d",84:"c021c849",197:"ca14eb1f",290:"9ca0875e",494:"b2f59d9c",737:"15e07ba1",1241:"c5140ea5",1330:"5d07a79a",1332:"7af15f51",1377:"1e90fb24",1454:"853f3af0",1502:"92cc4647",1510:"4ebb11e0",1538:"bfc8d578",1626:"24fe4aef",1640:"ee264565",1729:"a0be903e",1788:"cef1c751",1872:"afa510f9",1880:"5668de7d",2066:"61788209",2114:"a31d70e0",2408:"59a531ef",2438:"976c50a6",2466:"24c6e2da",2642:"b60a63f6",2827:"f054d794",2844:"3d7c7e4f",2917:"85b15451",2988:"3e1e40bb",3017:"64a47f09",3019:"b5f316a5",3085:"0ddbb320",3302:"d2b7eb7a",3411:"2e2298ab",3435:"b0aac1ed",3624:"ab0888b9",3711:"72e19ffc",3816:"b84a560f",3914:"5fbd9645",4309:"6c1989bb",4425:"5fdcc75b",4607:"a068e3a8",4686:"4c6d775a",4702:"17328a86",4813:"69bb4746",4823:"facbc144",5108:"8d56188e",5261:"07676057",5322:"f0f50266",5466:"26845b27",5653:"71247744",5827:"db143616",5862:"44a62852",5864:"015ee01f",5902:"f1d32c8f",5980:"68d51cfa",6033:"988792d2",6135:"337814a0",6144:"5d2c141c",6418:"32bd8996",6428:"dd1a7e84",6501:"ce1c1684",6552:"e2e08d8a",6618:"1d798fbf",6764:"ecde5d7e",6798:"4b7584f2",6801:"d6cefb00",6819:"c2bea9e8",6832:"e5c5e6b3",6859:"24fd0fd2",7288:"6c5e0839",7419:"28b3875c",7426:"fdbfc750",7463:"45a04221",7974:"47b71730",8466:"1a324243",8534:"05d4d804",8590:"b5d52218",8682:"317370b5",8796:"8e7fdd44",8839:"7870613a",9169:"861c7ef0",9200:"49b7fc6b",9508:"6903b04d",9644:"c8707a98",9716:"18f1c965"}[e]+".js",n.miniCssF=e=>"static/css/"+e+"."+{84:"709e209c",3435:"6e12750c",6501:"e131603e",6798:"4b23f0cb"}[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,s;if(void 0!==o)for(var d=document.getElementsByTagName("script"),l=0;l<d.length;l++){var f=d[l];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+o){c=f;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+o),c.src=r),e[r]=[a];var u=(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(u.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=u.bind(null,c.onerror),c.onload=u.bind(null,c.onload),s&&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,s=new Error("Loading CSS chunk "+e+" failed.\n("+n+": "+c+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=n,s.request=c,i.parentNode&&i.parentNode.removeChild(i),o(s)}},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]&&{84:1,3435:1,6501:1,6798: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,s]=r,d=0;if(i.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);if(s)s(n)}for(t&&t(r);d<i.length;d++)o=i[d],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:()=>e,init:()=>i,parseAMP:()=>c,version:()=>s});var e={};n.r(e),n.d(e,{FileManagerApiError:()=>t});n(27612);class t extends Error{constructor(e,r,a,n){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=r,this.httpStatus=a,this.details=n,Error.captureStackTrace&&Error.captureStackTrace(this,t)}}let r,a;function i(e){return r||(r=n.e(3017).then(n.bind(n,63017))),r.then(t=>t.init(e))}function c(e){return a||(a=n.e(1538).then(n.bind(n,71538))),a.then(t=>t.parseAMP(e))}const s="1.0.101-alpha.2"})(),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 init=app.init;
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={27612:(e,t,a)=>{var n;let o="https://unpkg.com/@emailmaker/emailmaker@1.0.101-alpha.3/",c="emailmaker";if("object"===typeof r&&null!==(n=r)&&void 0!==n&&n.publicPath){var i;o=null===(i=r)||void 0===i?void 0:i.publicPath}else{let e="";const t=document.querySelector(`script[src*=${c}\\.js]`)||document.querySelector(`script[src*=${c}-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 c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&a&&r;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>r[e]);return c.default=()=>r,n.d(o,c),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=>6419===e?"static/js/6419.3f1ccca4.js":4972===e?"static/js/4972.d9c59bfc.js":9544===e?"static/js/9544.70c0ba76.js":2200===e?"static/js/2200.42d4f2e8.js":5447===e?"static/js/5447.b9977073.js":9795===e?"static/js/9795.84aa32d9.js":2897===e?"static/js/2897.745c5a53.js":4574===e?"static/js/4574.2e8b86e3.js":"static/js/"+e+"."+{77:"ecd8298d",84:"efd34783",197:"ca14eb1f",290:"9ca0875e",494:"b2f59d9c",737:"15e07ba1",1241:"c5140ea5",1330:"5d07a79a",1332:"7af15f51",1377:"1e90fb24",1454:"853f3af0",1502:"92cc4647",1510:"4ebb11e0",1538:"bfc8d578",1626:"24fe4aef",1640:"ee264565",1729:"a0be903e",1788:"cef1c751",1872:"afa510f9",1880:"5668de7d",2066:"61788209",2114:"a31d70e0",2408:"59a531ef",2438:"976c50a6",2466:"24c6e2da",2642:"b60a63f6",2827:"f054d794",2844:"3d7c7e4f",2917:"85b15451",2988:"3e1e40bb",3017:"d27d1e16",3019:"b5f316a5",3085:"0ddbb320",3302:"d2b7eb7a",3411:"2e2298ab",3435:"43ded9f9",3624:"ab0888b9",3711:"72e19ffc",3816:"b84a560f",3914:"5fbd9645",4309:"6c1989bb",4425:"5fdcc75b",4607:"a068e3a8",4686:"4c6d775a",4702:"17328a86",4813:"69bb4746",4823:"facbc144",5108:"8d56188e",5261:"07676057",5322:"f0f50266",5466:"26845b27",5653:"71247744",5827:"db143616",5862:"44a62852",5864:"015ee01f",5902:"f1d32c8f",5980:"68d51cfa",6033:"988792d2",6135:"337814a0",6144:"5d2c141c",6418:"32bd8996",6428:"dd1a7e84",6501:"6c1b1685",6552:"e2e08d8a",6618:"1d798fbf",6764:"ecde5d7e",6801:"d6cefb00",6819:"3e90e2de",6832:"e5c5e6b3",6859:"24fd0fd2",7288:"6c5e0839",7419:"39384410",7426:"fdbfc750",7463:"45a04221",7974:"47b71730",8466:"1a324243",8534:"05d4d804",8590:"b5d52218",8682:"317370b5",8796:"8e7fdd44",8839:"7870613a",9169:"861c7ef0",9200:"49b7fc6b",9508:"6903b04d",9638:"af70e006",9644:"c8707a98",9716:"18f1c965"}[e]+".js",n.miniCssF=e=>"static/css/"+e+"."+{84:"709e209c",3435:"162aa635",6501:"e131603e",9638:"d75174cf"}[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,c)=>{if(e[r])e[r].push(a);else{var i,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")==r||f.getAttribute("data-webpack")==t+o){i=f;break}}i||(d=!0,(i=document.createElement("script")).charset="utf-8",n.nc&&i.setAttribute("nonce",n.nc),i.setAttribute("data-webpack",t+o),i.src=r),e[r]=[a];var u=(t,a)=>{i.onerror=i.onload=null,clearTimeout(p);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(a)),t)return t(a)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),d&&document.head.appendChild(i)}}})(),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=(c=r[a]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(n===e||n===t))return c}var o=document.getElementsByTagName("style");for(a=0;a<o.length;a++){var c;if((n=(c=o[a]).getAttribute("data-href"))===e||n===t)return c}})(a,o))return t();((e,t,r,a,o)=>{var c=document.createElement("link");c.setAttribute("data-emailmaker","true"),c.rel="stylesheet",c.type="text/css",n.nc&&(c.nonce=n.nc),c.onerror=c.onload=r=>{if(c.onerror=c.onload=null,"load"===r.type)a();else{var n=r&&r.type,i=r&&r.target&&r.target.href||t,d=new Error("Loading CSS chunk "+e+" failed.\n("+n+": "+i+")");d.name="ChunkLoadError",d.code="CSS_CHUNK_LOAD_FAILED",d.type=n,d.request=i,c.parentNode&&c.parentNode.removeChild(c),o(d)}},c.href=t,r?r.parentNode.insertBefore(c,r.nextSibling):document.head.appendChild(c)})(e,o,null,t,r)}),t={1849:0,7391:0};n.f.miniCss=(r,a)=>{t[r]?a.push(t[r]):0!==t[r]&&{84:1,3435:1,6501:1,9638: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 c=n.p+n.u(t),i=new Error;n.l(c,r=>{if(n.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+c+")",i.name="ChunkLoadError",i.type=o,i.request=c,a[1](i)}},"chunk-"+t,t)}};var t=(t,r)=>{var a,o,[c,i,d]=r,s=0;if(c.some(t=>0!==e[t])){for(a in i)n.o(i,a)&&(n.m[a]=i[a]);if(d)d(n)}for(t&&t(r);s<c.length;s++)o=c[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:()=>e,init:()=>c,parseAMP:()=>i,version:()=>d});var e={};n.r(e),n.d(e,{FileManagerApiError:()=>t});n(27612);class t extends Error{constructor(e,r,a,n){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=r,this.httpStatus=a,this.details=n,Error.captureStackTrace&&Error.captureStackTrace(this,t)}}let r,a;function c(e){return r||(r=n.e(3017).then(n.bind(n,63017))),r.then(t=>t.init(e))}function i(e){return a||(a=n.e(1538).then(n.bind(n,71538))),a.then(t=>t.parseAMP(e))}const d="1.0.101-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 init=app.init;
package/emailmaker.d.ts CHANGED
@@ -108,7 +108,9 @@ interface IFrameErrorInfo {
108
108
  sentryEventId: string;
109
109
  }
110
110
  declare namespace Notify {
111
- type FM_Notifications<Notifications extends Record<string, any>> = { [Key in keyof Notifications as `FM_${Key & string}`]: Notifications[Key]};
111
+ type FM_Notifications<Notifications extends Record<string, any>> = {
112
+ [Key in keyof Notifications as `FM_${Key & string}`]: Notifications[Key];
113
+ };
112
114
  //
113
115
  // ─────────────────────────────────────────────────────────────
114
116
  // Base event types
@@ -136,7 +138,6 @@ declare namespace Notify {
136
138
  innerException?: unknown;
137
139
  }
138
140
 
139
-
140
141
  /**
141
142
  * Error map defines all possible error event identifiers
142
143
  * and their associated payload types.
@@ -174,8 +175,7 @@ declare namespace Notify {
174
175
 
175
176
  type FMErrorMap = FM_Notifications<import('./fm_notification').Notify.ErrorMap>;
176
177
 
177
- interface ErrorMap extends FMErrorMap { }
178
-
178
+ interface ErrorMap extends FMErrorMap {}
179
179
 
180
180
  /**
181
181
  * Union of all possible error event types.
@@ -204,10 +204,9 @@ declare namespace Notify {
204
204
  BLOCK_REMOVING_SUCCESS: BlockDesc;
205
205
  }
206
206
 
207
-
208
207
  type FMSuccessMap = FM_Notifications<import('./fm_notification').Notify.SuccessMap>;
209
208
 
210
- interface SuccessMap extends FMSuccessMap { }
209
+ interface SuccessMap extends FMSuccessMap {}
211
210
 
212
211
  type Success =
213
212
  | EmptyMessage
@@ -224,7 +223,7 @@ declare namespace Notify {
224
223
 
225
224
  type FMWarningMap = FM_Notifications<import('./fm_notification').Notify.WarningMap>;
226
225
 
227
- interface WarningMap extends FMWarningMap { }
226
+ interface WarningMap extends FMWarningMap {}
228
227
 
229
228
  type Warning =
230
229
  | EmptyMessage
@@ -234,7 +233,6 @@ declare namespace Notify {
234
233
 
235
234
  type WarningEvent = { type: 'warning' } & Warning;
236
235
 
237
-
238
236
  /**
239
237
  * Info events map — currently empty.
240
238
  * Can be freely extended from other modules.
@@ -246,7 +244,7 @@ declare namespace Notify {
246
244
 
247
245
  type FMInfoMap = FM_Notifications<import('./fm_notification').Notify.InfoMap>;
248
246
 
249
- interface InfoMap extends FMInfoMap { }
247
+ interface InfoMap extends FMInfoMap {}
250
248
 
251
249
  type Info =
252
250
  | EmptyMessage
@@ -1212,7 +1210,7 @@ declare namespace ExportedApi {
1212
1210
  namespace NotificationMixin {
1213
1211
  type NotifyListener = (e: NotifyEvent) => MayBePromise<ConfigNotify | string | false | void>;
1214
1212
  type ErrorListener = (e: Notify.ErrorEvent) => MayBePromise<ConfigNotify | string | false | void>;
1215
- type SuccessListener =(e: Notify.SuccessEvent) => MayBePromise<ConfigNotify | string | false | void>;
1213
+ type SuccessListener = (e: Notify.SuccessEvent) => MayBePromise<ConfigNotify | string | false | void>;
1216
1214
  interface Options {
1217
1215
  handleNotify?: NotifyListener;
1218
1216
  handleError?: ErrorListener;
@@ -1487,6 +1485,11 @@ export interface UploadFilesRequest {
1487
1485
  * Defines the contract for different storage backends (e.g., cloud APIs).
1488
1486
  */
1489
1487
  export interface StorageProvider {
1488
+ /**
1489
+ * @default false
1490
+ * Client-side check for existing files or folders
1491
+ */
1492
+ validateDuplicates?: boolean;
1490
1493
  /**
1491
1494
  * Use the path as an identifier for folders
1492
1495
  */
@@ -1916,6 +1919,20 @@ declare namespace ExportedApi {
1916
1919
  * @default File/folder name search
1917
1920
  */
1918
1921
  filterMatch?: (entity: FileSystemItem, params?: any) => boolean;
1922
+
1923
+ /**
1924
+ * Number of pages to preload before current page.
1925
+ * Pages are loaded in a single request with increased pageSize.
1926
+ * @default 0
1927
+ */
1928
+ preloadPagesBefore?: number;
1929
+
1930
+ /**
1931
+ * Number of pages to preload after current page.
1932
+ * Pages are loaded in a single request with increased pageSize.
1933
+ * @default 3
1934
+ */
1935
+ preloadPagesAfter?: number;
1919
1936
  };
1920
1937
  }
1921
1938
 
@@ -1970,16 +1987,16 @@ export const version: string;
1970
1987
  */
1971
1988
  export declare namespace errors {
1972
1989
  /**
1973
- * FileManagerApiError
1974
- * @example
1975
- * ```typescript
1976
- * throw new errors.FileManagerApiError(
1977
- * 'File not found',
1978
- * 'FileNotFound',
1979
- * 404
1980
- * );
1981
- * ```
1982
- */
1990
+ * FileManagerApiError
1991
+ * @example
1992
+ * ```typescript
1993
+ * throw new errors.FileManagerApiError(
1994
+ * 'File not found',
1995
+ * 'FileNotFound',
1996
+ * 404
1997
+ * );
1998
+ * ```
1999
+ */
1983
2000
  export class FileManagerApiError extends Error implements IFileManagerApiError {
1984
2001
  public readonly code: FileManagerErrorCode;
1985
2002
  public readonly httpStatus?: number;
package/emailmaker.js CHANGED
@@ -1 +1 @@
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={27612:(e,t,r)=>{var a;let n="https://unpkg.com/@emailmaker/emailmaker@1.0.101-alpha.2/",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||"function"==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=>6419===e?"static/js/6419.3f1ccca4.js":4972===e?"static/js/4972.a230fee4.js":3473===e?"static/js/3473.abdeb8f7.js":6655===e?"static/js/6655.b54ad4d6.js":5447===e?"static/js/5447.173960c2.js":2624===e?"static/js/2624.c73e6966.js":2897===e?"static/js/2897.21033685.js":9981===e?"static/js/9981.1dda98a3.js":"static/js/"+e+"."+{77:"ecd8298d",84:"c021c849",197:"ca14eb1f",290:"9ca0875e",494:"b2f59d9c",737:"15e07ba1",1241:"c5140ea5",1330:"5d07a79a",1332:"7af15f51",1377:"1e90fb24",1454:"853f3af0",1502:"92cc4647",1510:"4ebb11e0",1538:"bfc8d578",1626:"24fe4aef",1640:"ee264565",1729:"a0be903e",1788:"cef1c751",1872:"afa510f9",1880:"5668de7d",2066:"61788209",2114:"a31d70e0",2408:"59a531ef",2438:"976c50a6",2466:"24c6e2da",2642:"b60a63f6",2827:"f054d794",2844:"3d7c7e4f",2917:"85b15451",2988:"3e1e40bb",3017:"64a47f09",3019:"b5f316a5",3085:"0ddbb320",3302:"d2b7eb7a",3411:"2e2298ab",3435:"b0aac1ed",3624:"ab0888b9",3711:"72e19ffc",3816:"b84a560f",3914:"5fbd9645",4309:"6c1989bb",4425:"5fdcc75b",4607:"a068e3a8",4686:"4c6d775a",4702:"17328a86",4813:"69bb4746",4823:"facbc144",5108:"8d56188e",5261:"07676057",5322:"f0f50266",5466:"26845b27",5653:"71247744",5827:"db143616",5862:"44a62852",5864:"015ee01f",5902:"f1d32c8f",5980:"68d51cfa",6033:"988792d2",6135:"337814a0",6144:"5d2c141c",6418:"32bd8996",6428:"dd1a7e84",6501:"ce1c1684",6552:"e2e08d8a",6618:"1d798fbf",6764:"ecde5d7e",6798:"4b7584f2",6801:"d6cefb00",6819:"c2bea9e8",6832:"e5c5e6b3",6859:"24fd0fd2",7288:"6c5e0839",7419:"28b3875c",7426:"fdbfc750",7463:"45a04221",7974:"47b71730",8466:"1a324243",8534:"05d4d804",8590:"b5d52218",8682:"317370b5",8796:"8e7fdd44",8839:"7870613a",9169:"861c7ef0",9200:"49b7fc6b",9508:"6903b04d",9644:"c8707a98",9716:"18f1c965"}[e]+".js",r.miniCssF=e=>"static/css/"+e+"."+{84:"709e209c",3435:"6e12750c",6501:"e131603e",6798:"4b23f0cb"}[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"),f=0;f<s.length;f++){var l=s[f];if(l.getAttribute("src")==a||l.getAttribute("data-webpack")==t+o){c=l;break}}c||(d=!0,(c=document.createElement("script")).charset="utf-8",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={1849:0,7391:0};r.f.miniCss=(r,a)=>{t[r]?a.push(t[r]):0!==t[r]&&{84:1,3435:1,6501:1,6798:1}[r]&&a.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={1849:0,7391: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:()=>e,init:()=>i,parseAMP:()=>c,version:()=>d});var e={};r.r(e),r.d(e,{FileManagerApiError:()=>t});r(27612);class t extends Error{constructor(e,r,a,n){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=r,this.httpStatus=a,this.details=n,Error.captureStackTrace&&Error.captureStackTrace(this,t)}}let n,o;function i(e){return n||(n=r.e(3017).then(r.bind(r,63017))),n.then(t=>t.init(e))}function c(e){return o||(o=r.e(1538).then(r.bind(r,71538))),o.then(t=>t.parseAMP(e))}const d="1.0.101-alpha.2"})(),a})());
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={27612:(e,t,r)=>{var a;let n="https://unpkg.com/@emailmaker/emailmaker@1.0.101-alpha.3/",o="emailmaker";if("object"===typeof EmailmakerEnvironment&&null!==(a=EmailmakerEnvironment)&&void 0!==a&&a.publicPath){var c;n=null===(c=EmailmakerEnvironment)||void 0===c?void 0:c.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 c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&a;("object"==typeof i||"function"==typeof i)&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>a[e]);return c.default=()=>a,r.d(o,c),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=>6419===e?"static/js/6419.3f1ccca4.js":4972===e?"static/js/4972.d9c59bfc.js":9544===e?"static/js/9544.70c0ba76.js":2200===e?"static/js/2200.42d4f2e8.js":5447===e?"static/js/5447.b9977073.js":9795===e?"static/js/9795.84aa32d9.js":2897===e?"static/js/2897.745c5a53.js":4574===e?"static/js/4574.2e8b86e3.js":"static/js/"+e+"."+{77:"ecd8298d",84:"efd34783",197:"ca14eb1f",290:"9ca0875e",494:"b2f59d9c",737:"15e07ba1",1241:"c5140ea5",1330:"5d07a79a",1332:"7af15f51",1377:"1e90fb24",1454:"853f3af0",1502:"92cc4647",1510:"4ebb11e0",1538:"bfc8d578",1626:"24fe4aef",1640:"ee264565",1729:"a0be903e",1788:"cef1c751",1872:"afa510f9",1880:"5668de7d",2066:"61788209",2114:"a31d70e0",2408:"59a531ef",2438:"976c50a6",2466:"24c6e2da",2642:"b60a63f6",2827:"f054d794",2844:"3d7c7e4f",2917:"85b15451",2988:"3e1e40bb",3017:"d27d1e16",3019:"b5f316a5",3085:"0ddbb320",3302:"d2b7eb7a",3411:"2e2298ab",3435:"43ded9f9",3624:"ab0888b9",3711:"72e19ffc",3816:"b84a560f",3914:"5fbd9645",4309:"6c1989bb",4425:"5fdcc75b",4607:"a068e3a8",4686:"4c6d775a",4702:"17328a86",4813:"69bb4746",4823:"facbc144",5108:"8d56188e",5261:"07676057",5322:"f0f50266",5466:"26845b27",5653:"71247744",5827:"db143616",5862:"44a62852",5864:"015ee01f",5902:"f1d32c8f",5980:"68d51cfa",6033:"988792d2",6135:"337814a0",6144:"5d2c141c",6418:"32bd8996",6428:"dd1a7e84",6501:"6c1b1685",6552:"e2e08d8a",6618:"1d798fbf",6764:"ecde5d7e",6801:"d6cefb00",6819:"3e90e2de",6832:"e5c5e6b3",6859:"24fd0fd2",7288:"6c5e0839",7419:"39384410",7426:"fdbfc750",7463:"45a04221",7974:"47b71730",8466:"1a324243",8534:"05d4d804",8590:"b5d52218",8682:"317370b5",8796:"8e7fdd44",8839:"7870613a",9169:"861c7ef0",9200:"49b7fc6b",9508:"6903b04d",9638:"af70e006",9644:"c8707a98",9716:"18f1c965"}[e]+".js",r.miniCssF=e=>"static/css/"+e+"."+{84:"709e209c",3435:"162aa635",6501:"e131603e",9638:"d75174cf"}[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,c)=>{if(e[a])e[a].push(n);else{var i,d;if(void 0!==o)for(var s=document.getElementsByTagName("script"),f=0;f<s.length;f++){var l=s[f];if(l.getAttribute("src")==a||l.getAttribute("data-webpack")==t+o){i=l;break}}i||(d=!0,(i=document.createElement("script")).charset="utf-8",r.nc&&i.setAttribute("nonce",r.nc),i.setAttribute("data-webpack",t+o),i.src=a),e[a]=[n];var u=(t,r)=>{i.onerror=i.onload=null,clearTimeout(b);var n=e[a];if(delete e[a],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(r)),t)return t(r)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),d&&document.head.appendChild(i)}}})(),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=(c=r[a]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(n===e||n===t))return c}var o=document.getElementsByTagName("style");for(a=0;a<o.length;a++){var c;if((n=(c=o[a]).getAttribute("data-href"))===e||n===t)return c}})(n,o))return t();((e,t,a,n,o)=>{var c=document.createElement("link");c.setAttribute("data-emailmaker","true"),c.rel="stylesheet",c.type="text/css",r.nc&&(c.nonce=r.nc),c.onerror=c.onload=r=>{if(c.onerror=c.onload=null,"load"===r.type)n();else{var a=r&&r.type,i=r&&r.target&&r.target.href||t,d=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+i+")");d.name="ChunkLoadError",d.code="CSS_CHUNK_LOAD_FAILED",d.type=a,d.request=i,c.parentNode&&c.parentNode.removeChild(c),o(d)}},c.href=t,a?a.parentNode.insertBefore(c,a.nextSibling):document.head.appendChild(c)})(e,o,null,t,a)}),t={1849:0,7391:0};r.f.miniCss=(r,a)=>{t[r]?a.push(t[r]):0!==t[r]&&{84:1,3435:1,6501:1,9638:1}[r]&&a.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),(()=>{var e={1849:0,7391: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 c=r.p+r.u(t),i=new Error;r.l(c,a=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=a&&("load"===a.type?"missing":a.type),c=a&&a.target&&a.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+c+")",i.name="ChunkLoadError",i.type=o,i.request=c,n[1](i)}},"chunk-"+t,t)}};var t=(t,a)=>{var n,o,[c,i,d]=a,s=0;if(c.some(t=>0!==e[t])){for(n in i)r.o(i,n)&&(r.m[n]=i[n]);if(d)d(r)}for(t&&t(a);s<c.length;s++)o=c[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:()=>e,init:()=>c,parseAMP:()=>i,version:()=>d});var e={};r.r(e),r.d(e,{FileManagerApiError:()=>t});r(27612);class t extends Error{constructor(e,r,a,n){super(e),this.code=void 0,this.httpStatus=void 0,this.details=void 0,this.name="FileManagerApiError",this.code=r,this.httpStatus=a,this.details=n,Error.captureStackTrace&&Error.captureStackTrace(this,t)}}let n,o;function c(e){return n||(n=r.e(3017).then(r.bind(r,63017))),n.then(t=>t.init(e))}function i(e){return o||(o=r.e(1538).then(r.bind(r,71538))),o.then(t=>t.parseAMP(e))}const d="1.0.101-alpha.3"})(),a})());