easy-email-extensions 3.1.19 → 3.1.20
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/SimpleLayout/SimpleLayout.d.ts +3 -1
- package/lib/index2.js +8 -2
- package/lib/index2.js.map +1 -1
- package/package.json +4 -3
package/lib/index2.js
CHANGED
@@ -45164,6 +45164,7 @@ var enUS = {
|
|
45164
45164
|
};
|
45165
45165
|
const SimpleLayout = (props) => {
|
45166
45166
|
const { height: containerHeight } = useEditorProps();
|
45167
|
+
const { showSourceCode = true } = props;
|
45167
45168
|
return /* @__PURE__ */ React__default.createElement(ConfigProvider, {
|
45168
45169
|
locale: enUS
|
45169
45170
|
}, /* @__PURE__ */ React__default.createElement(Layout$1, {
|
@@ -45198,7 +45199,12 @@ const SimpleLayout = (props) => {
|
|
45198
45199
|
}, /* @__PURE__ */ React__default.createElement(BlockLayer, null))))), /* @__PURE__ */ React__default.createElement(Layout$1, {
|
45199
45200
|
style: { height: containerHeight }
|
45200
45201
|
}, props.children), /* @__PURE__ */ React__default.createElement(Layout$1.Sider, {
|
45201
|
-
style: {
|
45202
|
+
style: {
|
45203
|
+
height: containerHeight,
|
45204
|
+
minWidth: 300,
|
45205
|
+
maxWidth: 350,
|
45206
|
+
width: 350
|
45207
|
+
}
|
45202
45208
|
}, /* @__PURE__ */ React__default.createElement(Card$1, {
|
45203
45209
|
size: "small",
|
45204
45210
|
id: "rightSide",
|
@@ -45213,7 +45219,7 @@ const SimpleLayout = (props) => {
|
|
45213
45219
|
style: { marginTop: 0 },
|
45214
45220
|
key: "Configuration",
|
45215
45221
|
title: "Configuration"
|
45216
|
-
}, /* @__PURE__ */ React__default.createElement(AttributePanel, null)), /* @__PURE__ */ React__default.createElement(Tabs$1.TabPane, {
|
45222
|
+
}, /* @__PURE__ */ React__default.createElement(AttributePanel, null)), showSourceCode && /* @__PURE__ */ React__default.createElement(Tabs$1.TabPane, {
|
45217
45223
|
key: "Source code",
|
45218
45224
|
title: "Source code"
|
45219
45225
|
}, /* @__PURE__ */ React__default.createElement(SourceCodePanel, null))))), /* @__PURE__ */ React__default.createElement(InteractivePrompt, null)));
|