tabexseriescomponents 0.0.381 → 0.0.383
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/dist/index.cjs.js +107 -44
- package/dist/index.esm.js +107 -44
- package/dist/index.umd.js +107 -44
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15148,8 +15148,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
15148
15148
|
var parentcollections = [];
|
|
15149
15149
|
(_categories = categories) === null || _categories === void 0 || _categories.forEach(function (catitem, catindex) {
|
|
15150
15150
|
catitem === null || catitem === void 0 || catitem.parentcolletions.forEach(function (parentcolitem) {
|
|
15151
|
-
parentcolitem.
|
|
15152
|
-
|
|
15151
|
+
if (parentcolitem.isshowntocustomers == 1) {
|
|
15152
|
+
parentcolitem.categoryid = catitem.categoryid;
|
|
15153
|
+
parentcollections.push(parentcolitem);
|
|
15154
|
+
}
|
|
15153
15155
|
});
|
|
15154
15156
|
});
|
|
15155
15157
|
if (fetchingtype == 'parentcollections') {
|
|
@@ -15193,8 +15195,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
15193
15195
|
var _parentcolitem$collec;
|
|
15194
15196
|
parentcolitem.categoryid = catitem.categoryid;
|
|
15195
15197
|
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (collitem, colindex) {
|
|
15196
|
-
collitem.
|
|
15197
|
-
|
|
15198
|
+
if (collitem.isshowntocustomers == 1) {
|
|
15199
|
+
collitem.parentcollectionid = parentcolitem.parentcollectionid;
|
|
15200
|
+
collections.push(collitem);
|
|
15201
|
+
}
|
|
15198
15202
|
});
|
|
15199
15203
|
});
|
|
15200
15204
|
});
|
|
@@ -35831,7 +35835,7 @@ styleInject(css_248z$m);
|
|
|
35831
35835
|
function ownKeys$1B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
35832
35836
|
function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35833
35837
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
35834
|
-
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35838
|
+
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35835
35839
|
var _useState = React.useState(''),
|
|
35836
35840
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
35837
35841
|
sectionproperties = _useState2[0],
|
|
@@ -35852,6 +35856,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
35852
35856
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
35853
35857
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
35854
35858
|
var actions = props.actions;
|
|
35859
|
+
var _useState3 = React.useState([]),
|
|
35860
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
35861
|
+
textarray = _useState4[0],
|
|
35862
|
+
settextarray = _useState4[1];
|
|
35855
35863
|
React.useEffect(function () {
|
|
35856
35864
|
var secpropobj = {};
|
|
35857
35865
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -35868,10 +35876,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
35868
35876
|
}
|
|
35869
35877
|
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
35870
35878
|
}, [StatePagePropertiesContext]);
|
|
35871
|
-
var
|
|
35872
|
-
|
|
35873
|
-
logoarrayofobjects =
|
|
35874
|
-
setlogoarrayofobjects =
|
|
35879
|
+
var _useState5 = React.useState([]),
|
|
35880
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
35881
|
+
logoarrayofobjects = _useState6[0],
|
|
35882
|
+
setlogoarrayofobjects = _useState6[1];
|
|
35875
35883
|
React.useEffect(function () {
|
|
35876
35884
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
35877
35885
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -36160,12 +36168,53 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
36160
36168
|
}
|
|
36161
36169
|
})
|
|
36162
36170
|
};
|
|
36171
|
+
React.useEffect(function () {
|
|
36172
|
+
if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
|
|
36173
|
+
var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
|
|
36174
|
+
if (Array.isArray(textarrayparsed)) {
|
|
36175
|
+
settextarray(_toConsumableArray__default["default"](textarrayparsed));
|
|
36176
|
+
}
|
|
36177
|
+
}
|
|
36178
|
+
}, [templateproperties_context]);
|
|
36163
36179
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36164
36180
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-center "
|
|
36165
36181
|
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
36166
36182
|
sectionpropertiesprops: sectionproperties,
|
|
36167
36183
|
actions: actions
|
|
36168
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36184
|
+
}), sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36185
|
+
"class": "col-lg-12 px-0 allcentered",
|
|
36186
|
+
style: {
|
|
36187
|
+
background: templateproperties_context.textsliderbgcolor,
|
|
36188
|
+
paddingTop: templateproperties_context.paddinghorizontal + 'px',
|
|
36189
|
+
paddingBottom: templateproperties_context.paddinghorizontal + 'px'
|
|
36190
|
+
}
|
|
36191
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36192
|
+
"class": "col-lg-4 col-md-6"
|
|
36193
|
+
}, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
36194
|
+
"class": "d-flex flex-row align-items-center"
|
|
36195
|
+
}, textarray.map(function (item, index) {
|
|
36196
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36197
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36198
|
+
style: {
|
|
36199
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36200
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36201
|
+
fontWeight: templateproperties_context.textsliderfontweight,
|
|
36202
|
+
marginLeft: 100,
|
|
36203
|
+
marginRight: 100
|
|
36204
|
+
}
|
|
36205
|
+
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
36206
|
+
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36207
|
+
"class": "w-100 allcentered"
|
|
36208
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36209
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36210
|
+
style: {
|
|
36211
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36212
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36213
|
+
fontWeight: templateproperties_context.textsliderfontweight
|
|
36214
|
+
}
|
|
36215
|
+
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))))
|
|
36216
|
+
// <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />
|
|
36217
|
+
, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36169
36218
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 pl-lg-2 pr-lg-2 '
|
|
36170
36219
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36171
36220
|
"class": "row m-0 w-100 "
|
|
@@ -44906,7 +44955,11 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
44906
44955
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
44907
44956
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
44908
44957
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
44909
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
44958
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
44959
|
+
'@media (max-width: 800px)': {
|
|
44960
|
+
paddingTop: sectionproperties.paddingverticalresponsive + 'px',
|
|
44961
|
+
paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
|
|
44962
|
+
}
|
|
44910
44963
|
}),
|
|
44911
44964
|
viewmorebtn: glamor.css({
|
|
44912
44965
|
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
@@ -50172,6 +50225,12 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50172
50225
|
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
50173
50226
|
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
50174
50227
|
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
50228
|
+
},
|
|
50229
|
+
height: '100%',
|
|
50230
|
+
width: '100%',
|
|
50231
|
+
'@media (max-width: 800px)': {
|
|
50232
|
+
width: sectionproperties.innerwidthheightresp + '%',
|
|
50233
|
+
height: sectionproperties.innerwidthheightresp + '%'
|
|
50175
50234
|
}
|
|
50176
50235
|
}),
|
|
50177
50236
|
text1styles: glamor.css({
|
|
@@ -50250,7 +50309,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50250
50309
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50251
50310
|
className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
|
|
50252
50311
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50253
|
-
className:
|
|
50312
|
+
className: sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100 allcentered' : 'row m-0 w-100 allcentered'
|
|
50254
50313
|
}, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
50255
50314
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50256
50315
|
className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
|
|
@@ -50276,16 +50335,13 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50276
50335
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50277
50336
|
className: "row ml-0 mr-0 d-flex justify-content-center w-100"
|
|
50278
50337
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50279
|
-
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
|
|
50338
|
+
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto allcentered' : 'col-lg-12 p-0 allcentered',
|
|
50280
50339
|
style: {
|
|
50281
50340
|
height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
|
|
50282
50341
|
}
|
|
50283
50342
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50284
50343
|
className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
|
|
50285
|
-
style: {
|
|
50286
|
-
height: '100%',
|
|
50287
|
-
width: '100%'
|
|
50288
|
-
}
|
|
50344
|
+
style: {}
|
|
50289
50345
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
50290
50346
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50291
50347
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -50302,10 +50358,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50302
50358
|
}
|
|
50303
50359
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50304
50360
|
className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
|
|
50305
|
-
style: {
|
|
50306
|
-
height: '100%',
|
|
50307
|
-
width: '100%'
|
|
50308
|
-
}
|
|
50361
|
+
style: {}
|
|
50309
50362
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
50310
50363
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50311
50364
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -52262,6 +52315,32 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52262
52315
|
backgroundColor: sectionproperties.linebgcolor,
|
|
52263
52316
|
borderRadius: '5px'
|
|
52264
52317
|
}
|
|
52318
|
+
}),
|
|
52319
|
+
imageimage: glamor.css({
|
|
52320
|
+
width: '100%',
|
|
52321
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52322
|
+
margin: 0,
|
|
52323
|
+
padding: 0,
|
|
52324
|
+
objectFit: sectionproperties.bgcovercontain,
|
|
52325
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52326
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52327
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52328
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52329
|
+
'@media (max-width: 800px)': {
|
|
52330
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%'
|
|
52331
|
+
}
|
|
52332
|
+
}),
|
|
52333
|
+
editortext: glamor.css({
|
|
52334
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
|
|
52335
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
52336
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52337
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52338
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52339
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
52340
|
+
'@media (max-width: 800px)': {
|
|
52341
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
|
|
52342
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start'
|
|
52343
|
+
}
|
|
52265
52344
|
})
|
|
52266
52345
|
};
|
|
52267
52346
|
var SectionTitle = function SectionTitle() {
|
|
@@ -52346,15 +52425,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52346
52425
|
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
|
|
52347
52426
|
}
|
|
52348
52427
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
52349
|
-
"class":
|
|
52350
|
-
style: {
|
|
52351
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
52352
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
52353
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52354
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52355
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52356
|
-
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
52357
|
-
},
|
|
52428
|
+
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
52429
|
+
style: {},
|
|
52358
52430
|
dangerouslySetInnerHTML: {
|
|
52359
52431
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
52360
52432
|
}
|
|
@@ -52437,20 +52509,11 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52437
52509
|
}
|
|
52438
52510
|
}
|
|
52439
52511
|
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
52512
|
+
"class": section_styles.imageimage,
|
|
52440
52513
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52441
52514
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52442
52515
|
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar),
|
|
52443
|
-
style: {
|
|
52444
|
-
width: '100%',
|
|
52445
|
-
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52446
|
-
margin: 0,
|
|
52447
|
-
padding: 0,
|
|
52448
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
52449
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52450
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52451
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52452
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
52453
|
-
}
|
|
52516
|
+
style: {}
|
|
52454
52517
|
}));
|
|
52455
52518
|
};
|
|
52456
52519
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -52468,12 +52531,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52468
52531
|
width: sectionproperties.width + 'vw'
|
|
52469
52532
|
}
|
|
52470
52533
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52471
|
-
"class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between',
|
|
52534
|
+
"class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between ',
|
|
52472
52535
|
style: {
|
|
52473
52536
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
52474
52537
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
52475
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
52476
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52538
|
+
// paddingTop: sectionproperties.paddingTop + 'px',
|
|
52539
|
+
// paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52477
52540
|
marginTop: sectionproperties.marginTop + 'px',
|
|
52478
52541
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
52479
52542
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
package/dist/index.esm.js
CHANGED
|
@@ -15099,8 +15099,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
15099
15099
|
var parentcollections = [];
|
|
15100
15100
|
(_categories = categories) === null || _categories === void 0 || _categories.forEach(function (catitem, catindex) {
|
|
15101
15101
|
catitem === null || catitem === void 0 || catitem.parentcolletions.forEach(function (parentcolitem) {
|
|
15102
|
-
parentcolitem.
|
|
15103
|
-
|
|
15102
|
+
if (parentcolitem.isshowntocustomers == 1) {
|
|
15103
|
+
parentcolitem.categoryid = catitem.categoryid;
|
|
15104
|
+
parentcollections.push(parentcolitem);
|
|
15105
|
+
}
|
|
15104
15106
|
});
|
|
15105
15107
|
});
|
|
15106
15108
|
if (fetchingtype == 'parentcollections') {
|
|
@@ -15144,8 +15146,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
15144
15146
|
var _parentcolitem$collec;
|
|
15145
15147
|
parentcolitem.categoryid = catitem.categoryid;
|
|
15146
15148
|
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (collitem, colindex) {
|
|
15147
|
-
collitem.
|
|
15148
|
-
|
|
15149
|
+
if (collitem.isshowntocustomers == 1) {
|
|
15150
|
+
collitem.parentcollectionid = parentcolitem.parentcollectionid;
|
|
15151
|
+
collections.push(collitem);
|
|
15152
|
+
}
|
|
15149
15153
|
});
|
|
15150
15154
|
});
|
|
15151
15155
|
});
|
|
@@ -35782,7 +35786,7 @@ styleInject(css_248z$m);
|
|
|
35782
35786
|
function ownKeys$1B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
35783
35787
|
function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35784
35788
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
35785
|
-
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35789
|
+
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35786
35790
|
var _useState = useState(''),
|
|
35787
35791
|
_useState2 = _slicedToArray(_useState, 2),
|
|
35788
35792
|
sectionproperties = _useState2[0],
|
|
@@ -35803,6 +35807,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
35803
35807
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
35804
35808
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
35805
35809
|
var actions = props.actions;
|
|
35810
|
+
var _useState3 = useState([]),
|
|
35811
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
35812
|
+
textarray = _useState4[0],
|
|
35813
|
+
settextarray = _useState4[1];
|
|
35806
35814
|
useEffect(function () {
|
|
35807
35815
|
var secpropobj = {};
|
|
35808
35816
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -35819,10 +35827,10 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
35819
35827
|
}
|
|
35820
35828
|
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
35821
35829
|
}, [StatePagePropertiesContext]);
|
|
35822
|
-
var
|
|
35823
|
-
|
|
35824
|
-
logoarrayofobjects =
|
|
35825
|
-
setlogoarrayofobjects =
|
|
35830
|
+
var _useState5 = useState([]),
|
|
35831
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
35832
|
+
logoarrayofobjects = _useState6[0],
|
|
35833
|
+
setlogoarrayofobjects = _useState6[1];
|
|
35826
35834
|
useEffect(function () {
|
|
35827
35835
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
35828
35836
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -36111,12 +36119,53 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
36111
36119
|
}
|
|
36112
36120
|
})
|
|
36113
36121
|
};
|
|
36122
|
+
useEffect(function () {
|
|
36123
|
+
if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
|
|
36124
|
+
var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
|
|
36125
|
+
if (Array.isArray(textarrayparsed)) {
|
|
36126
|
+
settextarray(_toConsumableArray(textarrayparsed));
|
|
36127
|
+
}
|
|
36128
|
+
}
|
|
36129
|
+
}, [templateproperties_context]);
|
|
36114
36130
|
return /*#__PURE__*/React.createElement("div", {
|
|
36115
36131
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-center "
|
|
36116
36132
|
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React.createElement(DownloadApp, {
|
|
36117
36133
|
sectionpropertiesprops: sectionproperties,
|
|
36118
36134
|
actions: actions
|
|
36119
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
36135
|
+
}), sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36136
|
+
"class": "col-lg-12 px-0 allcentered",
|
|
36137
|
+
style: {
|
|
36138
|
+
background: templateproperties_context.textsliderbgcolor,
|
|
36139
|
+
paddingTop: templateproperties_context.paddinghorizontal + 'px',
|
|
36140
|
+
paddingBottom: templateproperties_context.paddinghorizontal + 'px'
|
|
36141
|
+
}
|
|
36142
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
36143
|
+
"class": "col-lg-4 col-md-6"
|
|
36144
|
+
}, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React.createElement("marquee", null, /*#__PURE__*/React.createElement("span", {
|
|
36145
|
+
"class": "d-flex flex-row align-items-center"
|
|
36146
|
+
}, textarray.map(function (item, index) {
|
|
36147
|
+
return /*#__PURE__*/React.createElement("p", {
|
|
36148
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36149
|
+
style: {
|
|
36150
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36151
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36152
|
+
fontWeight: templateproperties_context.textsliderfontweight,
|
|
36153
|
+
marginLeft: 100,
|
|
36154
|
+
marginRight: 100
|
|
36155
|
+
}
|
|
36156
|
+
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
36157
|
+
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React.createElement("div", {
|
|
36158
|
+
"class": "w-100 allcentered"
|
|
36159
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
36160
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36161
|
+
style: {
|
|
36162
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36163
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36164
|
+
fontWeight: templateproperties_context.textsliderfontweight
|
|
36165
|
+
}
|
|
36166
|
+
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))))
|
|
36167
|
+
// <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />
|
|
36168
|
+
, /*#__PURE__*/React.createElement("div", {
|
|
36120
36169
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 pl-lg-2 pr-lg-2 '
|
|
36121
36170
|
}, /*#__PURE__*/React.createElement("div", {
|
|
36122
36171
|
"class": "row m-0 w-100 "
|
|
@@ -44857,7 +44906,11 @@ var RandomlyStructuredCollectionCards = function RandomlyStructuredCollectionCar
|
|
|
44857
44906
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
44858
44907
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
44859
44908
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
44860
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
44909
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
44910
|
+
'@media (max-width: 800px)': {
|
|
44911
|
+
paddingTop: sectionproperties.paddingverticalresponsive + 'px',
|
|
44912
|
+
paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
|
|
44913
|
+
}
|
|
44861
44914
|
}),
|
|
44862
44915
|
viewmorebtn: css({
|
|
44863
44916
|
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
@@ -50123,6 +50176,12 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50123
50176
|
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
50124
50177
|
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
50125
50178
|
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
50179
|
+
},
|
|
50180
|
+
height: '100%',
|
|
50181
|
+
width: '100%',
|
|
50182
|
+
'@media (max-width: 800px)': {
|
|
50183
|
+
width: sectionproperties.innerwidthheightresp + '%',
|
|
50184
|
+
height: sectionproperties.innerwidthheightresp + '%'
|
|
50126
50185
|
}
|
|
50127
50186
|
}),
|
|
50128
50187
|
text1styles: css({
|
|
@@ -50201,7 +50260,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50201
50260
|
}, /*#__PURE__*/React.createElement("div", {
|
|
50202
50261
|
className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
|
|
50203
50262
|
}, /*#__PURE__*/React.createElement("div", {
|
|
50204
|
-
className:
|
|
50263
|
+
className: sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100 allcentered' : 'row m-0 w-100 allcentered'
|
|
50205
50264
|
}, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
50206
50265
|
return /*#__PURE__*/React.createElement("div", {
|
|
50207
50266
|
className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
|
|
@@ -50227,16 +50286,13 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50227
50286
|
}, /*#__PURE__*/React.createElement("div", {
|
|
50228
50287
|
className: "row ml-0 mr-0 d-flex justify-content-center w-100"
|
|
50229
50288
|
}, /*#__PURE__*/React.createElement("div", {
|
|
50230
|
-
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
|
|
50289
|
+
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto allcentered' : 'col-lg-12 p-0 allcentered',
|
|
50231
50290
|
style: {
|
|
50232
50291
|
height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
|
|
50233
50292
|
}
|
|
50234
50293
|
}, /*#__PURE__*/React.createElement("div", {
|
|
50235
50294
|
className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
|
|
50236
|
-
style: {
|
|
50237
|
-
height: '100%',
|
|
50238
|
-
width: '100%'
|
|
50239
|
-
}
|
|
50295
|
+
style: {}
|
|
50240
50296
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
50241
50297
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50242
50298
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -50253,10 +50309,7 @@ var Twobgimages = function Twobgimages(props) {
|
|
|
50253
50309
|
}
|
|
50254
50310
|
})), /*#__PURE__*/React.createElement("div", {
|
|
50255
50311
|
className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
|
|
50256
|
-
style: {
|
|
50257
|
-
height: '100%',
|
|
50258
|
-
width: '100%'
|
|
50259
|
-
}
|
|
50312
|
+
style: {}
|
|
50260
50313
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
50261
50314
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50262
50315
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -52213,6 +52266,32 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52213
52266
|
backgroundColor: sectionproperties.linebgcolor,
|
|
52214
52267
|
borderRadius: '5px'
|
|
52215
52268
|
}
|
|
52269
|
+
}),
|
|
52270
|
+
imageimage: css({
|
|
52271
|
+
width: '100%',
|
|
52272
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52273
|
+
margin: 0,
|
|
52274
|
+
padding: 0,
|
|
52275
|
+
objectFit: sectionproperties.bgcovercontain,
|
|
52276
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52277
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52278
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52279
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52280
|
+
'@media (max-width: 800px)': {
|
|
52281
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%'
|
|
52282
|
+
}
|
|
52283
|
+
}),
|
|
52284
|
+
editortext: css({
|
|
52285
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
|
|
52286
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
52287
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52288
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52289
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52290
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
52291
|
+
'@media (max-width: 800px)': {
|
|
52292
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
|
|
52293
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start'
|
|
52294
|
+
}
|
|
52216
52295
|
})
|
|
52217
52296
|
};
|
|
52218
52297
|
var SectionTitle = function SectionTitle() {
|
|
@@ -52297,15 +52376,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52297
52376
|
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
|
|
52298
52377
|
}
|
|
52299
52378
|
}, /*#__PURE__*/React.createElement("p", {
|
|
52300
|
-
"class":
|
|
52301
|
-
style: {
|
|
52302
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
52303
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
52304
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52305
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52306
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52307
|
-
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
52308
|
-
},
|
|
52379
|
+
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
52380
|
+
style: {},
|
|
52309
52381
|
dangerouslySetInnerHTML: {
|
|
52310
52382
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
52311
52383
|
}
|
|
@@ -52388,20 +52460,11 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52388
52460
|
}
|
|
52389
52461
|
}
|
|
52390
52462
|
}, imagesarray.length != 0 && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
52463
|
+
"class": section_styles.imageimage,
|
|
52391
52464
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52392
52465
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52393
52466
|
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar),
|
|
52394
|
-
style: {
|
|
52395
|
-
width: '100%',
|
|
52396
|
-
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52397
|
-
margin: 0,
|
|
52398
|
-
padding: 0,
|
|
52399
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
52400
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52401
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52402
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52403
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
52404
|
-
}
|
|
52467
|
+
style: {}
|
|
52405
52468
|
}));
|
|
52406
52469
|
};
|
|
52407
52470
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -52419,12 +52482,12 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
52419
52482
|
width: sectionproperties.width + 'vw'
|
|
52420
52483
|
}
|
|
52421
52484
|
}, /*#__PURE__*/React.createElement("div", {
|
|
52422
|
-
"class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between',
|
|
52485
|
+
"class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between ',
|
|
52423
52486
|
style: {
|
|
52424
52487
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
52425
52488
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
52426
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
52427
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52489
|
+
// paddingTop: sectionproperties.paddingTop + 'px',
|
|
52490
|
+
// paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52428
52491
|
marginTop: sectionproperties.marginTop + 'px',
|
|
52429
52492
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
52430
52493
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
package/dist/index.umd.js
CHANGED
|
@@ -14980,8 +14980,10 @@
|
|
|
14980
14980
|
var parentcollections = [];
|
|
14981
14981
|
(_categories = categories) === null || _categories === void 0 || _categories.forEach(function (catitem, catindex) {
|
|
14982
14982
|
catitem === null || catitem === void 0 || catitem.parentcolletions.forEach(function (parentcolitem) {
|
|
14983
|
-
parentcolitem.
|
|
14984
|
-
|
|
14983
|
+
if (parentcolitem.isshowntocustomers == 1) {
|
|
14984
|
+
parentcolitem.categoryid = catitem.categoryid;
|
|
14985
|
+
parentcollections.push(parentcolitem);
|
|
14986
|
+
}
|
|
14985
14987
|
});
|
|
14986
14988
|
});
|
|
14987
14989
|
if (fetchingtype == 'parentcollections') {
|
|
@@ -15025,8 +15027,10 @@
|
|
|
15025
15027
|
var _parentcolitem$collec;
|
|
15026
15028
|
parentcolitem.categoryid = catitem.categoryid;
|
|
15027
15029
|
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (collitem, colindex) {
|
|
15028
|
-
collitem.
|
|
15029
|
-
|
|
15030
|
+
if (collitem.isshowntocustomers == 1) {
|
|
15031
|
+
collitem.parentcollectionid = parentcolitem.parentcollectionid;
|
|
15032
|
+
collections.push(collitem);
|
|
15033
|
+
}
|
|
15030
15034
|
});
|
|
15031
15035
|
});
|
|
15032
15036
|
});
|
|
@@ -35663,7 +35667,7 @@
|
|
|
35663
35667
|
function ownKeys$1B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
35664
35668
|
function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35665
35669
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
35666
|
-
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35670
|
+
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35667
35671
|
var _useState = React.useState(''),
|
|
35668
35672
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
35669
35673
|
sectionproperties = _useState2[0],
|
|
@@ -35684,6 +35688,10 @@
|
|
|
35684
35688
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
35685
35689
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
35686
35690
|
var actions = props.actions;
|
|
35691
|
+
var _useState3 = React.useState([]),
|
|
35692
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
35693
|
+
textarray = _useState4[0],
|
|
35694
|
+
settextarray = _useState4[1];
|
|
35687
35695
|
React.useEffect(function () {
|
|
35688
35696
|
var secpropobj = {};
|
|
35689
35697
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -35700,10 +35708,10 @@
|
|
|
35700
35708
|
}
|
|
35701
35709
|
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
35702
35710
|
}, [StatePagePropertiesContext]);
|
|
35703
|
-
var
|
|
35704
|
-
|
|
35705
|
-
logoarrayofobjects =
|
|
35706
|
-
setlogoarrayofobjects =
|
|
35711
|
+
var _useState5 = React.useState([]),
|
|
35712
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
35713
|
+
logoarrayofobjects = _useState6[0],
|
|
35714
|
+
setlogoarrayofobjects = _useState6[1];
|
|
35707
35715
|
React.useEffect(function () {
|
|
35708
35716
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
35709
35717
|
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
@@ -35992,12 +36000,53 @@
|
|
|
35992
36000
|
}
|
|
35993
36001
|
})
|
|
35994
36002
|
};
|
|
36003
|
+
React.useEffect(function () {
|
|
36004
|
+
if (templateproperties_context.length != 0 && templateproperties_context.txtArray != undefined) {
|
|
36005
|
+
var textarrayparsed = JSON.parse(templateproperties_context.txtArray);
|
|
36006
|
+
if (Array.isArray(textarrayparsed)) {
|
|
36007
|
+
settextarray(_toConsumableArray__default["default"](textarrayparsed));
|
|
36008
|
+
}
|
|
36009
|
+
}
|
|
36010
|
+
}, [templateproperties_context]);
|
|
35995
36011
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35996
36012
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-center "
|
|
35997
36013
|
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
35998
36014
|
sectionpropertiesprops: sectionproperties,
|
|
35999
36015
|
actions: actions
|
|
36000
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36016
|
+
}), sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36017
|
+
"class": "col-lg-12 px-0 allcentered",
|
|
36018
|
+
style: {
|
|
36019
|
+
background: templateproperties_context.textsliderbgcolor,
|
|
36020
|
+
paddingTop: templateproperties_context.paddinghorizontal + 'px',
|
|
36021
|
+
paddingBottom: templateproperties_context.paddinghorizontal + 'px'
|
|
36022
|
+
}
|
|
36023
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36024
|
+
"class": "col-lg-4 col-md-6"
|
|
36025
|
+
}, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
36026
|
+
"class": "d-flex flex-row align-items-center"
|
|
36027
|
+
}, textarray.map(function (item, index) {
|
|
36028
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36029
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36030
|
+
style: {
|
|
36031
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36032
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36033
|
+
fontWeight: templateproperties_context.textsliderfontweight,
|
|
36034
|
+
marginLeft: 100,
|
|
36035
|
+
marginRight: 100
|
|
36036
|
+
}
|
|
36037
|
+
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
36038
|
+
}))), templateproperties_context.textslidertype == 'Text' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36039
|
+
"class": "w-100 allcentered"
|
|
36040
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
36041
|
+
"class": header_cssstyles.textSlider + ' mb-0 p-0 ',
|
|
36042
|
+
style: {
|
|
36043
|
+
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
36044
|
+
color: templateproperties_context.textsliderfontcolor,
|
|
36045
|
+
fontWeight: templateproperties_context.textsliderfontweight
|
|
36046
|
+
}
|
|
36047
|
+
}, langdetect == 'en' ? (_textarray$ = textarray[0]) === null || _textarray$ === void 0 ? void 0 : _textarray$.textEnglish : (_textarray$2 = textarray[0]) === null || _textarray$2 === void 0 ? void 0 : _textarray$2.textArabic))))
|
|
36048
|
+
// <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />
|
|
36049
|
+
, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36001
36050
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 pl-lg-2 pr-lg-2 '
|
|
36002
36051
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
36003
36052
|
"class": "row m-0 w-100 "
|
|
@@ -44738,7 +44787,11 @@
|
|
|
44738
44787
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
44739
44788
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
44740
44789
|
borderColor: sectionproperties.sectioncardbordercolor,
|
|
44741
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid'
|
|
44790
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid',
|
|
44791
|
+
'@media (max-width: 800px)': {
|
|
44792
|
+
paddingTop: sectionproperties.paddingverticalresponsive + 'px',
|
|
44793
|
+
paddingBottom: sectionproperties.paddingverticalresponsive + 'px'
|
|
44794
|
+
}
|
|
44742
44795
|
}),
|
|
44743
44796
|
viewmorebtn: glamor.css({
|
|
44744
44797
|
width: sectionproperties.viewmorebtn_Width + 'px',
|
|
@@ -50004,6 +50057,12 @@
|
|
|
50004
50057
|
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
50005
50058
|
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
50006
50059
|
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
50060
|
+
},
|
|
50061
|
+
height: '100%',
|
|
50062
|
+
width: '100%',
|
|
50063
|
+
'@media (max-width: 800px)': {
|
|
50064
|
+
width: sectionproperties.innerwidthheightresp + '%',
|
|
50065
|
+
height: sectionproperties.innerwidthheightresp + '%'
|
|
50007
50066
|
}
|
|
50008
50067
|
}),
|
|
50009
50068
|
text1styles: glamor.css({
|
|
@@ -50082,7 +50141,7 @@
|
|
|
50082
50141
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50083
50142
|
className: sectionproperties.collectionssectionshow == 'Show' ? 'col-lg-10 col-md-12 p-md-0' : 'col-lg-12 p-0'
|
|
50084
50143
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50085
|
-
className:
|
|
50144
|
+
className: sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100 allcentered' : 'row m-0 w-100 allcentered'
|
|
50086
50145
|
}, Object.keys(bgimagearrayofobjs).length != 0 && bgimagearrayofobjs.map(function (item, index) {
|
|
50087
50146
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50088
50147
|
className: bgimagearrayofobjs[index].bg1_numberofcols != 12 ? ' d-flex align-items-stretch col-md-6 col-sm-12 pr-sm-2 pl-sm-2 mb-md-3 mt-md-3 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols : ' d-flex align-items-stretch col-md-12 col-sm-12 pr-md-0 pl-md-0 col-lg-' + bgimagearrayofobjs[index].bg1_numberofcols,
|
|
@@ -50108,16 +50167,13 @@
|
|
|
50108
50167
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50109
50168
|
className: "row ml-0 mr-0 d-flex justify-content-center w-100"
|
|
50110
50169
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50111
|
-
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto' : 'col-lg-12 p-0',
|
|
50170
|
+
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'col-lg-12 p-0 h-md-auto allcentered' : 'col-lg-12 p-0 allcentered',
|
|
50112
50171
|
style: {
|
|
50113
50172
|
height: sectionproperties.bgcovercontain == 'Contain' ? 'auto' : sectionproperties.image_height + 'vh'
|
|
50114
50173
|
}
|
|
50115
50174
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50116
50175
|
className: "".concat(bgcssstyles.bgimage) + ' d-md-flex d-sm-none ',
|
|
50117
|
-
style: {
|
|
50118
|
-
height: '100%',
|
|
50119
|
-
width: '100%'
|
|
50120
|
-
}
|
|
50176
|
+
style: {}
|
|
50121
50177
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
50122
50178
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50123
50179
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -50134,10 +50190,7 @@
|
|
|
50134
50190
|
}
|
|
50135
50191
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
50136
50192
|
className: "".concat(bgcssstyles.bgimage) + ' d-none d-md-none d-sm-flex',
|
|
50137
|
-
style: {
|
|
50138
|
-
height: '100%',
|
|
50139
|
-
width: '100%'
|
|
50140
|
-
}
|
|
50193
|
+
style: {}
|
|
50141
50194
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
50142
50195
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
50143
50196
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
@@ -52094,6 +52147,32 @@
|
|
|
52094
52147
|
backgroundColor: sectionproperties.linebgcolor,
|
|
52095
52148
|
borderRadius: '5px'
|
|
52096
52149
|
}
|
|
52150
|
+
}),
|
|
52151
|
+
imageimage: glamor.css({
|
|
52152
|
+
width: '100%',
|
|
52153
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52154
|
+
margin: 0,
|
|
52155
|
+
padding: 0,
|
|
52156
|
+
objectFit: sectionproperties.bgcovercontain,
|
|
52157
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52158
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52159
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52160
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
52161
|
+
'@media (max-width: 800px)': {
|
|
52162
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%'
|
|
52163
|
+
}
|
|
52164
|
+
}),
|
|
52165
|
+
editortext: glamor.css({
|
|
52166
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
|
|
52167
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
52168
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52169
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52170
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52171
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
52172
|
+
'@media (max-width: 800px)': {
|
|
52173
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
|
|
52174
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start'
|
|
52175
|
+
}
|
|
52097
52176
|
})
|
|
52098
52177
|
};
|
|
52099
52178
|
var SectionTitle = function SectionTitle() {
|
|
@@ -52178,15 +52257,8 @@
|
|
|
52178
52257
|
justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start'
|
|
52179
52258
|
}
|
|
52180
52259
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
52181
|
-
"class":
|
|
52182
|
-
style: {
|
|
52183
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
52184
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
52185
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
52186
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
52187
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
52188
|
-
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
52189
|
-
},
|
|
52260
|
+
"class": sectionproperties.text2centered == 'Justify' ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 ' : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 ',
|
|
52261
|
+
style: {},
|
|
52190
52262
|
dangerouslySetInnerHTML: {
|
|
52191
52263
|
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
52192
52264
|
}
|
|
@@ -52269,20 +52341,11 @@
|
|
|
52269
52341
|
}
|
|
52270
52342
|
}
|
|
52271
52343
|
}, imagesarray.length != 0 && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
52344
|
+
"class": section_styles.imageimage,
|
|
52272
52345
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
52273
52346
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
52274
52347
|
path: langdetect == 'en' ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$7 = imagesarray[0]) === null || _imagesarray$7 === void 0 ? void 0 : _imagesarray$7.bgsection_image) : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + ((_imagesarray$8 = imagesarray[0]) === null || _imagesarray$8 === void 0 ? void 0 : _imagesarray$8.bgsection_image_ar),
|
|
52275
|
-
style: {
|
|
52276
|
-
width: '100%',
|
|
52277
|
-
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
52278
|
-
margin: 0,
|
|
52279
|
-
padding: 0,
|
|
52280
|
-
objectFit: sectionproperties.bgcovercontain,
|
|
52281
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
52282
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
52283
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
52284
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
52285
|
-
}
|
|
52348
|
+
style: {}
|
|
52286
52349
|
}));
|
|
52287
52350
|
};
|
|
52288
52351
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -52300,12 +52363,12 @@
|
|
|
52300
52363
|
width: sectionproperties.width + 'vw'
|
|
52301
52364
|
}
|
|
52302
52365
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
52303
|
-
"class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? 'row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3' : 'row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3' : 'row m-0 w-100 d-flex justify-content-between',
|
|
52366
|
+
"class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 ' : sectionproperties.paddingLeft != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : sectionproperties.paddingRight != 0 ? langdetect == 'en' ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 pr-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pl-1025-1 pl-md-3 ' : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between ',
|
|
52304
52367
|
style: {
|
|
52305
52368
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
52306
52369
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
52307
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
52308
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52370
|
+
// paddingTop: sectionproperties.paddingTop + 'px',
|
|
52371
|
+
// paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
52309
52372
|
marginTop: sectionproperties.marginTop + 'px',
|
|
52310
52373
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
52311
52374
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|