useblocks 1.0.101-alpha.1 → 1.0.101-alpha.14

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 (155) hide show
  1. package/README.md +173 -44
  2. package/asset-manifest.json +68 -60
  3. package/fileManager.d.ts +605 -0
  4. package/iframe/429.js +1 -1
  5. package/iframe/766.js +1 -1
  6. package/iframe/766.js.LICENSE.txt +1 -0
  7. package/iframe/css/main.css +128 -0
  8. package/iframe/css/main.css.js +0 -0
  9. package/iframe/css/sandbox-dark.css +122 -120
  10. package/iframe/css/sandbox-darktheme.css +161 -131
  11. package/iframe/css/sandbox-light.css +91 -90
  12. package/iframe/css/sandbox.css +1368 -1136
  13. package/iframe/css/sandbox.locale.en_en.css +10 -9
  14. package/iframe/css/sandbox.locale.ru_ru.css +10 -9
  15. package/iframe/iframe-eblock.d9eee3cfa65b740013f4.html +1 -0
  16. package/iframe/iframe.d9eee3cfa65b740013f4.html +1 -0
  17. package/iframe/index.html +16 -0
  18. package/iframe/js/174.b231c1ec.js +1 -0
  19. package/iframe/js/{330.758a4ba7.js.LICENSE.txt → 174.b231c1ec.js.LICENSE.txt} +0 -2
  20. package/iframe/sandbox-eblock.js +1 -1
  21. package/iframe/sandbox-eblock.js.LICENSE.txt +2 -0
  22. package/iframe/sandbox.js +1 -1
  23. package/iframe/sandbox.js.LICENSE.txt +2 -0
  24. package/js/amplitude.min.js +10861 -2
  25. package/js/sourcebuster.min.js +673 -0
  26. package/package.json +1 -1
  27. package/react/index.d.ts +1 -1
  28. package/static/css/191.4eb0c3d0.chunk.css +1 -0
  29. package/static/css/{6501.e131603e.chunk.css → 6501.f06bd28a.chunk.css} +1 -1
  30. package/static/css/9599.7e858636.chunk.css +1 -0
  31. package/static/css/main.d1013206.css +1 -0
  32. package/static/js/1538.04863579.js +2 -0
  33. package/static/js/191.5ee9f9d4.js +1 -0
  34. package/static/js/3017.0cfa521e.js +1 -0
  35. package/static/js/3467.aff9e25f.js +2 -0
  36. package/static/js/3467.aff9e25f.js.LICENSE.txt +9 -0
  37. package/static/js/{4643.21c8bc79.js → 3554.771c4212.js} +2 -2
  38. package/static/js/3582.c0c7fbf5.js +2 -0
  39. package/static/js/{4972.a230fee4.js → 4972.d9c59bfc.js} +1 -1
  40. package/static/js/5447.84d47f60.js +2 -0
  41. package/static/js/6501.0e7051f8.js +1 -0
  42. package/static/js/6819.3e90e2de.js +2 -0
  43. package/static/js/7918.467d1321.js +2 -0
  44. package/static/js/{8090.e83eb641.js.LICENSE.txt → 7918.467d1321.js.LICENSE.txt} +7 -0
  45. package/static/js/7995.f6fcba7b.js +2 -0
  46. package/static/js/{3497.b7264aa8.js.LICENSE.txt → 7995.f6fcba7b.js.LICENSE.txt} +0 -10
  47. package/static/js/{84.c6e39955.js → 84.bc6ea4f1.js} +1 -1
  48. package/static/js/9051.5f449f61.js +1 -0
  49. package/static/js/931.249dc209.js +2 -0
  50. package/static/js/{6798.c4ba8a63.js.LICENSE.txt → 931.249dc209.js.LICENSE.txt} +0 -7
  51. package/static/js/9599.15817e1f.js +2 -0
  52. package/static/js/{7455.66a34698.js.LICENSE.txt → 9599.15817e1f.js.LICENSE.txt} +0 -7
  53. package/static/js/9960.3ac0c626.js +2 -0
  54. package/static/js/{7419.28b3875c.js.LICENSE.txt → 9960.3ac0c626.js.LICENSE.txt} +10 -0
  55. package/static/js/useblocks_core.4165f1ea.js +2 -0
  56. package/static/media/image-editor/fonts/BebasNeueBold.woff2 +0 -0
  57. package/static/media/image-editor/fonts/BebasNeueBook.woff2 +0 -0
  58. package/static/media/image-editor/fonts/BebasNeueLight.woff2 +0 -0
  59. package/static/media/image-editor/fonts/BebasNeueRegular.woff2 +0 -0
  60. package/static/media/image-editor/fonts/Lato-Black.woff2 +0 -0
  61. package/static/media/image-editor/fonts/Lato-Bold.woff2 +0 -0
  62. package/static/media/image-editor/fonts/Lato-Light.woff2 +0 -0
  63. package/static/media/image-editor/fonts/Lato-Regular.woff2 +0 -0
  64. package/static/media/image-editor/fonts/Lobster.woff2 +0 -0
  65. package/static/media/image-editor/fonts/Montserrat-Black.woff2 +0 -0
  66. package/static/media/image-editor/fonts/Montserrat-Bold.woff2 +0 -0
  67. package/static/media/image-editor/fonts/Montserrat-Light.woff2 +0 -0
  68. package/static/media/image-editor/fonts/Montserrat-Regular.woff2 +0 -0
  69. package/static/media/image-editor/fonts/Roboto-Black.woff2 +0 -0
  70. package/static/media/image-editor/fonts/Roboto-Bold.woff2 +0 -0
  71. package/static/media/image-editor/fonts/Roboto-Light.woff2 +0 -0
  72. package/static/media/image-editor/fonts/Roboto-Regular.woff2 +0 -0
  73. package/static/media/image-editor/fonts/Rubik-Black.woff2 +0 -0
  74. package/static/media/image-editor/fonts/Rubik-Bold.woff2 +0 -0
  75. package/static/media/image-editor/fonts/Rubik-Light.woff2 +0 -0
  76. package/static/media/image-editor/fonts/Rubik-Regular.woff2 +0 -0
  77. package/static/media/image-editor/fonts/caveat-v23-cyrillic_latin-regular.woff2 +0 -0
  78. package/static/media/image-editor/fonts/commissioner-v24-cyrillic_latin-regular.woff2 +0 -0
  79. package/static/media/image-editor/fonts/inter-v20-cyrillic_latin-regular.woff2 +0 -0
  80. package/static/media/image-editor/fonts/oswald-v57-cyrillic_latin-regular.woff2 +0 -0
  81. package/static/media/image-editor/fonts/pacifico-v23-cyrillic_latin-regular.woff2 +0 -0
  82. package/static/media/image-editor/fonts/playfair-display-v40-cyrillic_latin-regular.woff2 +0 -0
  83. package/useblocks-esm.js +1 -1
  84. package/useblocks.d.ts +128 -101
  85. package/useblocks.js +1 -1
  86. package/vite/index.d.ts +2 -3
  87. package/vite/index.js +35 -36
  88. package/vite/mime-types.js +177 -177
  89. package/vite/utils.js +28 -34
  90. package/webpack/index.d.ts +3 -3
  91. package/webpack/index.js +43 -30
  92. package/android-chrome-192x192.png +0 -0
  93. package/android-chrome-512x512.png +0 -0
  94. package/apple-touch-icon-b.png +0 -0
  95. package/apple-touch-icon.png +0 -0
  96. package/favicon-16x16.png +0 -0
  97. package/favicon-32x32.png +0 -0
  98. package/fm-notification.d.ts +0 -368
  99. package/icon-192.png +0 -0
  100. package/icon-512.png +0 -0
  101. package/icon.svg +0 -2
  102. package/iframe/iframe-eblock.61c3bb6d8b0e90360536.html +0 -1
  103. package/iframe/iframe.61c3bb6d8b0e90360536.html +0 -1
  104. package/iframe/js/330.758a4ba7.js +0 -1
  105. package/manifest-b.json +0 -16
  106. package/plugin.html +0 -301
  107. package/plugin_blocks_test.html +0 -144
  108. package/plugin_default.html +0 -66
  109. package/plugin_idigital.html +0 -254
  110. package/plugin_nota.html +0 -861
  111. package/plugin_s.html +0 -31
  112. package/robots.txt +0 -3
  113. package/static/css/3435.48ebeca1.chunk.css +0 -1
  114. package/static/css/6798.4b23f0cb.chunk.css +0 -1
  115. package/static/js/1538.b373152b.js +0 -2
  116. package/static/js/3017.3ec487e6.js +0 -1
  117. package/static/js/3261.688dcc69.js +0 -2
  118. package/static/js/3435.87b83ffd.js +0 -1
  119. package/static/js/3497.b7264aa8.js +0 -2
  120. package/static/js/5447.59490aec.js +0 -2
  121. package/static/js/6501.928c50cb.js +0 -1
  122. package/static/js/6798.c4ba8a63.js +0 -2
  123. package/static/js/6819.c2bea9e8.js +0 -2
  124. package/static/js/7419.28b3875c.js +0 -2
  125. package/static/js/7455.66a34698.js +0 -2
  126. package/static/js/8090.e83eb641.js +0 -2
  127. package/static/js/9950.23e6d7bc.js +0 -1
  128. package/static/js/useblocks_core.c1a94eae.js +0 -2
  129. package/static/media/image-editor/fonts/TrashHand.ttf +0 -0
  130. package/static/media/image-editor/fonts/aleo-v4-latin-ext_latin-700.woff2 +0 -0
  131. package/static/media/image-editor/fonts/amatic-sc-v16-latin-ext_latin-regular.woff2 +0 -0
  132. package/static/media/image-editor/fonts/bungee-inline-v6-latin-ext_latin-regular.woff2 +0 -0
  133. package/static/media/image-editor/fonts/carter-one-v12-latin-regular.woff2 +0 -0
  134. package/static/media/image-editor/fonts/codystar-v10-latin-ext_latin-regular.woff2 +0 -0
  135. package/static/media/image-editor/fonts/corinthia-v7-latin-ext_latin-700.woff2 +0 -0
  136. package/static/media/image-editor/fonts/fuzzy-bubbles-v3-latin-700.woff2 +0 -0
  137. package/static/media/image-editor/fonts/krona-one-v9-latin-ext_latin-regular.woff2 +0 -0
  138. package/static/media/image-editor/fonts/kumar-one-outline-v8-latin-ext_latin-regular.woff2 +0 -0
  139. package/static/media/image-editor/fonts/lobster-two-v13-latin-regular.woff2 +0 -0
  140. package/static/media/image-editor/fonts/molle-v11-latin-ext_latin-italic.woff2 +0 -0
  141. package/static/media/image-editor/fonts/monoton-v10-latin-regular.woff2 +0 -0
  142. package/static/media/image-editor/fonts/nixie-one-v11-latin-regular.woff2 +0 -0
  143. package/static/media/image-editor/fonts/open-sans-v27-latin-ext_latin-regular.woff2 +0 -0
  144. package/static/media/image-editor/fonts/permanent-marker-v10-latin-regular.woff2 +0 -0
  145. package/static/media/image-editor/fonts/roboto-slab-v16-latin-ext_latin-500.woff2 +0 -0
  146. package/static/media/image-editor/fonts/sancreek-v13-latin-ext_latin-regular.woff2 +0 -0
  147. package/static/media/image-editor/fonts/stint-ultra-expanded-v10-latin-regular.woff2 +0 -0
  148. package/static/media/image-editor/fonts/vt323-v12-latin-ext_latin-regular.woff2 +0 -0
  149. package/translations.pot +0 -4949
  150. /package/static/js/{1538.b373152b.js.LICENSE.txt → 1538.04863579.js.LICENSE.txt} +0 -0
  151. /package/static/js/{4643.21c8bc79.js.LICENSE.txt → 3554.771c4212.js.LICENSE.txt} +0 -0
  152. /package/static/js/{3261.688dcc69.js.LICENSE.txt → 3582.c0c7fbf5.js.LICENSE.txt} +0 -0
  153. /package/static/js/{5447.59490aec.js.LICENSE.txt → 5447.84d47f60.js.LICENSE.txt} +0 -0
  154. /package/static/js/{6819.c2bea9e8.js.LICENSE.txt → 6819.3e90e2de.js.LICENSE.txt} +0 -0
  155. /package/static/js/{useblocks_core.c1a94eae.js.LICENSE.txt → useblocks_core.4165f1ea.js.LICENSE.txt} +0 -0
package/README.md CHANGED
@@ -1,10 +1,8 @@
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
1
  # Installation
4
2
  Run this code in the command prompt:
5
3
 
6
4
  ```cmd
7
- $ npm i useblocks@1.0.101-alpha.1 -save
5
+ $ npm i useblocks@1.0.101-alpha.14 -save
8
6
  ```
9
7
 
10
8
  Add the Blocks plugin to your App config.
@@ -103,12 +101,139 @@ This section is dedicated to setting the appearance and settings of the editor.
103
101
  ##### The list of parameters of the config section
104
102
  | Parameter | Description | Default |
105
103
  | ---------------------- | --------------------------------- | ------- |
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
- | ... | ... | ... |
104
+ | theme | Plugin theme: light, dark. | light |
105
+ | autosaveTimeout | Delay before autosave, ms. | 10000 |
106
+ | mergeTags | JSON with the list of dynamic variables. | undefined |
107
+ | styles | String with styles in CSS format. | '' |
108
+ | | | |
109
+ | headerShow | Show header. | true |
110
+ | headerArrowBackVisible | Show “Back” arrow. | true |
111
+ | headerTitleVisible | Show “Subject” field. | true |
112
+ | headerPreheaderVisible | Show “Preheader” field. | true |
113
+ | historyEnabled | Show “Version history” button. | true |
114
+ | codeEnabled | Show “Code mode” button. | true |
115
+ | codeSideEnabled | Show “Code mode” button when desktop/mobile toggle is available. | true |
116
+ | previewIconEnabled | Show “Preview” button. | true |
117
+ | previewModeEnabled | Link to Preview. | true |
118
+ | livePreviewEnabled | Show “Email client testing” button. | true |
119
+ | sendTestEnabled | Show “Send test” button. | true |
120
+ | sharePreviewEnabled | Show “Share” button. | true |
121
+ | webversionEnabled | Show link to web version. | true |
122
+ | commonStylesEnabled | Show content styles. | true |
123
+ | emailResponsiveControlEnabled | Show email responsiveness toggle. | true |
124
+ | templateNotEmAlertShow | Show alert that template is not from EM. | true |
125
+ | | | |
126
+ | emailDropdownMenuEnabled | Show email menu. | true |
127
+ | emailDropdownMenuClone | Show “Clone” item. | true |
128
+ | emailDropdownMenuImport | Show “Import” item. | true |
129
+ | emailDropdownMenuImportButton | Show “Import” as a button. | true |
130
+ | emailDropdownMenuLock | Show “Lock” item. | true |
131
+ | emailDropdownMenuRemove | Show “Delete” item. | true |
132
+ | | | |
133
+ | emailExportEnabled | Show “Export” button. | true |
134
+ | exportHtmlEnabled | Export to HTML. | true |
135
+ | exportZipEnabled | Export to ZIP. | true |
136
+ | exportClipboardEnabled | Export to clipboard. | true |
137
+ | exportWebHookEnabled | Export to webhook. | true |
138
+ | exportOutlookEnabled | Export to Outlook. | true |
139
+ | exportPdfEnabled | Export to PDF. | true |
140
+ | exportPngEnabled | Export to PNG. | true |
141
+ | | | |
142
+ | nextButtonEnabled | Show secondary button. | false |
143
+ | nextButtonText | Text on secondary button. | '' |
144
+ | saveButtonEnabled | Show primary button. | true |
145
+ | saveButtonText | Text on primary button. | true |
146
+ | commandButtonsEnabled | Show primary and secondary buttons. | true |
147
+ | | | |
148
+ | sidePanelFloating | Floating side panel. | true |
149
+ | desktopMobileSwitchRule | Modes switch bar. | true |
150
+ | desktopMobileSwitchPanel | Modes switch panel. | false |
151
+ | onlyCodeModeInMobile | Show only code on mobile. | false |
152
+ | | | |
153
+ | pathEnabled | Show breadcrumbs. | true |
154
+ | copyPasteEnabled | Show copy–paste block in iframe. | true |
155
+ | saveBlockEnabled | Show save block button. | true |
156
+ | editImageControlEnabled | Show image editing button. | true |
157
+ | | | |
158
+ | menuDirection | Side panel position. | 'right' |
159
+ | defaultBuildPanel | Default opened tab setting. | ''/'empty'/'project'/'common'/'template' |
160
+ | commentsEnabled | Show “Comments” button. | true |
161
+ | aiAssistentEnabled | Show “AI assistant”. | true |
162
+ | optimizeEnabled | Show “Optimization” button. | true |
163
+ | optimizeLinksEnabled | Show links check. | true |
164
+ | optimizeImagesEnabled | Show images check. | true |
165
+ | optimizeSpamAssassinEnabled | Show SpamAssassin check. | true |
166
+ | optimizeCheckCodeEnabled | Show code check. | true |
167
+ | settingsEnabled | Show “Settings” button. | true |
168
+ | UTMEnabled | Show UTM tags tab. | true |
169
+ | descriptionEnabled | Show “Description” field in settings. | true |
170
+ | tagsEnabled | Show “Tags” field in settings. | true |
171
+ | switchDesktopMobilePropsEnabled | Show mobile properties toggle. | true |
172
+ | stepToOtherElementEnabled | Show buttons to jump to other elements. | true |
173
+ | deleteButtonEnabled | Show delete element button. | true |
174
+ | toggleSidePanel | Allow collapsing side panel. | true |
175
+ | blocksSectionsShow | Show blocks menu. | true |
176
+ | blocksEmptyEnabled | Show empty blocks. | true |
177
+ | blocksSavedEnabled | Show saved blocks. | true |
178
+ | blocksCommonEnabled | Show common blocks. | true |
179
+ | blocksTemplateEnabled | Show template blocks. | true |
180
+ | blocksSearchEnabled | Show blocks search. | true |
181
+ | blocksAddPanelEnabled | Show add block panel in visual editor. | true |
182
+ | imagePathDropdownEnabled | Show dropdown with image path. | true |
183
+ | | | |
184
+ | formFieldImageTitleEnabled | Show title field in image form. | true |
185
+ | formFieldBorderEnabled | Show border controls. | true |
186
+ | formFieldBorderRadiusEnabled | Show border radius controls. | true |
187
+ | formFieldBoxShadowEnabled | Show shadow controls. | true |
188
+ | formFieldVisibilityEnabled | Show element visibility controls. | true |
189
+ | formFieldExportAsPictureEnabled | Show “export as image” toggle. | true |
190
+ | | | |
191
+ | formButtonFieldInsertImageEnabled | Show “insert image into text” button for button. | true |
192
+ | formButtonFieldVerticalAlignEnabled | Show vertical alignment controls for button. | true |
193
+ | formButtonFieldTextAlignEnabled | Show text alignment controls for button. | true |
194
+ | formButtonFieldBackgroundImageEnabled | Show background image controls for button. | true |
195
+ | formButtonFieldPaddingsEnabled | Show padding controls for button. | true |
196
+ | formButtonFieldReplacerEnabled | Show replacer for button. | true |
197
+ | | | |
198
+ | formCellFieldVerticalAlignEnabled | Show vertical alignment controls for cell. | true |
199
+ | formCellFieldBackgroundImageEnabled | Show background image controls for cell. | true |
200
+ | formCellFieldPaddingsEnabled | Show padding controls for cell. | true |
201
+ | formCellFieldSizeEnabled | Show width and height controls. | true |
202
+ | | | |
203
+ | formImageFieldVerticalAlignEnabled | Show vertical alignment controls for image. | true |
204
+ | formImageFieldReplacerEnabled | Show replacer for image. | true |
205
+ | formImageFieldHeightEnabled | Show height field for image. | true |
206
+ | | | |
207
+ | formTableFieldBackgroundImageEnabled | Show background image controls for table. | true |
208
+ | formDivFieldBackgroundImageEnabled | Show background image controls for container. | true |
209
+ | formEmailFieldBackgroundImageEnabled | Show background image controls for email. | true |
210
+ | | | |
211
+ | formTextFieldTypografEnabled | Show typograph button. | true |
212
+ | formTextFieldReplacerEnabled | Show replacer button. | true |
213
+ | | | |
214
+ | elementImageEnabled | Element Image. | true |
215
+ | elementTextEnabled | Element Text. | true |
216
+ | elementHeaderEnabled | Element Heading. | true |
217
+ | elementButtonEnabled | Element Button. | true |
218
+ | elementListULEnabled | Element List UL. | true |
219
+ | elementListOLEnabled | Element List OL. | true |
220
+ | elementDividerEnabled | Element Divider. | true |
221
+ | elementSpacerEnabled | Element Spacer. | true |
222
+ | elementSocialEnabled | Element Social. | true |
223
+ | elementTableEnabled | Element Table. | true |
224
+ | elementCountdownEnabled | Element Countdown. | true |
225
+ | elementVideoEnabled | Element Video. | true |
226
+ | elementAIimageEnabled | Element AI image. | true |
227
+ | elementAItextEnabled | Element AI text. | true |
228
+ | elementCarouselEnabled | Element AMP carousel. | true |
229
+ | elementAccordionEnabled | Element AMP accordion. | true |
230
+ | elementFormEnabled | Element AMP form. | true |
231
+ | | | |
232
+ | imageCenterStockEnabled | Stock photos tab. | true |
233
+ | imageCenterGifEnabled | Stock GIFs tab. | true |
234
+ | imageCenterEditorEnabled | Image editor tab. | true |
235
+ | compressMaxSize | Max image size after optimization, MB. | true |
236
+ | compressMaxWidthOrHeight | Max image width after optimization, px. | true |
112
237
 
113
238
  ### Events
114
239
  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.
@@ -148,47 +273,50 @@ useblocks.init({
148
273
  ### Events
149
274
  | Name | Description |
150
275
  | ------------------------- | -------------------------------------------- |
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 |
276
+ | handleReadEmail | Read email |
277
+ | handleSaveEmail | Save / update email |
278
+ | handleReadEmailRevisions | Read autosave list |
279
+ | handleEmailAutosave | Autosave |
280
+ | handleReadBlocks | Read project blocks list |
281
+ | handleSaveBlock | Save / update project block |
282
+ | handleRemoveBlock | Delete project block |
283
+ | handleReadComments | Read email comments list |
284
+ | handleSaveComment | Save / update comment |
285
+ | handleRemoveComment | Delete email comment |
286
+ | handleSaveButtonClick | Email save button click |
287
+ | handleNextButtonClick | Next button click |
288
+ | handlePreviousButtonClick | Back button click |
289
+ | handleEmailChanged | Any email parameter changed |
290
+ | handleHtmlChanged | Email HTML changed |
291
+ | handleDestroy | Plugin destroy |
292
+ | handleLoad | Plugin instance initialization completed |
293
+ | handleLoadImage | Load images |
294
+ | handleNotify | Notification |
295
+ | handleError | Error notification |
296
+ | handleSuccess | Success notification |
297
+ | handleTestEmailSend | Test email send |
298
+ | handleTestEmailModal | Open test email modal window |
171
299
 
172
300
 
173
301
 
174
302
  ### Methods
175
303
  | Method name | Description |
176
304
  | ------------------------- | -------------------------------------------- |
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 |
305
+ | init | Initialization (async) |
306
+ | show | Update content after initialization |
307
+ | destroy | Destroy instance |
308
+ | reset | Reset all configuration |
309
+ | getEmail | Get current email |
310
+ | getConfig | Get configuration |
311
+ | getBlocks | Get project blocks |
312
+ | getComments | Get email comments |
313
+ | getEmailRevisions | Get version control list |
314
+ | setConfig | Set new config parameters |
315
+ | updateConfig | Add to config parameters |
316
+ | notify | Show notifications |
317
+ | getElement | Get initialization element |
318
+ | save | Save email |
319
+ | compileEmail | Get compiled email |
192
320
 
193
321
 
194
322
  ## 📂 File Manager
@@ -263,6 +391,7 @@ The `fileManager` section controls the features of the file manager. All fields
263
391
  | `tempPath` | `string` | Path to temporary folder for uploads | - |
264
392
  | `useSoftDelete` | `boolean` | Enable client-side soft delete | `false` |
265
393
  | `ensureFolderTrailingSlash` | boolean | Add a trailing slash to folder paths | `true` |
394
+ | `validateDuplicates` | `boolean` | Client-side check for existing files or folders | - |
266
395
 
267
396
  #### Methods
268
397