easy-email-extensions 4.1.5 → 4.1.8
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/AttributePanel/AttributePanel.d.ts +3 -3
- package/lib/AttributePanel/components/UI/Help/index.d.ts +7 -7
- package/lib/AttributePanel/components/UI/HtmlEditor.d.ts +5 -5
- package/lib/AttributePanel/components/attributes/Align.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/AttributesPanelWrapper/index.d.ts +6 -6
- package/lib/AttributePanel/components/attributes/Background.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/BackgroundColor.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/Border.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/BorderColor.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/BorderStyle.d.ts +5 -5
- package/lib/AttributePanel/components/attributes/BorderWidth.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/ClassName.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/CollapseWrapper/index.d.ts +5 -5
- package/lib/AttributePanel/components/attributes/Color.d.ts +4 -4
- package/lib/AttributePanel/components/attributes/Condition.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/ContainerBackgroundColor.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/Decoration.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/Direction.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/FontFamily.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/FontSize.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/FontStyle.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/FontWeight.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/Height.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/Iteration.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/LetterSpacing.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/LineHeight.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/Link.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/Margin.d.ts +1 -1
- package/lib/AttributePanel/components/attributes/MergeTags.d.ts +6 -6
- package/lib/AttributePanel/components/attributes/NavbarLinkPadding.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/Padding.d.ts +6 -6
- package/lib/AttributePanel/components/attributes/TextAlign.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/TextDecoration.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/TextTransform.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/VerticalAlign.d.ts +3 -3
- package/lib/AttributePanel/components/attributes/Width.d.ts +5 -5
- package/lib/AttributePanel/components/attributes/index.d.ts +30 -30
- package/lib/AttributePanel/components/blocks/Accordion/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/AccordionElement/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/AccordionText/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/AccordionTitle/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Button/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Carousel/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Column/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Divider/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Group/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Hero/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Image/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Navbar/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Page/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Raw/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Section/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Social/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Spacer/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Table/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Text/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/Wrapper/index.d.ts +1 -1
- package/lib/AttributePanel/components/blocks/index.d.ts +55 -55
- package/lib/AttributePanel/components/provider/PresetColorsProvider/index.d.ts +6 -6
- package/lib/AttributePanel/components/provider/SelectionRangeProvider/index.d.ts +6 -6
- package/lib/AttributePanel/hooks/useSelectionRange.d.ts +7 -7
- package/lib/AttributePanel/index.d.ts +3 -3
- package/lib/AttributePanel/utils/BlockAttributeConfigurationManager.d.ts +10 -10
- package/lib/AttributePanel/utils/InputNumberAdapter.d.ts +2 -2
- package/lib/AttributePanel/utils/PromiseEach.d.ts +1 -1
- package/lib/AttributePanel/utils/Uploader.d.ts +35 -35
- package/lib/AttributePanel/utils/awaitForElement.d.ts +4 -4
- package/lib/AttributePanel/utils/classnames.d.ts +1 -1
- package/lib/AttributePanel/utils/getImg.d.ts +8 -8
- package/lib/AttributePanel/utils/onDrag.d.ts +10 -10
- package/lib/AttributePanel/utils/previewLoadImage.d.ts +1 -1
- package/lib/BlockLayer/components/BlockTree/index.d.ts +51 -51
- package/lib/BlockLayer/components/BlockTree/transparentImage.d.ts +1 -1
- package/lib/BlockLayer/components/ContextMenu/index.d.ts +14 -14
- package/lib/BlockLayer/components/EyeIcon/index.d.ts +7 -7
- package/lib/BlockLayer/hooks/useAvatarWrapperDrop.d.ts +24 -24
- package/lib/BlockLayer/index.d.ts +13 -13
- package/lib/InteractivePrompt/components/FocusTooltip.d.ts +1 -1
- package/lib/InteractivePrompt/components/HoverTooltip.d.ts +1 -1
- package/lib/InteractivePrompt/components/Toolbar.d.ts +1 -1
- package/lib/InteractivePrompt/index.d.ts +1 -1
- package/lib/InteractivePrompt/utils/awaitForElement.d.ts +4 -4
- package/lib/MergeTagBadgePrompt/index.d.ts +1 -1
- package/lib/ShortcutToolbar/ShortcutToolbar.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlockMaskWrapper/index.d.ts +6 -6
- package/lib/ShortcutToolbar/components/BlocksPanel/index.d.ts +2 -2
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/AccordionBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ButtonBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/CarouselBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ColumnBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/DividerBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/GroupBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/HeroBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/ImageBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/NavbarBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/RawBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SectionBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SocialBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/SpacerBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/TextBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/WrapperBlockItem/index.d.ts +1 -1
- package/lib/ShortcutToolbar/components/BlocksPanel/presetTemplate/index.d.ts +18 -18
- package/lib/ShortcutToolbar/components/DragIcon/index.d.ts +8 -8
- package/lib/ShortcutToolbar/components/Picture/index.d.ts +7 -7
- package/lib/ShortcutToolbar/index.d.ts +4 -4
- package/lib/ShortcutToolbar/utils/BlockMarketManager.d.ts +32 -32
- package/lib/ShortcutToolbar/utils/getImg.d.ts +68 -68
- package/lib/SimpleLayout/SimpleLayout.d.ts +6 -6
- package/lib/SimpleLayout/index.d.ts +1 -1
- package/lib/SourceCodePanel/index.d.ts +1 -1
- package/lib/components/AddToCollection/index.d.ts +5 -5
- package/lib/components/Form/AddFont.d.ts +1 -1
- package/lib/components/Form/AutoComplete.d.ts +11 -11
- package/lib/components/Form/CheckBoxGroup.d.ts +14 -14
- package/lib/components/Form/CodemirrorEditor/index.d.ts +8 -8
- package/lib/components/Form/ColorPicker.d.ts +10 -10
- package/lib/components/Form/EditGridTab.d.ts +10 -10
- package/lib/components/Form/EditTab.d.ts +10 -10
- package/lib/components/Form/ImageUploader/index.d.ts +8 -8
- package/lib/components/Form/InlineTextField/index.d.ts +7 -7
- package/lib/components/Form/Input.d.ts +7 -7
- package/lib/components/Form/InputWithUnit.d.ts +10 -10
- package/lib/components/Form/RadioGroup.d.ts +13 -13
- package/lib/components/Form/RichTextField/index.d.ts +2 -2
- package/lib/components/Form/RichTextToolBar/RichTextToolBar.d.ts +3 -3
- package/lib/components/Form/RichTextToolBar/components/BasicTools.d.ts +1 -1
- package/lib/components/Form/RichTextToolBar/components/Bold/index.d.ts +6 -6
- package/lib/components/Form/RichTextToolBar/components/FontFamily/index.d.ts +5 -5
- package/lib/components/Form/RichTextToolBar/components/FontSize/index.d.ts +5 -5
- package/lib/components/Form/RichTextToolBar/components/Heading/index.d.ts +3 -3
- package/lib/components/Form/RichTextToolBar/components/Italic/index.d.ts +6 -6
- package/lib/components/Form/RichTextToolBar/components/Link/index.d.ts +12 -12
- package/lib/components/Form/RichTextToolBar/components/MergeTags/index.d.ts +5 -5
- package/lib/components/Form/RichTextToolBar/components/StrikeThrough/index.d.ts +6 -6
- package/lib/components/Form/RichTextToolBar/components/ToolItem/index.d.ts +9 -9
- package/lib/components/Form/RichTextToolBar/components/Tools/IconBgColor/index.d.ts +5 -5
- package/lib/components/Form/RichTextToolBar/components/Tools/IconFontColor/index.d.ts +5 -5
- package/lib/components/Form/RichTextToolBar/components/Tools/Tools.d.ts +4 -4
- package/lib/components/Form/RichTextToolBar/components/Tools/index.d.ts +1 -1
- package/lib/components/Form/RichTextToolBar/components/Underline/index.d.ts +6 -6
- package/lib/components/Form/RichTextToolBar/components/Unlink/index.d.ts +12 -12
- package/lib/components/Form/RichTextToolBar/index.d.ts +1 -1
- package/lib/components/Form/Select.d.ts +11 -11
- package/lib/components/Form/UploadField.d.ts +8 -8
- package/lib/components/Form/enhancer.d.ts +20 -20
- package/lib/components/Form/index.d.ts +34 -34
- package/lib/components/RenderCount/index.d.ts +1 -1
- package/lib/components/ShadowDom/index.d.ts +2 -2
- package/lib/constants.d.ts +1 -0
- package/lib/hooks/useAddToCollection.d.ts +6 -6
- package/lib/hooks/useFontFamily.d.ts +6 -6
- package/lib/index.d.ts +13 -12
- package/lib/index.js +1 -1
- package/lib/index2.js +73 -56
- package/lib/index2.js.map +1 -1
- package/lib/index3.js.map +1 -1
- package/lib/utils/awaitForElement.d.ts +4 -4
- package/lib/utils/classnames.d.ts +1 -1
- package/lib/utils/getBlockTitle.d.ts +2 -2
- package/lib/utils/getContextMergeTags.d.ts +7 -7
- package/lib/utils/getIconNameByBlockType.d.ts +1 -1
- package/lib/utils/getPreviewClassName.d.ts +1 -1
- package/package.json +2 -2
- package/readme.md +138 -138
package/lib/index2.js
CHANGED
@@ -43160,6 +43160,7 @@ class BlockAttributeConfigurationManager {
|
|
43160
43160
|
}
|
43161
43161
|
}
|
43162
43162
|
__publicField(BlockAttributeConfigurationManager, "map", __spreadValues({}, blocks));
|
43163
|
+
const RICH_TEXT_TOOL_BAR = "Tools";
|
43163
43164
|
const SelectionRangeContext = React__default.createContext({
|
43164
43165
|
selectionRange: null,
|
43165
43166
|
setSelectionRange: () => {
|
@@ -43172,6 +43173,9 @@ const SelectionRangeProvider = (props) => {
|
|
43172
43173
|
try {
|
43173
43174
|
const range2 = getShadowRoot().getSelection().getRangeAt(0);
|
43174
43175
|
if (range2) {
|
43176
|
+
const toolbar = getShadowRoot().getElementById(RICH_TEXT_TOOL_BAR);
|
43177
|
+
if (toolbar && toolbar.contains(range2.commonAncestorContainer))
|
43178
|
+
return;
|
43175
43179
|
setSelectionRange(range2);
|
43176
43180
|
}
|
43177
43181
|
} catch (error2) {
|
@@ -43692,18 +43696,31 @@ function Tools(props) {
|
|
43692
43696
|
} else {
|
43693
43697
|
document.execCommand(cmd, false, val);
|
43694
43698
|
}
|
43695
|
-
const
|
43696
|
-
|
43697
|
-
|
43699
|
+
const contenteditableElement = getShadowRoot().activeElement;
|
43700
|
+
if ((contenteditableElement == null ? void 0 : contenteditableElement.getAttribute("contenteditable")) === "true") {
|
43701
|
+
const html = ((_a = getShadowRoot().activeElement) == null ? void 0 : _a.innerHTML) || "";
|
43702
|
+
props.onChange(html);
|
43703
|
+
}
|
43704
|
+
}, [
|
43705
|
+
enabledMergeTagsBadge,
|
43706
|
+
focusBlockNode,
|
43707
|
+
props,
|
43708
|
+
restoreRange,
|
43709
|
+
selectionRange,
|
43710
|
+
setRangeByElement
|
43711
|
+
]);
|
43698
43712
|
const execCommandWithRange = useCallback((cmd, val) => {
|
43699
43713
|
var _a;
|
43700
43714
|
document.execCommand(cmd, false, val);
|
43701
|
-
const
|
43702
|
-
|
43715
|
+
const contenteditableElement = getShadowRoot().activeElement;
|
43716
|
+
if ((contenteditableElement == null ? void 0 : contenteditableElement.getAttribute("contenteditable")) === "true") {
|
43717
|
+
const html = ((_a = getShadowRoot().activeElement) == null ? void 0 : _a.innerHTML) || "";
|
43718
|
+
props.onChange(html);
|
43719
|
+
}
|
43703
43720
|
}, [props.onChange]);
|
43704
43721
|
const getPopoverMountNode = () => document.getElementById(FIXED_CONTAINER_ID);
|
43705
43722
|
return /* @__PURE__ */ React__default.createElement("div", {
|
43706
|
-
id:
|
43723
|
+
id: RICH_TEXT_TOOL_BAR,
|
43707
43724
|
style: { display: "flex", flexWrap: "nowrap" }
|
43708
43725
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
43709
43726
|
style: {
|
@@ -44617,7 +44634,7 @@ function TextBlockItem() {
|
|
44617
44634
|
fill: true,
|
44618
44635
|
key: index2
|
44619
44636
|
}, /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
44620
|
-
type:
|
44637
|
+
type: AdvancedType.TEXT,
|
44621
44638
|
payload: {
|
44622
44639
|
attributes: {
|
44623
44640
|
"font-size": item2 + "px",
|
@@ -44747,7 +44764,7 @@ function ImageBlockItem() {
|
|
44747
44764
|
}, imageList.map((item2, index2) => {
|
44748
44765
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
44749
44766
|
key: index2,
|
44750
|
-
type:
|
44767
|
+
type: AdvancedType.IMAGE,
|
44751
44768
|
payload: {
|
44752
44769
|
attributes: {
|
44753
44770
|
src: item2,
|
@@ -44779,7 +44796,7 @@ function SpacerBlockItem() {
|
|
44779
44796
|
}, spacerList.map((item2, index2) => {
|
44780
44797
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
44781
44798
|
key: index2,
|
44782
|
-
type:
|
44799
|
+
type: AdvancedType.SPACER,
|
44783
44800
|
payload: {
|
44784
44801
|
attributes: {
|
44785
44802
|
height: item2 + "px"
|
@@ -44825,7 +44842,7 @@ function DividerBlockItem() {
|
|
44825
44842
|
}, /* @__PURE__ */ React__default.createElement(Stack$6.Item, null), /* @__PURE__ */ React__default.createElement(Stack$6.Item, null), dividerList.map((item2, index2) => {
|
44826
44843
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
44827
44844
|
key: index2,
|
44828
|
-
type:
|
44845
|
+
type: AdvancedType.DIVIDER,
|
44829
44846
|
payload: {
|
44830
44847
|
attributes: __spreadProps(__spreadValues({}, item2), { padding: "10px 0px" })
|
44831
44848
|
}
|
@@ -44856,7 +44873,7 @@ function HeroBlockItem() {
|
|
44856
44873
|
}, heroList.map((item2, index2) => {
|
44857
44874
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
44858
44875
|
key: index2,
|
44859
|
-
type:
|
44876
|
+
type: AdvancedType.HERO,
|
44860
44877
|
payload: item2.payload
|
44861
44878
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
44862
44879
|
style: { position: "relative" }
|
@@ -45297,7 +45314,7 @@ function ButtonBlockItem() {
|
|
45297
45314
|
}, /* @__PURE__ */ React__default.createElement(Stack$6.Item, {
|
45298
45315
|
fill: true
|
45299
45316
|
}, /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
45300
|
-
type:
|
45317
|
+
type: AdvancedType.BUTTON,
|
45301
45318
|
payload: __spreadValues({}, item2.payload)
|
45302
45319
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
45303
45320
|
style: { position: "relative", overflow: "hidden" }
|
@@ -45430,7 +45447,7 @@ function AccordionBlockItem() {
|
|
45430
45447
|
}, list$7.map((item2, index2) => {
|
45431
45448
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
45432
45449
|
key: index2,
|
45433
|
-
type:
|
45450
|
+
type: AdvancedType.ACCORDION,
|
45434
45451
|
payload: item2.payload
|
45435
45452
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
45436
45453
|
style: { position: "relative" }
|
@@ -45490,7 +45507,7 @@ function CarouselBlockItem() {
|
|
45490
45507
|
}, list$6.map((item2, index2) => {
|
45491
45508
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
45492
45509
|
key: index2,
|
45493
|
-
type:
|
45510
|
+
type: AdvancedType.CAROUSEL,
|
45494
45511
|
payload: item2.payload
|
45495
45512
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
45496
45513
|
style: { position: "relative" }
|
@@ -45512,7 +45529,7 @@ const list$5 = [
|
|
45512
45529
|
{
|
45513
45530
|
thumbnail: getImg("IMAGE_46"),
|
45514
45531
|
payload: {
|
45515
|
-
type:
|
45532
|
+
type: AdvancedType.NAVBAR,
|
45516
45533
|
data: {
|
45517
45534
|
value: {
|
45518
45535
|
links: [
|
@@ -45575,7 +45592,7 @@ function NavbarBlockItem() {
|
|
45575
45592
|
}, list$5.map((item2, index2) => {
|
45576
45593
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
45577
45594
|
key: index2,
|
45578
|
-
type:
|
45595
|
+
type: AdvancedType.NAVBAR,
|
45579
45596
|
payload: item2.payload
|
45580
45597
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
45581
45598
|
style: { position: "relative" }
|
@@ -45597,7 +45614,7 @@ const list$4 = [
|
|
45597
45614
|
{
|
45598
45615
|
thumbnail: getImg("IMAGE_52"),
|
45599
45616
|
payload: {
|
45600
|
-
type:
|
45617
|
+
type: AdvancedType.SOCIAL,
|
45601
45618
|
data: {
|
45602
45619
|
value: {
|
45603
45620
|
elements: [
|
@@ -45645,7 +45662,7 @@ const list$4 = [
|
|
45645
45662
|
{
|
45646
45663
|
thumbnail: getImg("IMAGE_71"),
|
45647
45664
|
payload: {
|
45648
|
-
type:
|
45665
|
+
type: AdvancedType.SOCIAL,
|
45649
45666
|
data: {
|
45650
45667
|
value: {
|
45651
45668
|
elements: [
|
@@ -45699,7 +45716,7 @@ function SocialBlockItem() {
|
|
45699
45716
|
}, list$4.map((item2, index2) => {
|
45700
45717
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
45701
45718
|
key: index2,
|
45702
|
-
type:
|
45719
|
+
type: AdvancedType.SOCIAL,
|
45703
45720
|
payload: item2.payload
|
45704
45721
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
45705
45722
|
style: { position: "relative" }
|
@@ -45725,7 +45742,7 @@ function WrapperBlockItem() {
|
|
45725
45742
|
}, list$3.map((item2, index2) => {
|
45726
45743
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
45727
45744
|
key: index2,
|
45728
|
-
type:
|
45745
|
+
type: AdvancedType.WRAPPER,
|
45729
45746
|
payload: item2.payload
|
45730
45747
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
45731
45748
|
style: { position: "relative" }
|
@@ -45784,7 +45801,7 @@ const list$3 = [
|
|
45784
45801
|
},
|
45785
45802
|
children: [
|
45786
45803
|
{
|
45787
|
-
type: "
|
45804
|
+
type: "advanced_column",
|
45788
45805
|
data: {
|
45789
45806
|
value: {}
|
45790
45807
|
},
|
@@ -45832,7 +45849,7 @@ const list$3 = [
|
|
45832
45849
|
},
|
45833
45850
|
children: [
|
45834
45851
|
{
|
45835
|
-
type: "
|
45852
|
+
type: "advanced_column",
|
45836
45853
|
data: {
|
45837
45854
|
value: {}
|
45838
45855
|
},
|
@@ -45902,7 +45919,7 @@ function SectionBlockItem() {
|
|
45902
45919
|
}, list$2.map((item2, index2) => {
|
45903
45920
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
45904
45921
|
key: index2,
|
45905
|
-
type:
|
45922
|
+
type: AdvancedType.SECTION,
|
45906
45923
|
payload: item2.payload
|
45907
45924
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
45908
45925
|
style: { position: "relative" }
|
@@ -45945,7 +45962,7 @@ const list$2 = [
|
|
45945
45962
|
},
|
45946
45963
|
children: [
|
45947
45964
|
{
|
45948
|
-
type: "
|
45965
|
+
type: "advanced_column",
|
45949
45966
|
data: {
|
45950
45967
|
value: {}
|
45951
45968
|
},
|
@@ -45979,7 +45996,7 @@ const list$2 = [
|
|
45979
45996
|
},
|
45980
45997
|
children: [
|
45981
45998
|
{
|
45982
|
-
type: "
|
45999
|
+
type: "advanced_column",
|
45983
46000
|
data: {
|
45984
46001
|
value: {}
|
45985
46002
|
},
|
@@ -45991,7 +46008,7 @@ const list$2 = [
|
|
45991
46008
|
children: []
|
45992
46009
|
},
|
45993
46010
|
{
|
45994
|
-
type: "
|
46011
|
+
type: "advanced_column",
|
45995
46012
|
data: {
|
45996
46013
|
value: {}
|
45997
46014
|
},
|
@@ -46025,7 +46042,7 @@ const list$2 = [
|
|
46025
46042
|
},
|
46026
46043
|
children: [
|
46027
46044
|
{
|
46028
|
-
type: "
|
46045
|
+
type: "advanced_column",
|
46029
46046
|
data: {
|
46030
46047
|
value: {}
|
46031
46048
|
},
|
@@ -46037,7 +46054,7 @@ const list$2 = [
|
|
46037
46054
|
children: []
|
46038
46055
|
},
|
46039
46056
|
{
|
46040
|
-
type: "
|
46057
|
+
type: "advanced_column",
|
46041
46058
|
data: {
|
46042
46059
|
value: {}
|
46043
46060
|
},
|
@@ -46049,7 +46066,7 @@ const list$2 = [
|
|
46049
46066
|
children: []
|
46050
46067
|
},
|
46051
46068
|
{
|
46052
|
-
type: "
|
46069
|
+
type: "advanced_column",
|
46053
46070
|
data: {
|
46054
46071
|
value: {}
|
46055
46072
|
},
|
@@ -46083,7 +46100,7 @@ const list$2 = [
|
|
46083
46100
|
},
|
46084
46101
|
children: [
|
46085
46102
|
{
|
46086
|
-
type: "
|
46103
|
+
type: "advanced_column",
|
46087
46104
|
data: {
|
46088
46105
|
value: {}
|
46089
46106
|
},
|
@@ -46095,7 +46112,7 @@ const list$2 = [
|
|
46095
46112
|
children: []
|
46096
46113
|
},
|
46097
46114
|
{
|
46098
|
-
type: "
|
46115
|
+
type: "advanced_column",
|
46099
46116
|
data: {
|
46100
46117
|
value: {}
|
46101
46118
|
},
|
@@ -46107,7 +46124,7 @@ const list$2 = [
|
|
46107
46124
|
children: []
|
46108
46125
|
},
|
46109
46126
|
{
|
46110
|
-
type: "
|
46127
|
+
type: "advanced_column",
|
46111
46128
|
data: {
|
46112
46129
|
value: {}
|
46113
46130
|
},
|
@@ -46119,7 +46136,7 @@ const list$2 = [
|
|
46119
46136
|
children: []
|
46120
46137
|
},
|
46121
46138
|
{
|
46122
|
-
type: "
|
46139
|
+
type: "advanced_column",
|
46123
46140
|
data: {
|
46124
46141
|
value: {}
|
46125
46142
|
},
|
@@ -46142,7 +46159,7 @@ function GroupBlockItem() {
|
|
46142
46159
|
}, list$1.map((item2, index2) => {
|
46143
46160
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
46144
46161
|
key: index2,
|
46145
|
-
type:
|
46162
|
+
type: AdvancedType.GROUP,
|
46146
46163
|
payload: item2.payload
|
46147
46164
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
46148
46165
|
style: { position: "relative" }
|
@@ -46178,7 +46195,7 @@ const list$1 = [
|
|
46178
46195
|
},
|
46179
46196
|
children: [
|
46180
46197
|
{
|
46181
|
-
type: "
|
46198
|
+
type: "advanced_column",
|
46182
46199
|
data: {
|
46183
46200
|
value: {}
|
46184
46201
|
},
|
@@ -46205,7 +46222,7 @@ const list$1 = [
|
|
46205
46222
|
]
|
46206
46223
|
},
|
46207
46224
|
{
|
46208
|
-
type: "
|
46225
|
+
type: "advanced_column",
|
46209
46226
|
data: {
|
46210
46227
|
value: {}
|
46211
46228
|
},
|
@@ -46248,7 +46265,7 @@ const list$1 = [
|
|
46248
46265
|
},
|
46249
46266
|
children: [
|
46250
46267
|
{
|
46251
|
-
type: "
|
46268
|
+
type: "advanced_column",
|
46252
46269
|
data: {
|
46253
46270
|
value: {}
|
46254
46271
|
},
|
@@ -46290,7 +46307,7 @@ const list$1 = [
|
|
46290
46307
|
]
|
46291
46308
|
},
|
46292
46309
|
{
|
46293
|
-
type: "
|
46310
|
+
type: "advanced_column",
|
46294
46311
|
data: {
|
46295
46312
|
value: {}
|
46296
46313
|
},
|
@@ -46332,7 +46349,7 @@ const list$1 = [
|
|
46332
46349
|
]
|
46333
46350
|
},
|
46334
46351
|
{
|
46335
|
-
type: "
|
46352
|
+
type: "advanced_column",
|
46336
46353
|
data: {
|
46337
46354
|
value: {}
|
46338
46355
|
},
|
@@ -46385,7 +46402,7 @@ function ColumnBlockItem() {
|
|
46385
46402
|
}, list.map((item2, index2) => {
|
46386
46403
|
return /* @__PURE__ */ React__default.createElement(BlockMaskWrapper, {
|
46387
46404
|
key: index2,
|
46388
|
-
type:
|
46405
|
+
type: AdvancedType.COLUMN,
|
46389
46406
|
payload: item2.payload
|
46390
46407
|
}, /* @__PURE__ */ React__default.createElement("div", {
|
46391
46408
|
style: { position: "relative" }
|
@@ -46407,7 +46424,7 @@ const list = [
|
|
46407
46424
|
{
|
46408
46425
|
thumbnail: getImg("IMAGE_20"),
|
46409
46426
|
payload: {
|
46410
|
-
type: "
|
46427
|
+
type: "advanced_column",
|
46411
46428
|
data: {
|
46412
46429
|
value: {}
|
46413
46430
|
},
|
@@ -46492,13 +46509,13 @@ const defaultCategories = [
|
|
46492
46509
|
name: "CONTENT",
|
46493
46510
|
blocks: [
|
46494
46511
|
{
|
46495
|
-
type:
|
46512
|
+
type: AdvancedType.TEXT,
|
46496
46513
|
title: "Text",
|
46497
46514
|
description: "This block allows you to display text in your email.",
|
46498
46515
|
component: TextBlockItem
|
46499
46516
|
},
|
46500
46517
|
{
|
46501
|
-
type:
|
46518
|
+
type: AdvancedType.IMAGE,
|
46502
46519
|
title: "Image",
|
46503
46520
|
description: /* @__PURE__ */ React__default.createElement(Stack$6, {
|
46504
46521
|
vertical: true,
|
@@ -46507,40 +46524,40 @@ const defaultCategories = [
|
|
46507
46524
|
component: ImageBlockItem
|
46508
46525
|
},
|
46509
46526
|
{
|
46510
|
-
type:
|
46527
|
+
type: AdvancedType.BUTTON,
|
46511
46528
|
title: "Button",
|
46512
46529
|
description: "Displays a customizable button.",
|
46513
46530
|
component: ButtonBlockItem
|
46514
46531
|
},
|
46515
46532
|
{
|
46516
|
-
type:
|
46533
|
+
type: AdvancedType.HERO,
|
46517
46534
|
title: "Hero",
|
46518
46535
|
description: `This block displays a hero image. It behaves like an
|
46519
46536
|
'section' with a single 'column'.`,
|
46520
46537
|
component: HeroBlockItem
|
46521
46538
|
},
|
46522
46539
|
{
|
46523
|
-
type:
|
46540
|
+
type: AdvancedType.NAVBAR,
|
46524
46541
|
title: "Navbar",
|
46525
46542
|
description: `Displays a menu for navigation with an optional hamburger
|
46526
46543
|
mode for mobile devices.`,
|
46527
46544
|
component: NavbarBlockItem
|
46528
46545
|
},
|
46529
46546
|
{
|
46530
|
-
type:
|
46547
|
+
type: AdvancedType.SPACER,
|
46531
46548
|
title: "Spacer",
|
46532
46549
|
description: "Displays a blank space.",
|
46533
46550
|
component: SpacerBlockItem
|
46534
46551
|
},
|
46535
46552
|
{
|
46536
|
-
type:
|
46553
|
+
type: AdvancedType.DIVIDER,
|
46537
46554
|
title: "Divider",
|
46538
46555
|
description: `Displays a horizontal divider that can be customized like a
|
46539
46556
|
HTML border.`,
|
46540
46557
|
component: DividerBlockItem
|
46541
46558
|
},
|
46542
46559
|
{
|
46543
|
-
type:
|
46560
|
+
type: AdvancedType.ACCORDION,
|
46544
46561
|
title: "Accordion",
|
46545
46562
|
description: `Accordion is an interactive component to stack content in
|
46546
46563
|
tabs, so the information is collapsed and only the titles
|
@@ -46550,7 +46567,7 @@ const defaultCategories = [
|
|
46550
46567
|
component: AccordionBlockItem
|
46551
46568
|
},
|
46552
46569
|
{
|
46553
|
-
type:
|
46570
|
+
type: AdvancedType.CAROUSEL,
|
46554
46571
|
title: "Carousel",
|
46555
46572
|
description: `This block displays a gallery of images or "carousel".
|
46556
46573
|
Readers can interact by hovering and clicking on
|
@@ -46558,7 +46575,7 @@ const defaultCategories = [
|
|
46558
46575
|
component: CarouselBlockItem
|
46559
46576
|
},
|
46560
46577
|
{
|
46561
|
-
type:
|
46578
|
+
type: AdvancedType.SOCIAL,
|
46562
46579
|
title: "Social",
|
46563
46580
|
description: `Displays calls-to-action for various social networks with
|
46564
46581
|
their associated logo.`,
|
@@ -46571,14 +46588,14 @@ const defaultCategories = [
|
|
46571
46588
|
name: "LAYOUT",
|
46572
46589
|
blocks: [
|
46573
46590
|
{
|
46574
|
-
type:
|
46591
|
+
type: AdvancedType.WRAPPER,
|
46575
46592
|
title: "Wrapper",
|
46576
46593
|
description: `Wrapper enables to wrap multiple sections together. It's especially useful to achieve nested layouts with shared border or background images across sections.
|
46577
46594
|
`,
|
46578
46595
|
component: WrapperBlockItem
|
46579
46596
|
},
|
46580
46597
|
{
|
46581
|
-
type:
|
46598
|
+
type: AdvancedType.SECTION,
|
46582
46599
|
title: "Section",
|
46583
46600
|
description: /* @__PURE__ */ React__default.createElement(Stack$6, {
|
46584
46601
|
vertical: true,
|
@@ -46587,7 +46604,7 @@ const defaultCategories = [
|
|
46587
46604
|
component: SectionBlockItem
|
46588
46605
|
},
|
46589
46606
|
{
|
46590
|
-
type:
|
46607
|
+
type: AdvancedType.GROUP,
|
46591
46608
|
title: "Group",
|
46592
46609
|
description: `Group allows you to prevent columns from stacking on
|
46593
46610
|
mobile. To do so, wrap the columns inside a group
|
@@ -46595,7 +46612,7 @@ const defaultCategories = [
|
|
46595
46612
|
component: GroupBlockItem
|
46596
46613
|
},
|
46597
46614
|
{
|
46598
|
-
type:
|
46615
|
+
type: AdvancedType.COLUMN,
|
46599
46616
|
title: "Column",
|
46600
46617
|
description: /* @__PURE__ */ React__default.createElement(Stack$6, {
|
46601
46618
|
vertical: true,
|
@@ -47690,5 +47707,5 @@ const SimpleLayout = (props) => {
|
|
47690
47707
|
}, "Source code")
|
47691
47708
|
}, /* @__PURE__ */ React__default.createElement(SourceCodePanel, null))))), /* @__PURE__ */ React__default.createElement(InteractivePrompt, null), /* @__PURE__ */ React__default.createElement(MergeTagBadgePrompt, null)));
|
47692
47709
|
};
|
47693
|
-
export {
|
47710
|
+
export { ImageUploaderField as $, AttributePanel as A, BlockLayer as B, Color as C, Decoration as D, SourceCodePanel as E, FontFamily as F, SimpleLayout as G, Height as H, InteractivePrompt as I, MergeTagBadgePrompt as J, TextField as K, LetterSpacing as L, Margin as M, NavbarLinkPadding as N, InputWithUnitField as O, Padding as P, SearchField as Q, RICH_TEXT_TOOL_BAR as R, ShortcutToolbar as S, TextAlign as T, TextAreaField as U, VerticalAlign as V, Width as W, NumberField as X, SliderField as Y, ColorPickerField as Z, UploadField as _, getIconNameByBlockType as a, SelectField as a0, TreeSelectField as a1, AutoCompleteField as a2, RadioGroupField as a3, SwitchField as a4, DatePickerField as a5, CheckboxField as a6, EditTabField as a7, EditGridTabField as a8, InlineTextField as a9, enhancer as aa, RichTextField as ab, getBlockTitle as b, commonjsGlobal as c, BlockAttributeConfigurationManager as d, Align as e, AttributesPanelWrapper as f, getContextMergeTags as g, ContainerBackgroundColor as h, TextDecoration as i, Background as j, LineHeight as k, TextTransform as l, BackgroundColor as m, Direction as n, Link as o, Border as p, BorderColor as q, FontSize$1 as r, MergeTags$1 as s, BorderStyle as t, FontStyle as u, BorderWidth as v, FontWeight as w, ClassName as x, BlockMarketManager as y, BlockMaskWrapper as z };
|
47694
47711
|
//# sourceMappingURL=index2.js.map
|