diy-template-components 0.2.3 → 0.2.4
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 +62 -468
- package/build/index.es.js.map +1 -1
- package/build/index.js +62 -469
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -14,7 +14,6 @@ import Slider from 'react-slick';
|
|
|
14
14
|
import axios from 'axios';
|
|
15
15
|
import moment from 'moment';
|
|
16
16
|
import Countdown from 'react-countdown';
|
|
17
|
-
import ReactDOMServer from 'react-dom/server';
|
|
18
17
|
import { createTheming, createUseStyles as createUseStyles$1, useTheme as useTheme$1 } from 'react-jss';
|
|
19
18
|
|
|
20
19
|
function _extends() {
|
|
@@ -1838,28 +1837,27 @@ function ArimaMadurai() {
|
|
|
1838
1837
|
}
|
|
1839
1838
|
|
|
1840
1839
|
const TYPE_TO_COMPONENT_MAP$1 = {
|
|
1841
|
-
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1842
|
-
GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1843
|
-
BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1844
|
-
BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1845
|
-
FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1846
|
-
TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1847
|
-
VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1848
|
-
VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1849
|
-
INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1850
|
-
TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1851
|
-
IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1852
|
-
FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1853
|
-
COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1854
|
-
TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1855
|
-
TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1856
|
-
CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1857
|
-
FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1858
|
-
WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1859
|
-
COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1860
|
-
FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$
|
|
1861
|
-
TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index
|
|
1862
|
-
EMAIL_DRIP_MARKET: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
|
|
1840
|
+
BANNER_CAROUSEL_RIGHT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$k; })),
|
|
1841
|
+
GRID_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$j; })),
|
|
1842
|
+
BANNER_CAROUSEL_CENTER: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$i; })),
|
|
1843
|
+
BANNER_CAROUSEL_LEFT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$h; })),
|
|
1844
|
+
FORM_SUBSCRIBE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$g; })),
|
|
1845
|
+
TEXT_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$f; })),
|
|
1846
|
+
VIDEO_TESTIMONIAL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$e; })),
|
|
1847
|
+
VIDEO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$d; })),
|
|
1848
|
+
INFO: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$c; })),
|
|
1849
|
+
TEXT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$b; })),
|
|
1850
|
+
IMAGE_GALLERY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$a; })),
|
|
1851
|
+
FAQ_LISTING: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$9; })),
|
|
1852
|
+
COURSE_CAROUSEL: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$7; })),
|
|
1853
|
+
TEAM_CARD: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$6; })),
|
|
1854
|
+
TEXT_GRID: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$8; })),
|
|
1855
|
+
CONTACT: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$5; })),
|
|
1856
|
+
FORM_ENQUIRY: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$4; })),
|
|
1857
|
+
WEBINAR_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$3; })),
|
|
1858
|
+
COURSE_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$2; })),
|
|
1859
|
+
FORM_LANDING_PAGE: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index$1; })),
|
|
1860
|
+
TILES_SECTION: /*#__PURE__*/lazy(() => Promise.resolve().then(function () { return index; }))
|
|
1863
1861
|
};
|
|
1864
1862
|
|
|
1865
1863
|
const getCompToRender$1 = type => TYPE_TO_COMPONENT_MAP$1[type] || (() => null);
|
|
@@ -1868,7 +1866,6 @@ const MemoisedSection$1 = /*#__PURE__*/memo(({
|
|
|
1868
1866
|
sectionData,
|
|
1869
1867
|
extraProps
|
|
1870
1868
|
}) => {
|
|
1871
|
-
console.log('templatesectiondata', sectionData);
|
|
1872
1869
|
const SectionComp = getCompToRender$1(sectionData.type);
|
|
1873
1870
|
return /*#__PURE__*/React.createElement(SectionComp, {
|
|
1874
1871
|
sectionData: sectionData,
|
|
@@ -2317,7 +2314,7 @@ function Carousel({
|
|
|
2317
2314
|
})));
|
|
2318
2315
|
}
|
|
2319
2316
|
|
|
2320
|
-
function Section$
|
|
2317
|
+
function Section$3({
|
|
2321
2318
|
nodeData
|
|
2322
2319
|
}) {
|
|
2323
2320
|
const classes = useSectionStyles$8();
|
|
@@ -2390,7 +2387,7 @@ function BannerCarouselRight({
|
|
|
2390
2387
|
className: classes.bannerCarouselRightSection
|
|
2391
2388
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2392
2389
|
className: classes.sectionContainer
|
|
2393
|
-
}, /*#__PURE__*/React.createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React.createElement(Section$
|
|
2390
|
+
}, /*#__PURE__*/React.createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React.createElement(Section$3, {
|
|
2394
2391
|
nodeData: node,
|
|
2395
2392
|
key: idx
|
|
2396
2393
|
/* or some other unique property */
|
|
@@ -2398,7 +2395,7 @@ function BannerCarouselRight({
|
|
|
2398
2395
|
})))));
|
|
2399
2396
|
}
|
|
2400
2397
|
|
|
2401
|
-
var index$
|
|
2398
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
2402
2399
|
__proto__: null,
|
|
2403
2400
|
'default': BannerCarouselRight
|
|
2404
2401
|
});
|
|
@@ -2650,7 +2647,7 @@ function List({
|
|
|
2650
2647
|
}))));
|
|
2651
2648
|
}
|
|
2652
2649
|
|
|
2653
|
-
var index$
|
|
2650
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
2654
2651
|
__proto__: null,
|
|
2655
2652
|
'default': List
|
|
2656
2653
|
});
|
|
@@ -2749,7 +2746,7 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2749
2746
|
}
|
|
2750
2747
|
}));
|
|
2751
2748
|
|
|
2752
|
-
const Section$
|
|
2749
|
+
const Section$2 = ({
|
|
2753
2750
|
nodeData
|
|
2754
2751
|
}) => {
|
|
2755
2752
|
const {
|
|
@@ -2812,7 +2809,7 @@ function BannerCarouselCenter({
|
|
|
2812
2809
|
} : {};
|
|
2813
2810
|
return /*#__PURE__*/React.createElement("section", {
|
|
2814
2811
|
className: classes.bannerCarouselCenterSection
|
|
2815
|
-
}, /*#__PURE__*/React.createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React.createElement(Section$
|
|
2812
|
+
}, /*#__PURE__*/React.createElement(Wrapper, wrapperProps, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React.createElement(Section$2, {
|
|
2816
2813
|
nodeData: node,
|
|
2817
2814
|
key: idx
|
|
2818
2815
|
/* or some other unique property */
|
|
@@ -2820,7 +2817,7 @@ function BannerCarouselCenter({
|
|
|
2820
2817
|
}))));
|
|
2821
2818
|
}
|
|
2822
2819
|
|
|
2823
|
-
var index$
|
|
2820
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
2824
2821
|
__proto__: null,
|
|
2825
2822
|
'default': BannerCarouselCenter
|
|
2826
2823
|
});
|
|
@@ -2932,7 +2929,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
2932
2929
|
};
|
|
2933
2930
|
});
|
|
2934
2931
|
|
|
2935
|
-
function Section$
|
|
2932
|
+
function Section$1({
|
|
2936
2933
|
nodeData
|
|
2937
2934
|
}) {
|
|
2938
2935
|
const classes = useSectionStyles$5();
|
|
@@ -3003,7 +3000,7 @@ function BannerCarouselLeft({
|
|
|
3003
3000
|
className: classes.section
|
|
3004
3001
|
}, /*#__PURE__*/React.createElement("div", {
|
|
3005
3002
|
className: classes.sectionContainer
|
|
3006
|
-
}, /*#__PURE__*/React.createElement(Wrapper, null, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React.createElement(Section$
|
|
3003
|
+
}, /*#__PURE__*/React.createElement(Wrapper, null, bannerCarousel.components.map((node, idx) => /*#__PURE__*/React.createElement(Section$1, {
|
|
3007
3004
|
nodeData: node,
|
|
3008
3005
|
key: idx
|
|
3009
3006
|
/* or some other unique property */
|
|
@@ -3011,7 +3008,7 @@ function BannerCarouselLeft({
|
|
|
3011
3008
|
})))));
|
|
3012
3009
|
}
|
|
3013
3010
|
|
|
3014
|
-
var index$
|
|
3011
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
3015
3012
|
__proto__: null,
|
|
3016
3013
|
'default': BannerCarouselLeft
|
|
3017
3014
|
});
|
|
@@ -3296,7 +3293,8 @@ function SubscribeToNewsletter({
|
|
|
3296
3293
|
const classes = useSectionStyles$4({
|
|
3297
3294
|
containerWidth
|
|
3298
3295
|
});
|
|
3299
|
-
|
|
3296
|
+
let formInitialValue = nodeData?.inputField?.metadata?.value;
|
|
3297
|
+
const [inputVal, setInputVal] = useState(formInitialValue);
|
|
3300
3298
|
let [isValid, setIsValid] = useState(true);
|
|
3301
3299
|
let [btnDisabled, setBtnDisabled] = useState(false);
|
|
3302
3300
|
|
|
@@ -3313,6 +3311,7 @@ function SubscribeToNewsletter({
|
|
|
3313
3311
|
};
|
|
3314
3312
|
if (!(isPreview || isEdit)) postApiCall(baseURLs, data);
|
|
3315
3313
|
setBtnDisabled(true);
|
|
3314
|
+
setInputVal(formInitialValue);
|
|
3316
3315
|
};
|
|
3317
3316
|
|
|
3318
3317
|
const checkValidity = () => {
|
|
@@ -3404,7 +3403,7 @@ function SubscribeToNewsletter({
|
|
|
3404
3403
|
})))))));
|
|
3405
3404
|
}
|
|
3406
3405
|
|
|
3407
|
-
var index$
|
|
3406
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
3408
3407
|
__proto__: null,
|
|
3409
3408
|
'default': SubscribeToNewsletter
|
|
3410
3409
|
});
|
|
@@ -3571,7 +3570,7 @@ function QuotesComponent() {
|
|
|
3571
3570
|
}));
|
|
3572
3571
|
}
|
|
3573
3572
|
|
|
3574
|
-
function Section
|
|
3573
|
+
function Section({
|
|
3575
3574
|
nodeData
|
|
3576
3575
|
}) {
|
|
3577
3576
|
const {
|
|
@@ -3661,12 +3660,12 @@ function Testimonials({
|
|
|
3661
3660
|
const classes = useTestimonialStyles();
|
|
3662
3661
|
return /*#__PURE__*/React.createElement("div", {
|
|
3663
3662
|
className: classes.testimonialContainer
|
|
3664
|
-
}, /*#__PURE__*/React.createElement(Section
|
|
3663
|
+
}, /*#__PURE__*/React.createElement(Section, {
|
|
3665
3664
|
nodeData: sectionData.components[0]
|
|
3666
3665
|
}));
|
|
3667
3666
|
}
|
|
3668
3667
|
|
|
3669
|
-
var index$
|
|
3668
|
+
var index$f = /*#__PURE__*/Object.freeze({
|
|
3670
3669
|
__proto__: null,
|
|
3671
3670
|
'default': Testimonials
|
|
3672
3671
|
});
|
|
@@ -4045,7 +4044,7 @@ function VideoTestimonial({
|
|
|
4045
4044
|
}))))));
|
|
4046
4045
|
}
|
|
4047
4046
|
|
|
4048
|
-
var index$
|
|
4047
|
+
var index$e = /*#__PURE__*/Object.freeze({
|
|
4049
4048
|
__proto__: null,
|
|
4050
4049
|
'default': VideoTestimonial
|
|
4051
4050
|
});
|
|
@@ -4273,7 +4272,7 @@ function Video({
|
|
|
4273
4272
|
}, carouselContent))));
|
|
4274
4273
|
}
|
|
4275
4274
|
|
|
4276
|
-
var index$
|
|
4275
|
+
var index$d = /*#__PURE__*/Object.freeze({
|
|
4277
4276
|
__proto__: null,
|
|
4278
4277
|
'default': Video
|
|
4279
4278
|
});
|
|
@@ -4499,7 +4498,7 @@ function Info({
|
|
|
4499
4498
|
}, carouselContent))));
|
|
4500
4499
|
}
|
|
4501
4500
|
|
|
4502
|
-
var index$
|
|
4501
|
+
var index$c = /*#__PURE__*/Object.freeze({
|
|
4503
4502
|
__proto__: null,
|
|
4504
4503
|
'default': Info
|
|
4505
4504
|
});
|
|
@@ -4618,7 +4617,7 @@ const TextSection = ({
|
|
|
4618
4617
|
})))));
|
|
4619
4618
|
};
|
|
4620
4619
|
|
|
4621
|
-
var index$
|
|
4620
|
+
var index$b = /*#__PURE__*/Object.freeze({
|
|
4622
4621
|
__proto__: null,
|
|
4623
4622
|
'default': TextSection
|
|
4624
4623
|
});
|
|
@@ -4775,7 +4774,7 @@ function PhotoGallery({
|
|
|
4775
4774
|
}, carouselContent))));
|
|
4776
4775
|
}
|
|
4777
4776
|
|
|
4778
|
-
var index$
|
|
4777
|
+
var index$a = /*#__PURE__*/Object.freeze({
|
|
4779
4778
|
__proto__: null,
|
|
4780
4779
|
'default': PhotoGallery
|
|
4781
4780
|
});
|
|
@@ -4953,7 +4952,7 @@ const Accordion = ({
|
|
|
4953
4952
|
})));
|
|
4954
4953
|
};
|
|
4955
4954
|
|
|
4956
|
-
var index$
|
|
4955
|
+
var index$9 = /*#__PURE__*/Object.freeze({
|
|
4957
4956
|
__proto__: null,
|
|
4958
4957
|
'default': FAQListing
|
|
4959
4958
|
});
|
|
@@ -5118,7 +5117,7 @@ const TextGrid = ({
|
|
|
5118
5117
|
}, carouselContent))));
|
|
5119
5118
|
};
|
|
5120
5119
|
|
|
5121
|
-
var index$
|
|
5120
|
+
var index$8 = /*#__PURE__*/Object.freeze({
|
|
5122
5121
|
__proto__: null,
|
|
5123
5122
|
'default': TextGrid
|
|
5124
5123
|
});
|
|
@@ -5572,7 +5571,7 @@ function SimpleCardsContainer({
|
|
|
5572
5571
|
}, children);
|
|
5573
5572
|
}
|
|
5574
5573
|
|
|
5575
|
-
var index$
|
|
5574
|
+
var index$7 = /*#__PURE__*/Object.freeze({
|
|
5576
5575
|
__proto__: null,
|
|
5577
5576
|
'default': courses
|
|
5578
5577
|
});
|
|
@@ -5795,7 +5794,7 @@ function TeamCard({
|
|
|
5795
5794
|
}, " ", carouselContent)));
|
|
5796
5795
|
}
|
|
5797
5796
|
|
|
5798
|
-
var index$
|
|
5797
|
+
var index$6 = /*#__PURE__*/Object.freeze({
|
|
5799
5798
|
__proto__: null,
|
|
5800
5799
|
'default': TeamCard
|
|
5801
5800
|
});
|
|
@@ -5958,12 +5957,13 @@ function FormEnquiry({
|
|
|
5958
5957
|
const [nodeData] = sectionData.components;
|
|
5959
5958
|
const theme = useTheme();
|
|
5960
5959
|
let [btnDisabled, setBtnDisabled] = useState(false);
|
|
5961
|
-
|
|
5960
|
+
let formInitialValue = {
|
|
5962
5961
|
name: nodeData?.nameField?.metadata?.value,
|
|
5963
5962
|
phone: nodeData?.phoneField?.metadata?.value,
|
|
5964
5963
|
email: nodeData?.emailField?.metadata?.value,
|
|
5965
5964
|
message: nodeData?.messageField?.metadata?.value
|
|
5966
|
-
}
|
|
5965
|
+
};
|
|
5966
|
+
const [inputVal, setInputVal] = useState(formInitialValue);
|
|
5967
5967
|
const [validData, setValidData] = useState({
|
|
5968
5968
|
nameValid: 1,
|
|
5969
5969
|
emailValid: 1,
|
|
@@ -5986,6 +5986,7 @@ function FormEnquiry({
|
|
|
5986
5986
|
};
|
|
5987
5987
|
if (!(isPreview || isEdit)) postApiCall(baseURLs, data);
|
|
5988
5988
|
setBtnDisabled(true);
|
|
5989
|
+
setInputVal(formInitialValue);
|
|
5989
5990
|
};
|
|
5990
5991
|
|
|
5991
5992
|
const checkValidity = (regexField, fieldname, fieldValidity) => {
|
|
@@ -6169,7 +6170,7 @@ function FormEnquiry({
|
|
|
6169
6170
|
}))))));
|
|
6170
6171
|
}
|
|
6171
6172
|
|
|
6172
|
-
var index$
|
|
6173
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
6173
6174
|
__proto__: null,
|
|
6174
6175
|
'default': FormEnquiry
|
|
6175
6176
|
});
|
|
@@ -6369,12 +6370,13 @@ function Contact({
|
|
|
6369
6370
|
const classes = useSectionStyles({
|
|
6370
6371
|
containerWidth
|
|
6371
6372
|
});
|
|
6372
|
-
|
|
6373
|
+
let formInitialValue = {
|
|
6373
6374
|
name: nodeData?.nameField?.metadata?.value,
|
|
6374
6375
|
phone: nodeData?.phoneField?.metadata?.value,
|
|
6375
6376
|
email: nodeData?.emailField?.metadata?.value,
|
|
6376
6377
|
message: nodeData?.messageField?.metadata?.value
|
|
6377
|
-
}
|
|
6378
|
+
};
|
|
6379
|
+
const [inputVal, setInputVal] = useState(formInitialValue);
|
|
6378
6380
|
const [validData, setValidData] = useState({
|
|
6379
6381
|
nameValid: 1,
|
|
6380
6382
|
emailValid: 1,
|
|
@@ -6390,6 +6392,7 @@ function Contact({
|
|
|
6390
6392
|
};
|
|
6391
6393
|
if (!(isPreview || isEdit)) postApiCall(baseURLs, data);
|
|
6392
6394
|
setBtnDisabled(true);
|
|
6395
|
+
setInputVal(formInitialValue);
|
|
6393
6396
|
};
|
|
6394
6397
|
|
|
6395
6398
|
useEffect(() => {
|
|
@@ -6543,7 +6546,7 @@ function Contact({
|
|
|
6543
6546
|
}))))));
|
|
6544
6547
|
}
|
|
6545
6548
|
|
|
6546
|
-
var index$
|
|
6549
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
6547
6550
|
__proto__: null,
|
|
6548
6551
|
'default': Contact
|
|
6549
6552
|
});
|
|
@@ -6980,7 +6983,7 @@ function CoursePromotionPage$1({
|
|
|
6980
6983
|
}))));
|
|
6981
6984
|
}
|
|
6982
6985
|
|
|
6983
|
-
var index$
|
|
6986
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
6984
6987
|
__proto__: null,
|
|
6985
6988
|
'default': CoursePromotionPage$1
|
|
6986
6989
|
});
|
|
@@ -7516,7 +7519,7 @@ function CoursePromotionPage({
|
|
|
7516
7519
|
}))));
|
|
7517
7520
|
}
|
|
7518
7521
|
|
|
7519
|
-
var index$
|
|
7522
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
7520
7523
|
__proto__: null,
|
|
7521
7524
|
'default': CoursePromotionPage
|
|
7522
7525
|
});
|
|
@@ -7860,7 +7863,7 @@ const FormPage = ({
|
|
|
7860
7863
|
})))));
|
|
7861
7864
|
};
|
|
7862
7865
|
|
|
7863
|
-
var index$
|
|
7866
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
7864
7867
|
__proto__: null,
|
|
7865
7868
|
'default': FormPage
|
|
7866
7869
|
});
|
|
@@ -7993,416 +7996,9 @@ function Tiles({
|
|
|
7993
7996
|
}, TileDiv)));
|
|
7994
7997
|
}
|
|
7995
7998
|
|
|
7996
|
-
var index$1 = /*#__PURE__*/Object.freeze({
|
|
7997
|
-
__proto__: null,
|
|
7998
|
-
'default': Tiles
|
|
7999
|
-
});
|
|
8000
|
-
|
|
8001
|
-
const useEmailStyles = createUseStyles(theme => ({
|
|
8002
|
-
wrapper: {
|
|
8003
|
-
fontFamily: theme?.typography?.fontFamily,
|
|
8004
|
-
width: '100%',
|
|
8005
|
-
tableLayout: 'fixed',
|
|
8006
|
-
backgroundColor: '#cccccc'
|
|
8007
|
-
},
|
|
8008
|
-
email_description_para: {
|
|
8009
|
-
'& p': {
|
|
8010
|
-
margin: '0 0 0 !important'
|
|
8011
|
-
}
|
|
8012
|
-
},
|
|
8013
|
-
main: {
|
|
8014
|
-
backgroundColor: '#ffffff',
|
|
8015
|
-
width: '100%',
|
|
8016
|
-
maxWidth: '600px',
|
|
8017
|
-
borderSpacing: '0'
|
|
8018
|
-
},
|
|
8019
|
-
logoimg: {
|
|
8020
|
-
width: '28px',
|
|
8021
|
-
height: '28px'
|
|
8022
|
-
/* margin: 18px 0px; */
|
|
8023
|
-
|
|
8024
|
-
},
|
|
8025
|
-
'p-young-guru-title': {
|
|
8026
|
-
fontFamily: theme?.typography?.fontFamily,
|
|
8027
|
-
fontStyle: 'normal',
|
|
8028
|
-
fontWeight: '500',
|
|
8029
|
-
fontSize: '24px',
|
|
8030
|
-
lineHeight: '31px',
|
|
8031
|
-
color: '#ffffff',
|
|
8032
|
-
marginTop: '18px'
|
|
8033
|
-
},
|
|
8034
|
-
'p-young-guru-sub-title': {
|
|
8035
|
-
fontFamily: theme?.typography?.fontFamily,
|
|
8036
|
-
fontStyle: 'normal',
|
|
8037
|
-
fontWeight: '400',
|
|
8038
|
-
fontSize: '16px',
|
|
8039
|
-
lineHeight: '21px',
|
|
8040
|
-
color: '#dbd9d9',
|
|
8041
|
-
marginBottom: '18px'
|
|
8042
|
-
},
|
|
8043
|
-
p: {
|
|
8044
|
-
padding: '0',
|
|
8045
|
-
margin: '0 !important'
|
|
8046
|
-
},
|
|
8047
|
-
'two-columns': {
|
|
8048
|
-
fontSize: '0',
|
|
8049
|
-
textAlign: 'center'
|
|
8050
|
-
/* padding:35px 0 40px */
|
|
8051
|
-
|
|
8052
|
-
},
|
|
8053
|
-
'two-columns .column': {
|
|
8054
|
-
width: '100%',
|
|
8055
|
-
maxWidth: '275px',
|
|
8056
|
-
display: 'inline-block',
|
|
8057
|
-
verticalAlign: 'top'
|
|
8058
|
-
},
|
|
8059
|
-
'title-lead': {
|
|
8060
|
-
fontFamily: theme?.typography?.fontFamily,
|
|
8061
|
-
fontStyle: 'normal',
|
|
8062
|
-
fontWeight: '500',
|
|
8063
|
-
fontSize: '20px',
|
|
8064
|
-
lineHeight: '26px',
|
|
8065
|
-
color: '#030a21',
|
|
8066
|
-
marginBottom: '5px',
|
|
8067
|
-
textAlign: 'left'
|
|
8068
|
-
} // @media screen and (max-width: 600px) {
|
|
8069
|
-
// }
|
|
8070
|
-
|
|
8071
|
-
}));
|
|
8072
|
-
|
|
8073
|
-
function Section({
|
|
8074
|
-
nodeData,
|
|
8075
|
-
emailRef
|
|
8076
|
-
}) {
|
|
8077
|
-
console.log('nodedataashu', nodeData);
|
|
8078
|
-
const header = nodeData?.components[0];
|
|
8079
|
-
const body = nodeData?.components[1];
|
|
8080
|
-
const landing = nodeData?.components[2];
|
|
8081
|
-
const footer = nodeData?.components[3];
|
|
8082
|
-
const classes = useEmailStyles();
|
|
8083
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("center", {
|
|
8084
|
-
className: classes.wrapper,
|
|
8085
|
-
ref: emailRef
|
|
8086
|
-
}, /*#__PURE__*/React.createElement("table", {
|
|
8087
|
-
className: classes.main,
|
|
8088
|
-
style: {
|
|
8089
|
-
width: '100%'
|
|
8090
|
-
}
|
|
8091
|
-
}, /*#__PURE__*/React.createElement("tbody", null, header?.isActive ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8092
|
-
style: {
|
|
8093
|
-
textAlign: 'center',
|
|
8094
|
-
background: '#ffffff',
|
|
8095
|
-
paddingTop: '16px',
|
|
8096
|
-
width: '100%'
|
|
8097
|
-
}
|
|
8098
|
-
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
8099
|
-
style: {
|
|
8100
|
-
display: 'inline-block'
|
|
8101
|
-
}
|
|
8102
|
-
}, header?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
|
|
8103
|
-
src: header?.components[0]?.metadata?.image,
|
|
8104
|
-
alt: "",
|
|
8105
|
-
className: classes.logoimg
|
|
8106
|
-
}) : /*#__PURE__*/React.createElement("div", {
|
|
8107
|
-
style: {
|
|
8108
|
-
display: 'flex',
|
|
8109
|
-
alignItems: 'center',
|
|
8110
|
-
justifyContent: 'center',
|
|
8111
|
-
fontStyle: 'italic',
|
|
8112
|
-
minHeight: '30px'
|
|
8113
|
-
}
|
|
8114
|
-
}, "Your logo")))))), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, header?.components[1]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
|
|
8115
|
-
src: header?.components[1]?.metadata?.image // width={600}
|
|
8116
|
-
,
|
|
8117
|
-
alt: "",
|
|
8118
|
-
style: {
|
|
8119
|
-
maxWidth: '600px',
|
|
8120
|
-
width: '100%',
|
|
8121
|
-
marginBottom: '-4px'
|
|
8122
|
-
}
|
|
8123
|
-
}) : /*#__PURE__*/React.createElement("div", {
|
|
8124
|
-
style: {
|
|
8125
|
-
maxWidth: '600px',
|
|
8126
|
-
width: '100%',
|
|
8127
|
-
marginBottom: '-4px',
|
|
8128
|
-
minHeight: '250px',
|
|
8129
|
-
background: '#F4F9FD',
|
|
8130
|
-
display: 'flex',
|
|
8131
|
-
alignItems: 'center',
|
|
8132
|
-
justifyContent: 'center',
|
|
8133
|
-
fontStyle: 'italic'
|
|
8134
|
-
}
|
|
8135
|
-
}, "Cover Image")))) : null, body && body?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8136
|
-
style: {
|
|
8137
|
-
textAlign: 'center',
|
|
8138
|
-
width: '100%',
|
|
8139
|
-
backgroundColor: '#ffffff'
|
|
8140
|
-
}
|
|
8141
|
-
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("p", {
|
|
8142
|
-
style: {
|
|
8143
|
-
// fontFamily: 'Roboto',
|
|
8144
|
-
fontStyle: 'normal',
|
|
8145
|
-
fontWeight: '700',
|
|
8146
|
-
fontSize: '24.2487px',
|
|
8147
|
-
lineHeight: '29px',
|
|
8148
|
-
textAlign: 'center',
|
|
8149
|
-
color: '#00ade7',
|
|
8150
|
-
marginTop: '24px'
|
|
8151
|
-
}
|
|
8152
|
-
}, body?.components[0]?.metadata?.text), /*#__PURE__*/React.createElement("p", {
|
|
8153
|
-
style: {
|
|
8154
|
-
// fontFamily: 'Roboto',
|
|
8155
|
-
fontStyle: 'normal',
|
|
8156
|
-
fontWeight: '500',
|
|
8157
|
-
fontSize: '18.1865px',
|
|
8158
|
-
lineHeight: '22px',
|
|
8159
|
-
textAlign: 'center',
|
|
8160
|
-
color: '#0a1629',
|
|
8161
|
-
marginTop: '8px',
|
|
8162
|
-
marginBottom: '15px'
|
|
8163
|
-
}
|
|
8164
|
-
}, body?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("p", {
|
|
8165
|
-
style: {
|
|
8166
|
-
maxWidth: '435px',
|
|
8167
|
-
margin: 'auto',
|
|
8168
|
-
// fontFamily: 'Roboto',
|
|
8169
|
-
fontStyle: 'normal',
|
|
8170
|
-
fontWeight: '400',
|
|
8171
|
-
fontSize: '16.1658px',
|
|
8172
|
-
lineHeight: '22px',
|
|
8173
|
-
color: '#3c4852',
|
|
8174
|
-
textAlign: 'left'
|
|
8175
|
-
},
|
|
8176
|
-
dangerouslySetInnerHTML: {
|
|
8177
|
-
__html: body?.components[2]?.metadata?.text
|
|
8178
|
-
},
|
|
8179
|
-
className: classes.email_description_para
|
|
8180
|
-
})))))) : null, landing?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8181
|
-
style: {
|
|
8182
|
-
width: '100%',
|
|
8183
|
-
padding: '12px'
|
|
8184
|
-
}
|
|
8185
|
-
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8186
|
-
style: {
|
|
8187
|
-
width: '100%',
|
|
8188
|
-
background: '#f4f9fd',
|
|
8189
|
-
borderRadius: '16px',
|
|
8190
|
-
padding: '32px',
|
|
8191
|
-
textAlign: 'center'
|
|
8192
|
-
}
|
|
8193
|
-
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, landing?.components[0]?.metadata?.image?.length ? /*#__PURE__*/React.createElement("img", {
|
|
8194
|
-
src: landing?.components[0]?.metadata?.image,
|
|
8195
|
-
alt: "",
|
|
8196
|
-
style: {
|
|
8197
|
-
width: '100%'
|
|
8198
|
-
}
|
|
8199
|
-
}) : /*#__PURE__*/React.createElement("div", {
|
|
8200
|
-
style: {
|
|
8201
|
-
background: '#D9D9D9F0',
|
|
8202
|
-
width: '100%',
|
|
8203
|
-
minHeight: '250px',
|
|
8204
|
-
display: 'flex',
|
|
8205
|
-
alignItems: 'center',
|
|
8206
|
-
justifyContent: 'center',
|
|
8207
|
-
fontStyle: 'italic'
|
|
8208
|
-
}
|
|
8209
|
-
}, "Thumbnail Image"), /*#__PURE__*/React.createElement("p", {
|
|
8210
|
-
style: {
|
|
8211
|
-
// fontFamily: 'Roboto',
|
|
8212
|
-
fontStyle: 'normal',
|
|
8213
|
-
fontWeight: '500',
|
|
8214
|
-
fontSize: '18.1865px',
|
|
8215
|
-
lineHeight: '22px',
|
|
8216
|
-
color: '#0a1629',
|
|
8217
|
-
marginTop: '16px',
|
|
8218
|
-
marginBottom: '16px',
|
|
8219
|
-
textAlign: 'left'
|
|
8220
|
-
}
|
|
8221
|
-
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("a", {
|
|
8222
|
-
href: landing?.components[3]?.metadata?.text,
|
|
8223
|
-
target: "_blank",
|
|
8224
|
-
style: {
|
|
8225
|
-
textDecoration: 'none'
|
|
8226
|
-
}
|
|
8227
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
8228
|
-
style: {
|
|
8229
|
-
background: '#009ae0',
|
|
8230
|
-
borderRadius: '7.18333px',
|
|
8231
|
-
color: 'white',
|
|
8232
|
-
textDecoration: 'none',
|
|
8233
|
-
padding: '12px 0px',
|
|
8234
|
-
// fontFamily: 'Roboto',
|
|
8235
|
-
fontStyle: 'normal',
|
|
8236
|
-
fontWeight: '600',
|
|
8237
|
-
fontSize: '20.55px',
|
|
8238
|
-
lineHeight: '32px',
|
|
8239
|
-
textTransform: 'uppercase',
|
|
8240
|
-
color: '#fafafa'
|
|
8241
|
-
}
|
|
8242
|
-
}, landing?.components[2]?.metadata?.text)))))))))) : null, footer?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8243
|
-
style: {
|
|
8244
|
-
width: '100%',
|
|
8245
|
-
background: '#e3f0ff',
|
|
8246
|
-
textAlign: 'center'
|
|
8247
|
-
}
|
|
8248
|
-
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("p", {
|
|
8249
|
-
style: {
|
|
8250
|
-
// fontFamily: 'Roboto',
|
|
8251
|
-
fontStyle: 'normal',
|
|
8252
|
-
fontWeight: '700',
|
|
8253
|
-
fontSize: '18px',
|
|
8254
|
-
lineHeight: '29px',
|
|
8255
|
-
textAlign: 'center',
|
|
8256
|
-
color: '#0a1629',
|
|
8257
|
-
marginTop: '32px'
|
|
8258
|
-
}
|
|
8259
|
-
}, "Connect with us on:"), /*#__PURE__*/React.createElement("table", {
|
|
8260
|
-
style: {
|
|
8261
|
-
width: '100%',
|
|
8262
|
-
marginTop: '8px',
|
|
8263
|
-
marginBottom: '16px'
|
|
8264
|
-
}
|
|
8265
|
-
}, /*#__PURE__*/React.createElement("tbody", null, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("a", {
|
|
8266
|
-
href: footer?.components[0]?.metadata?.text,
|
|
8267
|
-
target: "_blank",
|
|
8268
|
-
style: {
|
|
8269
|
-
textDecoration: 'none'
|
|
8270
|
-
}
|
|
8271
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
8272
|
-
src: footer?.components[0]?.metadata?.iconUrl,
|
|
8273
|
-
alt: "",
|
|
8274
|
-
style: {
|
|
8275
|
-
width: '36px',
|
|
8276
|
-
height: '36px'
|
|
8277
|
-
}
|
|
8278
|
-
})), /*#__PURE__*/React.createElement("a", {
|
|
8279
|
-
href: footer?.components[1]?.metadata?.text,
|
|
8280
|
-
target: "_blank",
|
|
8281
|
-
style: {
|
|
8282
|
-
textDecoration: 'none'
|
|
8283
|
-
}
|
|
8284
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
8285
|
-
src: footer?.components[1]?.metadata?.iconUrl,
|
|
8286
|
-
alt: "",
|
|
8287
|
-
style: {
|
|
8288
|
-
width: '36px',
|
|
8289
|
-
height: '36px',
|
|
8290
|
-
margin: '0px 12px'
|
|
8291
|
-
}
|
|
8292
|
-
})), /*#__PURE__*/React.createElement("a", {
|
|
8293
|
-
href: footer?.components[2]?.metadata?.text,
|
|
8294
|
-
target: "_blank",
|
|
8295
|
-
style: {
|
|
8296
|
-
textDecoration: 'none'
|
|
8297
|
-
}
|
|
8298
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
8299
|
-
src: footer?.components[2]?.metadata?.iconUrl,
|
|
8300
|
-
alt: "",
|
|
8301
|
-
style: {
|
|
8302
|
-
width: '36px',
|
|
8303
|
-
height: '36px'
|
|
8304
|
-
}
|
|
8305
|
-
})), /*#__PURE__*/React.createElement("a", {
|
|
8306
|
-
href: footer?.components[3]?.metadata?.text,
|
|
8307
|
-
target: "_blank",
|
|
8308
|
-
style: {
|
|
8309
|
-
textDecoration: 'none'
|
|
8310
|
-
}
|
|
8311
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
8312
|
-
src: footer?.components[3]?.metadata?.iconUrl,
|
|
8313
|
-
alt: "",
|
|
8314
|
-
style: {
|
|
8315
|
-
width: '36px',
|
|
8316
|
-
height: '36px',
|
|
8317
|
-
margin: '0px 12px'
|
|
8318
|
-
}
|
|
8319
|
-
})), /*#__PURE__*/React.createElement("a", {
|
|
8320
|
-
href: footer?.components[4]?.metadata?.text,
|
|
8321
|
-
target: "_blank",
|
|
8322
|
-
style: {
|
|
8323
|
-
textDecoration: 'none'
|
|
8324
|
-
}
|
|
8325
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
8326
|
-
src: footer?.components[4]?.metadata?.iconUrl,
|
|
8327
|
-
alt: "",
|
|
8328
|
-
style: {
|
|
8329
|
-
width: '36px',
|
|
8330
|
-
height: '36px'
|
|
8331
|
-
}
|
|
8332
|
-
})), /*#__PURE__*/React.createElement("table", {
|
|
8333
|
-
style: {
|
|
8334
|
-
width: '100%',
|
|
8335
|
-
marginTop: '13px'
|
|
8336
|
-
}
|
|
8337
|
-
}, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("p", {
|
|
8338
|
-
style: {
|
|
8339
|
-
// fontFamily: 'Roboto',
|
|
8340
|
-
fontStyle: 'normal',
|
|
8341
|
-
fontWeight: '400',
|
|
8342
|
-
fontSize: '14.1451px',
|
|
8343
|
-
lineHeight: '21px',
|
|
8344
|
-
textAlign: 'center',
|
|
8345
|
-
color: '#7d8592'
|
|
8346
|
-
}
|
|
8347
|
-
}, "For any concerns, mail us at", footer?.components[5]?.metaData?.emailId), /*#__PURE__*/React.createElement("p", {
|
|
8348
|
-
style: {
|
|
8349
|
-
// fontFamily: 'Roboto',
|
|
8350
|
-
fontStyle: 'normal',
|
|
8351
|
-
fontWeight: '400',
|
|
8352
|
-
fontSize: '14.1451px',
|
|
8353
|
-
lineHeight: '24px',
|
|
8354
|
-
textAlign: 'center',
|
|
8355
|
-
color: '#7d8592'
|
|
8356
|
-
}
|
|
8357
|
-
}, "Copyright \xA9 2022 | vaibhavphotography.com"), /*#__PURE__*/React.createElement("p", {
|
|
8358
|
-
style: {
|
|
8359
|
-
// fontFamily: 'Roboto',
|
|
8360
|
-
fontStyle: 'normal',
|
|
8361
|
-
fontWeight: '400',
|
|
8362
|
-
fontSize: '14.1451px',
|
|
8363
|
-
lineHeight: '24px',
|
|
8364
|
-
textAlign: 'center',
|
|
8365
|
-
color: '#7d8592',
|
|
8366
|
-
marginBottom: '22px'
|
|
8367
|
-
}
|
|
8368
|
-
}, "All rights reserved.")))))))))))))) : null))));
|
|
8369
|
-
}
|
|
8370
|
-
|
|
8371
|
-
function EmailDripMarket({
|
|
8372
|
-
sectionData,
|
|
8373
|
-
extraProps = {}
|
|
8374
|
-
}) {
|
|
8375
|
-
// const classes = useSectionStyles({ containerWidth });
|
|
8376
|
-
const isInitialMount = useRef(true); // useEffect(() => {
|
|
8377
|
-
// convertToHtml(sectionData)
|
|
8378
|
-
// }, [sectionData])
|
|
8379
|
-
|
|
8380
|
-
const convertToHtml = sectionData => {
|
|
8381
|
-
const html = ReactDOMServer.renderToStaticMarkup( /*#__PURE__*/React.createElement(Section, {
|
|
8382
|
-
nodeData: sectionData
|
|
8383
|
-
}));
|
|
8384
|
-
return html;
|
|
8385
|
-
};
|
|
8386
|
-
|
|
8387
|
-
useEffect(() => {
|
|
8388
|
-
if (isInitialMount.current) {
|
|
8389
|
-
isInitialMount.current = false;
|
|
8390
|
-
} else {
|
|
8391
|
-
extraProps?.callbackHtml(convertToHtml(sectionData));
|
|
8392
|
-
}
|
|
8393
|
-
}, [extraProps?.convertedHtml]); // const mockData = sectionData?.sections[0];
|
|
8394
|
-
|
|
8395
|
-
const emailRef = useRef(null);
|
|
8396
|
-
console.log('skdjnkdln', extraProps);
|
|
8397
|
-
return /*#__PURE__*/React.createElement("section", null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Section, {
|
|
8398
|
-
sectionRef: emailRef,
|
|
8399
|
-
nodeData: sectionData
|
|
8400
|
-
})));
|
|
8401
|
-
}
|
|
8402
|
-
|
|
8403
7999
|
var index = /*#__PURE__*/Object.freeze({
|
|
8404
8000
|
__proto__: null,
|
|
8405
|
-
'default':
|
|
8001
|
+
'default': Tiles
|
|
8406
8002
|
});
|
|
8407
8003
|
|
|
8408
8004
|
const TYPE_TO_COMPONENT_MAP = {
|
|
@@ -8426,8 +8022,7 @@ const TYPE_TO_COMPONENT_MAP = {
|
|
|
8426
8022
|
WEBINAR_LANDING_PAGE: CoursePromotionPage$1,
|
|
8427
8023
|
COURSE_LANDING_PAGE: CoursePromotionPage,
|
|
8428
8024
|
FORM_LANDING_PAGE: FormPage,
|
|
8429
|
-
TILES_SECTION: Tiles
|
|
8430
|
-
EMAIL_DRIP_MARKET: EmailDripMarket
|
|
8025
|
+
TILES_SECTION: Tiles
|
|
8431
8026
|
};
|
|
8432
8027
|
|
|
8433
8028
|
const getCompToRender = type => TYPE_TO_COMPONENT_MAP[type] || (() => null);
|
|
@@ -8436,7 +8031,6 @@ const MemoisedSection = /*#__PURE__*/memo(({
|
|
|
8436
8031
|
sectionData,
|
|
8437
8032
|
extraProps
|
|
8438
8033
|
}) => {
|
|
8439
|
-
console.log('templatesectiondata', sectionData);
|
|
8440
8034
|
const SectionComp = getCompToRender(sectionData.type);
|
|
8441
8035
|
return /*#__PURE__*/React.createElement(SectionComp, {
|
|
8442
8036
|
sectionData: sectionData,
|