easy-email-extensions 3.1.20 → 3.1.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/lib/AttributePanel/AttributePanel.d.ts +3 -3
  2. package/lib/AttributePanel/components/UI/Help/index.d.ts +7 -7
  3. package/lib/AttributePanel/components/UI/HtmlEditor.d.ts +5 -5
  4. package/lib/AttributePanel/components/attributes/Align.d.ts +3 -3
  5. package/lib/AttributePanel/components/attributes/AttributesPanelWrapper/index.d.ts +6 -6
  6. package/lib/AttributePanel/components/attributes/Background.d.ts +1 -1
  7. package/lib/AttributePanel/components/attributes/BackgroundColor.d.ts +3 -3
  8. package/lib/AttributePanel/components/attributes/Border.d.ts +1 -1
  9. package/lib/AttributePanel/components/attributes/BorderColor.d.ts +1 -1
  10. package/lib/AttributePanel/components/attributes/BorderStyle.d.ts +5 -5
  11. package/lib/AttributePanel/components/attributes/BorderWidth.d.ts +1 -1
  12. package/lib/AttributePanel/components/attributes/Color.d.ts +4 -4
  13. package/lib/AttributePanel/components/attributes/ContainerBackgroundColor.d.ts +3 -3
  14. package/lib/AttributePanel/components/attributes/Decoration.d.ts +1 -1
  15. package/lib/AttributePanel/components/attributes/Direction.d.ts +1 -1
  16. package/lib/AttributePanel/components/attributes/FontFamily.d.ts +1 -1
  17. package/lib/AttributePanel/components/attributes/FontSize.d.ts +1 -1
  18. package/lib/AttributePanel/components/attributes/FontStyle.d.ts +1 -1
  19. package/lib/AttributePanel/components/attributes/FontWeight.d.ts +1 -1
  20. package/lib/AttributePanel/components/attributes/Height.d.ts +3 -3
  21. package/lib/AttributePanel/components/attributes/LetterSpacing.d.ts +1 -1
  22. package/lib/AttributePanel/components/attributes/LineHeight.d.ts +1 -1
  23. package/lib/AttributePanel/components/attributes/Link.d.ts +1 -1
  24. package/lib/AttributePanel/components/attributes/Margin.d.ts +1 -1
  25. package/lib/AttributePanel/components/attributes/MergeTags.d.ts +6 -6
  26. package/lib/AttributePanel/components/attributes/NavbarLinkPadding.d.ts +3 -3
  27. package/lib/AttributePanel/components/attributes/Padding.d.ts +5 -5
  28. package/lib/AttributePanel/components/attributes/TextAlign.d.ts +1 -1
  29. package/lib/AttributePanel/components/attributes/TextDecoration.d.ts +1 -1
  30. package/lib/AttributePanel/components/attributes/TextTransform.d.ts +1 -1
  31. package/lib/AttributePanel/components/attributes/VerticalAlign.d.ts +3 -3
  32. package/lib/AttributePanel/components/attributes/Width.d.ts +5 -5
  33. package/lib/AttributePanel/components/attributes/index.d.ts +29 -29
  34. package/lib/AttributePanel/components/blocks/Accordion/index.d.ts +1 -1
  35. package/lib/AttributePanel/components/blocks/AccordionElement/index.d.ts +1 -1
  36. package/lib/AttributePanel/components/blocks/AccordionText/index.d.ts +1 -1
  37. package/lib/AttributePanel/components/blocks/AccordionTitle/index.d.ts +1 -1
  38. package/lib/AttributePanel/components/blocks/Button/index.d.ts +1 -1
  39. package/lib/AttributePanel/components/blocks/Carousel/index.d.ts +1 -1
  40. package/lib/AttributePanel/components/blocks/Column/index.d.ts +1 -1
  41. package/lib/AttributePanel/components/blocks/Divider/index.d.ts +1 -1
  42. package/lib/AttributePanel/components/blocks/Group/index.d.ts +1 -1
  43. package/lib/AttributePanel/components/blocks/Hero/index.d.ts +1 -1
  44. package/lib/AttributePanel/components/blocks/Image/index.d.ts +1 -1
  45. package/lib/AttributePanel/components/blocks/Navbar/index.d.ts +1 -1
  46. package/lib/AttributePanel/components/blocks/Page/index.d.ts +1 -1
  47. package/lib/AttributePanel/components/blocks/Raw/index.d.ts +1 -1
  48. package/lib/AttributePanel/components/blocks/Section/index.d.ts +1 -1
  49. package/lib/AttributePanel/components/blocks/Social/index.d.ts +1 -1
  50. package/lib/AttributePanel/components/blocks/Spacer/index.d.ts +1 -1
  51. package/lib/AttributePanel/components/blocks/Table/index.d.ts +1 -1
  52. package/lib/AttributePanel/components/blocks/Text/index.d.ts +1 -1
  53. package/lib/AttributePanel/components/blocks/Wrapper/index.d.ts +1 -1
  54. package/lib/AttributePanel/components/blocks/index.d.ts +42 -42
  55. package/lib/AttributePanel/components/provider/PresetColorsProvider/index.d.ts +6 -6
  56. package/lib/AttributePanel/components/provider/SelectionRangeProvider/index.d.ts +6 -6
  57. package/lib/AttributePanel/hooks/useSelectionRange.d.ts +6 -6
  58. package/lib/AttributePanel/index.d.ts +3 -3
  59. package/lib/AttributePanel/utils/BlockAttributeConfigurationManager.d.ts +10 -10
  60. package/lib/AttributePanel/utils/InputNumberAdapter.d.ts +2 -2
  61. package/lib/AttributePanel/utils/PromiseEach.d.ts +1 -1
  62. package/lib/AttributePanel/utils/Uploader.d.ts +35 -35
  63. package/lib/AttributePanel/utils/awaitForElement.d.ts +4 -4
  64. package/lib/AttributePanel/utils/classnames.d.ts +1 -1
  65. package/lib/AttributePanel/utils/getIconNameByBlockType.d.ts +1 -1
  66. package/lib/AttributePanel/utils/getImg.d.ts +8 -8
  67. package/lib/AttributePanel/utils/onDrag.d.ts +10 -10
  68. package/lib/AttributePanel/utils/previewLoadImage.d.ts +1 -1
  69. package/lib/BlockLayer/components/BlockTree/index.d.ts +51 -51
  70. package/lib/BlockLayer/components/BlockTree/transparentImage.d.ts +1 -1
  71. package/lib/BlockLayer/components/ContextMenu/index.d.ts +14 -14
  72. package/lib/BlockLayer/components/EyeIcon/index.d.ts +7 -7
  73. package/lib/BlockLayer/hooks/useAvatarWrapperDrop.d.ts +24 -24
  74. package/lib/BlockLayer/index.d.ts +10 -10
  75. package/lib/InteractivePrompt/components/FocusTooltip.d.ts +1 -1
  76. package/lib/InteractivePrompt/components/HoverTooltip.d.ts +1 -1
  77. package/lib/InteractivePrompt/components/Toolbar.d.ts +5 -5
  78. package/lib/InteractivePrompt/index.d.ts +1 -1
  79. package/lib/InteractivePrompt/utils/awaitForElement.d.ts +4 -4
  80. package/lib/ShortcutToolbar/ShortcutToolbar.d.ts +1 -1
  81. package/lib/ShortcutToolbar/components/BlockMaskWrapper/index.d.ts +6 -6
  82. package/lib/ShortcutToolbar/components/BlocksPanel/index.d.ts +2 -2
  83. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/AccordionBlockItem/index.d.ts +1 -1
  84. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ButtonBlockItem/index.d.ts +1 -1
  85. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/CarouselBlockItem/index.d.ts +1 -1
  86. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ColumnBlockItem/index.d.ts +1 -1
  87. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/DividerBlockItem/index.d.ts +1 -1
  88. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/GroupBlockItem/index.d.ts +1 -1
  89. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/HeroBlockItem/index.d.ts +1 -1
  90. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ImageBlockItem/index.d.ts +1 -1
  91. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/NavbarBlockItem/index.d.ts +1 -1
  92. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/RawBlockItem/index.d.ts +1 -1
  93. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SectionBlockItem/index.d.ts +1 -1
  94. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SocialBlockItem/index.d.ts +1 -1
  95. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SpacerBlockItem/index.d.ts +1 -1
  96. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/TextBlockItem/index.d.ts +1 -1
  97. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/WrapperBlockItem/index.d.ts +1 -1
  98. package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/index.d.ts +18 -18
  99. package/lib/ShortcutToolbar/components/Picture/index.d.ts +7 -7
  100. package/lib/ShortcutToolbar/index.d.ts +4 -4
  101. package/lib/ShortcutToolbar/utils/BlockMarketManager.d.ts +32 -32
  102. package/lib/ShortcutToolbar/utils/getImg.d.ts +68 -68
  103. package/lib/SimpleLayout/SimpleLayout.d.ts +4 -4
  104. package/lib/SimpleLayout/index.d.ts +1 -1
  105. package/lib/SourceCodePanel/index.d.ts +1 -1
  106. package/lib/components/AddToCollection/index.d.ts +5 -5
  107. package/lib/components/Form/AddFont.d.ts +1 -1
  108. package/lib/components/Form/AutoComplete.d.ts +11 -11
  109. package/lib/components/Form/CheckBoxGroup.d.ts +14 -14
  110. package/lib/components/Form/CodemirrorEditor/index.d.ts +8 -8
  111. package/lib/components/Form/ColorPicker.d.ts +10 -10
  112. package/lib/components/Form/EditTab.d.ts +10 -10
  113. package/lib/components/Form/ImageUploader/index.d.ts +8 -8
  114. package/lib/components/Form/InlineTextField/index.d.ts +7 -7
  115. package/lib/components/Form/Input.d.ts +7 -7
  116. package/lib/components/Form/InputWithUnit.d.ts +10 -10
  117. package/lib/components/Form/RadioGroup.d.ts +13 -13
  118. package/lib/components/Form/RichTextField/index.d.ts +2 -2
  119. package/lib/components/Form/RichTextToolBar/RichTextToolBar.d.ts +3 -3
  120. package/lib/components/Form/RichTextToolBar/components/FontFamily/index.d.ts +3 -3
  121. package/lib/components/Form/RichTextToolBar/components/FontSizeList/index.d.ts +3 -3
  122. package/lib/components/Form/RichTextToolBar/components/Heading/index.d.ts +3 -3
  123. package/lib/components/Form/RichTextToolBar/components/Link/index.d.ts +12 -12
  124. package/lib/components/Form/RichTextToolBar/components/ToolItem/index.d.ts +7 -7
  125. package/lib/components/Form/RichTextToolBar/components/Tools/Tools.d.ts +5 -5
  126. package/lib/components/Form/RichTextToolBar/components/Tools/index.d.ts +1 -1
  127. package/lib/components/Form/RichTextToolBar/index.d.ts +1 -1
  128. package/lib/components/Form/Select.d.ts +11 -11
  129. package/lib/components/Form/UploadField.d.ts +8 -8
  130. package/lib/components/Form/enhancer.d.ts +20 -20
  131. package/lib/components/Form/index.d.ts +32 -32
  132. package/lib/components/RenderCount/index.d.ts +1 -1
  133. package/lib/components/ShadowDom/index.d.ts +2 -2
  134. package/lib/hooks/useAddToCollection.d.ts +6 -6
  135. package/lib/index.d.ts +9 -9
  136. package/lib/index2.js +36246 -2052
  137. package/lib/index2.js.map +1 -1
  138. package/lib/index3.js +23 -12
  139. package/lib/index3.js.map +1 -1
  140. package/lib/style.css +1 -1
  141. package/lib/utils/awaitForElement.d.ts +4 -4
  142. package/lib/utils/classnames.d.ts +1 -1
  143. package/lib/utils/getContextMergeTags.d.ts +7 -7
  144. package/lib/utils/getPreviewClassName.d.ts +1 -1
  145. package/package.json +2 -2
  146. package/readme.md +138 -138
package/lib/index3.js CHANGED
@@ -2485,14 +2485,16 @@ var codemirror = { exports: {} };
2485
2485
  if (lineView.line == line) {
2486
2486
  return { map: lineView.measure.map, cache: lineView.measure.cache };
2487
2487
  }
2488
- for (var i2 = 0; i2 < lineView.rest.length; i2++) {
2489
- if (lineView.rest[i2] == line) {
2490
- return { map: lineView.measure.maps[i2], cache: lineView.measure.caches[i2] };
2488
+ if (lineView.rest) {
2489
+ for (var i2 = 0; i2 < lineView.rest.length; i2++) {
2490
+ if (lineView.rest[i2] == line) {
2491
+ return { map: lineView.measure.maps[i2], cache: lineView.measure.caches[i2] };
2492
+ }
2491
2493
  }
2492
- }
2493
- for (var i$12 = 0; i$12 < lineView.rest.length; i$12++) {
2494
- if (lineNo(lineView.rest[i$12]) > lineN) {
2495
- return { map: lineView.measure.maps[i$12], cache: lineView.measure.caches[i$12], before: true };
2494
+ for (var i$12 = 0; i$12 < lineView.rest.length; i$12++) {
2495
+ if (lineNo(lineView.rest[i$12]) > lineN) {
2496
+ return { map: lineView.measure.maps[i$12], cache: lineView.measure.caches[i$12], before: true };
2497
+ }
2496
2498
  }
2497
2499
  }
2498
2500
  }
@@ -3281,6 +3283,10 @@ var codemirror = { exports: {} };
3281
3283
  var doc = cm2.doc, result = {};
3282
3284
  var curFragment = result.cursors = document.createDocumentFragment();
3283
3285
  var selFragment = result.selection = document.createDocumentFragment();
3286
+ var customCursor = cm2.options.$customCursor;
3287
+ if (customCursor) {
3288
+ primary = true;
3289
+ }
3284
3290
  for (var i2 = 0; i2 < doc.sel.ranges.length; i2++) {
3285
3291
  if (!primary && i2 == doc.sel.primIndex) {
3286
3292
  continue;
@@ -3290,7 +3296,12 @@ var codemirror = { exports: {} };
3290
3296
  continue;
3291
3297
  }
3292
3298
  var collapsed = range2.empty();
3293
- if (collapsed || cm2.options.showCursorWhenSelecting) {
3299
+ if (customCursor) {
3300
+ var head = customCursor(cm2, range2);
3301
+ if (head) {
3302
+ drawSelectionCursor(cm2, head, curFragment);
3303
+ }
3304
+ } else if (collapsed || cm2.options.showCursorWhenSelecting) {
3294
3305
  drawSelectionCursor(cm2, range2.head, curFragment);
3295
3306
  }
3296
3307
  if (!collapsed) {
@@ -3307,9 +3318,8 @@ var codemirror = { exports: {} };
3307
3318
  cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm2.options.cursorHeight + "px";
3308
3319
  if (/\bcm-fat-cursor\b/.test(cm2.getWrapperElement().className)) {
3309
3320
  var charPos = charCoords(cm2, head, "div", null, null);
3310
- if (charPos.right - charPos.left > 0) {
3311
- cursor.style.width = charPos.right - charPos.left + "px";
3312
- }
3321
+ var width = charPos.right - charPos.left;
3322
+ cursor.style.width = (width > 0 ? width : cm2.defaultCharWidth()) + "px";
3313
3323
  }
3314
3324
  if (pos.other) {
3315
3325
  var otherCursor = output.appendChild(elt("div", "\xA0", "CodeMirror-cursor CodeMirror-secondarycursor"));
@@ -3801,6 +3811,7 @@ var codemirror = { exports: {} };
3801
3811
  var totalHeight = measure.viewHeight - (needsH ? sWidth : 0);
3802
3812
  this.vert.firstChild.style.height = Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + "px";
3803
3813
  } else {
3814
+ this.vert.scrollTop = 0;
3804
3815
  this.vert.style.display = "";
3805
3816
  this.vert.firstChild.style.height = "0";
3806
3817
  }
@@ -10505,7 +10516,7 @@ var codemirror = { exports: {} };
10505
10516
  };
10506
10517
  CodeMirror.fromTextArea = fromTextArea;
10507
10518
  addLegacyProps(CodeMirror);
10508
- CodeMirror.version = "5.63.3";
10519
+ CodeMirror.version = "5.65.0";
10509
10520
  return CodeMirror;
10510
10521
  });
10511
10522
  })(codemirror);