@emailmaker/emailmaker 1.0.28 → 1.0.30

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 (42) hide show
  1. package/README.md +1 -1
  2. package/asset-manifest.json +20 -20
  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 -1
  7. package/iframe/{iframe-eblock.12c1738af7617d5b5ad1.html → iframe-eblock.20c6eb93783297dc03ca.html} +1 -1
  8. package/iframe/{iframe.12c1738af7617d5b5ad1.html → iframe.20c6eb93783297dc03ca.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 +2 -2
  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/react/index.d.ts +2 -2
  18. package/react/index.jsx +2 -2
  19. package/static/js/1399.cb6eb2fa.js +1 -0
  20. package/static/js/{1792.96198a14.js → 1792.a46703e5.js} +1 -1
  21. package/static/js/1795.a01df82a.js +1 -0
  22. package/static/js/2256.225fba63.js +1 -0
  23. package/static/js/2582.d77da683.js +2 -0
  24. package/static/js/5571.9c285c1e.js +1 -0
  25. package/static/js/{5957.33fb7779.js → 5957.d2ad88af.js} +2 -2
  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/translations.pot +83 -67
  31. package/README_eng.md +0 -197
  32. package/static/js/1399.e2af75e2.js +0 -1
  33. package/static/js/1795.b8c6a5e2.js +0 -1
  34. package/static/js/2256.b13b144a.js +0 -1
  35. package/static/js/2582.b2b22fe0.js +0 -2
  36. package/static/js/5571.afd3acb0.js +0 -1
  37. package/static/js/698.ac4f2346.js +0 -1
  38. package/static/js/7471.e4dba4ab.js +0 -1
  39. package/static/js/8236.b3951f96.js +0 -2
  40. /package/static/js/{2582.b2b22fe0.js.LICENSE.txt → 2582.d77da683.js.LICENSE.txt} +0 -0
  41. /package/static/js/{5957.33fb7779.js.LICENSE.txt → 5957.d2ad88af.js.LICENSE.txt} +0 -0
  42. /package/static/js/{8236.b3951f96.js.LICENSE.txt → 8236.bdefaa6b.js.LICENSE.txt} +0 -0
package/translations.pot CHANGED
@@ -333,7 +333,7 @@ msgstr ""
333
333
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:2162
334
334
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:1597
335
335
  #: src/modules/components/SelectedElementFormMobileHeight/SelectedElementFormMobileHeight.jsx:64
336
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1897
336
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1900
337
337
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:1597
338
338
  msgid "Height"
339
339
  msgstr ""
@@ -347,7 +347,7 @@ msgstr ""
347
347
  #: src/modules/components/ContentAppearancePanel/ContentAppearancePanel.jsx:833
348
348
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:2205
349
349
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:2045
350
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:242
350
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:248
351
351
  #: src/modules/components/SelectedElementFormMobileBackgroundColor/SelectedElementFormMobileBackgroundColor.jsx:51
352
352
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1274
353
353
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:2029
@@ -502,7 +502,7 @@ msgstr ""
502
502
  #: src/constants/pixie-dictionary.ts:45
503
503
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:2130
504
504
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:1978
505
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2221
505
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2224
506
506
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1518
507
507
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:1953
508
508
  msgid "Size"
@@ -686,7 +686,7 @@ msgstr ""
686
686
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:2148
687
687
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:1580
688
688
  #: src/modules/components/SelectedElementFormMobileWidth/SelectedElementFormMobileWidth.jsx:78
689
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1882
689
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1885
690
690
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1181
691
691
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:1577
692
692
  msgid "Width"
@@ -710,17 +710,17 @@ msgstr[1] ""
710
710
 
711
711
  #: src/helpers/index.js:495
712
712
  #: src/modules/components/Atoms/Atoms.jsx:223
713
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:332
713
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:334
714
714
  msgid "Coming soon"
715
715
  msgstr ""
716
716
 
717
717
  #: src/helpers/index.js:496
718
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:333
718
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:335
719
719
  msgid "The feature is under development."
720
720
  msgstr ""
721
721
 
722
722
  #: src/helpers/index.js:497
723
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:334
723
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:336
724
724
  msgid "Ok. I'll be waiting"
725
725
  msgstr ""
726
726
 
@@ -1016,57 +1016,57 @@ msgstr ""
1016
1016
  msgid "Header"
1017
1017
  msgstr ""
1018
1018
 
1019
- #: src/modules/components/AuthForm/AuthForm.jsx:341
1019
+ #: src/modules/components/AuthForm/AuthForm.jsx:345
1020
1020
  msgid "or"
1021
1021
  msgstr ""
1022
1022
 
1023
- #: src/modules/components/AuthForm/AuthForm.jsx:353
1023
+ #: src/modules/components/AuthForm/AuthForm.jsx:357
1024
1024
  msgid ""
1025
1025
  "At least 8 characters in both cases, including letters, numbers, and "
1026
1026
  "special characters."
1027
1027
  msgstr ""
1028
1028
 
1029
- #: src/modules/components/AuthForm/AuthForm.jsx:361
1029
+ #: src/modules/components/AuthForm/AuthForm.jsx:365
1030
1030
  msgid "Please enter your password"
1031
1031
  msgstr ""
1032
1032
 
1033
- #: src/modules/components/AuthForm/AuthForm.jsx:374
1033
+ #: src/modules/components/AuthForm/AuthForm.jsx:378
1034
1034
  msgid "The password does not meet the requirements:"
1035
1035
  msgstr ""
1036
1036
 
1037
- #: src/modules/components/AuthForm/AuthForm.jsx:423
1037
+ #: src/modules/components/AuthForm/AuthForm.jsx:427
1038
1038
  msgid "Remember me"
1039
1039
  msgstr ""
1040
1040
 
1041
- #: src/modules/components/AuthForm/AuthForm.jsx:426
1041
+ #: src/modules/components/AuthForm/AuthForm.jsx:430
1042
1042
  msgid "Forgot your password?"
1043
1043
  msgstr ""
1044
1044
 
1045
- #: src/modules/components/AuthForm/AuthForm.jsx:439
1045
+ #: src/modules/components/AuthForm/AuthForm.jsx:443
1046
1046
  msgid "Please accept the agreement"
1047
1047
  msgstr ""
1048
1048
 
1049
- #: src/modules/components/AuthForm/AuthForm.jsx:457
1049
+ #: src/modules/components/AuthForm/AuthForm.jsx:461
1050
1050
  msgid "I agree to the"
1051
1051
  msgstr ""
1052
1052
 
1053
- #: src/modules/components/AuthForm/AuthForm.jsx:459
1053
+ #: src/modules/components/AuthForm/AuthForm.jsx:463
1054
1054
  msgid "Terms"
1055
1055
  msgstr ""
1056
1056
 
1057
- #: src/modules/components/AuthForm/AuthForm.jsx:461
1057
+ #: src/modules/components/AuthForm/AuthForm.jsx:465
1058
1058
  msgid "and"
1059
1059
  msgstr ""
1060
1060
 
1061
- #: src/modules/components/AuthForm/AuthForm.jsx:468
1061
+ #: src/modules/components/AuthForm/AuthForm.jsx:472
1062
1062
  msgid "Privacy Policy."
1063
1063
  msgstr ""
1064
1064
 
1065
- #: src/modules/components/AuthForm/AuthForm.jsx:477
1065
+ #: src/modules/components/AuthForm/AuthForm.jsx:481
1066
1066
  msgid "I would like to receive updates from Blocks."
1067
1067
  msgstr ""
1068
1068
 
1069
- #: src/modules/components/AuthForm/AuthForm.jsx:481
1069
+ #: src/modules/components/AuthForm/AuthForm.jsx:485
1070
1070
  msgid "I would like to receive updates from EmailMaker."
1071
1071
  msgstr ""
1072
1072
 
@@ -1145,48 +1145,48 @@ msgstr ""
1145
1145
  msgid "Discount with promo code: "
1146
1146
  msgstr ""
1147
1147
 
1148
- #: src/modules/components/BillingPage/BillingPage.jsx:705
1148
+ #: src/modules/components/BillingPage/BillingPage.jsx:704
1149
1149
  msgid "Paid until: "
1150
1150
  msgstr ""
1151
1151
 
1152
- #: src/modules/components/BillingPage/BillingPage.jsx:722
1152
+ #: src/modules/components/BillingPage/BillingPage.jsx:721
1153
1153
  msgid "Recurring payments"
1154
1154
  msgstr ""
1155
1155
 
1156
- #: src/modules/components/BillingPage/BillingPage.jsx:730
1156
+ #: src/modules/components/BillingPage/BillingPage.jsx:729
1157
1157
  msgid "Usage"
1158
1158
  msgstr ""
1159
1159
 
1160
- #: src/modules/components/BillingPage/BillingPage.jsx:738
1160
+ #: src/modules/components/BillingPage/BillingPage.jsx:737
1161
1161
  msgid " email"
1162
1162
  msgid_plural " emails"
1163
1163
  msgstr[0] ""
1164
1164
  msgstr[1] ""
1165
1165
 
1166
- #: src/modules/components/BillingPage/BillingPage.jsx:751
1166
+ #: src/modules/components/BillingPage/BillingPage.jsx:750
1167
1167
  msgid " project"
1168
1168
  msgid_plural " projects"
1169
1169
  msgstr[0] ""
1170
1170
  msgstr[1] ""
1171
1171
 
1172
- #: src/modules/components/BillingPage/BillingPage.jsx:770
1172
+ #: src/modules/components/BillingPage/BillingPage.jsx:769
1173
1173
  msgid " member"
1174
1174
  msgid_plural " members"
1175
1175
  msgstr[0] ""
1176
1176
  msgstr[1] ""
1177
1177
 
1178
- #: src/modules/components/BillingPage/BillingPage.jsx:785
1178
+ #: src/modules/components/BillingPage/BillingPage.jsx:784
1179
1179
  msgid " preview"
1180
1180
  msgid_plural " previews"
1181
1181
  msgstr[0] ""
1182
1182
  msgstr[1] ""
1183
1183
 
1184
- #: src/modules/components/BillingPage/BillingPage.jsx:796
1184
+ #: src/modules/components/BillingPage/BillingPage.jsx:795
1185
1185
  #: src/modules/components/Optimise/Optimise.jsx:399
1186
1186
  msgid "of"
1187
1187
  msgstr ""
1188
1188
 
1189
- #: src/modules/components/BillingPage/BillingPage.jsx:798
1189
+ #: src/modules/components/BillingPage/BillingPage.jsx:797
1190
1190
  msgid " optimisation"
1191
1191
  msgid_plural " optimisations"
1192
1192
  msgstr[0] ""
@@ -1565,7 +1565,7 @@ msgstr ""
1565
1565
 
1566
1566
  #: src/modules/components/ContentAppearancePanel/ContentAppearancePanel.jsx:684
1567
1567
  #: src/modules/components/EditProfileModal/EditProfileModal.jsx:415
1568
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:381
1568
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:387
1569
1569
  #: src/modules/components/SelectedElementFormMobileFontSize/SelectedElementFormMobileFontSize.jsx:24
1570
1570
  #: src/modules/components/SelectedTextCommonForm/SelectedTextCommonForm.jsx:397
1571
1571
  #: src/modules/components/SelectedTextCommonFormMobile/SelectedTextCommonFormMobile.jsx:108
@@ -1627,7 +1627,7 @@ msgstr ""
1627
1627
  #: src/modules/components/ContentAppearancePanel/ContentAppearancePanel.jsx:845
1628
1628
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:2268
1629
1629
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:2106
1630
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2267
1630
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2270
1631
1631
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1636
1632
1632
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:2093
1633
1633
  msgid "Borders"
@@ -1639,7 +1639,7 @@ msgstr ""
1639
1639
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:2135
1640
1640
  #: src/modules/components/SelectedElementFormBorderRadius/SelectedElementFormBorderRadius.jsx:112
1641
1641
  #: src/modules/components/SelectedElementFormMobileBorderRadius/SelectedElementFormMobileBorderRadius.jsx:45
1642
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2296
1642
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2299
1643
1643
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1665
1644
1644
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:2122
1645
1645
  msgid "Border radius"
@@ -2504,51 +2504,51 @@ msgstr ""
2504
2504
  msgid "Search GIFs"
2505
2505
  msgstr ""
2506
2506
 
2507
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:342
2507
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:344
2508
2508
  msgid "To preview and edit the uploaded image"
2509
2509
  msgstr ""
2510
2510
 
2511
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:343
2511
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:345
2512
2512
  msgid "Upload Image"
2513
2513
  msgstr ""
2514
2514
 
2515
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:473
2515
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:475
2516
2516
  msgid "The image was successfully uploaded."
2517
2517
  msgstr ""
2518
2518
 
2519
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:612
2519
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:614
2520
2520
  #: src/modules/components/UploadBgImage/UploadBgImage.jsx:215
2521
2521
  msgid "Upload"
2522
2522
  msgstr ""
2523
2523
 
2524
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:628
2524
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:630
2525
2525
  msgid "Click to select, paste from the clipboard, or drag and drop"
2526
2526
  msgstr ""
2527
2527
 
2528
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:632
2528
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:634
2529
2529
  msgid "Accepted formats: PNG, JPG, WEBP, SVG or GIF."
2530
2530
  msgstr ""
2531
2531
 
2532
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:642
2532
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:644
2533
2533
  msgid "Paste image URL here"
2534
2534
  msgstr ""
2535
2535
 
2536
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:656
2536
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:658
2537
2537
  #: src/modules/components/UploadBgImage/UploadBgImage.jsx:91
2538
2538
  msgid "Stock"
2539
2539
  msgstr ""
2540
2540
 
2541
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:679
2541
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:681
2542
2542
  #: src/modules/components/UploadBgImage/UploadBgImage.jsx:95
2543
2543
  msgid "GIF"
2544
2544
  msgstr ""
2545
2545
 
2546
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:702
2546
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:704
2547
2547
  #: src/modules/components/UploadBgImage/UploadBgImage.jsx:99
2548
2548
  msgid "AI"
2549
2549
  msgstr ""
2550
2550
 
2551
- #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:750
2551
+ #: src/modules/components/ImageLoaderModal/ImageLoaderModal.jsx:752
2552
2552
  msgid "Image Center"
2553
2553
  msgstr ""
2554
2554
 
@@ -3206,7 +3206,7 @@ msgstr ""
3206
3206
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:1503
3207
3207
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:1398
3208
3208
  #: src/modules/components/SelectedFloatBlockForm/SelectedFloatBlockForm.jsx:426
3209
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1597
3209
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1600
3210
3210
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1132
3211
3211
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:1407
3212
3212
  #: src/modules/components/SelectedTextForm/SelectedTextForm.jsx:160
@@ -3220,7 +3220,7 @@ msgstr ""
3220
3220
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:1525
3221
3221
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:1418
3222
3222
  #: src/modules/components/SelectedFloatBlockForm/SelectedFloatBlockForm.jsx:433
3223
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1604
3223
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1607
3224
3224
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1139
3225
3225
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:1414
3226
3226
  #: src/modules/components/SelectedTextForm/SelectedTextForm.jsx:167
@@ -3303,7 +3303,7 @@ msgstr ""
3303
3303
 
3304
3304
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:1977
3305
3305
  #: src/modules/components/SelectedFloatBlockForm/SelectedFloatBlockForm.jsx:466
3306
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2360
3306
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2363
3307
3307
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1729
3308
3308
  msgid "Display control"
3309
3309
  msgstr ""
@@ -3311,7 +3311,7 @@ msgstr ""
3311
3311
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:2042
3312
3312
  #: src/modules/components/SelectedCarouselForm/SelectedCarouselForm.jsx:526
3313
3313
  #: src/modules/components/SelectedElementFormImage/SelectedElementFormImage.jsx:353
3314
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2164
3314
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2167
3315
3315
  #: src/modules/components/SelectedLinkForm/SelectedLinkForm.jsx:79
3316
3316
  #: src/modules/components/SelectedTextCommonForm/SelectedTextCommonForm.jsx:538
3317
3317
  msgid "Hyperlink URL"
@@ -3325,7 +3325,7 @@ msgstr ""
3325
3325
 
3326
3326
  #: src/modules/components/SelectedButtonForm/SelectedButtonForm.jsx:2330
3327
3327
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:2168
3328
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2329
3328
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2332
3329
3329
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1698
3330
3330
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:2155
3331
3331
  msgid "Box shadow"
@@ -3344,13 +3344,13 @@ msgid "Autoplay"
3344
3344
  msgstr ""
3345
3345
 
3346
3346
  #: src/modules/components/SelectedCarouselForm/SelectedCarouselForm.jsx:549
3347
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1657
3347
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1660
3348
3348
  #: src/modules/components/SelectedTextCommonForm/SelectedTextCommonForm.jsx:340
3349
3349
  msgid "Merge tags"
3350
3350
  msgstr ""
3351
3351
 
3352
3352
  #: src/modules/components/SelectedCarouselForm/SelectedCarouselForm.jsx:555
3353
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1663
3353
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1666
3354
3354
  #: src/modules/components/SelectedTextCommonForm/SelectedTextCommonForm.jsx:347
3355
3355
  msgid "Start typing the title"
3356
3356
  msgstr ""
@@ -3395,45 +3395,45 @@ msgstr ""
3395
3395
 
3396
3396
  #: src/modules/components/SelectedDivForm/SelectedDivForm.jsx:2221
3397
3397
  #: src/modules/components/SelectedFloatBlockForm/SelectedFloatBlockForm.jsx:472
3398
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2374
3398
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2377
3399
3399
  #: src/modules/components/SelectedTableForm/SelectedTableForm.jsx:1748
3400
3400
  #: src/modules/components/SelectedTdForm/SelectedTdForm.jsx:2210
3401
3401
  msgid "Amp visibility"
3402
3402
  msgstr ""
3403
3403
 
3404
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:198
3404
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:204
3405
3405
  msgid "End time"
3406
3406
  msgstr ""
3407
3407
 
3408
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:216
3408
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:222
3409
3409
  msgid "Time zone"
3410
3410
  msgstr ""
3411
3411
 
3412
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:221
3412
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:227
3413
3413
  msgid "Select the time zone"
3414
3414
  msgstr ""
3415
3415
 
3416
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:256
3416
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:262
3417
3417
  msgid "Transparency"
3418
3418
  msgstr ""
3419
3419
 
3420
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:262
3420
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:268
3421
3421
  msgid "Countdown font settings"
3422
3422
  msgstr ""
3423
3423
 
3424
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:345
3424
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:351
3425
3425
  msgid "Time units font settings"
3426
3426
  msgstr ""
3427
3427
 
3428
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:391
3428
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:397
3429
3429
  msgid "Strong"
3430
3430
  msgstr ""
3431
3431
 
3432
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:410
3432
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:416
3433
3433
  msgid "Italic"
3434
3434
  msgstr ""
3435
3435
 
3436
- #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:432
3436
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:438
3437
3437
  msgid "Language"
3438
3438
  msgstr ""
3439
3439
 
@@ -3457,6 +3457,10 @@ msgstr ""
3457
3457
  msgid "-8:00 Los Angeles, Vancouver"
3458
3458
  msgstr ""
3459
3459
 
3460
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:514
3461
+ msgid "Duration"
3462
+ msgstr ""
3463
+
3460
3464
  #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:52
3461
3465
  msgid "-7:00 Denver, Phoenix"
3462
3466
  msgstr ""
@@ -3533,6 +3537,18 @@ msgstr ""
3533
3537
  msgid "+11:00 Honiara, Nuku'alofa, Apia"
3534
3538
  msgstr ""
3535
3539
 
3540
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:74
3541
+ msgid "20 c"
3542
+ msgstr ""
3543
+
3544
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:75
3545
+ msgid "40 c"
3546
+ msgstr ""
3547
+
3548
+ #: src/modules/components/SelectedElementCountdownSettings/SelectedElementCountdownSettings.jsx:76
3549
+ msgid "60 c"
3550
+ msgstr ""
3551
+
3536
3552
  #: src/modules/components/SelectedElementExportAsPicture/SelectedElementExportAsPicture.jsx:10
3537
3553
  msgid "During export, the element is converted into an image."
3538
3554
  msgstr ""
@@ -3704,12 +3720,12 @@ msgid "Left to right"
3704
3720
  msgstr ""
3705
3721
 
3706
3722
  #: src/modules/components/SelectedElementFormImage/SelectedElementFormImage.jsx:240
3707
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2084
3723
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2087
3708
3724
  msgid "Image path"
3709
3725
  msgstr ""
3710
3726
 
3711
3727
  #: src/modules/components/SelectedElementFormImage/SelectedElementFormImage.jsx:308
3712
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1767
3728
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1770
3713
3729
  msgid "Image replacer"
3714
3730
  msgstr ""
3715
3731
 
@@ -3718,27 +3734,27 @@ msgid "Remove slide"
3718
3734
  msgstr ""
3719
3735
 
3720
3736
  #: src/modules/components/SelectedElementFormImage/SelectedElementFormImage.jsx:374
3721
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2182
3737
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2185
3722
3738
  msgid "Alternative text"
3723
3739
  msgstr ""
3724
3740
 
3725
3741
  #: src/modules/components/SelectedElementFormImage/SelectedElementFormImage.jsx:388
3726
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2202
3742
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:2205
3727
3743
  msgid "Tooltip text"
3728
3744
  msgstr ""
3729
3745
 
3730
3746
  #: src/modules/components/SelectedElementFormImage/SelectedElementFormImage.jsx:395
3731
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1836
3747
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1839
3732
3748
  msgid "Enter the title of the image"
3733
3749
  msgstr ""
3734
3750
 
3735
3751
  #: src/modules/components/SelectedElementFormImage/SelectedElementFormImage.jsx:416
3736
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1857
3752
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1860
3737
3753
  msgid "Сode that will replace the image `src`"
3738
3754
  msgstr ""
3739
3755
 
3740
3756
  #: src/modules/components/SelectedElementFormImage/SelectedElementFormImage.jsx:418
3741
- #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1859
3757
+ #: src/modules/components/SelectedImageForm/SelectedImageForm.jsx:1862
3742
3758
  msgid "Image src"
3743
3759
  msgstr ""
3744
3760
 
package/README_eng.md DELETED
@@ -1,197 +0,0 @@
1
- > It is a Dev version of the Blocks email builder plugin.<br>The Prod version that will be released in the nearest future will have minor differences: it will not contain experimental features and the whole already existing feature set will be tested way more thoroughly before the releases.
2
-
3
- # Installation
4
- Run this code in the command prompt:
5
-
6
- ```cmd
7
- $ npm i useblocks@1.0.28 -save
8
- ```
9
-
10
- Add the Blocks plugin to your App config.
11
- ### For the Webpack module bundler
12
- Package import:
13
- ```javascript
14
- const useblocksPlugin = require('useblocks/webpack')
15
- ```
16
- Defining the package in the app:
17
- ```javascript
18
- module.exports = {
19
- plugins: [
20
- new UseblocksWebpackPlugin(),
21
- ]
22
- }
23
- ```
24
- ### For the Vite module bundler
25
- Package import:
26
- ```javascript
27
- import useblocksPlugin from 'useblocks/vite'
28
- ```
29
- Defining the package in the app:
30
- ```javascript
31
- export default defineConfig({
32
- plugins: [useblocksPlugin()],
33
- })
34
- ```
35
- # Initialization
36
- Import the Blocks plugin into your component:
37
- ```javascript
38
- import * as useblocks from "useblocks"
39
- ```
40
- The Plugin configuration contains a parameter named `getAuthToken`. For authorization, you must pass the application's OAuth token to its value. For debugging purposes, the dev version of the plugin supports a mechanism for obtaining a token from the front of the application. To use this mechanism you need first to define auth-proxy in AppConfig:
41
-
42
- ### Fetching the OAuth token on the backend
43
- ```javascript
44
- curl --location 'https://api.useblocks.io/oauth/token' \
45
- --header 'Content-Type: application/x-www-form-urlencoded' \
46
- --data-urlencode 'client_id=*******' \
47
- --data-urlencode 'client_secret=*******' \
48
- --data-urlencode 'grant_type=client_credentials'
49
- ```
50
-
51
- ### Creating the Blocks plugin entity
52
- ```javascript
53
- useblocks.init({
54
- getAuthToken: getAuthToken,
55
- element: "#test",
56
- content: {
57
- title: "Email subject",
58
- html: "EMAIL_CODE",
59
- },
60
- config: { }
61
- }).then(instance => { })
62
- ```
63
- You can get the EMAIL_CODE from <a href="https://cdn.useblocks.io/plugin/new-email.html" target="_blank">our example</a> or paste the HTML code of your own email
64
-
65
- # Configuration
66
- Plugin configuration is JSON with several nesting levels. In the config you can set the appearance, content, and the logic the plugin will work with.
67
-
68
- ### Element
69
- You can send the `element` line into the plugin configuration. It is a DOM element selector and you need to initiate the plugin inside of it. If the element is not defined, the app will run in the background mode.
70
-
71
- ### Content
72
- The `content` section contains parameters of an email that must be displayed in the editor. This is what can be sent to this parameter:
73
-
74
- #### {string}
75
-
76
- HTML code of an email.
77
-
78
- #### {object} email options
79
- ```javascript
80
- {
81
- id?: string; // A unique ID of a project in your system.
82
- html?: string; // HTML code of an email.
83
- subject?: string; // Email subject line.
84
- preheader?: string; // Email preheader.
85
- }
86
-
87
- ```
88
-
89
- #### {object} full description
90
- ```javascript
91
- {
92
- temlateId?: string; // Email template ID in Blocks.
93
- email?: object; // email options.
94
- blocks?: []; // Additional blocks.
95
- comments?: []; // Comments in an email.
96
- }
97
- ```
98
-
99
- You can change the content at any moment after the initialization with the help of the `instance.show(content)` method.
100
-
101
- ### Config
102
- This section is dedicated to setting the appearance and settings of the editor. You can change the configuration of this section after the initialization with the help of `useblocks.setConfig` or `useblocks.updateConfig`.
103
- ##### The list of parameters of the config section
104
- | Parameter | Description | Default |
105
- | ---------------------- | --------------------------------- | ------- |
106
- | theme | Plugin theme: light, dark. | light |
107
- | headerArrowBackVisible | Displaying the "Back" arrow. | true |
108
- | headerTitleVisible | Displaying the "Title" field. | true |
109
- | headerPreheaderVisible | Displaying the "Preheader" field. | true |
110
- | pathEnabled | Bread crumbs | true |
111
- | ... | ... | ... |
112
-
113
- ### Events
114
- Events can be sent to configurations or added to them later while working with the instance of the plugin. All event subscribers can be asynchronous features.
115
-
116
- #### Example
117
- ```javascript
118
- useblocks.init({
119
- ....,
120
- // Subscription to events in the initialization.
121
- handleReadEmail: (e) => {},
122
- handleSaveEmail: async (e) => {}
123
- }).then((instance) => {
124
- // Subscription to events after the initialization.
125
- const dispose = instance.handleReadEmail(e => {});
126
- const dispose = instance.handleSaveEmail(async (e) => {});
127
- });
128
- ```
129
-
130
- By sending the asynchronous feature you can implement the asynchronous data load.
131
- #### Example
132
- ```javascript
133
- useblocks.init({
134
- element: "#test",
135
- content: {
136
- id: "1"
137
- }
138
- handleReadEmail: async (id) => {
139
- return await fetchData(id); // Your data fetch feature.
140
- }
141
- }).then((instance) => {
142
- setTimeout(() => instance.show({ id: "2" }), 1000)
143
- });
144
- ```
145
-
146
-
147
-
148
- ### Events
149
- | Name | Description |
150
- | ------------------------- | -------------------------------------------- |
151
- | handleReadEmail | read email handler |
152
- | handleSaveEmail | fires when email saved |
153
- | handleReadEmailAutoSaves | read autosaves handler |
154
- | handleEmailAutosave | fires when email autosave |
155
- | handleRemoveEmailAutoSave | fires when email autosave delete |
156
- | handleReadBlocks | read blocks handler |
157
- | handleSaveBlock | fires when block save |
158
- | handleRemoveBlock | fires when block delete |
159
- | handleReadComments | read comments handler |
160
- | handleSaveComment | fires when comment save |
161
- | handleRemoveComment | fires when comment delete |
162
- | handleSaveButtonClick | fires when user clicked on 'save' button |
163
- | handleNextButtonClick | fires when user clicked on 'next' button |
164
- | handlePreviousButtonClick | fires when user clicked on 'previous' button |
165
- | handleEmailInit | fires when email iframe inited |
166
- | handleEmailChanged | fires when email changed |
167
- | handleHtmlChanged | fires when email Html changed |
168
- | handleDestroy | fires when app destroyed |
169
- | handleLoad | fires when app loaded |
170
- | handleLoadImage | fires when image loading |
171
-
172
-
173
-
174
- ### Methods
175
- | Method name | Description |
176
- | ------------------------- | -------------------------------------------- |
177
- | init | Initialization (async) |
178
- | show | Altering the content after the initialization|
179
- | destroy | Destruction of the instance of the plugin |
180
- | reset | Resetting the whole configuration |
181
- | getEmail | Getting the current email |
182
- | getConfig | Getting the configuration |
183
- | getBlocks | Getting the blocks from the project |
184
- | getComments | Getting the commentaries for the email |
185
- | getEmailRevisions | Getting the list of the email revisions |
186
- | setConfig | Setting new config parameters |
187
- | updateConfig | Updating config parameters |
188
- | notify | Notifications display |
189
- | getElement | Getting an element of initialization |
190
- | save | Saving an email |
191
- | compileEmail | Get compiled email |
192
-
193
-
194
-
195
-
196
- ### Keywords
197
- none