diy-template-components 0.2.14 → 0.2.16
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/build/index.es.js +45 -30
- package/build/index.es.js.map +1 -1
- package/build/index.js +45 -30
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -8096,9 +8096,6 @@ function Section({
|
|
|
8096
8096
|
emailRef,
|
|
8097
8097
|
customHtmlData
|
|
8098
8098
|
}) {
|
|
8099
|
-
const {
|
|
8100
|
-
isEdit
|
|
8101
|
-
} = React.useContext(PageContext);
|
|
8102
8099
|
const header = nodeData?.components[0];
|
|
8103
8100
|
const body = nodeData?.components[1];
|
|
8104
8101
|
const landing = nodeData?.components[2];
|
|
@@ -8268,7 +8265,13 @@ function Section({
|
|
|
8268
8265
|
textAlign: 'left'
|
|
8269
8266
|
},
|
|
8270
8267
|
ref: landing?.components[1]?.refSetter
|
|
8271
|
-
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("
|
|
8268
|
+
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
8269
|
+
href: landing?.components[3]?.metadata?.text,
|
|
8270
|
+
target: "_blank",
|
|
8271
|
+
style: {
|
|
8272
|
+
textDecoration: 'none'
|
|
8273
|
+
}
|
|
8274
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8272
8275
|
style: {
|
|
8273
8276
|
background: '#009AE0',
|
|
8274
8277
|
borderRadius: '7.18333px',
|
|
@@ -8284,11 +8287,8 @@ function Section({
|
|
|
8284
8287
|
textTransform: 'uppercase',
|
|
8285
8288
|
color: '#fafafa'
|
|
8286
8289
|
},
|
|
8287
|
-
onClick: () => {
|
|
8288
|
-
!isEdit ? window.open(landing?.components[3]?.metadata?.text, '_blank') : null;
|
|
8289
|
-
},
|
|
8290
8290
|
ref: landing?.components[2]?.refSetter
|
|
8291
|
-
}, landing?.components[2]?.metadata?.text))))))))) : null, footer?.isActive ? /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8291
|
+
}, landing?.components[2]?.metadata?.text)))))))))) : null, footer?.isActive ? /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8292
8292
|
style: {
|
|
8293
8293
|
width: '100%',
|
|
8294
8294
|
background: '#e3f0ff',
|
|
@@ -8311,7 +8311,13 @@ function Section({
|
|
|
8311
8311
|
marginTop: '8px',
|
|
8312
8312
|
marginBottom: '16px'
|
|
8313
8313
|
}
|
|
8314
|
-
}, /*#__PURE__*/React__default["default"].createElement("tbody", null, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("
|
|
8314
|
+
}, /*#__PURE__*/React__default["default"].createElement("tbody", null, /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
8315
|
+
href: footer?.components[0]?.metadata?.text,
|
|
8316
|
+
target: "_blank",
|
|
8317
|
+
style: {
|
|
8318
|
+
textDecoration: 'none'
|
|
8319
|
+
}
|
|
8320
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8315
8321
|
src: footer?.components[0]?.metadata?.text ? footer?.components[0]?.metadata?.iconUrlColor : footer?.components[0]?.metadata?.iconUrl,
|
|
8316
8322
|
alt: "",
|
|
8317
8323
|
style: {
|
|
@@ -8319,11 +8325,14 @@ function Section({
|
|
|
8319
8325
|
height: '36px',
|
|
8320
8326
|
cursor: 'pointer'
|
|
8321
8327
|
},
|
|
8322
|
-
ref: footer?.components[0]?.refSetter
|
|
8323
|
-
|
|
8324
|
-
|
|
8328
|
+
ref: footer?.components[0]?.refSetter
|
|
8329
|
+
})), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
8330
|
+
href: footer?.components[1]?.metadata?.text,
|
|
8331
|
+
target: "_blank",
|
|
8332
|
+
style: {
|
|
8333
|
+
textDecoration: 'none'
|
|
8325
8334
|
}
|
|
8326
|
-
}
|
|
8335
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8327
8336
|
src: footer?.components[1]?.metadata?.text ? footer?.components[1]?.metadata?.iconUrlColor : footer?.components[1]?.metadata?.iconUrl,
|
|
8328
8337
|
alt: "",
|
|
8329
8338
|
style: {
|
|
@@ -8332,11 +8341,14 @@ function Section({
|
|
|
8332
8341
|
margin: '0px 12px',
|
|
8333
8342
|
cursor: 'pointer'
|
|
8334
8343
|
},
|
|
8335
|
-
onClick: () => {
|
|
8336
|
-
isEdit ? null : window.open(footer?.components[1]?.metadata?.text, '_blank');
|
|
8337
|
-
},
|
|
8338
8344
|
ref: footer?.components[1]?.refSetter
|
|
8339
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
8345
|
+
})), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
8346
|
+
href: footer?.components[2]?.metadata?.text,
|
|
8347
|
+
target: "_blank",
|
|
8348
|
+
style: {
|
|
8349
|
+
textDecoration: 'none'
|
|
8350
|
+
}
|
|
8351
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8340
8352
|
src: footer?.components[2]?.metadata?.text ? footer?.components[2]?.metadata?.iconUrlColor : footer?.components[2]?.metadata?.iconUrl,
|
|
8341
8353
|
alt: "",
|
|
8342
8354
|
style: {
|
|
@@ -8344,11 +8356,14 @@ function Section({
|
|
|
8344
8356
|
height: '36px',
|
|
8345
8357
|
cursor: 'pointer'
|
|
8346
8358
|
},
|
|
8347
|
-
onClick: () => {
|
|
8348
|
-
isEdit ? null : window.open(footer?.components[2]?.metadata?.text, '_blank');
|
|
8349
|
-
},
|
|
8350
8359
|
ref: footer?.components[2]?.refSetter
|
|
8351
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
8360
|
+
})), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
8361
|
+
href: footer?.components[3]?.metadata?.text,
|
|
8362
|
+
target: "_blank",
|
|
8363
|
+
style: {
|
|
8364
|
+
textDecoration: 'none'
|
|
8365
|
+
}
|
|
8366
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8352
8367
|
src: footer?.components[3]?.metadata?.text ? footer?.components[3]?.metadata?.iconUrlColor : footer?.components[3]?.metadata?.iconUrl,
|
|
8353
8368
|
alt: "",
|
|
8354
8369
|
style: {
|
|
@@ -8357,11 +8372,14 @@ function Section({
|
|
|
8357
8372
|
margin: '0px 12px',
|
|
8358
8373
|
cursor: 'pointer'
|
|
8359
8374
|
},
|
|
8360
|
-
ref: footer?.components[3]?.refSetter
|
|
8361
|
-
|
|
8362
|
-
|
|
8375
|
+
ref: footer?.components[3]?.refSetter
|
|
8376
|
+
})), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
8377
|
+
href: footer?.components[4]?.metadata?.text,
|
|
8378
|
+
target: "_blank",
|
|
8379
|
+
style: {
|
|
8380
|
+
textDecoration: 'none'
|
|
8363
8381
|
}
|
|
8364
|
-
}
|
|
8382
|
+
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8365
8383
|
src: footer?.components[4]?.metadata?.text ? footer?.components[4]?.metadata?.iconUrlColor : footer?.components[4]?.metadata?.iconUrl,
|
|
8366
8384
|
alt: "",
|
|
8367
8385
|
style: {
|
|
@@ -8369,11 +8387,8 @@ function Section({
|
|
|
8369
8387
|
height: '36px',
|
|
8370
8388
|
cursor: 'pointer'
|
|
8371
8389
|
},
|
|
8372
|
-
ref: footer?.components[4]?.refSetter
|
|
8373
|
-
|
|
8374
|
-
isEdit ? null : window.open(footer?.components[4]?.metadata?.text, '_blank');
|
|
8375
|
-
}
|
|
8376
|
-
}), /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8390
|
+
ref: footer?.components[4]?.refSetter
|
|
8391
|
+
})), /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8377
8392
|
style: {
|
|
8378
8393
|
width: '100%',
|
|
8379
8394
|
marginTop: '13px'
|