@emailmaker/emailmaker 1.0.29 → 1.0.31

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 (47) hide show
  1. package/README.md +1 -1
  2. package/asset-manifest.json +27 -27
  3. package/emailmaker-esm.js +1 -1
  4. package/emailmaker.d.ts +128 -139
  5. package/emailmaker.js +1 -1
  6. package/iframe/429.js +1 -0
  7. package/iframe/{iframe-eblock.b4c76a69e0e281db2c3f.html → iframe-eblock.b53500d17048c23a89cc.html} +1 -1
  8. package/iframe/{iframe.b4c76a69e0e281db2c3f.html → iframe.b53500d17048c23a89cc.html} +1 -1
  9. package/iframe/js/cssbeautify.js +1 -1
  10. package/iframe/sandbox-eblock.js +1 -1
  11. package/iframe/sandbox.js +1 -1
  12. package/package.json +1 -1
  13. package/plugin.html +1 -1
  14. package/plugin_blocks_test.html +1 -1
  15. package/plugin_default.html +1 -1
  16. package/plugin_s.html +1 -1
  17. package/static/js/1399.cb6eb2fa.js +1 -0
  18. package/static/js/1472.c8712709.js +1 -0
  19. package/static/js/{1792.ed50a51e.js → 1792.c02dd1d4.js} +1 -1
  20. package/static/js/1795.da1917e4.js +1 -0
  21. package/static/js/2256.225fba63.js +1 -0
  22. package/static/js/2582.d77da683.js +2 -0
  23. package/static/js/5571.9c285c1e.js +1 -0
  24. package/static/js/{5957.33fb7779.js → 5957.d2ad88af.js} +2 -2
  25. package/static/js/5974.9d34d7d3.js +1 -0
  26. package/static/js/{6567.b3ba382f.js → 6567.cad55045.js} +1 -1
  27. package/static/js/698.aebcf9cd.js +1 -0
  28. package/static/js/7471.fe46efd9.js +1 -0
  29. package/static/js/8236.bdefaa6b.js +2 -0
  30. package/static/js/8689.5fdcff24.chunk.js +1 -0
  31. package/static/js/emailmaker_core.80378bf9.js +1 -0
  32. package/translations.pot +69 -53
  33. package/static/js/1399.e2af75e2.js +0 -1
  34. package/static/js/1472.996f3260.js +0 -1
  35. package/static/js/1795.e9cbb633.js +0 -1
  36. package/static/js/2256.b13b144a.js +0 -1
  37. package/static/js/2582.b2b22fe0.js +0 -2
  38. package/static/js/5571.7c799e8b.js +0 -1
  39. package/static/js/5974.390f71fe.js +0 -1
  40. package/static/js/698.ac4f2346.js +0 -1
  41. package/static/js/7471.e4dba4ab.js +0 -1
  42. package/static/js/8236.b3951f96.js +0 -2
  43. package/static/js/8689.befab3f9.chunk.js +0 -1
  44. package/static/js/emailmaker_core.1c0df7e8.js +0 -1
  45. /package/static/js/{2582.b2b22fe0.js.LICENSE.txt → 2582.d77da683.js.LICENSE.txt} +0 -0
  46. /package/static/js/{5957.33fb7779.js.LICENSE.txt → 5957.d2ad88af.js.LICENSE.txt} +0 -0
  47. /package/static/js/{8236.b3951f96.js.LICENSE.txt → 8236.bdefaa6b.js.LICENSE.txt} +0 -0
package/emailmaker.d.ts CHANGED
@@ -196,34 +196,34 @@ type NotifyEvent = Notify.SuccessEvent | Notify.ErrorEvent | Notify.WarningEvent
196
196
  declare namespace ExportedApi {
197
197
  interface Block {
198
198
  /**
199
- * Дата публикации записи (по часовому поясу сайта).
199
+ * Date of publication of the record (according to the time zone of the site).
200
200
  * @format date-time
201
201
  */
202
202
  date?: string | null;
203
203
  /**
204
- * Дата публикации записи, по GMT.
204
+ * Date of publication of the record, GMT.
205
205
  * @format date-time
206
206
  */
207
207
  date_gmt?: string | null;
208
208
 
209
- /** Уникальный идентификатор записи. */
209
+ /** The unique identifier of the record. */
210
210
  id?: string;
211
211
  /**
212
- * URL записи.
212
+ * The URL of the record.
213
213
  * @format uri
214
214
  */
215
215
 
216
216
  modified?: string;
217
217
  /**
218
- * Дата последнего изменения записи (в формате GMT).
218
+ * The date the record was last modified (in GMT format).
219
219
  * @format date-time
220
220
  */
221
221
  modified_gmt?: string;
222
- /** Название записи. */
222
+ /** The name of the entry. */
223
223
  title?: string;
224
- /** ID автора записи. */
224
+ /** ID of the author of the entry. */
225
225
  author?: string;
226
- /** Отрывок записи. */
226
+ /** An excerpt of the recording. */
227
227
  excerpt?: string;
228
228
 
229
229
  subject?: string;
@@ -236,47 +236,47 @@ declare namespace ExportedApi {
236
236
  }
237
237
  declare namespace ExportedApi {
238
238
  interface BlockRevision {
239
- /** ID автора редакции. */
239
+ /** ID of the editorial board author. */
240
240
  author?: string | number;
241
241
  /**
242
- * Дата публикации записи, по времени часового пояса сайта.
242
+ * The date of publication of the record, according to the time zone of the site.
243
243
  * @format date-time
244
244
  */
245
245
  date?: string;
246
246
  /**
247
- * Время публикации редакции, по GMT.
247
+ * The time of publication of the editorial office, GMT.
248
248
  * @format date-time
249
249
  */
250
250
  date_gmt?: string;
251
- /** Глобальный уникальный идентификатор записи. */
251
+ /** The global unique identifier of the record. */
252
252
  guid?: {
253
- /** GUID для записи в том виде, в котором он существует в базе данных. */
253
+ /** GUID to write in the form in which it exists in the database. */
254
254
  raw?: string;
255
- /** GUID для записи, преобразованный для показа. */
255
+ /** The GUID for the record, converted for display. */
256
256
  rendered?: string;
257
257
  };
258
- /** Уникальный идентификатор редакции. */
258
+ /** Unique identifier of the editorial office. */
259
259
  id?: string;
260
260
  /**
261
- * Дата последнего изменения редакции, по времени часового пояса сайта.
261
+ * The date of the last revision, according to the time zone of the site.
262
262
  * @format date-time
263
263
  */
264
264
  modified?: string;
265
265
  /**
266
- * Дата последнего изменения редакции, по GMT.
266
+ * Date of the last revision, GMT.
267
267
  * @format date-time
268
268
  */
269
269
  modified_gmt?: string;
270
- /** ID родителя редакции. */
270
+ /** ID of the editorial parent. */
271
271
  parent?: string;
272
- /** Буквенно-цифровой идентификатор записи уникальный для её типа. */
272
+ /** The alphanumeric identifier of the record is unique for its type. */
273
273
  slug?: string;
274
- /** Название записи. */
274
+ /** The name of the entry. */
275
275
  title?: string;
276
- /** Отрывок записи. */
276
+ /** An excerpt of the recording. */
277
277
  excerpt?: string;
278
278
  /**
279
- * Ссылка для предварительного просмотра записи.
279
+ * Link to preview the recording.
280
280
  * @format uri
281
281
  */
282
282
  preview_link?: string;
@@ -286,79 +286,77 @@ declare namespace ExportedApi {
286
286
 
287
287
  }
288
288
  }
289
-
290
289
  declare namespace ExportedApi {
291
290
  interface Comment {
292
- /** Уникальный идентификатор для комментария. */
291
+ /** Unique identifier for the comment. */
293
292
  id?: string;
294
- /** ID объекта пользователя, если автор - пользователь. */
293
+ /** User object ID, if the author is a user. */
295
294
  author?: string;
296
295
  /**
297
- * Адрес email автора комментария.
296
+ * The email address of the author of the comment.
298
297
  * @format email
299
298
  */
300
299
  author_email?: string;
301
300
  /**
302
- * IP адрес автора комментария.
301
+ * The IP address of the comment author.
303
302
  * @format ip
304
303
  */
305
304
  author_ip?: string;
306
- /** Отображаемое имя автора комментария. */
305
+ /** The display name of the comment author. */
307
306
  author_name?: string;
308
307
  /**
309
- * URL для автора комментария.
308
+ * URL for the author of the comment.
310
309
  * @format uri
311
310
  */
312
311
  author_url?: string;
313
- /** Значение User-Agent автора комментария. */
312
+ /** Value of the User-Agent of the comment author. */
314
313
  author_user_agent?: string;
315
- /** Содержимое комментария. */
314
+ /** The content of the comment. */
316
315
  content?: string;
317
316
  /**
318
- * Дата публикации комментария (по часовому поясу сайта).
317
+ * Date of publication of the comment (according to the time zone of the site).
319
318
  * @format date-time
320
319
  */
321
320
  date?: string;
322
321
  /**
323
- * Время публикации комментария, по GMT.
322
+ * The time of publication of the comment, GMT.
324
323
  * @format date-time
325
324
  */
326
325
  date_gmt?: string;
327
326
  /**
328
- * ID ассоциированного объекта записи.
327
+ * ID of the associated record object.
329
328
  * @default 0
330
329
  */
331
330
  post?: string;
332
- /** Состояние комментария. */
331
+ /** Comment status. */
333
332
  status?: string;
334
- /** Тип комментария. */
333
+ /** Comment type. */
335
334
  type?: string;
336
- /** URL изображения аватара автора комментария. */
335
+ /** URL of the comment author's avatar image. */
337
336
  author_avatar_urls?: {
338
337
  /**
339
- * URL аватары с размером изображения в 24 пикселей.
338
+ * URL avatars with an image size of 24 pixels.
340
339
  * @format uri
341
340
  */
342
341
  '24'?: string;
343
342
  /**
344
- * URL аватары с размером изображения в 48 пикселей.
343
+ * URL avatars with an image size of 48 pixels.
345
344
  * @format uri
346
345
  */
347
346
  '48'?: string;
348
347
  /**
349
- * URL аватары с размером изображения в 96 пикселей.
348
+ * URL avatars with an image size of 96 pixels.
350
349
  * @format uri
351
350
  */
352
351
  '96'?: string;
353
352
  };
354
- /** Мета поля. */
353
+ /** Meta fields. */
355
354
  meta?: object;
356
355
  target_id?: string;
357
356
 
358
357
  parent?: string;
359
358
  }
360
359
  }
361
-
362
360
  declare namespace ExportedApi {
363
361
  type EditorOptions = {
364
362
  fontSize?: number;
@@ -373,17 +371,17 @@ declare namespace ExportedApi {
373
371
  declare namespace ExportedApi {
374
372
  interface Email {
375
373
  /**
376
- * Дата публикации записи, по GMT.
374
+ * Date of publication of the record, GMT.
377
375
  * @format date-time
378
376
  */
379
377
  date_gmt?: string | null;
380
- /** Уникальный идентификатор записи. */
378
+ /** Unique identifier of the record. */
381
379
  id?: string;
382
- /** Название письма. */
380
+ /** The name of the letter. */
383
381
  title?: string;
384
- /** Прехедер письма. */
382
+ /** Preheader of the letter. */
385
383
  preheader?: string;
386
- /** ID автора записи. */
384
+ /** ID of the author of the entry. */
387
385
  author?: string;
388
386
  lock?: boolean;
389
387
  subject?: string;
@@ -412,35 +410,35 @@ declare namespace ExportedApi {
412
410
  }
413
411
  declare namespace ExportedApi {
414
412
  interface EmailRevision {
415
- /** ID автора редакции. */
413
+ /** ID of the editorial board author. */
416
414
  author?: string;
417
415
  /**
418
- * Дата публикации записи, по времени часового пояса сайта.
416
+ * The date of publication of the record, according to the time zone of the site.
419
417
  * @format date-time
420
418
  */
421
419
  date?: string;
422
420
  /**
423
- * Время публикации редакции, по GMT.
421
+ * The time of publication of the editorial office, GMT.
424
422
  * @format date-time
425
423
  */
426
424
  date_gmt?: string;
427
- /** Уникальный идентификатор редакции. */
425
+ /** Unique identifier of the editorial office. */
428
426
  id?: string;
429
427
  /**
430
- * Дата последнего изменения редакции, по времени часового пояса сайта.
428
+ * The date of the last revision, according to the time zone of the site.
431
429
  * @format date-time
432
430
  */
433
431
  modified?: string;
434
432
  /**
435
- * Дата последнего изменения редакции, по GMT.
433
+ * Date of the last revision, GMT.
436
434
  * @format date-time
437
435
  */
438
436
  modified_gmt?: string;
439
- /** ID родителя редакции. */
437
+ /** ID of the editorial parent. */
440
438
  parent?: string;
441
- /** Название записи. */
439
+ /** The name of the entry. */
442
440
  title?: string;
443
- /** Отрывок записи. */
441
+ /** An excerpt of the recording. */
444
442
  excerpt?: string;
445
443
 
446
444
  code?: string;
@@ -459,7 +457,6 @@ declare namespace ExportedApi {
459
457
  }
460
458
  }
461
459
  }
462
-
463
460
  declare namespace ExportedApi {
464
461
  export type ThemeConfig = any;
465
462
  }
@@ -480,86 +477,86 @@ declare namespace ExportedApi {
480
477
  }
481
478
 
482
479
  interface Config {
483
- /** Режим приложения */
480
+ /** Application mode */
484
481
  mode?: ConfigMods;
485
482
 
486
483
  imageInfoToolUrl?: string;
487
- /** Стили приложения */
484
+ /** Application Styles */
488
485
  styles: string;
489
- /** Тема приложения */
486
+ /** Application theme */
490
487
  theme: string;
491
- /** Настройки тем приложения */
488
+ /** Application theme settings */
492
489
  themes: { [P in string]: ThemeConfig };
493
- /** показ стрелки Назад */
490
+ /** showing the back arrow */
494
491
  headerArrowBackVisible: boolean;
495
- /** показ поля Тема */
492
+ /** display of the Subject field */
496
493
  headerTitleVisible: boolean;
497
- /** показ поля Прехедер */
494
+ /** showing the Preheader field */
498
495
  headerPreheaderVisible: boolean;
499
- /** показ поля Прехедер */
500
- /** показ хлебных крошек в iframe */
496
+ /** showing the Header field */
497
+ /** showing breadcrumbs in an iframe */
501
498
  pathEnabled: boolean;
502
- /** показ копирования-вставки блока в iframe */
499
+ /** showing copy-paste of a block in an iframe */
503
500
  copyPasteEnabled: boolean;
504
- /** показ кнопки История версий */
501
+ /** showing the Version History button */
505
502
  historyEnabled: boolean;
506
- /** показ кнопки Code-mode */
503
+ /** showing the Code-mode button */
507
504
  codeEnabled: boolean;
508
- /** показ кнопки Code-mode в режиме, когда есть переключатель десктоп/мобайл */
505
+ /** showing the Code-mode button in the mode when there is a desktop/mobile switch */
509
506
  codeSideEnabled: boolean;
510
- /** показ кнопки Предпросмотр */
507
+ /** showing the Preview button */
511
508
  previewIconEnabled: boolean;
512
- /** ссылка на Предпросмотр */
509
+ /** Preview link */
513
510
  previewModeEnabled: boolean;
514
- /** показ кнопки Тестировние в почтовиках */
511
+ /** showing the Test button in the mailers */
515
512
  livePreviewEnabled: boolean;
516
- /** показ кнопки Отправить тест */
513
+ /** showing the Send Test button */
517
514
  sendTestEnabled: boolean;
518
- /** показ кнопки Поделиться */
515
+ /** showing the Share button */
519
516
  sharePreviewEnabled: boolean;
520
- /** показ меню письма */
517
+ /** displaying the message menu */
521
518
  emailDropdownMenuEnabled: boolean;
522
- /** показ пункта Клонировать в меню письма */
519
+ /** showing the Clone item in the message menu */
523
520
  emailDropdownMenuClone: boolean;
524
- /** показ пункта Импортировать в меню письма */
521
+ /** showing the Import item in the emails menu */
525
522
  emailDropdownMenuImport: boolean;
526
- /** показ пункта Заблокировать в меню письма */
523
+ /** showing the Block item in the message menu */
527
524
  emailDropdownMenuLock: boolean;
528
- /** показ пункта Удалить в меню письма */
525
+ /** showing the Delete item in the message menu */
529
526
  emailDropdownMenuRemove: boolean;
530
- /** показ кнопки Экспорт */
527
+ /** showing the Export button */
531
528
  emailExportEnabled: boolean;
532
- /** показ второстепенной кнопки */
529
+ /** showing a secondary button */
533
530
  nextButtonEnabled: boolean;
534
- /** текст второстепенной кнопки */
531
+ /** text of the secondary button */
535
532
  nextButtonText: string;
536
- /** показ основной кнопки */
533
+ /** showing the main button */
537
534
  saveButtonEnabled: boolean;
538
- /** текст основной кнопки */
535
+ /** text of the main button */
539
536
  saveButtonText: string;
540
537
  commandButtonsEnabled?: boolean;
541
- /** показ ID письма */
538
+ /** displaying the email ID */
542
539
  emailIdShow: boolean;
543
- /** вид боковой панели */
540
+ /** side panel view */
544
541
  sidePanelFloating: boolean;
545
- /** полоса переключения режимов */
542
+ /** mode switching bar */
546
543
  desktopMobileSwitchRule: boolean;
547
- /** панель переключения режимов */
544
+ /** mode switching panel */
548
545
  desktopMobileSwitchPanel: boolean;
549
- /** показ кнопки сохранения блока */
546
+ /** showing the block save button */
550
547
  saveBlockEnabled: boolean;
551
- /** показ кнопки изменения изображения */
548
+ /** showing the image change button */
552
549
  editImageControlEnabled: boolean;
553
- /** возможность схлопывать боковую панель */
550
+ /** ability to collapse the sidebar */
554
551
  toggleSidePanel: boolean;
555
552
 
556
- /** Расположение боковой панели */
553
+ /** Sidebar location */
557
554
  menuDirection: string;
558
555
 
559
- /** настройка открывающейся вкладки по умолчанию (""/"commonBlocks"/"emptyBlocks") */
556
+ /** default setting of the opening tab (""/"commonBlocks"/"emptyBlocks") */
560
557
  defaultBuildPanel: string;
561
558
 
562
- /** Боковая панель */
559
+ /** Sidebar */
563
560
  commentsEnabled: boolean;
564
561
  optimizeEnabled: boolean;
565
562
  settingsEnabled: boolean;
@@ -568,54 +565,54 @@ declare namespace ExportedApi {
568
565
  preheaderEnabled: boolean;
569
566
  descriptionEnabled: boolean;
570
567
  tagsEnabled: boolean;
571
- /** показ переключателя мобильных свойств */
568
+ /** showing the mobile properties switch */
572
569
  switchDesktopMobilePropsEnabled: boolean;
573
- /** показ кнопок перехода к другим элементам */
570
+ /** showing transition buttons to other elements */
574
571
  stepToOtherElementEnabled: boolean;
575
- /** показ кнопки удаления элемента */
572
+ /** showing the delete element button */
576
573
  deleteButtonEnabled: boolean;
577
- /** показ поля Title в форме картинки */
574
+ /** showing the Title field in the form of an image */
578
575
  formFieldImageTitleEnabled: boolean;
579
- /** показ полей изменения рамки */
576
+ /** showing border change fields */
580
577
  formFieldBorderEnabled: boolean;
581
- /** показ полей изменения скругления */
578
+ /** showing the rounding change fields */
582
579
  formFieldBorderRadiusEnabled: boolean;
583
- /** показ полей изменения тени */
580
+ /** showing shadow change fields */
584
581
  formFieldBoxShadowEnabled: boolean;
585
- /** показ кнопок изменения видимости элемента */
582
+ /** showing buttons to change the visibility of an element */
586
583
  formFieldVisibilityEnabled: boolean;
587
- /** показ переключателя экспорт в картинку */
584
+ /** showing the export to picture switch */
588
585
  formFieldExportAsPictureEnabled: boolean;
589
586
 
590
- /** показ кнопки вставки изображения в текст кнопки */
587
+ /** showing the button to insert an image into the button text */
591
588
  formButtonFieldInsertImageEnabled: boolean;
592
- /** показ кнопок вертикального выравнивания */
589
+ /** showing vertical alignment buttons */
593
590
  formButtonFieldVerticalAlignEnabled: boolean;
594
- /** показ кнопок выравнивания текста */
591
+ /** showing text alignment buttons */
595
592
  formButtonFieldTextAlignEnabled: boolean;
596
- /** показ полей фонового изображения */
593
+ /** showing background image fields */
597
594
  formButtonFieldBackgroundImageEnabled: boolean;
598
- /** показ полей внутренних отступов */
595
+ /** showing internal margins */
599
596
  formButtonFieldPaddingsEnabled: boolean;
600
597
 
601
- /** показ кнопок вертикального выравнивания */
598
+ /** showing vertical alignment buttons */
602
599
  formCellFieldVerticalAlignEnabled: boolean;
603
- /** показ полей фонового изображения */
600
+ /** showing background image fields */
604
601
  formCellFieldBackgroundImageEnabled: boolean;
605
- /** показ полей внутренних отступов */
602
+ /** showing internal margins */
606
603
  formCellFieldPaddingsEnabled: boolean;
607
- /** показ кнопки вставки изображения в текст кнопки */
604
+ /** showing the button to insert an image into the button text */
608
605
  formLinkFieldInsertImageEnabled: boolean;
609
- /** показ полей фонового изображения */
606
+ /** showing background image fields */
610
607
  formTableFieldBackgroundImageEnabled: boolean;
611
- /** показ полей фонового изображения */
608
+ /** showing background image fields */
612
609
  formDivFieldBackgroundImageEnabled: boolean;
613
- /** показ полей фонового изображения */
610
+ /** showing background image fields */
614
611
  formEmailFieldBackgroundImageEnabled: boolean;
615
612
 
616
613
  revisionService: boolean;
617
614
 
618
- /** Элементы */
615
+ /** Elements */
619
616
  elementImageEnabled: boolean;
620
617
  elementTextEnabled: boolean;
621
618
  elementHeaderEnabled: boolean;
@@ -651,23 +648,27 @@ declare namespace ExportedApi {
651
648
 
652
649
  testEmails?: string[];
653
650
 
654
- /** показ переключателя конфиг */
651
+ /** showing the config switch */
655
652
  configSwither?: boolean;
656
- /** Таймаут автосохранения */
653
+ /** Auto-save timeout */
657
654
  autosaveTimeout?: number;
655
+ /** Configs that are passed to plugins */
656
+ advancedConfigs?: AdvancedConfigs;
658
657
  }
659
658
 
660
659
  export interface User {
661
660
  id?: string | number;
662
- /** Имя входа для пользователя. */
663
- username: string;
664
- /** Адрес email пользователя. @format email */
661
+ /** The login name for the user. */
662
+ username?: string;
663
+ /** User's display name */
664
+ user?: string;
665
+ /** The user's email address. @format email */
665
666
  email?: string;
666
- /** Пароль пользователя (никогда не показывается). */
667
+ /** The user's password (never shown). */
667
668
  password?: string;
668
- /** URL аватара пользователя. */
669
+ /** URL of the user's avatar. */
669
670
  avatar_urls?: {
670
- /** URL аватары с размером изображения в 24 пикселей. @format uri */
671
+ /** URL avatars with an image size of 24 pixels. @format uri */
671
672
  '24'?: string;
672
673
  '48'?: string;
673
674
  '96'?: string;
@@ -690,11 +691,10 @@ declare namespace ExportedApi {
690
691
  handleReadLocale: AppEvent<LocaleListener>;
691
692
  }
692
693
  }
693
- interface Options extends AppConfigMixin.Options {}
694
+ interface Options extends AppConfigMixin.Options { }
694
695
 
695
- interface Instance extends AppConfigMixin.Instance {}
696
+ interface Instance extends AppConfigMixin.Instance { }
696
697
  }
697
-
698
698
  declare namespace ExportedApi {
699
699
  namespace AppInitMixin {
700
700
  interface Options {
@@ -747,18 +747,7 @@ declare namespace ExportedApi {
747
747
 
748
748
  interface Instance extends OAuthMixin.Instance { }
749
749
  }
750
- declare namespace Emailmaker {
751
- /** App options */
752
- interface Options {
753
-
754
- }
755
750
 
756
- /** App instance */
757
- interface Instance {
758
-
759
- }
760
-
761
- }
762
751
  declare namespace ExportedApi {
763
752
  interface CoreOptions {
764
753
  element?: string | Element | DocumentFragment;