@emailmaker/emailmaker 1.0.91 → 1.0.93-alpha.1
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 +32 -2
- package/asset-manifest.json +32 -26
- package/emailmaker-esm.js +1 -1
- package/emailmaker.d.ts +261 -0
- package/emailmaker.js +1 -1
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/iframe-eblock.bd2a2a73469f802abf17.html +1 -0
- package/iframe/iframe.bd2a2a73469f802abf17.html +1 -0
- package/iframe/js/826.e81dd4d6.js +1 -0
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/plugin.html +1 -1
- package/plugin_blocks_test.html +1 -1
- package/plugin_default.html +1 -1
- package/plugin_idigital.html +1 -1
- package/plugin_nota.html +1 -1
- package/plugin_s.html +1 -1
- package/static/css/2458.05166c0a.chunk.css +1 -0
- package/static/css/6501.e131603e.chunk.css +1 -0
- package/static/css/9272.a4e58dd0.chunk.css +1 -0
- package/static/js/1390.87d39fe1.js +2 -0
- package/static/js/{1538.c37b25fc.chunk.js → 1538.06811304.chunk.js} +2 -2
- package/static/js/241.9aaa5790.js +2 -0
- package/static/js/{6498.bfe18798.js.LICENSE.txt → 241.9aaa5790.js.LICENSE.txt} +1 -1
- package/static/js/2458.504bef1c.chunk.js +2 -0
- package/static/js/3017.2e1f6413.chunk.js +1 -0
- package/static/js/3085.b9d27236.chunk.js +2 -0
- package/static/js/4560.b03bbb3f.chunk.js +2 -0
- package/static/js/4560.b03bbb3f.chunk.js.LICENSE.txt +101 -0
- package/static/js/6501.616f4dec.chunk.js +1 -0
- package/static/js/7091.d1a56e4b.js +1 -0
- package/static/js/7729.13361a78.js +1 -0
- package/static/js/8285.c8bdf11b.js +2 -0
- package/static/js/{1302.39ea1b43.js.LICENSE.txt → 8285.c8bdf11b.js.LICENSE.txt} +1 -14
- package/static/js/8408.459779d0.js +2 -0
- package/static/js/8408.459779d0.js.LICENSE.txt +9 -0
- package/static/js/898.2dcef4f3.js +2 -0
- package/static/js/9272.d5a35d82.chunk.js +1 -0
- package/static/js/9960.6dcf66f0.chunk.js +2 -0
- package/static/js/9960.6dcf66f0.chunk.js.LICENSE.txt +30 -0
- package/static/js/emailmaker_core.1c694217.js +2 -0
- package/static/media/project-email-back.0ce470def19ce7c063e0.svg +29 -0
- package/translations.pot +39 -15
- package/iframe/iframe-eblock.71b56f41e572450c6715.html +0 -1
- package/iframe/iframe.71b56f41e572450c6715.html +0 -1
- package/iframe/js/826.f9cbc257.js +0 -1
- package/static/css/3397.f2d44d65.chunk.css +0 -1
- package/static/js/1302.39ea1b43.js +0 -2
- package/static/js/3017.1bbeda89.chunk.js +0 -1
- package/static/js/3085.59662838.chunk.js +0 -2
- package/static/js/3273.6cedb8e0.js +0 -2
- package/static/js/3397.19e55db9.chunk.js +0 -2
- package/static/js/3758.c4bda075.js +0 -2
- package/static/js/3927.eb1dc39e.js +0 -1
- package/static/js/4138.7f4f36d7.js +0 -1
- package/static/js/6498.bfe18798.js +0 -2
- package/static/js/985.162f7f7b.js +0 -1
- package/static/js/9880.74dc5e4f.chunk.js +0 -2
- package/static/js/9880.74dc5e4f.chunk.js.LICENSE.txt +0 -9
- package/static/js/emailmaker_core.4a93d2c5.js +0 -2
- /package/iframe/js/{826.f9cbc257.js.LICENSE.txt → 826.e81dd4d6.js.LICENSE.txt} +0 -0
- /package/static/js/{3273.6cedb8e0.js.LICENSE.txt → 1390.87d39fe1.js.LICENSE.txt} +0 -0
- /package/static/js/{1538.c37b25fc.chunk.js.LICENSE.txt → 1538.06811304.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{3397.19e55db9.chunk.js.LICENSE.txt → 2458.504bef1c.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{3085.59662838.chunk.js.LICENSE.txt → 3085.b9d27236.chunk.js.LICENSE.txt} +0 -0
- /package/static/js/{3758.c4bda075.js.LICENSE.txt → 898.2dcef4f3.js.LICENSE.txt} +0 -0
- /package/static/js/{emailmaker_core.4a93d2c5.js.LICENSE.txt → emailmaker_core.1c694217.js.LICENSE.txt} +0 -0
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Выполните этот код в командной строке:
|
|
7
7
|
|
|
8
8
|
```cmd
|
|
9
|
-
$ npm i @emailmaker/emailmaker@1.0.
|
|
9
|
+
$ npm i @emailmaker/emailmaker@1.0.93-alpha.1 -save
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Добавьте EmailMaker plugin в ваш App config.
|
|
@@ -311,4 +311,34 @@ emailmaker.init({
|
|
|
311
311
|
| notify | Показ уведомлений |
|
|
312
312
|
| getElement | Получение элемента инициализации |
|
|
313
313
|
| save | Сохраенние письма. |
|
|
314
|
-
| compileEmail | Получение скопмилированного письма |
|
|
314
|
+
| compileEmail | Получение скопмилированного письма |
|
|
315
|
+
|
|
316
|
+
### 📂 Файловый менеджер
|
|
317
|
+
|
|
318
|
+
Для включения файлового менеджера необходимо в конфигурации инициализации указать параметры:
|
|
319
|
+
|
|
320
|
+
```ts
|
|
321
|
+
emailmaker.init({
|
|
322
|
+
storageProvider: ..., // реализация интерфейса StorageProvider
|
|
323
|
+
config: {
|
|
324
|
+
imageCenterFileManagerView: true
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
|
|
328
|
+
### Методы интерфейса `StorageProvider`
|
|
329
|
+
|
|
330
|
+
| Метод | Обязательный | Аргументы | Возвращаемое значение | Описание |
|
|
331
|
+
|-------|--------------|-----------|----------------------|----------|
|
|
332
|
+
| `getFile(fileId)` | Нет | `fileId: string` | `Promise<Blob>` | Возвращает содержимое файла. ⚠️ Если метод не реализован, файл будет загружаться по полю `url` из объекта `FileInfo`. |
|
|
333
|
+
| `getFolders()` | Да | – | `Promise<FolderInfo[]>` | Получает список папок. |
|
|
334
|
+
| `getFiles(options)` | Да | `{ folderId?, search?, sortBy?, sortOrder?, page?, limit? }` | `Promise<{ files: FileInfo[], pagination?: ApiPaginationResponse }>` | Получает список файлов с поддержкой фильтрации, сортировки и пагинации. |
|
|
335
|
+
| `createFolder(data)` | Да | `{ name: string, parentId?: string | null }` | `Promise<FolderInfo>` | Создаёт новую папку. |
|
|
336
|
+
| `renameFolder(folderId, newName)` | Да | `folderId: string, newName: string` | `Promise<FolderInfo>` | Переименовывает папку. |
|
|
337
|
+
| `deleteFolder(folderId)` | Да | `folderId: string` | `Promise<boolean>` | Удаляет папку. |
|
|
338
|
+
| `uploadFile(file)` | Да | `{ name, size, type, folderId?, data, thumbnail?, dimensions?, aspectRatio?, extension? }` | `Promise<FileInfo>` | Загружает файл в указанную папку. |
|
|
339
|
+
| `uploadFileByUrl(data)` | Да | `{ url: string, folderId?: string | null, noFolder?: boolean }` | `Promise<FileInfo>` | Загружает файл по URL. ⚠️ Метод должен проверить, принадлежит ли файл текущему серверу. Если принадлежит — вернуть существующий файл. Параметр `noFolder` указывает на загрузку во временную папку (например, для редактирования). |
|
|
340
|
+
| `deleteFile(fileId)` | Да | `fileId: string` | `Promise<boolean>` | Удаляет файл. |
|
|
341
|
+
| `renameFile(fileId, newName)` | Да | `fileId: string, newName: string` | `Promise<FileInfo>` | Переименовывает файл. |
|
|
342
|
+
| `moveItem(options)` | Да | `{ itemId: string, targetFolderId: string, isFolder: boolean }` | `Promise<boolean>` | Перемещает файл или папку в другую папку. |
|
|
343
|
+
| `copyItem(options)` | Да | `{ itemId: string, targetFolderId: string, isFolder: boolean }` | `Promise<{ id: string, url?: string }>` | Копирует файл или папку. Возвращает новый `id` и, при необходимости, новый `url`. |
|
|
344
|
+
| `updateFile(fileId, updates)` | Да | `{ name?, type?, data?, thumbnail?, dimensions?, aspectRatio?, extension? }` | `Promise<FileInfo>` | Обновляет метаданные или содержимое файла. |
|
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.041740a6.js",
|
|
4
|
+
"main.css": "/static/css/main.349c9179.css",
|
|
5
|
+
"emailmaker_core.js": "/static/js/emailmaker_core.1c694217.js",
|
|
6
6
|
"emailmaker.js": "/emailmaker.js",
|
|
7
7
|
"emailmaker-esm.js": "/emailmaker-esm.js",
|
|
8
8
|
"static/css/578.fe5765dd.chunk.css": "/static/css/578.fe5765dd.chunk.css",
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
"static/js/2642.b60a63f6.chunk.js": "/static/js/2642.b60a63f6.chunk.js",
|
|
12
12
|
"static/css/8084.15f07f40.chunk.css": "/static/css/8084.15f07f40.chunk.css",
|
|
13
13
|
"static/js/8084.67de697a.chunk.js": "/static/js/8084.67de697a.chunk.js",
|
|
14
|
-
"static/
|
|
14
|
+
"static/css/9272.a4e58dd0.chunk.css": "/static/css/9272.a4e58dd0.chunk.css",
|
|
15
|
+
"static/js/9272.d5a35d82.chunk.js": "/static/js/9272.d5a35d82.chunk.js",
|
|
16
|
+
"static/css/6501.e131603e.chunk.css": "/static/css/6501.e131603e.chunk.css",
|
|
17
|
+
"static/js/6501.616f4dec.chunk.js": "/static/js/6501.616f4dec.chunk.js",
|
|
15
18
|
"static/js/1729.a0be903e.chunk.js": "/static/js/1729.a0be903e.chunk.js",
|
|
16
19
|
"ant-locale/locale-ar_EG-js.js": "/static/js/ant-locale/locale-ar_EG-js.a1f4a2ee.chunk.js",
|
|
17
20
|
"ant-locale/locale-az_AZ-js.js": "/static/js/ant-locale/locale-az_AZ-js.1b3f2ec6.chunk.js",
|
|
@@ -82,29 +85,31 @@
|
|
|
82
85
|
"ant-locale/locale-zh_TW-js.js": "/static/js/ant-locale/locale-zh_TW-js.163140fa.chunk.js",
|
|
83
86
|
"/mergeTags/locale0.js": "/static/js//mergeTags/locale0.594765fd.chunk.js",
|
|
84
87
|
"/mergeTags/locale1.js": "/static/js//mergeTags/locale1.7a79e21e.chunk.js",
|
|
85
|
-
"static/css/
|
|
86
|
-
"static/js/
|
|
87
|
-
"static/js/3017.
|
|
88
|
-
"static/js/1538.
|
|
88
|
+
"static/css/2458.05166c0a.chunk.css": "/static/css/2458.05166c0a.chunk.css",
|
|
89
|
+
"static/js/2458.504bef1c.chunk.js": "/static/js/2458.504bef1c.chunk.js",
|
|
90
|
+
"static/js/3017.2e1f6413.chunk.js": "/static/js/3017.2e1f6413.chunk.js",
|
|
91
|
+
"static/js/1538.06811304.chunk.js": "/static/js/1538.06811304.chunk.js",
|
|
89
92
|
"static/js/9644.1ae95bb7.chunk.js": "/static/js/9644.1ae95bb7.chunk.js",
|
|
90
93
|
"static/js/7463.69864ff5.chunk.js": "/static/js/7463.69864ff5.chunk.js",
|
|
91
94
|
"static/js/6144.a3bf0881.chunk.js": "/static/js/6144.a3bf0881.chunk.js",
|
|
92
95
|
"static/js/3019.aaa6d087.chunk.js": "/static/js/3019.aaa6d087.chunk.js",
|
|
93
96
|
"static/js/8521.a1623fc2.chunk.js": "/static/js/8521.a1623fc2.chunk.js",
|
|
94
97
|
"static/js/6957.5082b810.chunk.js": "/static/js/6957.5082b810.chunk.js",
|
|
95
|
-
"static/js/
|
|
98
|
+
"static/js/8285.c8bdf11b.js": "/static/js/8285.c8bdf11b.js",
|
|
96
99
|
"static/js/5346.7af72a07.chunk.js": "/static/js/5346.7af72a07.chunk.js",
|
|
97
|
-
"static/js/
|
|
98
|
-
"static/js/
|
|
99
|
-
"static/js/
|
|
100
|
+
"static/js/898.2dcef4f3.js": "/static/js/898.2dcef4f3.js",
|
|
101
|
+
"static/js/9960.6dcf66f0.chunk.js": "/static/js/9960.6dcf66f0.chunk.js",
|
|
102
|
+
"static/js/4560.b03bbb3f.chunk.js": "/static/js/4560.b03bbb3f.chunk.js",
|
|
103
|
+
"static/js/7091.d1a56e4b.js": "/static/js/7091.d1a56e4b.js",
|
|
100
104
|
"static/js/6419.e52a6158.js": "/static/js/6419.e52a6158.js",
|
|
101
105
|
"static/js/4972.8646ad7f.js": "/static/js/4972.8646ad7f.js",
|
|
102
|
-
"static/js/
|
|
103
|
-
"static/js/
|
|
104
|
-
"static/js/
|
|
106
|
+
"static/js/8408.459779d0.js": "/static/js/8408.459779d0.js",
|
|
107
|
+
"static/js/241.9aaa5790.js": "/static/js/241.9aaa5790.js",
|
|
108
|
+
"static/js/1390.87d39fe1.js": "/static/js/1390.87d39fe1.js",
|
|
105
109
|
"static/js/6819.2f1dcf17.chunk.js": "/static/js/6819.2f1dcf17.chunk.js",
|
|
106
110
|
"static/js/1880.de5a11ab.chunk.js": "/static/js/1880.de5a11ab.chunk.js",
|
|
107
|
-
"static/js/
|
|
111
|
+
"static/js/3085.b9d27236.chunk.js": "/static/js/3085.b9d27236.chunk.js",
|
|
112
|
+
"static/js/7729.13361a78.js": "/static/js/7729.13361a78.js",
|
|
108
113
|
"html.worker.js": "/html.worker.js",
|
|
109
114
|
"css.worker.js": "/css.worker.js",
|
|
110
115
|
"static/media/frame_light.png": "/static/media/frame_light.22a9b4ec728365d8193f.png",
|
|
@@ -123,8 +128,8 @@
|
|
|
123
128
|
"static/media/sign_up_05.png": "/static/media/sign_up_05.4c58df1be2edaa79d52b.png",
|
|
124
129
|
"static/media/ai-image.png": "/static/media/ai-image.7c42c2e12001ebf31881.png",
|
|
125
130
|
"static/media/codicon.ttf": "/static/media/codicon.f13d28f3e470ec5c0896.ttf",
|
|
126
|
-
"plugin_nota.html": "/plugin_nota.html",
|
|
127
131
|
"index.d.ts": "/emailmaker.d.ts",
|
|
132
|
+
"plugin_nota.html": "/plugin_nota.html",
|
|
128
133
|
"static/media/empty-image.png": "/static/media/empty-image.1827d6561f3c4042dfb3.png",
|
|
129
134
|
"static/media/video.png": "/static/media/video.854adea50295d0a3f7ae.png",
|
|
130
135
|
"static/media/icon-menu-block-welcome.png": "/static/media/icon-menu-block-welcome.1c534a003522feadd2e7.png",
|
|
@@ -139,6 +144,7 @@
|
|
|
139
144
|
"static/media/tw.png": "/static/media/tw.823a7736ac2d82815c71.png",
|
|
140
145
|
"static/media/tg.png": "/static/media/tg.10f004529a98df9732b9.png",
|
|
141
146
|
"static/media/yt.png": "/static/media/yt.4ac57e55d158b40c7fc1.png",
|
|
147
|
+
"static/media/project-email-back.svg": "/static/media/project-email-back.0ce470def19ce7c063e0.svg",
|
|
142
148
|
"plugin_s.html": "/plugin_s.html",
|
|
143
149
|
"static/media/icon-border-radius.svg": "/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg",
|
|
144
150
|
"static/media/fb.png": "/static/media/fb.ff10384394f8044ec889.png",
|
|
@@ -147,14 +153,14 @@
|
|
|
147
153
|
"entrypoints": [
|
|
148
154
|
"static/js/6419.e52a6158.js",
|
|
149
155
|
"static/js/4972.8646ad7f.js",
|
|
150
|
-
"static/js/
|
|
151
|
-
"static/js/
|
|
152
|
-
"static/js/
|
|
153
|
-
"static/js/
|
|
154
|
-
"static/js/
|
|
155
|
-
"static/js/
|
|
156
|
-
"static/js/
|
|
157
|
-
"main.
|
|
158
|
-
"static/css/main.
|
|
156
|
+
"static/js/8408.459779d0.js",
|
|
157
|
+
"static/js/241.9aaa5790.js",
|
|
158
|
+
"static/js/1390.87d39fe1.js",
|
|
159
|
+
"static/js/8285.c8bdf11b.js",
|
|
160
|
+
"static/js/898.2dcef4f3.js",
|
|
161
|
+
"static/js/7729.13361a78.js",
|
|
162
|
+
"static/js/7091.d1a56e4b.js",
|
|
163
|
+
"main.041740a6.js",
|
|
164
|
+
"static/css/main.349c9179.css"
|
|
159
165
|
]
|
|
160
166
|
}
|
package/emailmaker-esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const load=function(e){var a,l=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={27612:(e,a,t)=>{var o;let c="https://unpkg.com/@emailmaker/emailmaker@1.0.
|
|
1
|
+
const load=function(e){var a,l=e||("undefined"!==typeof module&&"module"===module.type?{publicPath:import.meta.url.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/"}:void 0);return(()=>{var e={27612:(e,a,t)=>{var o;let c="https://unpkg.com/@emailmaker/emailmaker@1.0.93-alpha.1/",n="emailmaker";if("object"===typeof l&&null!==(o=l)&&void 0!==o&&o.publicPath){var r;c=null===(r=l)||void 0===r?void 0:r.publicPath}else{let e="";const a=document.querySelector(`script[src*=${n}\\.js]`)||document.querySelector(`script[src*=${n}-esm\\.js]`);a instanceof HTMLScriptElement&&(e=a.src),e&&(c=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}t.p=new URL(c,window.location.origin).href}},t={};function o(a){var l=t[a];if(void 0!==l)return l.exports;var c=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(c.exports,c,c.exports,o),c.loaded=!0,c.exports}o.m=e,o.amdO={},o.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return o.d(a,{a:a}),a},(()=>{var e,a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;o.t=function(l,t){if(1&t&&(l=this(l)),8&t)return l;if("object"===typeof l&&l){if(4&t&&l.__esModule)return l;if(16&t&&"function"===typeof l.then)return l}var c=Object.create(null);o.r(c);var n={};e=e||[null,a({}),a([]),a(a)];for(var r=2&t&&l;"object"==typeof r&&!~e.indexOf(r);r=a(r))Object.getOwnPropertyNames(r).forEach((e=>n[e]=()=>l[e]));return n.default=()=>l,o.d(c,n),c}})(),o.d=(e,a)=>{for(var l in a)o.o(a,l)&&!o.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:a[l]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((a,l)=>(o.f[l](e,a),a)),[])),o.u=e=>6419===e?"static/js/6419.e52a6158.js":4972===e?"static/js/4972.8646ad7f.js":8408===e?"static/js/8408.459779d0.js":241===e?"static/js/241.9aaa5790.js":1390===e?"static/js/1390.87d39fe1.js":8285===e?"static/js/8285.c8bdf11b.js":7729===e?"static/js/7729.13361a78.js":7091===e?"static/js/7091.d1a56e4b.js":"static/js/"+({77:"ant-locale/locale-sv_SE-js",197:"ant-locale/locale-zh_HK-js",290:"ant-locale/locale-ml_IN-js",494:"ant-locale/locale-fr_CA-js",737:"ant-locale/locale-hy_AM-js",1241:"ant-locale/locale-vi_VN-js",1330:"ant-locale/locale-fr_FR-js",1332:"ant-locale/locale-hi_IN-js",1377:"ant-locale/locale-cs_CZ-js",1454:"ant-locale/locale-ka_GE-js",1502:"ant-locale/locale-en_GB-js",1510:"ant-locale/locale-hr_HR-js",1626:"ant-locale/locale-ca_ES-js",1640:"ant-locale/locale-ta_IN-js",1788:"ant-locale/locale-uk_UA-js",1872:"ant-locale/locale-ga_IE-js",2066:"ant-locale/locale-da_DK-js",2114:"ant-locale/locale-es_ES-js",2408:"ant-locale/locale-it_IT-js",2438:"ant-locale/locale-lt_LT-js",2466:"/mergeTags/locale0",2827:"ant-locale/locale-sl_SI-js",2844:"ant-locale/locale-bg_BG-js",2917:"ant-locale/locale-nb_NO-js",2988:"ant-locale/locale-ro_RO-js",3302:"ant-locale/locale-lv_LV-js",3411:"ant-locale/locale-fr_BE-js",3624:"ant-locale/locale-id_ID-js",3711:"ant-locale/locale-gl_ES-js",3816:"ant-locale/locale-az_AZ-js",3914:"ant-locale/locale-kn_IN-js",4425:"ant-locale/locale-kk_KZ-js",4607:"ant-locale/locale-ar_EG-js",4686:"ant-locale/locale-tr_TR-js",4702:"ant-locale/locale-pt_BR-js",4813:"ant-locale/locale-zh_TW-js",4823:"ant-locale/locale-si_LK-js",5108:"ant-locale/locale-ku_IQ-js",5261:"ant-locale/locale-ko_KR-js",5322:"ant-locale/locale-fa_IR-js",5466:"ant-locale/locale-nl_NL-js",5653:"ant-locale/locale-nl_BE-js",5827:"ant-locale/locale-ne_NP-js",5862:"ant-locale/locale-pl_PL-js",5864:"ant-locale/locale-tk_TK-js",5902:"ant-locale/locale-th_TH-js",5980:"ant-locale/locale-ms_MY-js",6033:"ant-locale/locale-km_KH-js",6135:"ant-locale/locale-et_EE-js",6418:"ant-locale/locale-sk_SK-js",6428:"ant-locale/locale-bn_BD-js",6552:"ant-locale/locale-fi_FI-js",6618:"ant-locale/locale-my_MM-js",6764:"ant-locale/locale-hu_HU-js",6832:"ant-locale/locale-mn_MN-js",6859:"/mergeTags/locale1",7288:"ant-locale/locale-el_GR-js",7426:"ant-locale/locale-is_IS-js",7974:"ant-locale/locale-he_IL-js",8466:"ant-locale/locale-mk_MK-js",8534:"ant-locale/locale-pt_PT-js",8590:"ant-locale/locale-ur_PK-js",8682:"ant-locale/locale-sr_RS-js",8796:"ant-locale/locale-de_DE-js",8839:"ant-locale/locale-ja_JP-js",9169:"ant-locale/locale-zh_CN-js",9200:"ant-locale/locale-by_BY-js",9508:"ant-locale/locale-kmr_IQ-js",9716:"ant-locale/locale-eu_ES-js"}[e]||e)+"."+{77:"9f47a065",197:"0feb368f",290:"3aa233eb",494:"ba00ca3a",737:"6b20bceb",1241:"f0324229",1330:"1e6d0a10",1332:"8e3ea1dc",1377:"f1151015",1454:"8b08646c",1502:"6756ba01",1510:"94001d08",1538:"06811304",1626:"e4bdfa2b",1640:"3b46361c",1729:"a0be903e",1788:"ef0d8c8e",1872:"cc1f0f56",1880:"de5a11ab",2066:"33e12cfb",2114:"43424efe",2408:"46a8ce6d",2438:"08ac662b",2458:"504bef1c",2466:"594765fd",2642:"b60a63f6",2827:"8afbce30",2844:"2f68d816",2917:"471cc88a",2988:"4a05dc9d",3017:"2e1f6413",3019:"aaa6d087",3085:"b9d27236",3302:"2a33af61",3411:"2aec36ca",3624:"b380cc8b",3711:"c1588dec",3816:"1b3f2ec6",3914:"40066823",4309:"ae8e4ad0",4425:"a1cc2ddc",4560:"b03bbb3f",4607:"a1f4a2ee",4686:"b5e42917",4702:"75dc6403",4813:"163140fa",4823:"3b54f4c4",5108:"594553b1",5261:"68047848",5322:"3b6bfddc",5346:"7af72a07",5466:"453457a0",5653:"2af0a7fe",5827:"52b65a1a",5862:"1e4b27da",5864:"63d0b187",5902:"83e732d3",5980:"924bfbf0",6033:"09c630f9",6135:"3694348e",6144:"a3bf0881",6418:"cd76b6b1",6428:"38ca14cb",6501:"616f4dec",6552:"8e749864",6618:"bc3805ae",6764:"50a3ffc6",6819:"2f1dcf17",6832:"2550caa5",6859:"7a79e21e",7288:"007d40b4",7426:"995979c0",7463:"69864ff5",7974:"1be3257a",8084:"67de697a",8466:"caa088c9",8534:"b07438c3",8590:"904c3e1c",8682:"0708405f",8796:"42497042",8839:"69f9da33",9169:"428a6bc7",9200:"927570db",9272:"d5a35d82",9508:"c25f3afa",9644:"1ae95bb7",9716:"e2678a29",9960:"6dcf66f0"}[e]+".chunk.js",o.miniCssF=e=>"static/css/"+e+"."+{2458:"05166c0a",6501:"e131603e",8084:"15f07f40",9272:"a4e58dd0"}[e]+".chunk.css",o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={},a="email-maker:";o.l=(l,t,c,n)=>{if(e[l])e[l].push(t);else{var r,s;if(void 0!==c)for(var i=document.getElementsByTagName("script"),d=0;d<i.length;d++){var f=i[d];if(f.getAttribute("src")==l||f.getAttribute("data-webpack")==a+c){r=f;break}}r||(s=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",a+c),r.src=l),e[l]=[t];var u=(a,t)=>{r.onerror=r.onload=null,clearTimeout(j);var o=e[l];if(delete e[l],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((e=>e(t))),a)return a(t)},j=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),s&&document.head.appendChild(r)}}})(),o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((a,l)=>{var t=o.miniCssF(e),c=o.p+t;if(((e,a)=>{for(var l=document.getElementsByTagName("link"),t=0;t<l.length;t++){var o=(n=l[t]).getAttribute("data-href")||n.getAttribute("href");if("stylesheet"===n.rel&&(o===e||o===a))return n}var c=document.getElementsByTagName("style");for(t=0;t<c.length;t++){var n;if((o=(n=c[t]).getAttribute("data-href"))===e||o===a)return n}})(t,c))return a();((e,a,l,t,c)=>{var n=document.createElement("link");n.setAttribute("data-emailmaker","true"),n.rel="stylesheet",n.type="text/css",o.nc&&(n.nonce=o.nc),n.onerror=n.onload=l=>{if(n.onerror=n.onload=null,"load"===l.type)t();else{var o=l&&l.type,r=l&&l.target&&l.target.href||a,s=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+r+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=o,s.request=r,n.parentNode&&n.parentNode.removeChild(n),c(s)}},n.href=a,l?l.parentNode.insertBefore(n,l.nextSibling):document.head.appendChild(n)})(e,c,null,a,l)})),a={1849:0,7391:0};o.f.miniCss=(l,t)=>{a[l]?t.push(a[l]):0!==a[l]&&{2458:1,6501:1,8084:1,9272:1}[l]&&t.push(a[l]=e(l).then((()=>{a[l]=0}),(e=>{throw delete a[l],e})))}}})(),(()=>{var e={1849:0,7391:0};o.f.j=(a,l)=>{var t=o.o(e,a)?e[a]:void 0;if(0!==t)if(t)l.push(t[2]);else{var c=new Promise(((l,o)=>t=e[a]=[l,o]));l.push(t[2]=c);var n=o.p+o.u(a),r=new Error;o.l(n,(l=>{if(o.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var c=l&&("load"===l.type?"missing":l.type),n=l&&l.target&&l.target.src;r.message="Loading chunk "+a+" failed.\n("+c+": "+n+")",r.name="ChunkLoadError",r.type=c,r.request=n,t[1](r)}}),"chunk-"+a,a)}};var a=(a,l)=>{var t,c,[n,r,s]=l,i=0;if(n.some((a=>0!==e[a]))){for(t in r)o.o(r,t)&&(o.m[t]=r[t]);if(s)s(o)}for(a&&a(l);i<n.length;i++)c=n[i],o.o(e,c)&&e[c]&&e[c][0](),e[c]=0},l=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];l.forEach(a.bind(null,0)),l.push=a.bind(null,l.push.bind(l))})(),o.nc=void 0;var c={};(()=>{"use strict";o.r(c),o.d(c,{init:()=>l,parseAMP:()=>t,version:()=>n});o(27612);let e,a;function l(a){return e||(e=o.e(3017).then(o.bind(o,63017))),e.then((e=>e.init(a)))}function t(e){return a||(a=o.e(1538).then(o.bind(o,71538))),a.then((a=>a.parseAMP(e)))}const n="1.0.93-alpha.1"})(),a=c})(),a},app=load("undefined"===typeof EmailmakerEnvironment?void 0:EmailmakerEnvironment);export const parseAMP=app.parseAMP;export const version=app.version;export const init=app.init;
|
package/emailmaker.d.ts
CHANGED
|
@@ -694,6 +694,9 @@ declare namespace ExportedApi {
|
|
|
694
694
|
elementFormEnabled: boolean;
|
|
695
695
|
elementAccordionEnabled: boolean;
|
|
696
696
|
|
|
697
|
+
/** type of image editor display */
|
|
698
|
+
imageCenterFileManagerView: boolean;
|
|
699
|
+
|
|
697
700
|
imageCenterStockEnabled: boolean;
|
|
698
701
|
imageCenterGifEnabled: boolean;
|
|
699
702
|
imageCenterEditorEnabled: boolean;
|
|
@@ -1250,6 +1253,264 @@ interface IUndoRedoService {
|
|
|
1250
1253
|
restoreSnapshot: (snapshot: EditStackSnapshot) => void;
|
|
1251
1254
|
}
|
|
1252
1255
|
|
|
1256
|
+
/**
|
|
1257
|
+
* Folder information.
|
|
1258
|
+
*/
|
|
1259
|
+
export interface FolderInfo {
|
|
1260
|
+
/** Unique folder identifier */
|
|
1261
|
+
id: string;
|
|
1262
|
+
/** Folder name */
|
|
1263
|
+
name: string;
|
|
1264
|
+
/** Parent folder identifier (null or undefined if it's a root folder) */
|
|
1265
|
+
parentId?: string | null;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* File information.
|
|
1270
|
+
*/
|
|
1271
|
+
export interface FileInfo {
|
|
1272
|
+
/** Unique file identifier */
|
|
1273
|
+
id: string;
|
|
1274
|
+
/** File name */
|
|
1275
|
+
name: string;
|
|
1276
|
+
/** File size as a string (e.g., "15MB") */
|
|
1277
|
+
size: string;
|
|
1278
|
+
/** File creation or upload date */
|
|
1279
|
+
date: string;
|
|
1280
|
+
/** Identifier of the folder the file belongs to */
|
|
1281
|
+
folderId: string;
|
|
1282
|
+
/** File MIME type */
|
|
1283
|
+
type?: string;
|
|
1284
|
+
/** File download URL (used if `getFile` method is not implemented) */
|
|
1285
|
+
url?: string;
|
|
1286
|
+
/** File thumbnail */
|
|
1287
|
+
thumbnail?: string;
|
|
1288
|
+
/** Alternative thumbnail URL */
|
|
1289
|
+
thumbnailUrl?: string;
|
|
1290
|
+
/** Image dimensions (width x height) */
|
|
1291
|
+
dimensions?: string;
|
|
1292
|
+
/** Aspect ratio */
|
|
1293
|
+
aspectRatio?: string;
|
|
1294
|
+
/** File extension */
|
|
1295
|
+
extension?: string;
|
|
1296
|
+
/** Whether the file is selected in the UI */
|
|
1297
|
+
selected?: boolean;
|
|
1298
|
+
/** Whether the item is a folder */
|
|
1299
|
+
isFolder?: boolean;
|
|
1300
|
+
/** Date when the file was last edited */
|
|
1301
|
+
lastEdited?: string;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* API response with pagination details.
|
|
1306
|
+
*/
|
|
1307
|
+
export interface ApiPaginationResponse {
|
|
1308
|
+
/** Current page number */
|
|
1309
|
+
page: number;
|
|
1310
|
+
/** Number of items per page */
|
|
1311
|
+
limit: number;
|
|
1312
|
+
/** Total number of items */
|
|
1313
|
+
total: number;
|
|
1314
|
+
/** Total number of pages */
|
|
1315
|
+
totalPages: number;
|
|
1316
|
+
/** Whether there is a next page */
|
|
1317
|
+
hasNext: boolean;
|
|
1318
|
+
/** Whether there is a previous page */
|
|
1319
|
+
hasPrev: boolean;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* Sorting state.
|
|
1324
|
+
*/
|
|
1325
|
+
export interface SortState {
|
|
1326
|
+
/** Field to sort by */
|
|
1327
|
+
sortBy: 'name' | 'size' | 'date' | 'type';
|
|
1328
|
+
/** Sort order */
|
|
1329
|
+
sortOrder: 'asc' | 'desc';
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* Interface for storage providers.
|
|
1334
|
+
* Defines the contract for different storage backends (e.g., cloud APIs).
|
|
1335
|
+
*/
|
|
1336
|
+
export interface StorageProvider {
|
|
1337
|
+
/**
|
|
1338
|
+
* Retrieve the file content as a binary blob.
|
|
1339
|
+
*
|
|
1340
|
+
* ⚠️ If this method is not implemented, the file will be downloaded
|
|
1341
|
+
* using the `url` property from the `FileInfo` object.
|
|
1342
|
+
*
|
|
1343
|
+
* @param fileId File identifier
|
|
1344
|
+
* @returns File contents as a Blob
|
|
1345
|
+
*/
|
|
1346
|
+
getFile?: (fileId: string) => Promise<Blob>;
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* Retrieve a list of folders.
|
|
1350
|
+
*
|
|
1351
|
+
* @returns List of folder objects
|
|
1352
|
+
*/
|
|
1353
|
+
getFolders: () => Promise<FolderInfo[]>;
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* Retrieve a list of files.
|
|
1357
|
+
* Supports filtering, sorting, and pagination.
|
|
1358
|
+
*
|
|
1359
|
+
* @param options.folderId Folder identifier (default: root folder)
|
|
1360
|
+
* @param options.search Search query
|
|
1361
|
+
* @param options.sortBy Field to sort by
|
|
1362
|
+
* @param options.sortOrder Sort direction
|
|
1363
|
+
* @param options.page Page number
|
|
1364
|
+
* @param options.limit Number of items per page
|
|
1365
|
+
* @returns List of files and optional pagination details
|
|
1366
|
+
*/
|
|
1367
|
+
getFiles: (options: {
|
|
1368
|
+
folderId?: string;
|
|
1369
|
+
search?: string;
|
|
1370
|
+
sortBy?: SortState['sortBy'];
|
|
1371
|
+
sortOrder?: SortState['sortOrder'];
|
|
1372
|
+
page?: number;
|
|
1373
|
+
limit?: number;
|
|
1374
|
+
}) => Promise<{
|
|
1375
|
+
files: FileInfo[];
|
|
1376
|
+
pagination?: Partial<ApiPaginationResponse>;
|
|
1377
|
+
}>;
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* Create a new folder.
|
|
1381
|
+
*
|
|
1382
|
+
* @param data.name Folder name
|
|
1383
|
+
* @param data.parentId Parent folder identifier (or null/undefined for root)
|
|
1384
|
+
* @returns The created folder object
|
|
1385
|
+
*/
|
|
1386
|
+
createFolder: (data: { name: string; parentId?: string | null }) => Promise<FolderInfo>;
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Rename a folder.
|
|
1390
|
+
*
|
|
1391
|
+
* @param folderId Folder identifier
|
|
1392
|
+
* @param newName New folder name
|
|
1393
|
+
* @returns Updated folder object
|
|
1394
|
+
*/
|
|
1395
|
+
renameFolder: (folderId: string, newName: string) => Promise<FolderInfo>;
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* Delete a folder.
|
|
1399
|
+
*
|
|
1400
|
+
* @param folderId Folder identifier
|
|
1401
|
+
* @returns true if deletion was successful
|
|
1402
|
+
*/
|
|
1403
|
+
deleteFolder: (folderId: string) => Promise<boolean>;
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* Upload a file.
|
|
1407
|
+
*
|
|
1408
|
+
* @param file.name File name
|
|
1409
|
+
* @param file.size File size
|
|
1410
|
+
* @param file.type MIME type
|
|
1411
|
+
* @param file.folderId Target folder identifier (or null/undefined for root)
|
|
1412
|
+
* @param file.data File data (Blob or base64 string)
|
|
1413
|
+
* @param file.thumbnail Thumbnail image
|
|
1414
|
+
* @param file.dimensions Image dimensions
|
|
1415
|
+
* @param file.aspectRatio Aspect ratio
|
|
1416
|
+
* @param file.extension File extension
|
|
1417
|
+
* @returns The uploaded file object
|
|
1418
|
+
*/
|
|
1419
|
+
uploadFile: (file: {
|
|
1420
|
+
name: string;
|
|
1421
|
+
size: string;
|
|
1422
|
+
type: string;
|
|
1423
|
+
folderId?: string | null;
|
|
1424
|
+
data: Blob | string;
|
|
1425
|
+
thumbnail?: string;
|
|
1426
|
+
dimensions?: string;
|
|
1427
|
+
aspectRatio?: string;
|
|
1428
|
+
extension?: string;
|
|
1429
|
+
}) => Promise<FileInfo>;
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* Upload a file by URL.
|
|
1433
|
+
*
|
|
1434
|
+
* ⚠️ Implementation should check if the file already belongs
|
|
1435
|
+
* to the current server. If it does, return the existing file object
|
|
1436
|
+
* instead of uploading it again.
|
|
1437
|
+
*
|
|
1438
|
+
* @param data.url File URL
|
|
1439
|
+
* @param data.folderId Target folder identifier (or null/undefined for root)
|
|
1440
|
+
* @param data.noFolder If true, the file should be uploaded to a temporary
|
|
1441
|
+
* folder (for example, when editing a file)
|
|
1442
|
+
* @returns The uploaded or existing file object
|
|
1443
|
+
*/
|
|
1444
|
+
uploadFileByUrl: (data: { url: string; folderId?: string | null; noFolder?: boolean }) => Promise<FileInfo>;
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* Delete a file.
|
|
1448
|
+
*
|
|
1449
|
+
* @param fileId File identifier
|
|
1450
|
+
* @returns true if deletion was successful
|
|
1451
|
+
*/
|
|
1452
|
+
deleteFile: (fileId: string) => Promise<boolean>;
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* Rename a file.
|
|
1456
|
+
*
|
|
1457
|
+
* @param fileId File identifier
|
|
1458
|
+
* @param newName New file name
|
|
1459
|
+
* @returns Updated file object
|
|
1460
|
+
*/
|
|
1461
|
+
renameFile: (fileId: string, newName: string) => Promise<FileInfo>;
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* Move a file or folder to another location.
|
|
1465
|
+
*
|
|
1466
|
+
* @param options.itemId Identifier of the item to move
|
|
1467
|
+
* @param options.targetFolderId Target folder identifier
|
|
1468
|
+
* @param options.isFolder true if the item is a folder
|
|
1469
|
+
* @returns true if the move operation was successful
|
|
1470
|
+
*/
|
|
1471
|
+
moveItem: (options: { itemId: string; targetFolderId: string; isFolder: boolean }) => Promise<boolean>;
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Copy a file or folder.
|
|
1475
|
+
*
|
|
1476
|
+
* @param options.itemId Identifier of the item to copy
|
|
1477
|
+
* @param options.targetFolderId Target folder identifier
|
|
1478
|
+
* @param options.isFolder true if the item is a folder
|
|
1479
|
+
* @returns Object with the new item identifier (and optionally a new URL)
|
|
1480
|
+
*/
|
|
1481
|
+
copyItem: (options: {
|
|
1482
|
+
itemId: string;
|
|
1483
|
+
targetFolderId: string;
|
|
1484
|
+
isFolder: boolean;
|
|
1485
|
+
}) => Promise<{ id: string; url?: string }>;
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* Update file metadata or content.
|
|
1489
|
+
*
|
|
1490
|
+
* @param fileId File identifier
|
|
1491
|
+
* @param updates Object with fields to update (name, type, data, thumbnail, etc.)
|
|
1492
|
+
* @returns Updated file object
|
|
1493
|
+
*/
|
|
1494
|
+
updateFile: (
|
|
1495
|
+
fileId: string,
|
|
1496
|
+
updates: {
|
|
1497
|
+
name?: string;
|
|
1498
|
+
type?: string;
|
|
1499
|
+
data?: Blob | string;
|
|
1500
|
+
thumbnail?: string;
|
|
1501
|
+
dimensions?: string;
|
|
1502
|
+
aspectRatio?: string;
|
|
1503
|
+
extension?: string;
|
|
1504
|
+
},
|
|
1505
|
+
) => Promise<FileInfo>;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
declare module ExportedApi {
|
|
1509
|
+
export interface Options {
|
|
1510
|
+
storageProvider?: StorageProvider;
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1253
1514
|
declare namespace ExportedApi {
|
|
1254
1515
|
namespace UndoRedoMixin {
|
|
1255
1516
|
interface Instance {
|
package/emailmaker.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,a){"object"===typeof exports&&"object"===typeof module?module.exports=a():"function"===typeof define&&define.amd?define([],a):"object"===typeof exports?exports.emailmaker=a():e.emailmaker=a()}(globalThis,(()=>(()=>{var e={27612:(e,a,l)=>{var t;let o="https://unpkg.com/@emailmaker/emailmaker@1.0.
|
|
1
|
+
!function(e,a){"object"===typeof exports&&"object"===typeof module?module.exports=a():"function"===typeof define&&define.amd?define([],a):"object"===typeof exports?exports.emailmaker=a():e.emailmaker=a()}(globalThis,(()=>(()=>{var e={27612:(e,a,l)=>{var t;let o="https://unpkg.com/@emailmaker/emailmaker@1.0.93-alpha.1/",c="emailmaker";if("object"===typeof EmailmakerEnvironment&&null!==(t=EmailmakerEnvironment)&&void 0!==t&&t.publicPath){var n;o=null===(n=EmailmakerEnvironment)||void 0===n?void 0:n.publicPath}else{let e="";const a=document.querySelector(`script[src*=${c}\\.js]`)||document.querySelector(`script[src*=${c}-esm\\.js]`);a instanceof HTMLScriptElement&&(e=a.src),e&&(o=e.replaceAll("\\","/").split("/").slice(0,-1).join("/")+"/")}l.p=new URL(o,window.location.origin).href}},a={};function l(t){var o=a[t];if(void 0!==o)return o.exports;var c=a[t]={id:t,loaded:!1,exports:{}};return e[t].call(c.exports,c,c.exports,l),c.loaded=!0,c.exports}l.m=e,l.amdO={},l.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return l.d(a,{a:a}),a},(()=>{var e,a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;l.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"===typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"===typeof t.then)return t}var c=Object.create(null);l.r(c);var n={};e=e||[null,a({}),a([]),a(a)];for(var r=2&o&&t;"object"==typeof r&&!~e.indexOf(r);r=a(r))Object.getOwnPropertyNames(r).forEach((e=>n[e]=()=>t[e]));return n.default=()=>t,l.d(c,n),c}})(),l.d=(e,a)=>{for(var t in a)l.o(a,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce(((a,t)=>(l.f[t](e,a),a)),[])),l.u=e=>6419===e?"static/js/6419.e52a6158.js":4972===e?"static/js/4972.8646ad7f.js":8408===e?"static/js/8408.459779d0.js":241===e?"static/js/241.9aaa5790.js":1390===e?"static/js/1390.87d39fe1.js":8285===e?"static/js/8285.c8bdf11b.js":7729===e?"static/js/7729.13361a78.js":7091===e?"static/js/7091.d1a56e4b.js":"static/js/"+({77:"ant-locale/locale-sv_SE-js",197:"ant-locale/locale-zh_HK-js",290:"ant-locale/locale-ml_IN-js",494:"ant-locale/locale-fr_CA-js",737:"ant-locale/locale-hy_AM-js",1241:"ant-locale/locale-vi_VN-js",1330:"ant-locale/locale-fr_FR-js",1332:"ant-locale/locale-hi_IN-js",1377:"ant-locale/locale-cs_CZ-js",1454:"ant-locale/locale-ka_GE-js",1502:"ant-locale/locale-en_GB-js",1510:"ant-locale/locale-hr_HR-js",1626:"ant-locale/locale-ca_ES-js",1640:"ant-locale/locale-ta_IN-js",1788:"ant-locale/locale-uk_UA-js",1872:"ant-locale/locale-ga_IE-js",2066:"ant-locale/locale-da_DK-js",2114:"ant-locale/locale-es_ES-js",2408:"ant-locale/locale-it_IT-js",2438:"ant-locale/locale-lt_LT-js",2466:"/mergeTags/locale0",2827:"ant-locale/locale-sl_SI-js",2844:"ant-locale/locale-bg_BG-js",2917:"ant-locale/locale-nb_NO-js",2988:"ant-locale/locale-ro_RO-js",3302:"ant-locale/locale-lv_LV-js",3411:"ant-locale/locale-fr_BE-js",3624:"ant-locale/locale-id_ID-js",3711:"ant-locale/locale-gl_ES-js",3816:"ant-locale/locale-az_AZ-js",3914:"ant-locale/locale-kn_IN-js",4425:"ant-locale/locale-kk_KZ-js",4607:"ant-locale/locale-ar_EG-js",4686:"ant-locale/locale-tr_TR-js",4702:"ant-locale/locale-pt_BR-js",4813:"ant-locale/locale-zh_TW-js",4823:"ant-locale/locale-si_LK-js",5108:"ant-locale/locale-ku_IQ-js",5261:"ant-locale/locale-ko_KR-js",5322:"ant-locale/locale-fa_IR-js",5466:"ant-locale/locale-nl_NL-js",5653:"ant-locale/locale-nl_BE-js",5827:"ant-locale/locale-ne_NP-js",5862:"ant-locale/locale-pl_PL-js",5864:"ant-locale/locale-tk_TK-js",5902:"ant-locale/locale-th_TH-js",5980:"ant-locale/locale-ms_MY-js",6033:"ant-locale/locale-km_KH-js",6135:"ant-locale/locale-et_EE-js",6418:"ant-locale/locale-sk_SK-js",6428:"ant-locale/locale-bn_BD-js",6552:"ant-locale/locale-fi_FI-js",6618:"ant-locale/locale-my_MM-js",6764:"ant-locale/locale-hu_HU-js",6832:"ant-locale/locale-mn_MN-js",6859:"/mergeTags/locale1",7288:"ant-locale/locale-el_GR-js",7426:"ant-locale/locale-is_IS-js",7974:"ant-locale/locale-he_IL-js",8466:"ant-locale/locale-mk_MK-js",8534:"ant-locale/locale-pt_PT-js",8590:"ant-locale/locale-ur_PK-js",8682:"ant-locale/locale-sr_RS-js",8796:"ant-locale/locale-de_DE-js",8839:"ant-locale/locale-ja_JP-js",9169:"ant-locale/locale-zh_CN-js",9200:"ant-locale/locale-by_BY-js",9508:"ant-locale/locale-kmr_IQ-js",9716:"ant-locale/locale-eu_ES-js"}[e]||e)+"."+{77:"9f47a065",197:"0feb368f",290:"3aa233eb",494:"ba00ca3a",737:"6b20bceb",1241:"f0324229",1330:"1e6d0a10",1332:"8e3ea1dc",1377:"f1151015",1454:"8b08646c",1502:"6756ba01",1510:"94001d08",1538:"06811304",1626:"e4bdfa2b",1640:"3b46361c",1729:"a0be903e",1788:"ef0d8c8e",1872:"cc1f0f56",1880:"de5a11ab",2066:"33e12cfb",2114:"43424efe",2408:"46a8ce6d",2438:"08ac662b",2458:"504bef1c",2466:"594765fd",2642:"b60a63f6",2827:"8afbce30",2844:"2f68d816",2917:"471cc88a",2988:"4a05dc9d",3017:"2e1f6413",3019:"aaa6d087",3085:"b9d27236",3302:"2a33af61",3411:"2aec36ca",3624:"b380cc8b",3711:"c1588dec",3816:"1b3f2ec6",3914:"40066823",4309:"ae8e4ad0",4425:"a1cc2ddc",4560:"b03bbb3f",4607:"a1f4a2ee",4686:"b5e42917",4702:"75dc6403",4813:"163140fa",4823:"3b54f4c4",5108:"594553b1",5261:"68047848",5322:"3b6bfddc",5346:"7af72a07",5466:"453457a0",5653:"2af0a7fe",5827:"52b65a1a",5862:"1e4b27da",5864:"63d0b187",5902:"83e732d3",5980:"924bfbf0",6033:"09c630f9",6135:"3694348e",6144:"a3bf0881",6418:"cd76b6b1",6428:"38ca14cb",6501:"616f4dec",6552:"8e749864",6618:"bc3805ae",6764:"50a3ffc6",6819:"2f1dcf17",6832:"2550caa5",6859:"7a79e21e",7288:"007d40b4",7426:"995979c0",7463:"69864ff5",7974:"1be3257a",8084:"67de697a",8466:"caa088c9",8534:"b07438c3",8590:"904c3e1c",8682:"0708405f",8796:"42497042",8839:"69f9da33",9169:"428a6bc7",9200:"927570db",9272:"d5a35d82",9508:"c25f3afa",9644:"1ae95bb7",9716:"e2678a29",9960:"6dcf66f0"}[e]+".chunk.js",l.miniCssF=e=>"static/css/"+e+"."+{2458:"05166c0a",6501:"e131603e",8084:"15f07f40",9272:"a4e58dd0"}[e]+".chunk.css",l.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),l.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),l.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={},a="email-maker:";l.l=(t,o,c,n)=>{if(e[t])e[t].push(o);else{var r,s;if(void 0!==c)for(var i=document.getElementsByTagName("script"),d=0;d<i.length;d++){var f=i[d];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==a+c){r=f;break}}r||(s=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,l.nc&&r.setAttribute("nonce",l.nc),r.setAttribute("data-webpack",a+c),r.src=t),e[t]=[o];var u=(a,l)=>{r.onerror=r.onload=null,clearTimeout(j);var o=e[t];if(delete e[t],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((e=>e(l))),a)return a(l)},j=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),s&&document.head.appendChild(r)}}})(),l.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((a,t)=>{var o=l.miniCssF(e),c=l.p+o;if(((e,a)=>{for(var l=document.getElementsByTagName("link"),t=0;t<l.length;t++){var o=(n=l[t]).getAttribute("data-href")||n.getAttribute("href");if("stylesheet"===n.rel&&(o===e||o===a))return n}var c=document.getElementsByTagName("style");for(t=0;t<c.length;t++){var n;if((o=(n=c[t]).getAttribute("data-href"))===e||o===a)return n}})(o,c))return a();((e,a,t,o,c)=>{var n=document.createElement("link");n.setAttribute("data-emailmaker","true"),n.rel="stylesheet",n.type="text/css",l.nc&&(n.nonce=l.nc),n.onerror=n.onload=l=>{if(n.onerror=n.onload=null,"load"===l.type)o();else{var t=l&&l.type,r=l&&l.target&&l.target.href||a,s=new Error("Loading CSS chunk "+e+" failed.\n("+t+": "+r+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=t,s.request=r,n.parentNode&&n.parentNode.removeChild(n),c(s)}},n.href=a,t?t.parentNode.insertBefore(n,t.nextSibling):document.head.appendChild(n)})(e,c,null,a,t)})),a={7391:0,1849:0};l.f.miniCss=(l,t)=>{a[l]?t.push(a[l]):0!==a[l]&&{2458:1,6501:1,8084:1,9272:1}[l]&&t.push(a[l]=e(l).then((()=>{a[l]=0}),(e=>{throw delete a[l],e})))}}})(),(()=>{var e={7391:0,1849:0};l.f.j=(a,t)=>{var o=l.o(e,a)?e[a]:void 0;if(0!==o)if(o)t.push(o[2]);else{var c=new Promise(((l,t)=>o=e[a]=[l,t]));t.push(o[2]=c);var n=l.p+l.u(a),r=new Error;l.l(n,(t=>{if(l.o(e,a)&&(0!==(o=e[a])&&(e[a]=void 0),o)){var c=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;r.message="Loading chunk "+a+" failed.\n("+c+": "+n+")",r.name="ChunkLoadError",r.type=c,r.request=n,o[1](r)}}),"chunk-"+a,a)}};var a=(a,t)=>{var o,c,[n,r,s]=t,i=0;if(n.some((a=>0!==e[a]))){for(o in r)l.o(r,o)&&(l.m[o]=r[o]);if(s)s(l)}for(a&&a(t);i<n.length;i++)c=n[i],l.o(e,c)&&e[c]&&e[c][0](),e[c]=0},t=globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[];t.forEach(a.bind(null,0)),t.push=a.bind(null,t.push.bind(t))})(),l.nc=void 0;var t={};return(()=>{"use strict";l.r(t),l.d(t,{init:()=>o,parseAMP:()=>c,version:()=>n});l(27612);let e,a;function o(a){return e||(e=l.e(3017).then(l.bind(l,63017))),e.then((e=>e.init(a)))}function c(e){return a||(a=l.e(1538).then(l.bind(l,71538))),a.then((a=>a.parseAMP(e)))}const n="1.0.93-alpha.1"})(),t})()));
|