easy-email-extensions 4.3.7 → 4.3.9
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.
    
        package/lib/EditPanel/index.d.ts
    CHANGED
    
    
    
        package/lib/index2.js
    CHANGED
    
    | 
         @@ -39689,7 +39689,7 @@ function Tools(props) { 
     | 
|
| 
       39689 
39689 
     | 
    
         
             
                  }
         
     | 
| 
       39690 
39690 
     | 
    
         
             
                  link2.style.color = "inherit";
         
     | 
| 
       39691 
39691 
     | 
    
         
             
                  link2.style.textDecoration = linkData.underline ? "underline" : "none";
         
     | 
| 
       39692 
     | 
    
         
            -
                  link2.setAttribute("href", linkData.link);
         
     | 
| 
      
 39692 
     | 
    
         
            +
                  link2.setAttribute("href", linkData.link.trim());
         
     | 
| 
       39693 
39693 
     | 
    
         
             
                } else if (cmd === "insertHTML") {
         
     | 
| 
       39694 
39694 
     | 
    
         
             
                  let newContent = val;
         
     | 
| 
       39695 
39695 
     | 
    
         
             
                  if (enabledMergeTagsBadge) {
         
     | 
| 
         @@ -48834,7 +48834,8 @@ function ConfigurationPanel({ 
     | 
|
| 
       48834 
48834 
     | 
    
         
             
            }
         
     | 
| 
       48835 
48835 
     | 
    
         
             
            function ConfigurationDrawer({
         
     | 
| 
       48836 
48836 
     | 
    
         
             
              height,
         
     | 
| 
       48837 
     | 
    
         
            -
              compact
         
     | 
| 
      
 48837 
     | 
    
         
            +
              compact,
         
     | 
| 
      
 48838 
     | 
    
         
            +
              showSourceCode
         
     | 
| 
       48838 
48839 
     | 
    
         
             
            }) {
         
     | 
| 
       48839 
48840 
     | 
    
         
             
              const refWrapper = useRef(null);
         
     | 
| 
       48840 
48841 
     | 
    
         
             
              const { focusIdx: focusIdx2, setFocusIdx } = useFocusIdx();
         
     | 
| 
         @@ -48867,14 +48868,14 @@ function ConfigurationDrawer({ 
     | 
|
| 
       48867 
48868 
     | 
    
         
             
                  onCancel: onClose
         
     | 
| 
       48868 
48869 
     | 
    
         
             
                }, /* @__PURE__ */ React__default.createElement(ConfigurationPanel, {
         
     | 
| 
       48869 
48870 
     | 
    
         
             
                  compact,
         
     | 
| 
       48870 
     | 
    
         
            -
                  showSourceCode 
     | 
| 
      
 48871 
     | 
    
         
            +
                  showSourceCode,
         
     | 
| 
       48871 
48872 
     | 
    
         
             
                  height,
         
     | 
| 
       48872 
48873 
     | 
    
         
             
                  onBack: onClose
         
     | 
| 
       48873 
48874 
     | 
    
         
             
                })));
         
     | 
| 
       48874 
     | 
    
         
            -
              }, [visible, onClose, compact, height]);
         
     | 
| 
      
 48875 
     | 
    
         
            +
              }, [visible, onClose, compact, showSourceCode, height]);
         
     | 
| 
       48875 
48876 
     | 
    
         
             
            }
         
     | 
| 
       48876 
48877 
     | 
    
         
             
            const TabPane = Tabs$1.TabPane;
         
     | 
| 
       48877 
     | 
    
         
            -
            function EditPanel() {
         
     | 
| 
      
 48878 
     | 
    
         
            +
            function EditPanel({ showSourceCode }) {
         
     | 
| 
       48878 
48879 
     | 
    
         
             
              const { height } = useEditorProps();
         
     | 
| 
       48879 
48880 
     | 
    
         
             
              const { compact = true } = useExtensionProps();
         
     | 
| 
       48880 
48881 
     | 
    
         
             
              return /* @__PURE__ */ React__default.createElement(Layout$1.Sider, {
         
     | 
| 
         @@ -48905,6 +48906,7 @@ function EditPanel() { 
     | 
|
| 
       48905 
48906 
     | 
    
         
             
                style: { padding: 20 }
         
     | 
| 
       48906 
48907 
     | 
    
         
             
              }, /* @__PURE__ */ React__default.createElement(BlockLayer, null))))), !compact && /* @__PURE__ */ React__default.createElement(ConfigurationDrawer, {
         
     | 
| 
       48907 
48908 
     | 
    
         
             
                height,
         
     | 
| 
      
 48909 
     | 
    
         
            +
                showSourceCode,
         
     | 
| 
       48908 
48910 
     | 
    
         
             
                compact: Boolean(compact)
         
     | 
| 
       48909 
48911 
     | 
    
         
             
              }));
         
     | 
| 
       48910 
48912 
     | 
    
         
             
            }
         
     | 
| 
         @@ -48997,9 +48999,13 @@ const StandardLayout = (props) => { 
     | 
|
| 
       48997 
48999 
     | 
    
         
             
                  width: "100%",
         
     | 
| 
       48998 
49000 
     | 
    
         
             
                  overflow: "hidden"
         
     | 
| 
       48999 
49001 
     | 
    
         
             
                }
         
     | 
| 
       49000 
     | 
    
         
            -
              }, compact && /* @__PURE__ */ React__default.createElement(EditPanel,  
     | 
| 
      
 49002 
     | 
    
         
            +
              }, compact && /* @__PURE__ */ React__default.createElement(EditPanel, {
         
     | 
| 
      
 49003 
     | 
    
         
            +
                showSourceCode
         
     | 
| 
      
 49004 
     | 
    
         
            +
              }), /* @__PURE__ */ React__default.createElement(Layout$1, {
         
     | 
| 
       49001 
49005 
     | 
    
         
             
                style: { height: containerHeight, flex: 1 }
         
     | 
| 
       49002 
     | 
    
         
            -
              }, props.children), !compact && /* @__PURE__ */ React__default.createElement(EditPanel,  
     | 
| 
      
 49006 
     | 
    
         
            +
              }, props.children), !compact && /* @__PURE__ */ React__default.createElement(EditPanel, {
         
     | 
| 
      
 49007 
     | 
    
         
            +
                showSourceCode
         
     | 
| 
      
 49008 
     | 
    
         
            +
              }), compact ? /* @__PURE__ */ React__default.createElement(Layout$1.Sider, {
         
     | 
| 
       49003 
49009 
     | 
    
         
             
                style: {
         
     | 
| 
       49004 
49010 
     | 
    
         
             
                  height: containerHeight,
         
     | 
| 
       49005 
49011 
     | 
    
         
             
                  minWidth: 300,
         
     |