tabexseriescomponents 0.0.146 → 0.0.147
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 +110 -65
- package/dist/index.esm.js +110 -65
- package/dist/index.umd.js +110 -65
- package/package.json +1 -1
- package/src.zip +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -1084,7 +1084,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1084
1084
|
itemobj.decriptionlang = 'ar';
|
|
1085
1085
|
}
|
|
1086
1086
|
setitem(itemobj);
|
|
1087
|
-
settitle(fetchProductInfoQueryContext.data.data.productinfo.
|
|
1087
|
+
settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
|
|
1088
1088
|
setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinfo/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
1089
1089
|
}, [props.itemprops]);
|
|
1090
1090
|
function stringIsEnglish(str) {
|
|
@@ -1113,7 +1113,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1113
1113
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1114
1114
|
className: 'row m-0 w-100'
|
|
1115
1115
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1116
|
-
className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-
|
|
1116
|
+
className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1"
|
|
1117
1117
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1118
1118
|
className: "col-lg-12 p-0 ",
|
|
1119
1119
|
style: {
|
|
@@ -1126,16 +1126,21 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1126
1126
|
showNav: false,
|
|
1127
1127
|
showPlayButton: false,
|
|
1128
1128
|
showFullscreenButton: true
|
|
1129
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1130
|
-
"class": "col-lg-12 mt-4"
|
|
1129
|
+
})), sectionproperties.showShareButton == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1130
|
+
"class": "col-lg-12 mt-5 mt-md-4"
|
|
1131
1131
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1132
1132
|
"class": "row m-0 w-100"
|
|
1133
1133
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1134
|
-
"class": "col-lg-12 d-flex justify-content-
|
|
1134
|
+
"class": "col-lg-12 d-flex justify-content-center"
|
|
1135
1135
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1136
|
-
"class": "m-0 p-0"
|
|
1137
|
-
|
|
1138
|
-
|
|
1136
|
+
"class": "m-0 p-0",
|
|
1137
|
+
style: {
|
|
1138
|
+
fontWeight: sectionproperties.sharebtn_FontWeight,
|
|
1139
|
+
color: sectionproperties.sharebtn_color,
|
|
1140
|
+
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
1141
|
+
}
|
|
1142
|
+
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1143
|
+
className: "Demo__container row m-0 w-100 allcentered mt-2"
|
|
1139
1144
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1140
1145
|
className: "Demo__some-network ml-2 mr-2"
|
|
1141
1146
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton, {
|
|
@@ -1302,7 +1307,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1302
1307
|
}
|
|
1303
1308
|
}, langdetect == 'en' ? item.optionname : item.optionname_ar, ":"), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
1304
1309
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1305
|
-
className: productinfostyles.variant_container + ' mr-2 variabttcontainer ',
|
|
1310
|
+
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered ',
|
|
1306
1311
|
style: {
|
|
1307
1312
|
backgroundColor: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.variantcontainer_bgcolor,
|
|
1308
1313
|
minWidth: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
|
|
@@ -1310,7 +1315,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1310
1315
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
1311
1316
|
}
|
|
1312
1317
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1313
|
-
className: 'm-0 p-0
|
|
1318
|
+
className: 'm-0 p-0 allcentered font-weight-500',
|
|
1314
1319
|
style: {
|
|
1315
1320
|
color: sectionproperties.variantcontainer_color,
|
|
1316
1321
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px'
|
|
@@ -1365,7 +1370,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1365
1370
|
});
|
|
1366
1371
|
} else if (item.optionname == 'size') {
|
|
1367
1372
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1368
|
-
className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1373
|
+
className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1369
1374
|
onClick: function onClick() {
|
|
1370
1375
|
if (optionvaluesitem.isenabled == 1) {
|
|
1371
1376
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
@@ -1387,7 +1392,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1387
1392
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1388
1393
|
} else {
|
|
1389
1394
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1390
|
-
className: productinfostyles.variant_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1395
|
+
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1391
1396
|
onClick: function onClick() {
|
|
1392
1397
|
if (optionvaluesitem.isenabled == 1) {
|
|
1393
1398
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
@@ -34844,6 +34849,13 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
34844
34849
|
}
|
|
34845
34850
|
}, [sectionproperties]);
|
|
34846
34851
|
var section_styles = {
|
|
34852
|
+
sectiontitlespan: glamor.css({
|
|
34853
|
+
':after': {
|
|
34854
|
+
height: '5px',
|
|
34855
|
+
width: '5%',
|
|
34856
|
+
backgroundColor: 'red'
|
|
34857
|
+
}
|
|
34858
|
+
}),
|
|
34847
34859
|
btn: glamor.css({
|
|
34848
34860
|
width: sectionproperties.generalbtn_width + 'px',
|
|
34849
34861
|
height: sectionproperties.generalbtn_height + 'px',
|
|
@@ -34866,8 +34878,84 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
34866
34878
|
}
|
|
34867
34879
|
})
|
|
34868
34880
|
};
|
|
34881
|
+
var SectionTitle = function SectionTitle() {
|
|
34882
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34883
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_styles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_styles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_styles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_styles.sectiontitlespan) + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_styles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : "".concat(section_styles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
34884
|
+
style: {
|
|
34885
|
+
color: sectionproperties.sectionTitleColor,
|
|
34886
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
34887
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
34888
|
+
}
|
|
34889
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar);
|
|
34890
|
+
};
|
|
34891
|
+
var Content = function Content() {
|
|
34892
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34893
|
+
"class": "col-lg-6 col-md-12 d-flex justify-content-start h-100 justify-content-md-center"
|
|
34894
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34895
|
+
"class": "row m-0 w-100 mb-auto"
|
|
34896
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34897
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
34898
|
+
style: {
|
|
34899
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
34900
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
34901
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px'
|
|
34902
|
+
}
|
|
34903
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34904
|
+
"class": "d-flex align-items-center flex-row d-sm-none",
|
|
34905
|
+
style: {
|
|
34906
|
+
position: 'relative',
|
|
34907
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
34908
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
34909
|
+
}
|
|
34910
|
+
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34911
|
+
"class": "d-none align-items-center flex-row d-sm-flex",
|
|
34912
|
+
style: {
|
|
34913
|
+
position: 'relative',
|
|
34914
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
34915
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
34916
|
+
}
|
|
34917
|
+
}, SectionTitle())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34918
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center"
|
|
34919
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34920
|
+
"class": "p-0 text-md-center",
|
|
34921
|
+
style: {
|
|
34922
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
34923
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
34924
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
34925
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
34926
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
34927
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
34928
|
+
},
|
|
34929
|
+
dangerouslySetInnerHTML: {
|
|
34930
|
+
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
34931
|
+
}
|
|
34932
|
+
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34933
|
+
"class": "col-lg-12 p-0"
|
|
34934
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
34935
|
+
"class": "".concat(section_styles.btn)
|
|
34936
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|
|
34937
|
+
};
|
|
34938
|
+
var Image = function Image() {
|
|
34939
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34940
|
+
"class": "col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center"
|
|
34941
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
34942
|
+
urlEndpoint: IKurlEndpoint,
|
|
34943
|
+
publicKey: IKpublicKey,
|
|
34944
|
+
path: imagesarray.length != 0 ? '/tr:w-500/' + imagesarray[0].bgsection_image : '',
|
|
34945
|
+
style: {
|
|
34946
|
+
objectFit: 'contain',
|
|
34947
|
+
margin: 0,
|
|
34948
|
+
padding: 0,
|
|
34949
|
+
height: '400px',
|
|
34950
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
34951
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
34952
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
34953
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
34954
|
+
}
|
|
34955
|
+
}));
|
|
34956
|
+
};
|
|
34869
34957
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34870
|
-
"class": ' row ml-0 mr-0 d-flex justify-content-between
|
|
34958
|
+
"class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center pl-md-3 pr-md-3',
|
|
34871
34959
|
style: {
|
|
34872
34960
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
34873
34961
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
@@ -34879,61 +34967,18 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
34879
34967
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
34880
34968
|
borderTopRightRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
34881
34969
|
borderBottomLeftRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
34882
|
-
borderBottomRightRadius: sectionproperties.borderBottomLeftRadius + 'px'
|
|
34970
|
+
borderBottomRightRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
34971
|
+
width: sectionproperties.width + 'vw'
|
|
34883
34972
|
}
|
|
34973
|
+
}, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34974
|
+
"class": "col-lg-12 p-0"
|
|
34884
34975
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34885
|
-
"class": "
|
|
34886
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34887
|
-
"class": "row m-0 w-100 mb-auto"
|
|
34888
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34889
|
-
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
34890
|
-
style: {
|
|
34891
|
-
justifyContent: sectionproperties.text1centered == 'Centered' ? 'center' : 'start'
|
|
34892
|
-
}
|
|
34893
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34894
|
-
style: {
|
|
34895
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
34896
|
-
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
34897
|
-
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
34898
|
-
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
34899
|
-
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px'
|
|
34900
|
-
}
|
|
34901
|
-
}, langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34902
|
-
"class": "col-lg-12 p-0 d-flex justify-content-md-center"
|
|
34903
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34904
|
-
"class": "p-0 text-md-center",
|
|
34905
|
-
style: {
|
|
34906
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
34907
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
34908
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
34909
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
34910
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
34911
|
-
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
34912
|
-
},
|
|
34913
|
-
dangerouslySetInnerHTML: {
|
|
34914
|
-
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
34915
|
-
}
|
|
34916
|
-
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34976
|
+
"class": "row m-0 w-100"
|
|
34977
|
+
}, Content(), Image())), sectionproperties.sectionstyle != 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34917
34978
|
"class": "col-lg-12 p-0"
|
|
34918
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
34919
|
-
"class": ""
|
|
34920
|
-
},
|
|
34921
|
-
"class": "col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center"
|
|
34922
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
34923
|
-
urlEndpoint: IKurlEndpoint,
|
|
34924
|
-
publicKey: IKpublicKey,
|
|
34925
|
-
path: imagesarray.length != 0 ? '/tr:w-500/' + imagesarray[0].bgsection_image : '',
|
|
34926
|
-
style: {
|
|
34927
|
-
objectFit: 'contain',
|
|
34928
|
-
margin: 0,
|
|
34929
|
-
padding: 0,
|
|
34930
|
-
height: '400px',
|
|
34931
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
34932
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
34933
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
34934
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
34935
|
-
}
|
|
34936
|
-
})));
|
|
34979
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34980
|
+
"class": "row m-0 w-100"
|
|
34981
|
+
}, Image(), Content())));
|
|
34937
34982
|
};
|
|
34938
34983
|
|
|
34939
34984
|
function ownKeys$H(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
package/dist/index.esm.js
CHANGED
|
@@ -1041,7 +1041,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1041
1041
|
itemobj.decriptionlang = 'ar';
|
|
1042
1042
|
}
|
|
1043
1043
|
setitem(itemobj);
|
|
1044
|
-
settitle(fetchProductInfoQueryContext.data.data.productinfo.
|
|
1044
|
+
settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
|
|
1045
1045
|
setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinfo/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
1046
1046
|
}, [props.itemprops]);
|
|
1047
1047
|
function stringIsEnglish(str) {
|
|
@@ -1070,7 +1070,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1070
1070
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1071
1071
|
className: 'row m-0 w-100'
|
|
1072
1072
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1073
|
-
className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-
|
|
1073
|
+
className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1"
|
|
1074
1074
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1075
1075
|
className: "col-lg-12 p-0 ",
|
|
1076
1076
|
style: {
|
|
@@ -1083,16 +1083,21 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1083
1083
|
showNav: false,
|
|
1084
1084
|
showPlayButton: false,
|
|
1085
1085
|
showFullscreenButton: true
|
|
1086
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
1087
|
-
"class": "col-lg-12 mt-4"
|
|
1086
|
+
})), sectionproperties.showShareButton == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1087
|
+
"class": "col-lg-12 mt-5 mt-md-4"
|
|
1088
1088
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1089
1089
|
"class": "row m-0 w-100"
|
|
1090
1090
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1091
|
-
"class": "col-lg-12 d-flex justify-content-
|
|
1091
|
+
"class": "col-lg-12 d-flex justify-content-center"
|
|
1092
1092
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1093
|
-
"class": "m-0 p-0"
|
|
1094
|
-
|
|
1095
|
-
|
|
1093
|
+
"class": "m-0 p-0",
|
|
1094
|
+
style: {
|
|
1095
|
+
fontWeight: sectionproperties.sharebtn_FontWeight,
|
|
1096
|
+
color: sectionproperties.sharebtn_color,
|
|
1097
|
+
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
1098
|
+
}
|
|
1099
|
+
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr)), /*#__PURE__*/React.createElement("div", {
|
|
1100
|
+
className: "Demo__container row m-0 w-100 allcentered mt-2"
|
|
1096
1101
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1097
1102
|
className: "Demo__some-network ml-2 mr-2"
|
|
1098
1103
|
}, /*#__PURE__*/React.createElement(FacebookShareButton, {
|
|
@@ -1259,7 +1264,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1259
1264
|
}
|
|
1260
1265
|
}, langdetect == 'en' ? item.optionname : item.optionname_ar, ":"), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
1261
1266
|
return /*#__PURE__*/React.createElement("div", {
|
|
1262
|
-
className: productinfostyles.variant_container + ' mr-2 variabttcontainer ',
|
|
1267
|
+
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered ',
|
|
1263
1268
|
style: {
|
|
1264
1269
|
backgroundColor: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.variantcontainer_bgcolor,
|
|
1265
1270
|
minWidth: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
|
|
@@ -1267,7 +1272,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1267
1272
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
1268
1273
|
}
|
|
1269
1274
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1270
|
-
className: 'm-0 p-0
|
|
1275
|
+
className: 'm-0 p-0 allcentered font-weight-500',
|
|
1271
1276
|
style: {
|
|
1272
1277
|
color: sectionproperties.variantcontainer_color,
|
|
1273
1278
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px'
|
|
@@ -1322,7 +1327,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1322
1327
|
});
|
|
1323
1328
|
} else if (item.optionname == 'size') {
|
|
1324
1329
|
return /*#__PURE__*/React.createElement("div", {
|
|
1325
|
-
className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1330
|
+
className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1326
1331
|
onClick: function onClick() {
|
|
1327
1332
|
if (optionvaluesitem.isenabled == 1) {
|
|
1328
1333
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
@@ -1344,7 +1349,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1344
1349
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1345
1350
|
} else {
|
|
1346
1351
|
return /*#__PURE__*/React.createElement("div", {
|
|
1347
|
-
className: productinfostyles.variant_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1352
|
+
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1348
1353
|
onClick: function onClick() {
|
|
1349
1354
|
if (optionvaluesitem.isenabled == 1) {
|
|
1350
1355
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
@@ -34801,6 +34806,13 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
34801
34806
|
}
|
|
34802
34807
|
}, [sectionproperties]);
|
|
34803
34808
|
var section_styles = {
|
|
34809
|
+
sectiontitlespan: css({
|
|
34810
|
+
':after': {
|
|
34811
|
+
height: '5px',
|
|
34812
|
+
width: '5%',
|
|
34813
|
+
backgroundColor: 'red'
|
|
34814
|
+
}
|
|
34815
|
+
}),
|
|
34804
34816
|
btn: css({
|
|
34805
34817
|
width: sectionproperties.generalbtn_width + 'px',
|
|
34806
34818
|
height: sectionproperties.generalbtn_height + 'px',
|
|
@@ -34823,8 +34835,84 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
34823
34835
|
}
|
|
34824
34836
|
})
|
|
34825
34837
|
};
|
|
34838
|
+
var SectionTitle = function SectionTitle() {
|
|
34839
|
+
return /*#__PURE__*/React.createElement("p", {
|
|
34840
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_styles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_styles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_styles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_styles.sectiontitlespan) + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_styles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : "".concat(section_styles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
34841
|
+
style: {
|
|
34842
|
+
color: sectionproperties.sectionTitleColor,
|
|
34843
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
34844
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
34845
|
+
}
|
|
34846
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar);
|
|
34847
|
+
};
|
|
34848
|
+
var Content = function Content() {
|
|
34849
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
34850
|
+
"class": "col-lg-6 col-md-12 d-flex justify-content-start h-100 justify-content-md-center"
|
|
34851
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34852
|
+
"class": "row m-0 w-100 mb-auto"
|
|
34853
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34854
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
34855
|
+
style: {
|
|
34856
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
34857
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
34858
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px'
|
|
34859
|
+
}
|
|
34860
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34861
|
+
"class": "d-flex align-items-center flex-row d-sm-none",
|
|
34862
|
+
style: {
|
|
34863
|
+
position: 'relative',
|
|
34864
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
34865
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
34866
|
+
}
|
|
34867
|
+
}, SectionTitle()), /*#__PURE__*/React.createElement("div", {
|
|
34868
|
+
"class": "d-none align-items-center flex-row d-sm-flex",
|
|
34869
|
+
style: {
|
|
34870
|
+
position: 'relative',
|
|
34871
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
34872
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
34873
|
+
}
|
|
34874
|
+
}, SectionTitle())), /*#__PURE__*/React.createElement("div", {
|
|
34875
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center"
|
|
34876
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
34877
|
+
"class": "p-0 text-md-center",
|
|
34878
|
+
style: {
|
|
34879
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
34880
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
34881
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
34882
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
34883
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
34884
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
34885
|
+
},
|
|
34886
|
+
dangerouslySetInnerHTML: {
|
|
34887
|
+
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
34888
|
+
}
|
|
34889
|
+
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
34890
|
+
"class": "col-lg-12 p-0"
|
|
34891
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
34892
|
+
"class": "".concat(section_styles.btn)
|
|
34893
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|
|
34894
|
+
};
|
|
34895
|
+
var Image = function Image() {
|
|
34896
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
34897
|
+
"class": "col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center"
|
|
34898
|
+
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
34899
|
+
urlEndpoint: IKurlEndpoint,
|
|
34900
|
+
publicKey: IKpublicKey,
|
|
34901
|
+
path: imagesarray.length != 0 ? '/tr:w-500/' + imagesarray[0].bgsection_image : '',
|
|
34902
|
+
style: {
|
|
34903
|
+
objectFit: 'contain',
|
|
34904
|
+
margin: 0,
|
|
34905
|
+
padding: 0,
|
|
34906
|
+
height: '400px',
|
|
34907
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
34908
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
34909
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
34910
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
34911
|
+
}
|
|
34912
|
+
}));
|
|
34913
|
+
};
|
|
34826
34914
|
return /*#__PURE__*/React.createElement("div", {
|
|
34827
|
-
"class": ' row ml-0 mr-0 d-flex justify-content-between
|
|
34915
|
+
"class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center pl-md-3 pr-md-3',
|
|
34828
34916
|
style: {
|
|
34829
34917
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
34830
34918
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
@@ -34836,61 +34924,18 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
34836
34924
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
34837
34925
|
borderTopRightRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
34838
34926
|
borderBottomLeftRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
34839
|
-
borderBottomRightRadius: sectionproperties.borderBottomLeftRadius + 'px'
|
|
34927
|
+
borderBottomRightRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
34928
|
+
width: sectionproperties.width + 'vw'
|
|
34840
34929
|
}
|
|
34930
|
+
}, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React.createElement("div", {
|
|
34931
|
+
"class": "col-lg-12 p-0"
|
|
34841
34932
|
}, /*#__PURE__*/React.createElement("div", {
|
|
34842
|
-
"class": "
|
|
34843
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
34844
|
-
"class": "row m-0 w-100 mb-auto"
|
|
34845
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
34846
|
-
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
34847
|
-
style: {
|
|
34848
|
-
justifyContent: sectionproperties.text1centered == 'Centered' ? 'center' : 'start'
|
|
34849
|
-
}
|
|
34850
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
34851
|
-
style: {
|
|
34852
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
34853
|
-
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
34854
|
-
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
34855
|
-
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
34856
|
-
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px'
|
|
34857
|
-
}
|
|
34858
|
-
}, langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar)), /*#__PURE__*/React.createElement("div", {
|
|
34859
|
-
"class": "col-lg-12 p-0 d-flex justify-content-md-center"
|
|
34860
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
34861
|
-
"class": "p-0 text-md-center",
|
|
34862
|
-
style: {
|
|
34863
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
34864
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
34865
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
34866
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
34867
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
34868
|
-
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
34869
|
-
},
|
|
34870
|
-
dangerouslySetInnerHTML: {
|
|
34871
|
-
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
34872
|
-
}
|
|
34873
|
-
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
34933
|
+
"class": "row m-0 w-100"
|
|
34934
|
+
}, Content(), Image())), sectionproperties.sectionstyle != 'Image on right' && /*#__PURE__*/React.createElement("div", {
|
|
34874
34935
|
"class": "col-lg-12 p-0"
|
|
34875
|
-
}, /*#__PURE__*/React.createElement("
|
|
34876
|
-
"class": ""
|
|
34877
|
-
},
|
|
34878
|
-
"class": "col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center"
|
|
34879
|
-
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
34880
|
-
urlEndpoint: IKurlEndpoint,
|
|
34881
|
-
publicKey: IKpublicKey,
|
|
34882
|
-
path: imagesarray.length != 0 ? '/tr:w-500/' + imagesarray[0].bgsection_image : '',
|
|
34883
|
-
style: {
|
|
34884
|
-
objectFit: 'contain',
|
|
34885
|
-
margin: 0,
|
|
34886
|
-
padding: 0,
|
|
34887
|
-
height: '400px',
|
|
34888
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
34889
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
34890
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
34891
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
34892
|
-
}
|
|
34893
|
-
})));
|
|
34936
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34937
|
+
"class": "row m-0 w-100"
|
|
34938
|
+
}, Image(), Content())));
|
|
34894
34939
|
};
|
|
34895
34940
|
|
|
34896
34941
|
function ownKeys$H(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
package/dist/index.umd.js
CHANGED
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
itemobj.decriptionlang = 'ar';
|
|
953
953
|
}
|
|
954
954
|
setitem(itemobj);
|
|
955
|
-
settitle(fetchProductInfoQueryContext.data.data.productinfo.
|
|
955
|
+
settitle(fetchProductInfoQueryContext.data.data.productinfo.name_en);
|
|
956
956
|
setshareUrl('https://' + authdetailsContext.instinfo.instcred.instexternaldomain + '/productinfo/' + fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
957
957
|
}, [props.itemprops]);
|
|
958
958
|
function stringIsEnglish(str) {
|
|
@@ -981,7 +981,7 @@
|
|
|
981
981
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
982
982
|
className: 'row m-0 w-100'
|
|
983
983
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
984
|
-
className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-
|
|
984
|
+
className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1"
|
|
985
985
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
986
986
|
className: "col-lg-12 p-0 ",
|
|
987
987
|
style: {
|
|
@@ -994,16 +994,21 @@
|
|
|
994
994
|
showNav: false,
|
|
995
995
|
showPlayButton: false,
|
|
996
996
|
showFullscreenButton: true
|
|
997
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
998
|
-
"class": "col-lg-12 mt-4"
|
|
997
|
+
})), sectionproperties.showShareButton == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
998
|
+
"class": "col-lg-12 mt-5 mt-md-4"
|
|
999
999
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1000
1000
|
"class": "row m-0 w-100"
|
|
1001
1001
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1002
|
-
"class": "col-lg-12 d-flex justify-content-
|
|
1002
|
+
"class": "col-lg-12 d-flex justify-content-center"
|
|
1003
1003
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1004
|
-
"class": "m-0 p-0"
|
|
1005
|
-
|
|
1006
|
-
|
|
1004
|
+
"class": "m-0 p-0",
|
|
1005
|
+
style: {
|
|
1006
|
+
fontWeight: sectionproperties.sharebtn_FontWeight,
|
|
1007
|
+
color: sectionproperties.sharebtn_color,
|
|
1008
|
+
fontSize: sectionproperties.sharebtn_fontSize + 'px'
|
|
1009
|
+
}
|
|
1010
|
+
}, langdetect == 'en' ? sectionproperties.sharebtn_contentEn : sectionproperties.sharebtn_contentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1011
|
+
className: "Demo__container row m-0 w-100 allcentered mt-2"
|
|
1007
1012
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1008
1013
|
className: "Demo__some-network ml-2 mr-2"
|
|
1009
1014
|
}, /*#__PURE__*/React__default["default"].createElement(reactShare.FacebookShareButton, {
|
|
@@ -1170,7 +1175,7 @@
|
|
|
1170
1175
|
}
|
|
1171
1176
|
}, langdetect == 'en' ? item.optionname : item.optionname_ar, ":"), item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
1172
1177
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1173
|
-
className: productinfostyles.variant_container + ' mr-2 variabttcontainer ',
|
|
1178
|
+
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered ',
|
|
1174
1179
|
style: {
|
|
1175
1180
|
backgroundColor: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.variantcontainer_bgcolor,
|
|
1176
1181
|
minWidth: sectionproperties.variantcontainer_bgcolortransparent == 'Transparent' ? 'auto' : sectionproperties.variantcontainer_minwidth + 'px',
|
|
@@ -1178,7 +1183,7 @@
|
|
|
1178
1183
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
1179
1184
|
}
|
|
1180
1185
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1181
|
-
className: 'm-0 p-0
|
|
1186
|
+
className: 'm-0 p-0 allcentered font-weight-500',
|
|
1182
1187
|
style: {
|
|
1183
1188
|
color: sectionproperties.variantcontainer_color,
|
|
1184
1189
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px'
|
|
@@ -1233,7 +1238,7 @@
|
|
|
1233
1238
|
});
|
|
1234
1239
|
} else if (item.optionname == 'size') {
|
|
1235
1240
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1236
|
-
className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1241
|
+
className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1237
1242
|
onClick: function onClick() {
|
|
1238
1243
|
if (optionvaluesitem.isenabled == 1) {
|
|
1239
1244
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
@@ -1255,7 +1260,7 @@
|
|
|
1255
1260
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1256
1261
|
} else {
|
|
1257
1262
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1258
|
-
className: productinfostyles.variant_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1263
|
+
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1259
1264
|
onClick: function onClick() {
|
|
1260
1265
|
if (optionvaluesitem.isenabled == 1) {
|
|
1261
1266
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
@@ -34712,6 +34717,13 @@
|
|
|
34712
34717
|
}
|
|
34713
34718
|
}, [sectionproperties]);
|
|
34714
34719
|
var section_styles = {
|
|
34720
|
+
sectiontitlespan: glamor.css({
|
|
34721
|
+
':after': {
|
|
34722
|
+
height: '5px',
|
|
34723
|
+
width: '5%',
|
|
34724
|
+
backgroundColor: 'red'
|
|
34725
|
+
}
|
|
34726
|
+
}),
|
|
34715
34727
|
btn: glamor.css({
|
|
34716
34728
|
width: sectionproperties.generalbtn_width + 'px',
|
|
34717
34729
|
height: sectionproperties.generalbtn_height + 'px',
|
|
@@ -34734,8 +34746,84 @@
|
|
|
34734
34746
|
}
|
|
34735
34747
|
})
|
|
34736
34748
|
};
|
|
34749
|
+
var SectionTitle = function SectionTitle() {
|
|
34750
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34751
|
+
"class": sectionproperties.sectiontitlefontfamily == 'Pacifico' ? "".concat(section_styles.sectiontitlespan) + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Playfair' ? "".concat(section_styles.sectiontitlespan) + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Great Vibes' ? "".concat(section_styles.sectiontitlespan) + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Quicksand' ? "".concat(section_styles.sectiontitlespan) + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : sectionproperties.sectiontitlefontfamily == 'Satisfy' ? "".concat(section_styles.sectiontitlespan) + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ' : "".concat(section_styles.sectiontitlespan) + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start ',
|
|
34752
|
+
style: {
|
|
34753
|
+
color: sectionproperties.sectionTitleColor,
|
|
34754
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
34755
|
+
textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : ''
|
|
34756
|
+
}
|
|
34757
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar);
|
|
34758
|
+
};
|
|
34759
|
+
var Content = function Content() {
|
|
34760
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34761
|
+
"class": "col-lg-6 col-md-12 d-flex justify-content-start h-100 justify-content-md-center"
|
|
34762
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34763
|
+
"class": "row m-0 w-100 mb-auto"
|
|
34764
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34765
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
34766
|
+
style: {
|
|
34767
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
34768
|
+
marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
|
|
34769
|
+
marginTop: sectionproperties.sectionTitleMarginTop + 'px'
|
|
34770
|
+
}
|
|
34771
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34772
|
+
"class": "d-flex align-items-center flex-row d-sm-none",
|
|
34773
|
+
style: {
|
|
34774
|
+
position: 'relative',
|
|
34775
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
34776
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px'
|
|
34777
|
+
}
|
|
34778
|
+
}, SectionTitle()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34779
|
+
"class": "d-none align-items-center flex-row d-sm-flex",
|
|
34780
|
+
style: {
|
|
34781
|
+
position: 'relative',
|
|
34782
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
34783
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
34784
|
+
}
|
|
34785
|
+
}, SectionTitle())), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34786
|
+
"class": "col-lg-12 p-0 d-flex justify-content-md-center"
|
|
34787
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34788
|
+
"class": "p-0 text-md-center",
|
|
34789
|
+
style: {
|
|
34790
|
+
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
34791
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
34792
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
34793
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
34794
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
34795
|
+
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
34796
|
+
},
|
|
34797
|
+
dangerouslySetInnerHTML: {
|
|
34798
|
+
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
34799
|
+
}
|
|
34800
|
+
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34801
|
+
"class": "col-lg-12 p-0"
|
|
34802
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
34803
|
+
"class": "".concat(section_styles.btn)
|
|
34804
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|
|
34805
|
+
};
|
|
34806
|
+
var Image = function Image() {
|
|
34807
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34808
|
+
"class": "col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center"
|
|
34809
|
+
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
34810
|
+
urlEndpoint: IKurlEndpoint,
|
|
34811
|
+
publicKey: IKpublicKey,
|
|
34812
|
+
path: imagesarray.length != 0 ? '/tr:w-500/' + imagesarray[0].bgsection_image : '',
|
|
34813
|
+
style: {
|
|
34814
|
+
objectFit: 'contain',
|
|
34815
|
+
margin: 0,
|
|
34816
|
+
padding: 0,
|
|
34817
|
+
height: '400px',
|
|
34818
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
34819
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
34820
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
34821
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
34822
|
+
}
|
|
34823
|
+
}));
|
|
34824
|
+
};
|
|
34737
34825
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34738
|
-
"class": ' row ml-0 mr-0 d-flex justify-content-between
|
|
34826
|
+
"class": ' row ml-0 mr-0 d-flex justify-content-between align-items-center pl-md-3 pr-md-3',
|
|
34739
34827
|
style: {
|
|
34740
34828
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
34741
34829
|
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
@@ -34747,61 +34835,18 @@
|
|
|
34747
34835
|
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
34748
34836
|
borderTopRightRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
34749
34837
|
borderBottomLeftRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
34750
|
-
borderBottomRightRadius: sectionproperties.borderBottomLeftRadius + 'px'
|
|
34838
|
+
borderBottomRightRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
34839
|
+
width: sectionproperties.width + 'vw'
|
|
34751
34840
|
}
|
|
34841
|
+
}, sectionproperties.sectionstyle == 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34842
|
+
"class": "col-lg-12 p-0"
|
|
34752
34843
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34753
|
-
"class": "
|
|
34754
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34755
|
-
"class": "row m-0 w-100 mb-auto"
|
|
34756
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34757
|
-
"class": "col-lg-12 p-0 d-flex justify-content-md-center",
|
|
34758
|
-
style: {
|
|
34759
|
-
justifyContent: sectionproperties.text1centered == 'Centered' ? 'center' : 'start'
|
|
34760
|
-
}
|
|
34761
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34762
|
-
style: {
|
|
34763
|
-
color: sectionproperties.slideshowText1ContentColor,
|
|
34764
|
-
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
34765
|
-
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
34766
|
-
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
34767
|
-
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px'
|
|
34768
|
-
}
|
|
34769
|
-
}, langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34770
|
-
"class": "col-lg-12 p-0 d-flex justify-content-md-center"
|
|
34771
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
34772
|
-
"class": "p-0 text-md-center",
|
|
34773
|
-
style: {
|
|
34774
|
-
textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
|
|
34775
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
34776
|
-
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
34777
|
-
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
34778
|
-
paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
34779
|
-
paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px'
|
|
34780
|
-
},
|
|
34781
|
-
dangerouslySetInnerHTML: {
|
|
34782
|
-
__html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar
|
|
34783
|
-
}
|
|
34784
|
-
})), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34844
|
+
"class": "row m-0 w-100"
|
|
34845
|
+
}, Content(), Image())), sectionproperties.sectionstyle != 'Image on right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34785
34846
|
"class": "col-lg-12 p-0"
|
|
34786
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
34787
|
-
"class": ""
|
|
34788
|
-
},
|
|
34789
|
-
"class": "col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center"
|
|
34790
|
-
}, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
|
|
34791
|
-
urlEndpoint: IKurlEndpoint,
|
|
34792
|
-
publicKey: IKpublicKey,
|
|
34793
|
-
path: imagesarray.length != 0 ? '/tr:w-500/' + imagesarray[0].bgsection_image : '',
|
|
34794
|
-
style: {
|
|
34795
|
-
objectFit: 'contain',
|
|
34796
|
-
margin: 0,
|
|
34797
|
-
padding: 0,
|
|
34798
|
-
height: '400px',
|
|
34799
|
-
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
34800
|
-
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
34801
|
-
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
34802
|
-
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px'
|
|
34803
|
-
}
|
|
34804
|
-
})));
|
|
34847
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
34848
|
+
"class": "row m-0 w-100"
|
|
34849
|
+
}, Image(), Content())));
|
|
34805
34850
|
};
|
|
34806
34851
|
|
|
34807
34852
|
function ownKeys$H(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
package/package.json
CHANGED
package/src.zip
DELETED
|
Binary file
|