diy-template-components 2.0.63 → 2.0.65
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 +8 -11
- package/build/index.es.js.map +1 -1
- package/build/index.js +8 -11
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -2437,7 +2437,7 @@ function PageRenderer$1({
|
|
|
2437
2437
|
isCustomWebsite,
|
|
2438
2438
|
countryCode,
|
|
2439
2439
|
currencySymbol,
|
|
2440
|
-
pageData = {}
|
|
2440
|
+
pageData: fullPageData = {}
|
|
2441
2441
|
}) {
|
|
2442
2442
|
const navList = header?.navs;
|
|
2443
2443
|
const context = useMemo(() => ({
|
|
@@ -2460,8 +2460,8 @@ function PageRenderer$1({
|
|
|
2460
2460
|
_id,
|
|
2461
2461
|
countryCode,
|
|
2462
2462
|
currencySymbol,
|
|
2463
|
-
|
|
2464
|
-
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol,
|
|
2463
|
+
fullPageData
|
|
2464
|
+
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, fullPageData]);
|
|
2465
2465
|
const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2466
2466
|
const Wrapper = SectionWrapper || Fragment;
|
|
2467
2467
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
@@ -10132,14 +10132,11 @@ const TimerAndCall = ({
|
|
|
10132
10132
|
extraProps = {}
|
|
10133
10133
|
}) => {
|
|
10134
10134
|
const {
|
|
10135
|
-
_id,
|
|
10136
|
-
baseURLs,
|
|
10137
10135
|
isMobile,
|
|
10138
|
-
|
|
10139
|
-
pageData
|
|
10136
|
+
fullPageData
|
|
10140
10137
|
} = useContext(PageContext);
|
|
10141
10138
|
const [nodeData] = sectionData?.components;
|
|
10142
|
-
console.log('sid
|
|
10139
|
+
console.log('sid sectionData8', sectionData, nodeData, fullPageData);
|
|
10143
10140
|
const classes = useTimerCallPageStyles({
|
|
10144
10141
|
isMobile
|
|
10145
10142
|
});
|
|
@@ -10250,7 +10247,7 @@ function PageRenderer({
|
|
|
10250
10247
|
isTutorWebsite = false,
|
|
10251
10248
|
extraProps,
|
|
10252
10249
|
hideLogin,
|
|
10253
|
-
pageData = {}
|
|
10250
|
+
pageData: fullPageData = {}
|
|
10254
10251
|
}) {
|
|
10255
10252
|
const navList = header?.navs;
|
|
10256
10253
|
const context = useMemo(() => ({
|
|
@@ -10273,8 +10270,8 @@ function PageRenderer({
|
|
|
10273
10270
|
_id,
|
|
10274
10271
|
countryCode,
|
|
10275
10272
|
currencySymbol,
|
|
10276
|
-
|
|
10277
|
-
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol,
|
|
10273
|
+
fullPageData
|
|
10274
|
+
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol, fullPageData]);
|
|
10278
10275
|
const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
10279
10276
|
const Wrapper = SectionWrapper || Fragment;
|
|
10280
10277
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|