useblocks 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.
Files changed (69) hide show
  1. package/README.md +30 -1
  2. package/asset-manifest.json +32 -26
  3. package/iframe/429.js +1 -1
  4. package/iframe/766.js +1 -1
  5. package/iframe/iframe-eblock.f4b2eeebef1ff780a109.html +1 -0
  6. package/iframe/iframe.f4b2eeebef1ff780a109.html +1 -0
  7. package/iframe/js/826.f38df156.js +1 -0
  8. package/iframe/sandbox-eblock.js +1 -1
  9. package/iframe/sandbox.js +1 -1
  10. package/package.json +1 -1
  11. package/plugin.html +1 -1
  12. package/plugin_blocks_test.html +1 -1
  13. package/plugin_default.html +1 -1
  14. package/plugin_idigital.html +1 -1
  15. package/plugin_nota.html +1 -1
  16. package/plugin_s.html +1 -1
  17. package/static/css/2458.f9c85be8.chunk.css +1 -0
  18. package/static/css/6501.e131603e.chunk.css +1 -0
  19. package/static/css/9272.a4e58dd0.chunk.css +1 -0
  20. package/static/js/{1538.c37b25fc.chunk.js → 1538.06811304.chunk.js} +2 -2
  21. package/static/js/2458.705ae945.chunk.js +2 -0
  22. package/static/js/3017.7d36fea0.chunk.js +1 -0
  23. package/static/js/3085.b9d27236.chunk.js +2 -0
  24. package/static/js/4560.b03bbb3f.chunk.js +2 -0
  25. package/static/js/4560.b03bbb3f.chunk.js.LICENSE.txt +101 -0
  26. package/static/js/4776.ae35ef21.js +1 -0
  27. package/static/js/5972.4d41a210.js +2 -0
  28. package/static/js/5972.4d41a210.js.LICENSE.txt +9 -0
  29. package/static/js/6501.1dbdfb03.chunk.js +1 -0
  30. package/static/js/7413.15721113.js +2 -0
  31. package/static/js/{1006.f49df168.js.LICENSE.txt → 7413.15721113.js.LICENSE.txt} +1 -1
  32. package/static/js/7892.e035e8b9.js +2 -0
  33. package/static/js/8285.c8bdf11b.js +2 -0
  34. package/static/js/{1302.39ea1b43.js.LICENSE.txt → 8285.c8bdf11b.js.LICENSE.txt} +1 -14
  35. package/static/js/898.f83f82cb.js +2 -0
  36. package/static/js/9272.93e5dbe9.chunk.js +1 -0
  37. package/static/js/9881.bd9351d5.js +1 -0
  38. package/static/js/9960.6dcf66f0.chunk.js +2 -0
  39. package/static/js/9960.6dcf66f0.chunk.js.LICENSE.txt +30 -0
  40. package/static/js/useblocks_core.ea96a91d.js +2 -0
  41. package/static/media/project-email-back.0ce470def19ce7c063e0.svg +29 -0
  42. package/translations.pot +39 -15
  43. package/useblocks-esm.js +1 -1
  44. package/useblocks.d.ts +261 -0
  45. package/useblocks.js +1 -1
  46. package/iframe/iframe-eblock.e9bd99b8b51a223b4684.html +0 -1
  47. package/iframe/iframe.e9bd99b8b51a223b4684.html +0 -1
  48. package/iframe/js/826.93a2ef54.js +0 -1
  49. package/static/css/3397.f2d44d65.chunk.css +0 -1
  50. package/static/js/1006.f49df168.js +0 -2
  51. package/static/js/1302.39ea1b43.js +0 -2
  52. package/static/js/2031.af5a3084.js +0 -2
  53. package/static/js/3017.30c375b7.chunk.js +0 -1
  54. package/static/js/3085.59662838.chunk.js +0 -2
  55. package/static/js/3397.915e1b78.chunk.js +0 -2
  56. package/static/js/3758.db639ceb.js +0 -2
  57. package/static/js/4108.594284df.js +0 -1
  58. package/static/js/4832.250ce324.js +0 -1
  59. package/static/js/4933.1a401f33.js +0 -1
  60. package/static/js/9880.74dc5e4f.chunk.js +0 -2
  61. package/static/js/9880.74dc5e4f.chunk.js.LICENSE.txt +0 -9
  62. package/static/js/useblocks_core.adfff964.js +0 -2
  63. /package/iframe/js/{826.93a2ef54.js.LICENSE.txt → 826.f38df156.js.LICENSE.txt} +0 -0
  64. /package/static/js/{1538.c37b25fc.chunk.js.LICENSE.txt → 1538.06811304.chunk.js.LICENSE.txt} +0 -0
  65. /package/static/js/{3397.915e1b78.chunk.js.LICENSE.txt → 2458.705ae945.chunk.js.LICENSE.txt} +0 -0
  66. /package/static/js/{3085.59662838.chunk.js.LICENSE.txt → 3085.b9d27236.chunk.js.LICENSE.txt} +0 -0
  67. /package/static/js/{2031.af5a3084.js.LICENSE.txt → 7892.e035e8b9.js.LICENSE.txt} +0 -0
  68. /package/static/js/{3758.db639ceb.js.LICENSE.txt → 898.f83f82cb.js.LICENSE.txt} +0 -0
  69. /package/static/js/{useblocks_core.adfff964.js.LICENSE.txt → useblocks_core.ea96a91d.js.LICENSE.txt} +0 -0
@@ -0,0 +1,29 @@
1
+ <svg width="310" height="168" viewBox="0 0 310 168" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_76_5)">
3
+ <g clip-path="url(#clip1_76_5)">
4
+ <path d="M329 28.5869V117H-17V28.5869L10 14.4482V89H300V13.4014L329 28.5869Z" fill="#D2D5DA"/>
5
+ </g>
6
+ <path d="M0 168H155H310V20L155 77.6714L0 20V168Z" fill="#E2E4E7"/>
7
+ <g filter="url(#filter0_d_76_5)">
8
+ <path d="M-18 157H155H328V74.6014L155 20L-18 74.6014V157Z" fill="#E2E4E7"/>
9
+ </g>
10
+ </g>
11
+ <defs>
12
+ <filter id="filter0_d_76_5" x="-27.5" y="6.5" width="365" height="156" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
13
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
14
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
15
+ <feOffset dy="-4"/>
16
+ <feGaussianBlur stdDeviation="4.75"/>
17
+ <feComposite in2="hardAlpha" operator="out"/>
18
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"/>
19
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_76_5"/>
20
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_76_5" result="shape"/>
21
+ </filter>
22
+ <clipPath id="clip0_76_5">
23
+ <rect width="310" height="168" rx="20" fill="white"/>
24
+ </clipPath>
25
+ <clipPath id="clip1_76_5">
26
+ <rect width="310" height="227" fill="white" transform="translate(0 -140)"/>
27
+ </clipPath>
28
+ </defs>
29
+ </svg>
package/translations.pot CHANGED
@@ -383,7 +383,7 @@ msgstr ""
383
383
 
384
384
  #: src/constants/pixie-dictionary.ts:14
385
385
  #: src/modules/components/Discuss/Discuss.jsx:624
386
- #: src/modules/components/ImageEditor/ImageEditor.jsx:236
386
+ #: src/modules/components/ImageEditor/ImageEditor.jsx:233
387
387
  #: src/modules/components/ModalToChangeConfigOnFree/ModalToChangeConfigOnFree.jsx:178
388
388
  msgid "Cancel"
389
389
  msgstr ""
@@ -950,7 +950,7 @@ msgid "From scratch"
950
950
  msgstr ""
951
951
 
952
952
  #: src/modules/components/AddNewFolderModal/AddNewFolderModal.jsx:106
953
- #: src/modules/components/Folders/Folders.jsx:132
953
+ #: src/modules/components/Folders/Folders.jsx:133
954
954
  #: src/modules/components/RenameFolderModal/RenameFolderModal.jsx:56
955
955
  msgid "The folder “"
956
956
  msgstr ""
@@ -1319,7 +1319,7 @@ msgstr ""
1319
1319
  #: src/modules/components/ButtonsEmail/ButtonsEmail.jsx:695
1320
1320
  #: src/modules/components/Discuss/Discuss.jsx:549
1321
1321
  #: src/modules/components/EmailsTable/EmailsTable.jsx:516
1322
- #: src/modules/components/Folders/Folders.jsx:151
1322
+ #: src/modules/components/Folders/Folders.jsx:152
1323
1323
  #: src/modules/components/GroupsManagement/GroupsManagement.tsx:81
1324
1324
  #: src/modules/components/ProjectsTable/ProjectsTable.jsx:72
1325
1325
  msgid "Yes"
@@ -1331,7 +1331,7 @@ msgstr ""
1331
1331
  #: src/modules/components/ButtonsEmail/ButtonsEmail.jsx:696
1332
1332
  #: src/modules/components/Discuss/Discuss.jsx:550
1333
1333
  #: src/modules/components/EmailsTable/EmailsTable.jsx:517
1334
- #: src/modules/components/Folders/Folders.jsx:152
1334
+ #: src/modules/components/Folders/Folders.jsx:153
1335
1335
  #: src/modules/components/GroupsManagement/GroupsManagement.tsx:82
1336
1336
  #: src/modules/components/ProjectsTable/ProjectsTable.jsx:73
1337
1337
  msgid "No"
@@ -1363,7 +1363,7 @@ msgstr ""
1363
1363
  #: src/modules/components/ButtonsEmail/ButtonsEmail.jsx:850
1364
1364
  #: src/modules/components/ElementCard/ElementCard.jsx:157
1365
1365
  #: src/modules/components/EmailsTable/EmailsTable.jsx:767
1366
- #: src/modules/components/Folders/Folders.jsx:183
1366
+ #: src/modules/components/Folders/Folders.jsx:184
1367
1367
  #: src/modules/components/GroupsManagement/GroupsManagement.tsx:101
1368
1368
  #: src/modules/components/ProjectsTable/ProjectsTable.jsx:196
1369
1369
  msgid "Remove"
@@ -1438,7 +1438,7 @@ msgstr ""
1438
1438
 
1439
1439
  #: src/modules/components/BlocksTable/BlocksTable.jsx:480
1440
1440
  #: src/modules/components/ElementCard/ElementCard.jsx:66
1441
- #: src/modules/components/Folders/Folders.jsx:67
1441
+ #: src/modules/components/Folders/Folders.jsx:68
1442
1442
  msgid "New blocks"
1443
1443
  msgstr ""
1444
1444
 
@@ -2256,7 +2256,7 @@ msgstr ""
2256
2256
 
2257
2257
  #: src/modules/components/EditProfileModal/EditProfileModal.jsx:573
2258
2258
  #: src/modules/components/EditProjectModal/EditProjectModal.jsx:304
2259
- #: src/modules/components/ImageEditor/ImageEditor.jsx:245
2259
+ #: src/modules/components/ImageEditor/ImageEditor.jsx:242
2260
2260
  msgid "Update"
2261
2261
  msgstr ""
2262
2262
 
@@ -2391,7 +2391,7 @@ msgstr ""
2391
2391
 
2392
2392
  #: src/modules/components/ElementCard/ElementCard.jsx:66
2393
2393
  #: src/modules/components/EmailsTable/EmailsTable.jsx:701
2394
- #: src/modules/components/Folders/Folders.jsx:67
2394
+ #: src/modules/components/Folders/Folders.jsx:68
2395
2395
  msgid "New emails"
2396
2396
  msgstr ""
2397
2397
 
@@ -2701,6 +2701,10 @@ msgstr ""
2701
2701
  msgid "Creating an email on request"
2702
2702
  msgstr ""
2703
2703
 
2704
+ #: src/modules/components/FileManager/FileManager.tsx:134
2705
+ msgid "Error when initializing file manager"
2706
+ msgstr ""
2707
+
2704
2708
  #: src/modules/components/FloatBlocksSettings/FloatBlocksSettings.jsx:651
2705
2709
  msgid ""
2706
2710
  "The selected element is in the block that supports a multicolumn structure. "
@@ -2744,27 +2748,39 @@ msgstr ""
2744
2748
  msgid "Indent in mobile"
2745
2749
  msgstr ""
2746
2750
 
2747
- #: src/modules/components/Folders/Folders.jsx:149
2751
+ #: src/modules/components/Folders/Folders.jsx:150
2748
2752
  msgid "” folder?"
2749
2753
  msgstr ""
2750
2754
 
2751
- #: src/modules/components/Folders/Folders.jsx:168
2755
+ #: src/modules/components/Folders/Folders.jsx:169
2752
2756
  msgid "New folder"
2753
2757
  msgstr ""
2754
2758
 
2755
- #: src/modules/components/Folders/Folders.jsx:177
2759
+ #: src/modules/components/Folders/Folders.jsx:178
2756
2760
  #: src/modules/components/GroupsManagement/GroupsManagement.tsx:95
2757
2761
  msgid "Rename"
2758
2762
  msgstr ""
2759
2763
 
2760
- #: src/modules/components/Folders/Folders.jsx:285
2764
+ #: src/modules/components/Folders/Folders.jsx:286
2761
2765
  msgid "Folders"
2762
2766
  msgstr ""
2763
2767
 
2764
- #: src/modules/components/Folders/Folders.jsx:311
2768
+ #: src/modules/components/Folders/Folders.jsx:312
2765
2769
  msgid "Deleted"
2766
2770
  msgstr ""
2767
2771
 
2772
+ #: src/modules/components/Folders/Folders.jsx:396
2773
+ msgid "Email successfully copied to clipboard."
2774
+ msgstr ""
2775
+
2776
+ #: src/modules/components/Folders/Folders.jsx:476
2777
+ msgid "Your project has incoming email"
2778
+ msgstr ""
2779
+
2780
+ #: src/modules/components/Folders/Folders.jsx:477
2781
+ msgid "All emails sent to this address will be added to your project as a template."
2782
+ msgstr ""
2783
+
2768
2784
  #: src/modules/components/FormItemWithUploadImageMobile/FormItemWithUploadImageMobile.jsx:102
2769
2785
  msgid "Without background image"
2770
2786
  msgstr ""
@@ -2799,6 +2815,14 @@ msgstr ""
2799
2815
  msgid "Set"
2800
2816
  msgstr ""
2801
2817
 
2818
+ #: src/modules/components/ImageAI/ImageAI.tsx:146
2819
+ msgid "Generate image"
2820
+ msgstr ""
2821
+
2822
+ #: src/modules/components/ImageAI/ImageAI.tsx:186
2823
+ msgid "Use this one"
2824
+ msgstr ""
2825
+
2802
2826
  #: src/modules/components/ImageAI/useImageAIGeneration.ts:147
2803
2827
  #: src/modules/components/Optimise/Optimise.jsx:417
2804
2828
  msgid "The usage limit has been exceeded"
@@ -4721,7 +4745,7 @@ msgctxt "folder"
4721
4745
  msgid "” was successfully created."
4722
4746
  msgstr ""
4723
4747
 
4724
- #: src/modules/components/Folders/Folders.jsx:149
4748
+ #: src/modules/components/Folders/Folders.jsx:150
4725
4749
  msgctxt "folder"
4726
4750
  msgid "Are you sure to delete “"
4727
4751
  msgstr ""
@@ -4737,7 +4761,7 @@ msgctxt "recovery"
4737
4761
  msgid "” was successfully recovered."
4738
4762
  msgstr ""
4739
4763
 
4740
- #: src/modules/components/Folders/Folders.jsx:132
4764
+ #: src/modules/components/Folders/Folders.jsx:133
4741
4765
  #: src/modules/components/GroupsManagement/GroupsManagement.tsx:57
4742
4766
  msgctxt "recovery"
4743
4767
  msgid "” was successfully deleted."
package/useblocks-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/useblocks@1.0.91/",n="useblocks";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]={exports:{}};return e[a].call(c.exports,c,c.exports,o),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.16951b0a.js":4972===e?"static/js/4972.8646ad7f.js":4108===e?"static/js/4108.594284df.js":1006===e?"static/js/1006.f49df168.js":2031===e?"static/js/2031.af5a3084.js":1302===e?"static/js/1302.39ea1b43.js":4832===e?"static/js/4832.250ce324.js":4933===e?"static/js/4933.1a401f33.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",2248:"ant-locale/locale-ru_RU-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:"c37b25fc",1626:"e4bdfa2b",1640:"3b46361c",1729:"a0be903e",1788:"ef0d8c8e",1872:"cc1f0f56",1880:"de5a11ab",2066:"33e12cfb",2114:"43424efe",2248:"a1cd5bb3",2408:"46a8ce6d",2438:"08ac662b",2466:"594765fd",2642:"b60a63f6",2827:"8afbce30",2844:"2f68d816",2917:"471cc88a",2988:"4a05dc9d",3017:"30c375b7",3019:"aaa6d087",3085:"59662838",3302:"2a33af61",3397:"915e1b78",3411:"2aec36ca",3624:"b380cc8b",3711:"c1588dec",3816:"1b3f2ec6",3914:"40066823",4309:"ae8e4ad0",4425:"a1cc2ddc",4607:"a1f4a2ee",4686:"b5e42917",4702:"75dc6403",4813:"163140fa",4823:"3b54f4c4",5108:"594553b1",5261:"68047848",5322:"3b6bfddc",5346:"dcfe6709",5466:"453457a0",5653:"2af0a7fe",5827:"52b65a1a",5862:"1e4b27da",5864:"63d0b187",5902:"83e732d3",5980:"924bfbf0",6033:"09c630f9",6135:"3694348e",6144:"a3bf0881",6418:"cd76b6b1",6428:"38ca14cb",6552:"8e749864",6618:"bc3805ae",6764:"50a3ffc6",6819:"2f1dcf17",6832:"2550caa5",6859:"7a79e21e",7288:"007d40b4",7426:"995979c0",7463:"69864ff5",7974:"1be3257a",8084:"d11f3e52",8466:"caa088c9",8534:"b07438c3",8590:"904c3e1c",8682:"0708405f",8796:"42497042",8839:"69f9da33",9169:"428a6bc7",9200:"927570db",9508:"c25f3afa",9644:"1ae95bb7",9716:"e2678a29",9880:"74dc5e4f"}[e]+".chunk.js",o.miniCssF=e=>"static/css/"+e+"."+{3397:"f2d44d65",8084:"15f07f40"}[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.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-useblocks","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={884:0,5294:0};o.f.miniCss=(l,t)=>{a[l]?t.push(a[l]):0!==a[l]&&{3397:1,8084:1}[l]&&t.push(a[l]=e(l).then((()=>{a[l]=0}),(e=>{throw delete a[l],e})))}}})(),(()=>{var e={884:0,5294: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.91"})(),a=c})(),a},app=load("undefined"===typeof UseblocksEnvironment?void 0:UseblocksEnvironment);export const parseAMP=app.parseAMP;export const version=app.version;export const init=app.init;
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/useblocks@1.0.93-alpha.1/",n="useblocks";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.16951b0a.js":4972===e?"static/js/4972.8646ad7f.js":5972===e?"static/js/5972.4d41a210.js":7413===e?"static/js/7413.15721113.js":7892===e?"static/js/7892.e035e8b9.js":8285===e?"static/js/8285.c8bdf11b.js":4776===e?"static/js/4776.ae35ef21.js":9881===e?"static/js/9881.bd9351d5.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",2248:"ant-locale/locale-ru_RU-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",2248:"a1cd5bb3",2408:"46a8ce6d",2438:"08ac662b",2458:"705ae945",2466:"594765fd",2642:"b60a63f6",2827:"8afbce30",2844:"2f68d816",2917:"471cc88a",2988:"4a05dc9d",3017:"7d36fea0",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:"dcfe6709",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:"1dbdfb03",6552:"8e749864",6618:"bc3805ae",6764:"50a3ffc6",6819:"2f1dcf17",6832:"2550caa5",6859:"7a79e21e",7288:"007d40b4",7426:"995979c0",7463:"69864ff5",7974:"1be3257a",8084:"d11f3e52",8466:"caa088c9",8534:"b07438c3",8590:"904c3e1c",8682:"0708405f",8796:"42497042",8839:"69f9da33",9169:"428a6bc7",9200:"927570db",9272:"93e5dbe9",9508:"c25f3afa",9644:"1ae95bb7",9716:"e2678a29",9960:"6dcf66f0"}[e]+".chunk.js",o.miniCssF=e=>"static/css/"+e+"."+{2458:"f9c85be8",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-useblocks","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={884:0,5294: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={884:0,5294: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 UseblocksEnvironment?void 0:UseblocksEnvironment);export const parseAMP=app.parseAMP;export const version=app.version;export const init=app.init;
package/useblocks.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/useblocks.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.useblocks=a():e.useblocks=a()}(globalThis,(()=>(()=>{var e={27612:(e,a,l)=>{var t;let o="https://unpkg.com/useblocks@1.0.91/",c="useblocks";if("object"===typeof UseblocksEnvironment&&null!==(t=UseblocksEnvironment)&&void 0!==t&&t.publicPath){var n;o=null===(n=UseblocksEnvironment)||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]={exports:{}};return e[t].call(c.exports,c,c.exports,l),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.16951b0a.js":4972===e?"static/js/4972.8646ad7f.js":4108===e?"static/js/4108.594284df.js":1006===e?"static/js/1006.f49df168.js":2031===e?"static/js/2031.af5a3084.js":1302===e?"static/js/1302.39ea1b43.js":4832===e?"static/js/4832.250ce324.js":4933===e?"static/js/4933.1a401f33.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",2248:"ant-locale/locale-ru_RU-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:"c37b25fc",1626:"e4bdfa2b",1640:"3b46361c",1729:"a0be903e",1788:"ef0d8c8e",1872:"cc1f0f56",1880:"de5a11ab",2066:"33e12cfb",2114:"43424efe",2248:"a1cd5bb3",2408:"46a8ce6d",2438:"08ac662b",2466:"594765fd",2642:"b60a63f6",2827:"8afbce30",2844:"2f68d816",2917:"471cc88a",2988:"4a05dc9d",3017:"30c375b7",3019:"aaa6d087",3085:"59662838",3302:"2a33af61",3397:"915e1b78",3411:"2aec36ca",3624:"b380cc8b",3711:"c1588dec",3816:"1b3f2ec6",3914:"40066823",4309:"ae8e4ad0",4425:"a1cc2ddc",4607:"a1f4a2ee",4686:"b5e42917",4702:"75dc6403",4813:"163140fa",4823:"3b54f4c4",5108:"594553b1",5261:"68047848",5322:"3b6bfddc",5346:"dcfe6709",5466:"453457a0",5653:"2af0a7fe",5827:"52b65a1a",5862:"1e4b27da",5864:"63d0b187",5902:"83e732d3",5980:"924bfbf0",6033:"09c630f9",6135:"3694348e",6144:"a3bf0881",6418:"cd76b6b1",6428:"38ca14cb",6552:"8e749864",6618:"bc3805ae",6764:"50a3ffc6",6819:"2f1dcf17",6832:"2550caa5",6859:"7a79e21e",7288:"007d40b4",7426:"995979c0",7463:"69864ff5",7974:"1be3257a",8084:"d11f3e52",8466:"caa088c9",8534:"b07438c3",8590:"904c3e1c",8682:"0708405f",8796:"42497042",8839:"69f9da33",9169:"428a6bc7",9200:"927570db",9508:"c25f3afa",9644:"1ae95bb7",9716:"e2678a29",9880:"74dc5e4f"}[e]+".chunk.js",l.miniCssF=e=>"static/css/"+e+"."+{3397:"f2d44d65",8084:"15f07f40"}[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.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(b);var o=e[t];if(delete e[t],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((e=>e(l))),a)return a(l)},b=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-useblocks","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={5294:0,884:0};l.f.miniCss=(l,t)=>{a[l]?t.push(a[l]):0!==a[l]&&{3397:1,8084:1}[l]&&t.push(a[l]=e(l).then((()=>{a[l]=0}),(e=>{throw delete a[l],e})))}}})(),(()=>{var e={5294:0,884: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.91"})(),t})()));
1
+ !function(e,a){"object"===typeof exports&&"object"===typeof module?module.exports=a():"function"===typeof define&&define.amd?define([],a):"object"===typeof exports?exports.useblocks=a():e.useblocks=a()}(globalThis,(()=>(()=>{var e={27612:(e,a,l)=>{var t;let o="https://unpkg.com/useblocks@1.0.93-alpha.1/",c="useblocks";if("object"===typeof UseblocksEnvironment&&null!==(t=UseblocksEnvironment)&&void 0!==t&&t.publicPath){var n;o=null===(n=UseblocksEnvironment)||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.16951b0a.js":4972===e?"static/js/4972.8646ad7f.js":5972===e?"static/js/5972.4d41a210.js":7413===e?"static/js/7413.15721113.js":7892===e?"static/js/7892.e035e8b9.js":8285===e?"static/js/8285.c8bdf11b.js":4776===e?"static/js/4776.ae35ef21.js":9881===e?"static/js/9881.bd9351d5.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",2248:"ant-locale/locale-ru_RU-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",2248:"a1cd5bb3",2408:"46a8ce6d",2438:"08ac662b",2458:"705ae945",2466:"594765fd",2642:"b60a63f6",2827:"8afbce30",2844:"2f68d816",2917:"471cc88a",2988:"4a05dc9d",3017:"7d36fea0",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:"dcfe6709",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:"1dbdfb03",6552:"8e749864",6618:"bc3805ae",6764:"50a3ffc6",6819:"2f1dcf17",6832:"2550caa5",6859:"7a79e21e",7288:"007d40b4",7426:"995979c0",7463:"69864ff5",7974:"1be3257a",8084:"d11f3e52",8466:"caa088c9",8534:"b07438c3",8590:"904c3e1c",8682:"0708405f",8796:"42497042",8839:"69f9da33",9169:"428a6bc7",9200:"927570db",9272:"93e5dbe9",9508:"c25f3afa",9644:"1ae95bb7",9716:"e2678a29",9960:"6dcf66f0"}[e]+".chunk.js",l.miniCssF=e=>"static/css/"+e+"."+{2458:"f9c85be8",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(b);var o=e[t];if(delete e[t],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((e=>e(l))),a)return a(l)},b=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-useblocks","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={5294:0,884: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={5294:0,884: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})()));
@@ -1 +0,0 @@
1
- <!doctype html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><script defer="defer" src="js/826.93a2ef54.js?e9bd99b8b51a223b4684"></script><script defer="defer" src="sandbox-eblock.js?e9bd99b8b51a223b4684"></script></head><body></body></html>
@@ -1 +0,0 @@
1
- <!doctype html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><script defer="defer" src="js/826.93a2ef54.js?e9bd99b8b51a223b4684"></script><script defer="defer" src="sandbox.js?e9bd99b8b51a223b4684"></script></head><body></body></html>