tabexseriescomponents 0.0.239 → 0.0.241
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/Env.js +2 -2
- package/dist/index.cjs.js +539 -494
- package/dist/index.esm.js +539 -494
- package/dist/index.umd.js +539 -494
- package/package.json +1 -1
- package/src.zip +0 -0
- package/backupsrc.zip +0 -0
- package/library.zip +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -1012,21 +1012,251 @@ styleInject(css_248z$K);
|
|
|
1012
1012
|
var css_248z$J = ".image-gallery_image-gallery-icon__WE2UX {\n\tcolor: #fff;\n\ttransition: all .3s ease-out;\n\tappearance: none;\n\tbackground-color: transparent;\n\tborder: 0;\n\tcursor: pointer;\n\toutline: none;\n\tposition: absolute;\n\tz-index: 4;\n display: none !important;\n\t/* filter: drop-shadow(0 2px 2px #1a1a1a); */\n}\n\n@media(hover: hover)and (pointer: fine) {\n\t.image-gallery_image-gallery-icon__WE2UX:hover {\n\t\tcolor: var(--secondary)\n\t}\n\n\t.image-gallery_image-gallery-icon__WE2UX:hover .image-gallery_image-gallery-svg__XloJd {\n\t\ttransform: scale(1.1)\n\t}\n}\n\n.image-gallery_image-gallery-icon__WE2UX:focus {\n\toutline: 2px solid #000\n}\n\n.image-gallery_image-gallery-using-mouse__lBKAU .image-gallery_image-gallery-icon__WE2UX:focus {\n\toutline: none\n}\n\n.image-gallery_image-gallery-fullscreen-button__xyF3z,\n.image-gallery_image-gallery-play-button__2AS3J {\n\tbottom: 0;\n\tpadding: 20px\n}\n\n.image-gallery_image-gallery-fullscreen-button__xyF3z .image-gallery_image-gallery-svg__XloJd,\n.image-gallery_image-gallery-play-button__2AS3J .image-gallery_image-gallery-svg__XloJd {\n\theight: 28px;\n\twidth: 28px\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z,\n\t.image-gallery_image-gallery-play-button__2AS3J {\n\t\tpadding: 15px\n\t}\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-play-button__2AS3J .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 24px;\n\t\twidth: 24px\n\t}\n}\n\n@media(max-width: 480px) {\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z,\n\t.image-gallery_image-gallery-play-button__2AS3J {\n\t\tpadding: 10px\n\t}\n\n\t.image-gallery_image-gallery-fullscreen-button__xyF3z .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-play-button__2AS3J .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 16px;\n\t\twidth: 16px\n\t}\n}\n\n.image-gallery_image-gallery-fullscreen-button__xyF3z {\n\tright: 0\n}\n\n.image-gallery_image-gallery-play-button__2AS3J {\n\tleft: 0\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk,\n.image-gallery_image-gallery-right-nav__53hut {\n\tpadding: 50px 10px;\n\ttop: 50%;\n\ttransform: translateY(-50%)\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk .image-gallery_image-gallery-svg__XloJd,\n.image-gallery_image-gallery-right-nav__53hut .image-gallery_image-gallery-svg__XloJd {\n\theight: 120px;\n\twidth: 60px\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-left-nav__BmHmk .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-right-nav__53hut .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 72px;\n\t\twidth: 36px\n\t}\n}\n\n@media(max-width: 480px) {\n\n\t.image-gallery_image-gallery-left-nav__BmHmk .image-gallery_image-gallery-svg__XloJd,\n\t.image-gallery_image-gallery-right-nav__53hut .image-gallery_image-gallery-svg__XloJd {\n\t\theight: 48px;\n\t\twidth: 24px\n\t}\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk[disabled],\n.image-gallery_image-gallery-right-nav__53hut[disabled] {\n\tcursor: disabled;\n\topacity: .6;\n\tpointer-events: none\n}\n\n.image-gallery_image-gallery-left-nav__BmHmk {\n\tleft: 0\n}\n\n.image-gallery_image-gallery-right-nav__53hut {\n\tright: 0\n}\n\n.image-gallery_image-gallery__FfPQj {\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\t-o-user-select: none;\n\tuser-select: none;\n\t-webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\tposition: relative\n}\n\n.image-gallery_image-gallery__FfPQj.image-gallery_fullscreen-modal__KM6Xw {\n\tbackground: #000;\n\tbottom: 0;\n\theight: 100%;\n\tleft: 0;\n\tposition: fixed;\n\tright: 0;\n\ttop: 0;\n\twidth: 100%;\n\tz-index: 5\n}\n\n.image-gallery_image-gallery__FfPQj.image-gallery_fullscreen-modal__KM6Xw .image-gallery_image-gallery-content__kMTBU {\n\ttop: 50%;\n\ttransform: translateY(-50%)\n}\n\n.image-gallery_image-gallery-content__kMTBU {\n\tposition: relative;\n\tline-height: 0;\n\ttop: 0\n}\n\n.image-gallery_image-gallery-content__kMTBU.image-gallery_fullscreen__VMCyX {\n\tbackground: #000\n}\n\n.image-gallery_image-gallery-content__kMTBU .image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh {\n\tmax-height: 50vh !important;\n}\n\n.image-gallery_image-gallery-content__kMTBU.image-gallery_left__K0NWU .image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh,\n.image-gallery_image-gallery-content__kMTBU.image-gallery_right__PlchD .image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh {\n\tmax-height: 100vh\n}\n\n.image-gallery_image-gallery-slide-wrapper__gdmSf {\n\tposition: relative\n}\n\n.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_left__K0NWU,\n.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_right__PlchD {\n\tdisplay: inline-block;\n\twidth: calc(100% - 110px)\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_left__K0NWU,\n\t.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_right__PlchD {\n\t\twidth: calc(100% - 87px)\n\t}\n}\n\n.image-gallery_image-gallery-slide-wrapper__gdmSf.image-gallery_image-gallery-rtl__jhrNg {\n\tdirection: rtl\n}\n\n.image-gallery_image-gallery-slides__cWfmF {\n\tline-height: 0;\n\toverflow: hidden;\n\tposition: relative;\n\twhite-space: nowrap;\n\ttext-align: center\n}\n\n.image-gallery_image-gallery-slide__2BfHc {\n\tleft: 0;\n\tposition: absolute;\n\ttop: 0;\n\twidth: 100%\n}\n\n.image-gallery_image-gallery-slide__2BfHc.image-gallery_center__1gH-w {\n\tposition: relative\n}\n\n.image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-image__pCNKh {\n\twidth: 100%;\n\tobject-fit: contain\n}\n\n.image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-description__l1rZM {\n\tbackground: rgba(0, 0, 0, .4);\n\tbottom: 70px;\n\tcolor: #fff;\n\tleft: 0;\n\tline-height: 1;\n\tpadding: 10px 20px;\n\tposition: absolute;\n\twhite-space: normal\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-slide__2BfHc .image-gallery_image-gallery-description__l1rZM {\n\t\tbottom: 45px;\n\t\tfont-size: .8em;\n\t\tpadding: 8px 15px\n\t}\n}\n\n.image-gallery_image-gallery-bullets__CEQBy {\n\tbottom: 20px;\n\tleft: 0;\n\tmargin: 0 auto;\n\tposition: absolute;\n\tright: 0;\n\twidth: 80%;\n\tz-index: 4\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullets-container__BXDlg {\n\tmargin: 0;\n\tpadding: 0;\n\ttext-align: center\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG {\n\tappearance: none;\n\tbackground-color: transparent;\n\tborder: 1px solid #fff;\n\tborder-radius: 50%;\n\tbox-shadow: 0 2px 2px #1a1a1a;\n\tcursor: pointer;\n\tdisplay: inline-block;\n\tmargin: 0 5px;\n\toutline: none;\n\tpadding: 5px;\n\ttransition: all .2s ease-out\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG {\n\t\tmargin: 0 3px;\n\t\tpadding: 3px\n\t}\n}\n\n@media(max-width: 480px) {\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG {\n\t\tpadding: 2.7px\n\t}\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG:focus {\n\ttransform: scale(1.2);\n\tbackground: #000;\n\tborder: 1px solid #000\n}\n\n.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG.image-gallery_active__B2qrR {\n\ttransform: scale(1.2);\n\tborder: 1px solid #fff;\n\tbackground: #fff\n}\n\n@media(hover: hover)and (pointer: fine) {\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG:hover {\n\t\tbackground: #000;\n\t\tborder: 1px solid #000\n\t}\n\n\t.image-gallery_image-gallery-bullets__CEQBy .image-gallery_image-gallery-bullet__Z7gGG.image-gallery_active__B2qrR:hover {\n\t\tbackground: #000\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv- {\n\tposition: relative\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_thumbnails-swipe-horizontal__5-5qp {\n\ttouch-action: pan-y\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_thumbnails-swipe-vertical__-NAhb {\n\ttouch-action: pan-x\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_thumbnails-wrapper-rtl__Ya5gz {\n\tdirection: rtl\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\tdisplay: inline-block;\n\tvertical-align: top;\n\twidth: 100px;\n\theight: 100px !important;\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\t\twidth: 81px\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU .image-gallery_image-gallery-thumbnails__1BFBn,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD .image-gallery_image-gallery-thumbnails__1BFBn {\n\theight: 100%;\n\twidth: 100%;\n\tleft: 0;\n\tpadding: 0;\n\tposition: absolute;\n\ttop: 0\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF {\n\tdisplay: block;\n\tmargin-right: 0;\n\tpadding: 0\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF+.image-gallery_image-gallery-thumbnail__EKbDF,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD .image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnail__EKbDF+.image-gallery_image-gallery-thumbnail__EKbDF {\n\tmargin-left: 0;\n\tmargin-top: 2px\n}\n\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\tmargin: 0 5px\n}\n\n@media(max-width: 768px) {\n\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_left__K0NWU,\n\t.image-gallery_image-gallery-thumbnails-wrapper__7vIv-.image-gallery_right__PlchD {\n\t\tmargin: 0 3px\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails__1BFBn {\n\toverflow: hidden;\n\tpadding: 5px 0\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnails__1BFBn {\n\t\tpadding: 3px 0\n\t}\n}\n\n.image-gallery_image-gallery-thumbnails__1BFBn .image-gallery_image-gallery-thumbnails-container__Z3mr8 {\n\tcursor: pointer;\n\ttext-align: center;\n\twhite-space: nowrap\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF {\n\tdisplay: inline-block;\n\tborder: 2px solid transparent;\n\ttransition: border .3s ease-out;\n\twidth: 10vh;\n\tbackground: transparent;\n\tpadding: 0\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnail__EKbDF {\n\t\tborder: 3px solid transparent;\n\t\twidth: 81px\n\t}\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF+.image-gallery_image-gallery-thumbnail__EKbDF {\n\tmargin-left: 2px\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF .image-gallery_image-gallery-thumbnail-inner__4F4ry {\n\tdisplay: block;\n\tposition: relative\n}\n.image-gallery_image-gallery-thumbnail__EKbDF{\n\twidth: 10vh;\n\theight: 7vh;\n\toverflow: hidden;\n}\n.image-gallery_image-gallery-thumbnail__EKbDF .image-gallery_image-gallery-thumbnail-image__Oi9qX {\n\twidth: 100%;\n height:100%;\n\tline-height: 0;\n object-fit: contain;\n}\n\n.image-gallery_image-gallery-thumbnail__EKbDF.image-gallery_active__B2qrR,\n.image-gallery_image-gallery-thumbnail__EKbDF:focus {\n\toutline: none;\n\tborder: 2px solid var(--light);\n}\n@media(hover: hover)and (pointer: fine) {\n\t.image-gallery_image-gallery-thumbnail__EKbDF:hover {\n\t\toutline: none;\n\t\tborder: 2px solid var(--light)\n\t}\n}\n\n@media(hover: hover)and (pointer: fine)and (max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnail__EKbDF:hover {\n\t\tborder: 2px solid var(--primary)\n\t}\n}\n\n.image-gallery_image-gallery-thumbnail-label__4Xph8 {\n\tbox-sizing: border-box;\n\tcolor: #fff;\n\tfont-size: 1em;\n\tleft: 0;\n\tline-height: 1em;\n\tpadding: 5%;\n\tposition: absolute;\n\ttop: 50%;\n\ttext-shadow: 0 2px 2px #1a1a1a;\n\ttransform: translateY(-50%);\n\twhite-space: normal;\n\twidth: 100%\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-thumbnail-label__4Xph8 {\n\t\tfont-size: .8em;\n\t\tline-height: .8em\n\t}\n}\n\n.image-gallery_image-gallery-index__DbRoC {\n\tbackground: rgba(0, 0, 0, .4);\n\tcolor: #fff;\n\tline-height: 1;\n\tpadding: 10px 20px;\n\tposition: absolute;\n\tright: 0;\n\ttop: 0;\n\tz-index: 4\n}\n\n@media(max-width: 768px) {\n\t.image-gallery_image-gallery-index__DbRoC {\n\t\tfont-size: .8em;\n\t\tpadding: 5px 10px\n\t}\n}";
|
|
1013
1013
|
styleInject(css_248z$J);
|
|
1014
1014
|
|
|
1015
|
-
var IKurlEndpoint = 'https://ik.imagekit.io/
|
|
1016
|
-
var IKpublicKey = '
|
|
1015
|
+
var IKurlEndpoint = 'https://ik.imagekit.io/ppcqtfrxp';
|
|
1016
|
+
var IKpublicKey = 'public_h8U+4K+MFoeq+MKLf34NST4axAo=';
|
|
1017
1017
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
1018
1018
|
|
|
1019
|
+
//productidprops
|
|
1020
|
+
var Variantoptions = function Variantoptions(props) {
|
|
1021
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
1022
|
+
var lang = props.actions.lang;
|
|
1023
|
+
var langdetect = props.actions.langdetect;
|
|
1024
|
+
var selectproductoptionvalue = props.actions.selectproductoptionvalue;
|
|
1025
|
+
var clearchoosenvaluesbutkeepcurrentvalue = props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
1026
|
+
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
1027
|
+
var sectionproperties = props.actions.sectionproperties;
|
|
1028
|
+
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
1029
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
1030
|
+
className: "row m-0 w-100 d-flex align-items-start"
|
|
1031
|
+
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1032
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1033
|
+
className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
|
|
1034
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1035
|
+
className: "row m-0 w-100 d-flex align-items-start"
|
|
1036
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1037
|
+
className: "col-lg-12 col-md-12 p-0 d-flex"
|
|
1038
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
1039
|
+
className: ' m-0 p-0 wordbreak',
|
|
1040
|
+
style: {
|
|
1041
|
+
color: sectionproperties.varianttitle_color,
|
|
1042
|
+
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
1043
|
+
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1044
|
+
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1045
|
+
}
|
|
1046
|
+
}, lang.select, " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":")), /*#__PURE__*/React.createElement("div", {
|
|
1047
|
+
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-3 pb-3",
|
|
1048
|
+
style: {
|
|
1049
|
+
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
1050
|
+
}
|
|
1051
|
+
}, item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
1052
|
+
var isoptionvalueselected = 0;
|
|
1053
|
+
if (optionvaluesitem.isselected == 1) {
|
|
1054
|
+
isoptionvalueselected = 1;
|
|
1055
|
+
} else {
|
|
1056
|
+
isoptionvalueselected = 0;
|
|
1057
|
+
}
|
|
1058
|
+
var isoptionvaluedenabled = 0;
|
|
1059
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
1060
|
+
isoptionvaluedenabled = 1;
|
|
1061
|
+
} else {
|
|
1062
|
+
isoptionvaluedenabled = 0;
|
|
1063
|
+
}
|
|
1064
|
+
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1065
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1066
|
+
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''),
|
|
1067
|
+
onClick: function onClick() {
|
|
1068
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
1069
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1070
|
+
} else {
|
|
1071
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
style: {
|
|
1075
|
+
background: optionvaluesitem.valuename,
|
|
1076
|
+
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
|
|
1077
|
+
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed'
|
|
1078
|
+
}
|
|
1079
|
+
});
|
|
1080
|
+
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1081
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1082
|
+
className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1083
|
+
onClick: function onClick() {
|
|
1084
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
1085
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1086
|
+
} else {
|
|
1087
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
style: {
|
|
1091
|
+
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1092
|
+
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1093
|
+
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
1094
|
+
height: sectionproperties.variantcontainer_height + 'px',
|
|
1095
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
1096
|
+
position: 'relative'
|
|
1097
|
+
}
|
|
1098
|
+
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
1099
|
+
"class": "m-0 p-0 bg-danger bgdanger-hover",
|
|
1100
|
+
style: {
|
|
1101
|
+
position: 'absolute',
|
|
1102
|
+
top: '-15px',
|
|
1103
|
+
right: '-5px',
|
|
1104
|
+
width: '3vh',
|
|
1105
|
+
height: '3vh',
|
|
1106
|
+
borderRadius: 100
|
|
1107
|
+
}
|
|
1108
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
1109
|
+
"class": "h-100 allcentered"
|
|
1110
|
+
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1111
|
+
className: 'font-12 wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1112
|
+
style: {
|
|
1113
|
+
color: sectionproperties.variantcontainer_color,
|
|
1114
|
+
fontSize: sectionproperties.variantcontainer_fontSize + 'px'
|
|
1115
|
+
}
|
|
1116
|
+
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1117
|
+
} else {
|
|
1118
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1119
|
+
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered pl-2 pr-2 ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1120
|
+
onClick: function onClick() {
|
|
1121
|
+
if (optionvaluesitem.isenabled == 1) {
|
|
1122
|
+
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1123
|
+
} else {
|
|
1124
|
+
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
style: {
|
|
1128
|
+
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1129
|
+
width: 'auto',
|
|
1130
|
+
height: sectionproperties.variantcontainer_height + 'px',
|
|
1131
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
1132
|
+
position: 'relative'
|
|
1133
|
+
}
|
|
1134
|
+
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
1135
|
+
"class": "m-0 p-0 bg-danger bgdanger-hover",
|
|
1136
|
+
style: {
|
|
1137
|
+
position: 'absolute',
|
|
1138
|
+
top: '-15px',
|
|
1139
|
+
right: '-5px',
|
|
1140
|
+
width: '3vh',
|
|
1141
|
+
height: '3vh',
|
|
1142
|
+
borderRadius: 100
|
|
1143
|
+
}
|
|
1144
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
1145
|
+
"class": "h-100 allcentered"
|
|
1146
|
+
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1147
|
+
className: 'm-0 p-0 allcentered',
|
|
1148
|
+
style: {
|
|
1149
|
+
color: sectionproperties.variantcontainer_color,
|
|
1150
|
+
fontSize: sectionproperties.variantcontainer_fontSize + 'px'
|
|
1151
|
+
}
|
|
1152
|
+
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1153
|
+
}
|
|
1154
|
+
}))));
|
|
1155
|
+
})));
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
//productidprops
|
|
1159
|
+
var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
1160
|
+
props.actions.lang;
|
|
1161
|
+
var langdetect = props.actions.langdetect;
|
|
1162
|
+
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
1163
|
+
var sectionproperties = props.actions.sectionproperties;
|
|
1164
|
+
var authdetailsContext = props.actions.authdetailsContext;
|
|
1165
|
+
var variantindexcompleted = props.actions.variantindexcompleted;
|
|
1166
|
+
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
1167
|
+
var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
|
|
1168
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1169
|
+
"class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
|
|
1170
|
+
style: {
|
|
1171
|
+
background: sectionproperties.reservation_bgcolor,
|
|
1172
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px'
|
|
1173
|
+
}
|
|
1174
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1175
|
+
"class": "row m-0 w-100",
|
|
1176
|
+
style: {
|
|
1177
|
+
paddingLeft: sectionproperties.reservation_padding_left + 'rem',
|
|
1178
|
+
paddingRight: sectionproperties.reservation_padding_right + 'rem',
|
|
1179
|
+
paddingTop: sectionproperties.reservation_padding_top + 'rem',
|
|
1180
|
+
paddingBottom: sectionproperties.reservation_padding_bottom + 'rem'
|
|
1181
|
+
}
|
|
1182
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1183
|
+
style: {
|
|
1184
|
+
fontSize: sectionproperties.defaultPriceFontSize + 'px',
|
|
1185
|
+
fontWeight: sectionproperties.defaultPriceFontWeight,
|
|
1186
|
+
color: sectionproperties.defaultPriceColor
|
|
1187
|
+
}
|
|
1188
|
+
}, quantityconditionfoundobjprops != null && /*#__PURE__*/React.createElement(React.Fragment, null, (quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.type) == 'add' ? '+' : '-', quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.value, "%")), /*#__PURE__*/React.createElement("div", {
|
|
1189
|
+
"class": "col-lg-12 p-0 d-flex justift-content-start"
|
|
1190
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
1191
|
+
"class": "m-0 p-0"
|
|
1192
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1193
|
+
style: {
|
|
1194
|
+
fontSize: sectionproperties.defaultPriceFontSize + 'px',
|
|
1195
|
+
fontWeight: sectionproperties.defaultPriceFontWeight,
|
|
1196
|
+
color: sectionproperties.defaultPriceColor
|
|
1197
|
+
}
|
|
1198
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? getprice_discountpriceprops('defaultprice', 0, variantindexcompleted) : getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1199
|
+
style: {
|
|
1200
|
+
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1201
|
+
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1202
|
+
color: sectionproperties.defaultSalePriceColor
|
|
1203
|
+
}
|
|
1204
|
+
}, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1205
|
+
"class": "linethrough",
|
|
1206
|
+
style: {
|
|
1207
|
+
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1208
|
+
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1209
|
+
color: sectionproperties.defaultSalePriceColor
|
|
1210
|
+
}
|
|
1211
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1212
|
+
"class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
|
|
1213
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
1214
|
+
"class": "m-0 p-0 d-flex align-items-center justift-content-start"
|
|
1215
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1216
|
+
style: {
|
|
1217
|
+
fontSize: sectionproperties.counterTitleFontSize + 'px',
|
|
1218
|
+
color: sectionproperties.counterTitleColor,
|
|
1219
|
+
fontWeight: sectionproperties.counterTitleFontWeight
|
|
1220
|
+
}
|
|
1221
|
+
}, langdetect == 'en' ? sectionproperties.countertitleen : sectionproperties.countertitlear), /*#__PURE__*/React.createElement("span", {
|
|
1222
|
+
"class": "ml-1 mr-1",
|
|
1223
|
+
style: {
|
|
1224
|
+
fontSize: sectionproperties.counterValueFontSize + 'px',
|
|
1225
|
+
color: sectionproperties.counterValueColor,
|
|
1226
|
+
fontWeight: sectionproperties.counterValueFontWeight
|
|
1227
|
+
}
|
|
1228
|
+
}, parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted) - getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)), ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("div", {
|
|
1229
|
+
style: {
|
|
1230
|
+
background: sectionproperties.pillbgcolor,
|
|
1231
|
+
width: 'fit-content',
|
|
1232
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
1233
|
+
border: sectionproperties.pillBorderWidth + 'px solid ' + sectionproperties.pillBorderColor,
|
|
1234
|
+
direction: 'ltr'
|
|
1235
|
+
},
|
|
1236
|
+
"class": "ml-2 mr-2"
|
|
1237
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
1238
|
+
"class": "m-0 pl-2 pr-2 py-0",
|
|
1239
|
+
style: {
|
|
1240
|
+
color: sectionproperties.pillcolor,
|
|
1241
|
+
fontWeight: sectionproperties.pillfontWeight,
|
|
1242
|
+
fontSize: '13px',
|
|
1243
|
+
lineHeight: '25px'
|
|
1244
|
+
}
|
|
1245
|
+
}, '-' + Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0 + '%'))))));
|
|
1246
|
+
};
|
|
1247
|
+
|
|
1019
1248
|
function ownKeys$1_(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; }
|
|
1020
1249
|
function _objectSpread$1_(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1_(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1021
1250
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1022
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2
|
|
1251
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
1023
1252
|
var lang = props.actions.lang;
|
|
1024
1253
|
var langdetect = props.actions.langdetect;
|
|
1025
1254
|
var srcfromprops = props.actions.srcfromprops;
|
|
1026
1255
|
props.actions.returnpolicyobj;
|
|
1027
1256
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
1028
1257
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
1029
|
-
|
|
1258
|
+
props.actions.selectproductoptionvalue;
|
|
1259
|
+
props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
1030
1260
|
var productimagesarray = props.actions.productimagesarray;
|
|
1031
1261
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
1032
1262
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -1042,7 +1272,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1042
1272
|
props.actions.relatedproducts;
|
|
1043
1273
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
1044
1274
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
1045
|
-
|
|
1275
|
+
props.actions.quantityconditionfoundobjprops;
|
|
1046
1276
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
1047
1277
|
var _useState = useState(false),
|
|
1048
1278
|
_useState2 = _slicedToArray(_useState, 2);
|
|
@@ -1178,84 +1408,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1178
1408
|
style: {
|
|
1179
1409
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1180
1410
|
}
|
|
1181
|
-
}, langdetect == 'en' ? 'Delivery Time' : 'مدة الشحن', ": ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.deliverydatetext)),
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
background: sectionproperties.reservation_bgcolor,
|
|
1185
|
-
borderRadius: sectionproperties.reservation_borderradius + 'px'
|
|
1186
|
-
}
|
|
1187
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
1188
|
-
"class": "row m-0 w-100",
|
|
1189
|
-
style: {
|
|
1190
|
-
paddingLeft: sectionproperties.reservation_padding_left + 'rem',
|
|
1191
|
-
paddingRight: sectionproperties.reservation_padding_right + 'rem',
|
|
1192
|
-
paddingTop: sectionproperties.reservation_padding_top + 'rem',
|
|
1193
|
-
paddingBottom: sectionproperties.reservation_padding_bottom + 'rem'
|
|
1194
|
-
}
|
|
1195
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
1196
|
-
style: {
|
|
1197
|
-
fontSize: sectionproperties.defaultPriceFontSize + 'px',
|
|
1198
|
-
fontWeight: sectionproperties.defaultPriceFontWeight,
|
|
1199
|
-
color: sectionproperties.defaultPriceColor
|
|
1200
|
-
}
|
|
1201
|
-
}, quantityconditionfoundobjprops != null && /*#__PURE__*/React.createElement(React.Fragment, null, (quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.type) == 'add' ? '+' : '-', quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.value, "%")), /*#__PURE__*/React.createElement("div", {
|
|
1202
|
-
"class": "col-lg-12 p-0 d-flex justift-content-start"
|
|
1203
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
1204
|
-
"class": "m-0 p-0"
|
|
1205
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
1206
|
-
style: {
|
|
1207
|
-
fontSize: sectionproperties.defaultPriceFontSize + 'px',
|
|
1208
|
-
fontWeight: sectionproperties.defaultPriceFontWeight,
|
|
1209
|
-
color: sectionproperties.defaultPriceColor
|
|
1210
|
-
}
|
|
1211
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? getprice_discountpriceprops('defaultprice', 0, variantindexcompleted) : getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1212
|
-
style: {
|
|
1213
|
-
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1214
|
-
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1215
|
-
color: sectionproperties.defaultSalePriceColor
|
|
1216
|
-
}
|
|
1217
|
-
}, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1218
|
-
"class": "linethrough",
|
|
1219
|
-
style: {
|
|
1220
|
-
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1221
|
-
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1222
|
-
color: sectionproperties.defaultSalePriceColor
|
|
1223
|
-
}
|
|
1224
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 0, variantindexcompleted), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1225
|
-
"class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
|
|
1226
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
1227
|
-
"class": "m-0 p-0 d-flex align-items-center justift-content-start"
|
|
1228
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
1229
|
-
style: {
|
|
1230
|
-
fontSize: sectionproperties.counterTitleFontSize + 'px',
|
|
1231
|
-
color: sectionproperties.counterTitleColor,
|
|
1232
|
-
fontWeight: sectionproperties.counterTitleFontWeight
|
|
1233
|
-
}
|
|
1234
|
-
}, langdetect == 'en' ? sectionproperties.countertitleen : sectionproperties.countertitlear), /*#__PURE__*/React.createElement("span", {
|
|
1235
|
-
"class": "ml-1 mr-1",
|
|
1236
|
-
style: {
|
|
1237
|
-
fontSize: sectionproperties.counterValueFontSize + 'px',
|
|
1238
|
-
color: sectionproperties.counterValueColor,
|
|
1239
|
-
fontWeight: sectionproperties.counterValueFontWeight
|
|
1240
|
-
}
|
|
1241
|
-
}, parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted) - getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted)), ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("div", {
|
|
1242
|
-
style: {
|
|
1243
|
-
background: sectionproperties.pillbgcolor,
|
|
1244
|
-
width: 'fit-content',
|
|
1245
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
1246
|
-
border: sectionproperties.pillBorderWidth + 'px solid ' + sectionproperties.pillBorderColor,
|
|
1247
|
-
direction: 'ltr'
|
|
1248
|
-
},
|
|
1249
|
-
"class": "ml-2 mr-2"
|
|
1250
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
1251
|
-
"class": "m-0 pl-2 pr-2 py-0",
|
|
1252
|
-
style: {
|
|
1253
|
-
color: sectionproperties.pillcolor,
|
|
1254
|
-
fontWeight: sectionproperties.pillfontWeight,
|
|
1255
|
-
fontSize: '13px',
|
|
1256
|
-
lineHeight: '25px'
|
|
1257
|
-
}
|
|
1258
|
-
}, '-' + Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0 + '%'))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React.createElement("div", {
|
|
1411
|
+
}, langdetect == 'en' ? 'Delivery Time' : 'مدة الشحن', ": ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.deliverydatetext)), /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
1412
|
+
actions: props.actions
|
|
1413
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React.createElement("div", {
|
|
1259
1414
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1260
1415
|
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1261
1416
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -1315,127 +1470,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1315
1470
|
}
|
|
1316
1471
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1317
1472
|
})));
|
|
1318
|
-
})),
|
|
1319
|
-
|
|
1320
|
-
},
|
|
1321
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
1322
|
-
className: "col-lg-12 p-0 mb-3 d-flex justify-content-start"
|
|
1323
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
1324
|
-
className: "row m-0 w-100 d-flex align-items-start"
|
|
1325
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
1326
|
-
className: "col-lg-12 col-md-12 p-0 d-flex"
|
|
1327
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
1328
|
-
className: ' m-0 p-0 wordbreak',
|
|
1329
|
-
style: {
|
|
1330
|
-
color: sectionproperties.varianttitle_color,
|
|
1331
|
-
fontWeight: sectionproperties.varianttitle_fontweight,
|
|
1332
|
-
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1333
|
-
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1334
|
-
}
|
|
1335
|
-
}, lang.select, " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":")), /*#__PURE__*/React.createElement("div", {
|
|
1336
|
-
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-3 pb-3",
|
|
1337
|
-
style: {
|
|
1338
|
-
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
1339
|
-
}
|
|
1340
|
-
}, item.optionvalues.map(function (optionvaluesitem, optionvaluesindex) {
|
|
1341
|
-
var isoptionvalueselected = 0;
|
|
1342
|
-
if (optionvaluesitem.isselected == 1) {
|
|
1343
|
-
isoptionvalueselected = 1;
|
|
1344
|
-
} else {
|
|
1345
|
-
isoptionvalueselected = 0;
|
|
1346
|
-
}
|
|
1347
|
-
var isoptionvaluedenabled = 0;
|
|
1348
|
-
if (optionvaluesitem.isenabled == 1) {
|
|
1349
|
-
isoptionvaluedenabled = 1;
|
|
1350
|
-
} else {
|
|
1351
|
-
isoptionvaluedenabled = 0;
|
|
1352
|
-
}
|
|
1353
|
-
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1354
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
1355
|
-
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''),
|
|
1356
|
-
onClick: function onClick() {
|
|
1357
|
-
if (optionvaluesitem.isenabled == 1) {
|
|
1358
|
-
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1359
|
-
}
|
|
1360
|
-
},
|
|
1361
|
-
style: {
|
|
1362
|
-
background: optionvaluesitem.valuename,
|
|
1363
|
-
opacity: isoptionvaluedenabled == 1 ? 1 : 0.2,
|
|
1364
|
-
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed'
|
|
1365
|
-
}
|
|
1366
|
-
});
|
|
1367
|
-
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1368
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
1369
|
-
className: "".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1370
|
-
onClick: function onClick() {
|
|
1371
|
-
if (optionvaluesitem.isenabled == 1) {
|
|
1372
|
-
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1373
|
-
}
|
|
1374
|
-
},
|
|
1375
|
-
style: {
|
|
1376
|
-
cursor: isoptionvaluedenabled == 1 ? 'pointer' : 'not-allowed',
|
|
1377
|
-
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1378
|
-
minWidth: sectionproperties.variantcontainer_minwidth + 'px',
|
|
1379
|
-
height: sectionproperties.variantcontainer_height + 'px',
|
|
1380
|
-
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
1381
|
-
position: 'relative'
|
|
1382
|
-
}
|
|
1383
|
-
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
1384
|
-
"class": "m-0 p-0 bg-danger bgdanger-hover",
|
|
1385
|
-
style: {
|
|
1386
|
-
position: 'absolute',
|
|
1387
|
-
top: '-15px',
|
|
1388
|
-
right: '-5px',
|
|
1389
|
-
width: '3vh',
|
|
1390
|
-
height: '3vh',
|
|
1391
|
-
borderRadius: 100
|
|
1392
|
-
}
|
|
1393
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
1394
|
-
"class": "h-100 allcentered"
|
|
1395
|
-
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1396
|
-
className: 'font-12 wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1397
|
-
style: {
|
|
1398
|
-
color: sectionproperties.variantcontainer_color,
|
|
1399
|
-
fontSize: sectionproperties.variantcontainer_fontSize + 'px'
|
|
1400
|
-
}
|
|
1401
|
-
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1402
|
-
} else {
|
|
1403
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
1404
|
-
className: productinfostyles.variant_container + ' mr-2 variabttcontainer allcentered pl-2 pr-2 ' + "".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1405
|
-
onClick: function onClick() {
|
|
1406
|
-
if (optionvaluesitem.isenabled == 1) {
|
|
1407
|
-
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1408
|
-
}
|
|
1409
|
-
},
|
|
1410
|
-
style: {
|
|
1411
|
-
backgroundColor: isoptionvalueselected == 1 ? 'green' : isoptionvaluedenabled == 1 ? sectionproperties.variantcontainer_bgcolor : 'grey',
|
|
1412
|
-
width: 'auto',
|
|
1413
|
-
height: sectionproperties.variantcontainer_height + 'px',
|
|
1414
|
-
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px',
|
|
1415
|
-
position: 'relative'
|
|
1416
|
-
}
|
|
1417
|
-
}, isoptionvalueselected == 1 && sectionproperties.showRemovebutton == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
1418
|
-
"class": "m-0 p-0 bg-danger bgdanger-hover",
|
|
1419
|
-
style: {
|
|
1420
|
-
position: 'absolute',
|
|
1421
|
-
top: '-15px',
|
|
1422
|
-
right: '-5px',
|
|
1423
|
-
width: '3vh',
|
|
1424
|
-
height: '3vh',
|
|
1425
|
-
borderRadius: 100
|
|
1426
|
-
}
|
|
1427
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
1428
|
-
"class": "h-100 allcentered"
|
|
1429
|
-
}, /*#__PURE__*/React.createElement(IoMdClose, null))), /*#__PURE__*/React.createElement("p", {
|
|
1430
|
-
className: 'm-0 p-0 allcentered',
|
|
1431
|
-
style: {
|
|
1432
|
-
color: sectionproperties.variantcontainer_color,
|
|
1433
|
-
fontSize: sectionproperties.variantcontainer_fontSize + 'px'
|
|
1434
|
-
}
|
|
1435
|
-
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1436
|
-
}
|
|
1437
|
-
}))));
|
|
1438
|
-
})), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1473
|
+
})), /*#__PURE__*/React.createElement(Variantoptions, {
|
|
1474
|
+
actions: props.actions
|
|
1475
|
+
}), sectionproperties.quantitybtn_show == 'Show' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1439
1476
|
className: "col-lg-12 p-0 mb-3"
|
|
1440
1477
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
1441
1478
|
className: "mb-0 mt-2"
|
|
@@ -2292,7 +2329,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2292
2329
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
2293
2330
|
var NotificationManager = props.actions.NotificationManager;
|
|
2294
2331
|
var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
|
|
2295
|
-
|
|
2332
|
+
props.actions.quantityconditionfoundobjprops;
|
|
2333
|
+
props.actions.variantindexcompleted;
|
|
2296
2334
|
var StoreInfoprops = props.actions.StoreInfoprops;
|
|
2297
2335
|
var _useState = useState(''),
|
|
2298
2336
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -2492,84 +2530,9 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2492
2530
|
style: {
|
|
2493
2531
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2494
2532
|
}
|
|
2495
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.deliverydatetext)),
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
background: sectionproperties.reservation_bgcolor,
|
|
2499
|
-
borderRadius: sectionproperties.reservation_borderradius + 'px'
|
|
2500
|
-
}
|
|
2501
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
2502
|
-
"class": "row m-0 w-100",
|
|
2503
|
-
style: {
|
|
2504
|
-
paddingLeft: sectionproperties.reservation_padding_left + 'rem',
|
|
2505
|
-
paddingRight: sectionproperties.reservation_padding_right + 'rem',
|
|
2506
|
-
paddingTop: sectionproperties.reservation_padding_top + 'rem',
|
|
2507
|
-
paddingBottom: sectionproperties.reservation_padding_bottom + 'rem'
|
|
2508
|
-
}
|
|
2509
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
2510
|
-
style: {
|
|
2511
|
-
fontSize: sectionproperties.defaultPriceFontSize + 'px',
|
|
2512
|
-
fontWeight: sectionproperties.defaultPriceFontWeight,
|
|
2513
|
-
color: sectionproperties.defaultPriceColor
|
|
2514
|
-
}
|
|
2515
|
-
}, quantityconditionfoundobjprops != null && /*#__PURE__*/React.createElement(React.Fragment, null, (quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.type) == 'add' ? '+' : '-', quantityconditionfoundobjprops === null || quantityconditionfoundobjprops === void 0 ? void 0 : quantityconditionfoundobjprops.value, "%")), /*#__PURE__*/React.createElement("div", {
|
|
2516
|
-
"class": "col-lg-12 p-0 d-flex justift-content-start"
|
|
2517
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
2518
|
-
"class": "m-0 p-0"
|
|
2519
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
2520
|
-
style: {
|
|
2521
|
-
fontSize: sectionproperties.defaultPriceFontSize + 'px',
|
|
2522
|
-
fontWeight: sectionproperties.defaultPriceFontWeight,
|
|
2523
|
-
color: sectionproperties.defaultPriceColor
|
|
2524
|
-
}
|
|
2525
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? getprice_discountpriceprops('defaultprice', 0) : getprice_discountpriceprops('defaultsaleprice', 0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
2526
|
-
style: {
|
|
2527
|
-
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
2528
|
-
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
2529
|
-
color: sectionproperties.defaultSalePriceColor
|
|
2530
|
-
}
|
|
2531
|
-
}, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
2532
|
-
"class": "linethrough",
|
|
2533
|
-
style: {
|
|
2534
|
-
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
2535
|
-
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
2536
|
-
color: sectionproperties.defaultSalePriceColor
|
|
2537
|
-
}
|
|
2538
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", getprice_discountpriceprops('defaultprice', 0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && sectionproperties.showpill == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2539
|
-
"class": "col-lg-12 p-0 d-flex align-items-center justift-content-start"
|
|
2540
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
2541
|
-
"class": "m-0 p-0 d-flex align-items-center justift-content-start"
|
|
2542
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
2543
|
-
style: {
|
|
2544
|
-
fontSize: sectionproperties.counterTitleFontSize + 'px',
|
|
2545
|
-
color: sectionproperties.counterTitleColor,
|
|
2546
|
-
fontWeight: sectionproperties.counterTitleFontWeight
|
|
2547
|
-
}
|
|
2548
|
-
}, langdetect == 'en' ? sectionproperties.countertitleen : sectionproperties.countertitlear), /*#__PURE__*/React.createElement("span", {
|
|
2549
|
-
"class": "ml-1 mr-1",
|
|
2550
|
-
style: {
|
|
2551
|
-
fontSize: sectionproperties.counterValueFontSize + 'px',
|
|
2552
|
-
color: sectionproperties.counterValueColor,
|
|
2553
|
-
fontWeight: sectionproperties.counterValueFontWeight
|
|
2554
|
-
}
|
|
2555
|
-
}, parseFloat(getprice_discountpriceprops('defaultprice', 0) - getprice_discountpriceprops('defaultsaleprice', 0)), ' ', langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("div", {
|
|
2556
|
-
style: {
|
|
2557
|
-
background: sectionproperties.pillbgcolor,
|
|
2558
|
-
width: 'fit-content',
|
|
2559
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
2560
|
-
border: sectionproperties.pillBorderWidth + 'px solid ' + sectionproperties.pillBorderColor,
|
|
2561
|
-
direction: 'ltr'
|
|
2562
|
-
},
|
|
2563
|
-
"class": "ml-2 mr-2"
|
|
2564
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
2565
|
-
"class": "m-0 pl-2 pr-2 py-0",
|
|
2566
|
-
style: {
|
|
2567
|
-
color: sectionproperties.pillcolor,
|
|
2568
|
-
fontWeight: sectionproperties.pillfontWeight,
|
|
2569
|
-
fontSize: '13px',
|
|
2570
|
-
lineHeight: '25px'
|
|
2571
|
-
}
|
|
2572
|
-
}, '-' + Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0))) / parseFloat(getprice_discountpriceprops('defaultprice', 0))) * 100) / 10.0 + '%'))))), /*#__PURE__*/React.createElement("div", {
|
|
2533
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.deliverydatetext)), /*#__PURE__*/React.createElement(ProductHeaderPricing, {
|
|
2534
|
+
actions: props.actions
|
|
2535
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
2573
2536
|
"class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
|
|
2574
2537
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2575
2538
|
"class": "m-0 p-0 mb-2 w-100",
|
|
@@ -2593,7 +2556,9 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2593
2556
|
"class": langdetect == 'en' ? productinfo_cssstyles.before + ' before ' : productinfo_cssstyles.before + ' beforear '
|
|
2594
2557
|
})), /*#__PURE__*/React.createElement("div", {
|
|
2595
2558
|
"class": "col-lg-12 p-0"
|
|
2596
|
-
}, /*#__PURE__*/React.createElement(
|
|
2559
|
+
}, /*#__PURE__*/React.createElement(Variantoptions, {
|
|
2560
|
+
actions: props.actions
|
|
2561
|
+
}), /*#__PURE__*/React.createElement(Serviceinfotabs, {
|
|
2597
2562
|
actions: {
|
|
2598
2563
|
fetchProductInfoQueryContext: fetchProductInfoQueryContext,
|
|
2599
2564
|
sectionproperties: sectionproperties,
|
|
@@ -2849,8 +2814,24 @@ var Productinfo = function Productinfo(props) {
|
|
|
2849
2814
|
}
|
|
2850
2815
|
}
|
|
2851
2816
|
}, [fetchProductInfoQueryContext.isSuccess, fetchProductInfoQueryContext.data]);
|
|
2852
|
-
var
|
|
2817
|
+
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
2818
|
+
var _productarr$data, _productarr$data$prod, _productarr$data$prod2;
|
|
2853
2819
|
var productarr = ProductInfoObj;
|
|
2820
|
+
productarr === null || productarr === void 0 ? void 0 : (_productarr$data = productarr.data) === null || _productarr$data === void 0 ? void 0 : (_productarr$data$prod = _productarr$data.productinfo) === null || _productarr$data$prod === void 0 ? void 0 : (_productarr$data$prod2 = _productarr$data$prod.productoptions) === null || _productarr$data$prod2 === void 0 ? void 0 : _productarr$data$prod2.forEach(function (item, index) {
|
|
2821
|
+
var _item$optionvalues;
|
|
2822
|
+
item.isselected = 0;
|
|
2823
|
+
item === null || item === void 0 ? void 0 : (_item$optionvalues = item.optionvalues) === null || _item$optionvalues === void 0 ? void 0 : _item$optionvalues.forEach(function (valueitem, valueindex) {
|
|
2824
|
+
valueitem.isselected = 0;
|
|
2825
|
+
});
|
|
2826
|
+
});
|
|
2827
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
2828
|
+
};
|
|
2829
|
+
var selectproductoptionvalue = function selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarrtobepassed) {
|
|
2830
|
+
if (productarrtobepassed == undefined || productarrtobepassed == null) {
|
|
2831
|
+
var productarr = ProductInfoObj;
|
|
2832
|
+
} else {
|
|
2833
|
+
var productarr = productarrtobepassed;
|
|
2834
|
+
}
|
|
2854
2835
|
var isselected = productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected;
|
|
2855
2836
|
if (isselected == 1) {
|
|
2856
2837
|
productarr.data.productinfo.productoptions[optionindex].optionvalues[optionvaluesindex].isselected = 0;
|
|
@@ -2869,8 +2850,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
2869
2850
|
var variantchecker = function variantchecker() {
|
|
2870
2851
|
var productarr = ProductInfoObj;
|
|
2871
2852
|
if (Object.keys(productarr).length != 0) {
|
|
2872
|
-
var _productarr$
|
|
2873
|
-
if ((productarr === null || productarr === void 0 ? void 0 : (_productarr$
|
|
2853
|
+
var _productarr$data2, _productarr$data2$pro;
|
|
2854
|
+
if ((productarr === null || productarr === void 0 ? void 0 : (_productarr$data2 = productarr.data) === null || _productarr$data2 === void 0 ? void 0 : (_productarr$data2$pro = _productarr$data2.productinfo) === null || _productarr$data2$pro === void 0 ? void 0 : _productarr$data2$pro.hasvariants) == 1) {
|
|
2874
2855
|
var selectedoptionsvalues = [];
|
|
2875
2856
|
var variantsaccessible = [];
|
|
2876
2857
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -3574,14 +3555,14 @@ var Productinfo = function Productinfo(props) {
|
|
|
3574
3555
|
langdetect: langdetect,
|
|
3575
3556
|
lang: lang,
|
|
3576
3557
|
srcfromprops: props.srcfromprops
|
|
3577
|
-
}, _defineProperty(_ref, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref, "addtocartfunc", addtocartfunc), _defineProperty(_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref, "productimagesarray", productimagesarray), _defineProperty(_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref, "ProductInfoObj", ProductInfoObj), _defineProperty(_ref, "sectionproperties", sectionproperties), _defineProperty(_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref, "routingcountext", routingcountext), _defineProperty(_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref, "authdetailsContext", authdetailsContext), _defineProperty(_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref, "NotificationManager", NotificationManager), _defineProperty(_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref, "relatedproducts", relatedproducts), _defineProperty(_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref, "StoreInfoprops", StoreInfo), _ref)
|
|
3558
|
+
}, _defineProperty(_ref, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref, "addtocartfunc", addtocartfunc), _defineProperty(_ref, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty(_ref, "productimagesarray", productimagesarray), _defineProperty(_ref, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref, "ProductInfoObj", ProductInfoObj), _defineProperty(_ref, "sectionproperties", sectionproperties), _defineProperty(_ref, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref, "routingcountext", routingcountext), _defineProperty(_ref, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref, "authdetailsContext", authdetailsContext), _defineProperty(_ref, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref, "NotificationManager", NotificationManager), _defineProperty(_ref, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref, "relatedproducts", relatedproducts), _defineProperty(_ref, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref, "StoreInfoprops", StoreInfo), _ref)
|
|
3578
3559
|
}), fetchProductInfoQueryContext.data.data.productinfo.item_type == 'service' && /*#__PURE__*/React.createElement(Service_itemtype, {
|
|
3579
3560
|
actions: (_ref2 = {
|
|
3580
3561
|
returnpolicyobj: returnpolicyobj,
|
|
3581
3562
|
langdetect: langdetect,
|
|
3582
3563
|
lang: lang,
|
|
3583
3564
|
srcfromprops: props.srcfromprops
|
|
3584
|
-
}, _defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref2, "addtocartfunc", addtocartfunc), _defineProperty(_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref2, "productimagesarray", productimagesarray), _defineProperty(_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref2, "sectionproperties", sectionproperties), _defineProperty(_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref2, "routingcountext", routingcountext), _defineProperty(_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref2, "authdetailsContext", authdetailsContext), _defineProperty(_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_ref2, "NotificationManager", NotificationManager), _defineProperty(_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref2, "relatedproducts", relatedproducts), _defineProperty(_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty(_ref2, "StoreInfoprops", StoreInfo), _ref2)
|
|
3565
|
+
}, _defineProperty(_ref2, "returnpolicyobj", returnpolicyobj), _defineProperty(_ref2, "productinfo_cssstyles", productinfo_cssstyles), _defineProperty(_ref2, "addtocartfunc", addtocartfunc), _defineProperty(_ref2, "selectproductoptionvalue", selectproductoptionvalue), _defineProperty(_ref2, "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), _defineProperty(_ref2, "productimagesarray", productimagesarray), _defineProperty(_ref2, "fetchProductInfoQueryContext", fetchProductInfoQueryContext), _defineProperty(_ref2, "sectionproperties", sectionproperties), _defineProperty(_ref2, "addtocardpayloadobj", addtocardpayloadobj), _defineProperty(_ref2, "ProductInfoObj", ProductInfoObj), _defineProperty(_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), _defineProperty(_ref2, "routingcountext", routingcountext), _defineProperty(_ref2, "AddtoCartMutationContext", AddtoCartMutationContext), _defineProperty(_ref2, "authdetailsContext", authdetailsContext), _defineProperty(_ref2, "addtofavoritescontext", addtofavoritescontext), _defineProperty(_ref2, "StaticPagesLinksContext", StaticPagesLinksContext), _defineProperty(_ref2, "variantindexcompleted", variantindexcompleted), _defineProperty(_ref2, "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_ref2, "NotificationManager", NotificationManager), _defineProperty(_ref2, "getprice_discountpriceprops", getprice_discountpriceprops), _defineProperty(_ref2, "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty(_ref2, "relatedproducts", relatedproducts), _defineProperty(_ref2, "getQuantityCondition", getQuantityCondition), _defineProperty(_ref2, "StoreInfoprops", StoreInfo), _ref2)
|
|
3585
3566
|
}), /*#__PURE__*/React.createElement("div", {
|
|
3586
3567
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
3587
3568
|
style: {
|
|
@@ -10891,7 +10872,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
10891
10872
|
return /*#__PURE__*/React.createElement("div", {
|
|
10892
10873
|
className: section_cssstyles.cards_sections + ' row ml-0 mr-0 w-100 p-md-0 px-1025-1 '
|
|
10893
10874
|
}, sectionproperties.view_as_slider_vertical == 'Slider (Horizontal)' && /*#__PURE__*/React.createElement("div", {
|
|
10894
|
-
"class": langdetect == 'en' ? 'col-lg-12 p-0 pl-sm-2' : 'col-lg-12 p-0 pr-sm-2'
|
|
10875
|
+
"class": langdetect == 'en' ? sectionproperties.paddingLeft != 0 ? 'col-lg-12 p-0 pl-sm-2' : 'col-lg-12 p-0 ' : sectionproperties.paddingRight != 0 ? 'col-lg-12 p-0 pr-sm-2' : 'col-lg-12 p-0 '
|
|
10895
10876
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
10896
10877
|
transitionBehavior: 'auto',
|
|
10897
10878
|
wrapperClassName: '',
|
|
@@ -26440,7 +26421,7 @@ var googleplay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjsAAAC8CAYAAACe
|
|
|
26440
26421
|
function ownKeys$1o(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; }
|
|
26441
26422
|
function _objectSpread$1o(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1o(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1o(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
26442
26423
|
var Allinonefooter = function Allinonefooter(props) {
|
|
26443
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _templatepropcontext
|
|
26424
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _templatepropcontext$, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16;
|
|
26444
26425
|
var _useState = useState(''),
|
|
26445
26426
|
_useState2 = _slicedToArray(_useState, 2),
|
|
26446
26427
|
sectionproperties = _useState2[0],
|
|
@@ -26833,35 +26814,35 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
26833
26814
|
}
|
|
26834
26815
|
}, langdetect == 'en' ? sectionproperties.otherinfotitle2en : sectionproperties.otherinfotitle2ar)), /*#__PURE__*/React.createElement("div", {
|
|
26835
26816
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
26836
|
-
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
26817
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.facebooklink) != null && /*#__PURE__*/React.createElement("div", {
|
|
26837
26818
|
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
26838
26819
|
onClick: function onClick() {
|
|
26839
|
-
var _authdetailsContext$
|
|
26840
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
26841
|
-
var _authdetailsContext$
|
|
26842
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
26820
|
+
var _authdetailsContext$i11;
|
|
26821
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.facebooklink) != null) {
|
|
26822
|
+
var _authdetailsContext$i12;
|
|
26823
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.facebooklink, '_blank');
|
|
26843
26824
|
}
|
|
26844
26825
|
}
|
|
26845
26826
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
26846
26827
|
size: sectionproperties.facebkbtnniconfontsize
|
|
26847
|
-
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
26828
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
26848
26829
|
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
|
|
26849
26830
|
onClick: function onClick() {
|
|
26850
|
-
var _authdetailsContext$
|
|
26851
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
26852
|
-
var _authdetailsContext$
|
|
26853
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
26831
|
+
var _authdetailsContext$i14;
|
|
26832
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instagramlink) != null) {
|
|
26833
|
+
var _authdetailsContext$i15;
|
|
26834
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instagramlink, '_blank');
|
|
26854
26835
|
}
|
|
26855
26836
|
}
|
|
26856
26837
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
26857
26838
|
size: sectionproperties.instgrambtniconfontsize
|
|
26858
|
-
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
26839
|
+
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
26859
26840
|
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
26860
26841
|
onClick: function onClick() {
|
|
26861
|
-
var _authdetailsContext$
|
|
26862
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
26863
|
-
var _authdetailsContext$
|
|
26864
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
26842
|
+
var _authdetailsContext$i17;
|
|
26843
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null) {
|
|
26844
|
+
var _authdetailsContext$i18;
|
|
26845
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber), '_blank');
|
|
26865
26846
|
}
|
|
26866
26847
|
}
|
|
26867
26848
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
@@ -27936,7 +27917,7 @@ var mastercard = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACAAAAATYAgMAAAD2
|
|
|
27936
27917
|
function ownKeys$1k(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; }
|
|
27937
27918
|
function _objectSpread$1k(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1k(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1k(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
27938
27919
|
var Footer4 = function Footer4(props) {
|
|
27939
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
27920
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
27940
27921
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
27941
27922
|
var lang = props.actions.lang;
|
|
27942
27923
|
var langdetect = props.actions.langdetect;
|
|
@@ -28274,39 +28255,39 @@ var Footer4 = function Footer4(props) {
|
|
|
28274
28255
|
color: sectionproperties.generaltext_fontColor,
|
|
28275
28256
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
28276
28257
|
}
|
|
28277
|
-
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar), sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28258
|
+
}, langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar), sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.facebooklink) && /*#__PURE__*/React.createElement("div", {
|
|
28278
28259
|
className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
28279
28260
|
onClick: function onClick() {
|
|
28280
|
-
var _authdetailsContext$
|
|
28281
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
28282
|
-
var _authdetailsContext$
|
|
28283
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
28261
|
+
var _authdetailsContext$i9;
|
|
28262
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.facebooklink) != null) {
|
|
28263
|
+
var _authdetailsContext$i10;
|
|
28264
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.facebooklink, '_blank');
|
|
28284
28265
|
}
|
|
28285
28266
|
}
|
|
28286
28267
|
}, /*#__PURE__*/React.createElement("i", {
|
|
28287
28268
|
className: "h-100 allcentered"
|
|
28288
28269
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
28289
28270
|
size: sectionproperties.facebkbtnniconfontsize
|
|
28290
|
-
}))), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28271
|
+
}))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.instagramlink) != null && /*#__PURE__*/React.createElement("div", {
|
|
28291
28272
|
className: langdetect == 'en' ? "".concat(footerStyles.instgram_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.instgram_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
28292
28273
|
onClick: function onClick() {
|
|
28293
|
-
var _authdetailsContext$
|
|
28294
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
28295
|
-
var _authdetailsContext$
|
|
28296
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
28274
|
+
var _authdetailsContext$i12;
|
|
28275
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instagramlink) != null) {
|
|
28276
|
+
var _authdetailsContext$i13;
|
|
28277
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink, '_blank');
|
|
28297
28278
|
}
|
|
28298
28279
|
}
|
|
28299
28280
|
}, /*#__PURE__*/React.createElement("i", {
|
|
28300
28281
|
className: "h-100 allcentered"
|
|
28301
28282
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
28302
28283
|
size: sectionproperties.instgrambtniconfontsize
|
|
28303
|
-
}))), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28284
|
+
}))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
28304
28285
|
className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4 ',
|
|
28305
28286
|
onClick: function onClick() {
|
|
28306
|
-
var _authdetailsContext$
|
|
28307
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
28308
|
-
var _authdetailsContext$
|
|
28309
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
28287
|
+
var _authdetailsContext$i15;
|
|
28288
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.whatsappnumber) != null) {
|
|
28289
|
+
var _authdetailsContext$i16;
|
|
28290
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber), '_blank');
|
|
28310
28291
|
}
|
|
28311
28292
|
}
|
|
28312
28293
|
}, /*#__PURE__*/React.createElement("i", {
|
|
@@ -28515,6 +28496,14 @@ var Footer5 = function Footer5(props) {
|
|
|
28515
28496
|
top: 0,
|
|
28516
28497
|
bottom: 0
|
|
28517
28498
|
}
|
|
28499
|
+
}),
|
|
28500
|
+
apptore: css({
|
|
28501
|
+
width: '100%',
|
|
28502
|
+
objectFit: 'contain'
|
|
28503
|
+
}),
|
|
28504
|
+
googleplay: css({
|
|
28505
|
+
width: '100%',
|
|
28506
|
+
objectFit: 'contain'
|
|
28518
28507
|
})
|
|
28519
28508
|
};
|
|
28520
28509
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -28554,7 +28543,10 @@ var Footer5 = function Footer5(props) {
|
|
|
28554
28543
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28555
28544
|
className: "col-lg-12 allcentered p-0"
|
|
28556
28545
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28557
|
-
className: "".concat(footerStyles.footerlogo) + ' d-flex flex-column align-items-center justify-content-start '
|
|
28546
|
+
className: "".concat(footerStyles.footerlogo) + ' d-flex flex-column align-items-center justify-content-start cursor-pointer ',
|
|
28547
|
+
onClick: function onClick() {
|
|
28548
|
+
routingcountext('home');
|
|
28549
|
+
}
|
|
28558
28550
|
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
28559
28551
|
urlEndpoint: IKurlEndpoint,
|
|
28560
28552
|
publicKey: IKpublicKey,
|
|
@@ -28688,7 +28680,10 @@ var Footer5 = function Footer5(props) {
|
|
|
28688
28680
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28689
28681
|
className: "col-lg-12 allcentered"
|
|
28690
28682
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28691
|
-
className: "".concat(footerStyles.footerlogo) + ' d-flex flex-column align-items-center justify-content-start '
|
|
28683
|
+
className: "".concat(footerStyles.footerlogo) + ' d-flex flex-column align-items-center justify-content-start cursor-pointer ',
|
|
28684
|
+
onClick: function onClick() {
|
|
28685
|
+
routingcountext('home');
|
|
28686
|
+
}
|
|
28692
28687
|
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
28693
28688
|
urlEndpoint: IKurlEndpoint,
|
|
28694
28689
|
publicKey: IKpublicKey,
|
|
@@ -28817,6 +28812,40 @@ var Footer5 = function Footer5(props) {
|
|
|
28817
28812
|
}, /*#__PURE__*/React.createElement("img", {
|
|
28818
28813
|
src: mastercard,
|
|
28819
28814
|
className: "".concat(footerStyles.payimg)
|
|
28815
|
+
})))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
28816
|
+
className: "row m-0 w-100 mt-3"
|
|
28817
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28818
|
+
className: "col-lg-12 p-0 d-flex justify-content-md-center"
|
|
28819
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
28820
|
+
className: "".concat(footerStyles.footertitlestyles) + ' m-0 p-0 '
|
|
28821
|
+
}, langdetect == 'en' ? sectionproperties.otherinfotitle1en : sectionproperties.otherinfotitle1ar)), /*#__PURE__*/React.createElement("div", {
|
|
28822
|
+
className: "col-lg-12 mt-2 p-0 m-0 w-100 d-flex flex-row align-items-center justify-content-start justify-content-md-center"
|
|
28823
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28824
|
+
"class": 'col-lg-6 col-md-4 col-sm-6 p-0 '
|
|
28825
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
28826
|
+
"class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
|
|
28827
|
+
src: appstore,
|
|
28828
|
+
onClick: function onClick() {
|
|
28829
|
+
var _authdetailsContext$i25;
|
|
28830
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.mobileapplink_appstore, '_blank');
|
|
28831
|
+
},
|
|
28832
|
+
style: {
|
|
28833
|
+
width: '80%',
|
|
28834
|
+
height: '80%'
|
|
28835
|
+
}
|
|
28836
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
28837
|
+
"class": 'col-lg-6 col-md-4 col-sm-6 p-0'
|
|
28838
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
28839
|
+
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-start align-items-center cursor-pointer ',
|
|
28840
|
+
src: googleplay,
|
|
28841
|
+
onClick: function onClick() {
|
|
28842
|
+
var _authdetailsContext$i26;
|
|
28843
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.mobileapplink_playstore, '_blank');
|
|
28844
|
+
},
|
|
28845
|
+
style: {
|
|
28846
|
+
width: '80%',
|
|
28847
|
+
height: '80%'
|
|
28848
|
+
}
|
|
28820
28849
|
}))))))));
|
|
28821
28850
|
};
|
|
28822
28851
|
|
|
@@ -36594,11 +36623,11 @@ var VideosSection = function VideosSection(props) {
|
|
|
36594
36623
|
}, sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36595
36624
|
className: bgcssstyles.text1styles + ' col-lg-12 p-0 w-100 d-flex align-items-center '
|
|
36596
36625
|
}, /*#__PURE__*/React.createElement("p", {
|
|
36597
|
-
className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
|
|
36626
|
+
className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 w-100 '
|
|
36598
36627
|
}, langdetect == 'en' ? item.title_en : item.title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
36599
36628
|
className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
|
|
36600
36629
|
}, /*#__PURE__*/React.createElement("p", {
|
|
36601
|
-
className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
|
|
36630
|
+
className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 w-100 '
|
|
36602
36631
|
}, langdetect == 'en' ? item.description_en : item.description_ar)));
|
|
36603
36632
|
};
|
|
36604
36633
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -41663,8 +41692,8 @@ var CardWithTextOnly = function CardWithTextOnly(props) {
|
|
|
41663
41692
|
}, item.name)));
|
|
41664
41693
|
};
|
|
41665
41694
|
|
|
41666
|
-
var css_248z$e = "\n@media (max-width: 576px) {\n .generalCardsStyles-module_productcard__3PgiR {\n max-width: 280px !important;\n min-width: 280px !important;\n }\n .generalCardsStyles-module_Simpleproductcard__GhVP7 {\n max-width: 250px !important;\n min-width: 250px !important;\n }\n .generalCardsStyles-module_ClassicCategoryCard__UWO1a{\n max-width: 330px !important;\n min-width: 330px !important;\n }\n}\n";
|
|
41667
|
-
var generalCardsStyles = {"productcard":"generalCardsStyles-module_productcard__3PgiR","Simpleproductcard":"generalCardsStyles-module_Simpleproductcard__GhVP7","ClassicCategoryCard":"generalCardsStyles-module_ClassicCategoryCard__UWO1a"};
|
|
41695
|
+
var css_248z$e = "\n@media (max-width: 576px) {\n .generalCardsStyles-module_productcard__3PgiR {\n max-width: 280px !important;\n min-width: 280px !important;\n }\n .generalCardsStyles-module_Simpleproductcard__GhVP7 {\n max-width: 250px !important;\n min-width: 250px !important;\n }\n .generalCardsStyles-module_ClassicCategoryCard__UWO1a{\n max-width: 330px !important;\n min-width: 330px !important;\n }\n .generalCardsStyles-module_newproductcard__ATddn{\n max-width: 330px !important;\n min-width: 330px !important;\n }\n}\n";
|
|
41696
|
+
var generalCardsStyles = {"productcard":"generalCardsStyles-module_productcard__3PgiR","Simpleproductcard":"generalCardsStyles-module_Simpleproductcard__GhVP7","ClassicCategoryCard":"generalCardsStyles-module_ClassicCategoryCard__UWO1a","newproductcard":"generalCardsStyles-module_newproductcard__ATddn"};
|
|
41668
41697
|
styleInject(css_248z$e);
|
|
41669
41698
|
|
|
41670
41699
|
function ownKeys$C(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; }
|
|
@@ -42988,29 +43017,17 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
42988
43017
|
var setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
42989
43018
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
42990
43019
|
var setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
42991
|
-
props.actions.AddtoCartContext;
|
|
42992
|
-
props.actions.AddtoCartMutationContext;
|
|
42993
|
-
props.actions.StaticPagesLinksContext;
|
|
42994
|
-
props.actions.routingcountext;
|
|
42995
43020
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
42996
43021
|
useEffect(function () {
|
|
42997
|
-
|
|
42998
|
-
|
|
42999
|
-
|
|
43000
|
-
|
|
43001
|
-
|
|
43002
|
-
|
|
43003
|
-
|
|
43004
|
-
|
|
43005
|
-
|
|
43006
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
43007
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
43008
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
43009
|
-
});
|
|
43010
|
-
}
|
|
43011
|
-
});
|
|
43012
|
-
setsectionproperties(_objectSpread$y({}, secpropobj));
|
|
43013
|
-
}
|
|
43022
|
+
var secpropobj = {};
|
|
43023
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
43024
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
43025
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
43026
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
43027
|
+
});
|
|
43028
|
+
}
|
|
43029
|
+
});
|
|
43030
|
+
setsectionproperties(_objectSpread$y({}, secpropobj));
|
|
43014
43031
|
}, [StatePagePropertiesContext]);
|
|
43015
43032
|
useEffect(function () {
|
|
43016
43033
|
setitem(props.cardinfoitemprops);
|
|
@@ -43021,7 +43038,15 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
43021
43038
|
height: sectionproperties.variantcontainer_height + 'vh',
|
|
43022
43039
|
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
43023
43040
|
}),
|
|
43024
|
-
productcard: css(
|
|
43041
|
+
productcard: css({
|
|
43042
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
43043
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
43044
|
+
'@media (max-width: 800px)': {
|
|
43045
|
+
minWidth: sectionproperties.widthresponsive + 'px',
|
|
43046
|
+
maxWidth: sectionproperties.widthresponsive + 'px'
|
|
43047
|
+
}
|
|
43048
|
+
}),
|
|
43049
|
+
innerproductcard: css((_css = {
|
|
43025
43050
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
43026
43051
|
opacity: sectionproperties.cardbg_opacity,
|
|
43027
43052
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
@@ -43045,7 +43070,6 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
43045
43070
|
opacity: 1
|
|
43046
43071
|
}), _css)),
|
|
43047
43072
|
productcard_imgcontainer: css({
|
|
43048
|
-
height: sectionproperties.image_height + 'px',
|
|
43049
43073
|
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
43050
43074
|
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
43051
43075
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
@@ -43186,164 +43210,182 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
43186
43210
|
zIndex: 10000
|
|
43187
43211
|
})
|
|
43188
43212
|
};
|
|
43213
|
+
var ImageContent = function ImageContent() {
|
|
43214
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
43215
|
+
"class": "w-100"
|
|
43216
|
+
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
43217
|
+
urlEndpoint: IKurlEndpoint,
|
|
43218
|
+
publicKey: IKpublicKey,
|
|
43219
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
43220
|
+
loading: "lazy",
|
|
43221
|
+
style: {
|
|
43222
|
+
width: '100%',
|
|
43223
|
+
height: '100%',
|
|
43224
|
+
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
43225
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
43226
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
43227
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
43228
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
43229
|
+
}
|
|
43230
|
+
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43231
|
+
"class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
|
|
43232
|
+
onClick: function onClick(e) {
|
|
43233
|
+
e.stopPropagation();
|
|
43234
|
+
addtofavoritescontext(item.productid);
|
|
43235
|
+
}
|
|
43236
|
+
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
43237
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
43238
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
|
|
43239
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
43240
|
+
style: {
|
|
43241
|
+
color: sectionproperties.activefaviconcolor
|
|
43242
|
+
}
|
|
43243
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
|
|
43244
|
+
size: sectionproperties.favBtnIconfontsize,
|
|
43245
|
+
style: {
|
|
43246
|
+
color: sectionproperties.activefaviconcolor
|
|
43247
|
+
}
|
|
43248
|
+
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
43249
|
+
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
43250
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
43251
|
+
size: sectionproperties.favBtnIconfontsize
|
|
43252
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
43253
|
+
size: sectionproperties.favBtnIconfontsize
|
|
43254
|
+
}))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
43255
|
+
"class": "allcentered",
|
|
43256
|
+
style: {
|
|
43257
|
+
position: 'absolute',
|
|
43258
|
+
top: sectionproperties.badge_top + 'px',
|
|
43259
|
+
right: sectionproperties.badge_right + 'px',
|
|
43260
|
+
width: sectionproperties.badge_width + 'px',
|
|
43261
|
+
height: sectionproperties.badge_height + 'px',
|
|
43262
|
+
background: sectionproperties.badge_bgcolor,
|
|
43263
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
43264
|
+
border: sectionproperties.badgeborderwidth + 'px solid ' + sectionproperties.badge_color
|
|
43265
|
+
}
|
|
43266
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
43267
|
+
"class": "m-0 p-0 text-uppercase",
|
|
43268
|
+
style: {
|
|
43269
|
+
color: sectionproperties.badge_color,
|
|
43270
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
43271
|
+
}
|
|
43272
|
+
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
43273
|
+
"class": "allcentered",
|
|
43274
|
+
style: {
|
|
43275
|
+
position: 'absolute',
|
|
43276
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
43277
|
+
right: sectionproperties.pillpositionfromright + 'px',
|
|
43278
|
+
width: sectionproperties.pillwidth + 'px',
|
|
43279
|
+
height: sectionproperties.pillheight + 'px',
|
|
43280
|
+
background: sectionproperties.pillbgcolor,
|
|
43281
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
43282
|
+
}
|
|
43283
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
43284
|
+
"class": "m-0 p-0 text-uppercase",
|
|
43285
|
+
style: {
|
|
43286
|
+
color: sectionproperties.pillcolor,
|
|
43287
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
43288
|
+
direction: 'ltr'
|
|
43289
|
+
}
|
|
43290
|
+
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), /*#__PURE__*/React.createElement("div", {
|
|
43291
|
+
"class": "".concat(card_cssstyles.buttoncont) + ' buttoncont row w-100 m-0 d-flex justify-content-center align-items-center '
|
|
43292
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43293
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
43294
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
43295
|
+
"class": "".concat(card_cssstyles.quickshow_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center quickshow_btn ',
|
|
43296
|
+
onClick: function onClick(e) {
|
|
43297
|
+
e.stopPropagation();
|
|
43298
|
+
setShowProductInfoModalContext(true);
|
|
43299
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
43300
|
+
}
|
|
43301
|
+
}, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("div", {
|
|
43302
|
+
"class": "col-lg-12 p-0"
|
|
43303
|
+
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
43304
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
43305
|
+
onClick: function onClick(e) {
|
|
43306
|
+
e.stopPropagation();
|
|
43307
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
43308
|
+
}
|
|
43309
|
+
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))), /*#__PURE__*/React.createElement("div", {
|
|
43310
|
+
style: {
|
|
43311
|
+
bottom: 0,
|
|
43312
|
+
position: 'absolute',
|
|
43313
|
+
width: '100%'
|
|
43314
|
+
},
|
|
43315
|
+
"class": "d-none d-md-flex d-sm-flex"
|
|
43316
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43317
|
+
style: {
|
|
43318
|
+
background: sectionproperties.slideshow_btn_bg,
|
|
43319
|
+
color: sectionproperties.generalbtn_textColor,
|
|
43320
|
+
height: '40px'
|
|
43321
|
+
},
|
|
43322
|
+
"class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
|
|
43323
|
+
onClick: function onClick(e) {
|
|
43324
|
+
e.stopPropagation();
|
|
43325
|
+
setShowProductInfoModalContext(true);
|
|
43326
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
43327
|
+
}
|
|
43328
|
+
}, /*#__PURE__*/React.createElement(BsEye, {
|
|
43329
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
43330
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
43331
|
+
style: {
|
|
43332
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
43333
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
43334
|
+
height: '40px'
|
|
43335
|
+
},
|
|
43336
|
+
"class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
|
|
43337
|
+
onClick: function onClick(e) {
|
|
43338
|
+
e.stopPropagation();
|
|
43339
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
43340
|
+
}
|
|
43341
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
43342
|
+
"class": "",
|
|
43343
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
43344
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
43345
|
+
"class": "",
|
|
43346
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
43347
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
43348
|
+
"class": "",
|
|
43349
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
43350
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
43351
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
43352
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
43353
|
+
"class": "",
|
|
43354
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
43355
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
43356
|
+
size: sectionproperties.cartBtn_iconFontSize
|
|
43357
|
+
}))));
|
|
43358
|
+
};
|
|
43189
43359
|
return /*#__PURE__*/React.createElement("div", {
|
|
43190
|
-
|
|
43360
|
+
// ${generalCardsStyles.newproductcard}
|
|
43361
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
|
|
43191
43362
|
style: {
|
|
43192
43363
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
43193
43364
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
43194
43365
|
}
|
|
43195
43366
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
43196
|
-
"class": "".concat(card_cssstyles.
|
|
43367
|
+
"class": "".concat(card_cssstyles.innerproductcard) + ' w-100 '
|
|
43197
43368
|
}, /*#__PURE__*/React.createElement("div", {
|
|
43198
43369
|
onClick: function onClick() {
|
|
43199
43370
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
43200
43371
|
},
|
|
43201
|
-
"class": "".concat(card_cssstyles.productcard_imgcontainer) + ' cursor-pointer ',
|
|
43372
|
+
"class": "".concat(card_cssstyles.productcard_imgcontainer) + ' cursor-pointer d-flex d-md-none w-100 ',
|
|
43202
43373
|
style: {
|
|
43203
43374
|
position: 'relative',
|
|
43204
|
-
marginBottom: sectionproperties.image_mb + 'px'
|
|
43205
|
-
|
|
43206
|
-
}, /*#__PURE__*/React.createElement(IKImage, {
|
|
43207
|
-
urlEndpoint: IKurlEndpoint,
|
|
43208
|
-
publicKey: IKpublicKey,
|
|
43209
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
43210
|
-
loading: "lazy",
|
|
43211
|
-
style: {
|
|
43212
|
-
width: '100%',
|
|
43213
|
-
height: '100%',
|
|
43214
|
-
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
43215
|
-
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
43216
|
-
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
43217
|
-
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
43218
|
-
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
|
|
43219
|
-
}
|
|
43220
|
-
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43221
|
-
"class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
|
|
43222
|
-
onClick: function onClick(e) {
|
|
43223
|
-
e.stopPropagation();
|
|
43224
|
-
addtofavoritescontext(item.productid);
|
|
43225
|
-
}
|
|
43226
|
-
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
43227
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
43228
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
|
|
43229
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
43230
|
-
style: {
|
|
43231
|
-
color: sectionproperties.activefaviconcolor
|
|
43232
|
-
}
|
|
43233
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
|
|
43234
|
-
size: sectionproperties.favBtnIconfontsize,
|
|
43235
|
-
style: {
|
|
43236
|
-
color: sectionproperties.activefaviconcolor
|
|
43237
|
-
}
|
|
43238
|
-
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
43239
|
-
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
43240
|
-
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
43241
|
-
size: sectionproperties.favBtnIconfontsize
|
|
43242
|
-
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
43243
|
-
size: sectionproperties.favBtnIconfontsize
|
|
43244
|
-
}))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
43245
|
-
"class": "allcentered",
|
|
43246
|
-
style: {
|
|
43247
|
-
position: 'absolute',
|
|
43248
|
-
top: sectionproperties.badge_top + 'px',
|
|
43249
|
-
right: sectionproperties.badge_right + 'px',
|
|
43250
|
-
width: sectionproperties.badge_width + 'px',
|
|
43251
|
-
height: sectionproperties.badge_height + 'px',
|
|
43252
|
-
background: sectionproperties.badge_bgcolor,
|
|
43253
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
43254
|
-
}
|
|
43255
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
43256
|
-
"class": "m-0 p-0 text-uppercase",
|
|
43257
|
-
style: {
|
|
43258
|
-
color: sectionproperties.badge_color,
|
|
43259
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
43260
|
-
}
|
|
43261
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
43262
|
-
"class": "allcentered",
|
|
43263
|
-
style: {
|
|
43264
|
-
position: 'absolute',
|
|
43265
|
-
top: sectionproperties.pillpositionfromtop + 'px',
|
|
43266
|
-
right: sectionproperties.pillpositionfromright + 'px',
|
|
43267
|
-
width: sectionproperties.pillwidth + 'px',
|
|
43268
|
-
height: sectionproperties.pillheight + 'px',
|
|
43269
|
-
background: sectionproperties.pillbgcolor,
|
|
43270
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
43271
|
-
}
|
|
43272
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
43273
|
-
"class": "m-0 p-0 text-uppercase",
|
|
43274
|
-
style: {
|
|
43275
|
-
color: sectionproperties.pillcolor,
|
|
43276
|
-
fontSize: sectionproperties.pillfontSize + 'px',
|
|
43277
|
-
direction: 'ltr'
|
|
43278
|
-
}
|
|
43279
|
-
}, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), /*#__PURE__*/React.createElement("div", {
|
|
43280
|
-
"class": "".concat(card_cssstyles.buttoncont) + ' buttoncont row w-100 m-0 d-flex justify-content-center align-items-center '
|
|
43281
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
43282
|
-
"class": "col-lg-12 p-0 mb-2"
|
|
43283
|
-
}, /*#__PURE__*/React.createElement("button", {
|
|
43284
|
-
"class": "".concat(card_cssstyles.quickshow_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center quickshow_btn ',
|
|
43285
|
-
onClick: function onClick(e) {
|
|
43286
|
-
e.stopPropagation();
|
|
43287
|
-
setShowProductInfoModalContext(true);
|
|
43288
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
43375
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
43376
|
+
height: sectionproperties.image_height + 'px'
|
|
43289
43377
|
}
|
|
43290
|
-
},
|
|
43291
|
-
|
|
43292
|
-
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
43293
|
-
"class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
43294
|
-
onClick: function onClick(e) {
|
|
43295
|
-
e.stopPropagation();
|
|
43378
|
+
}, ImageContent()), /*#__PURE__*/React.createElement("div", {
|
|
43379
|
+
onClick: function onClick() {
|
|
43296
43380
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
43297
|
-
}
|
|
43298
|
-
}, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))), /*#__PURE__*/React.createElement("div", {
|
|
43299
|
-
style: {
|
|
43300
|
-
bottom: 0,
|
|
43301
|
-
position: 'absolute',
|
|
43302
|
-
width: '100%'
|
|
43303
43381
|
},
|
|
43304
|
-
"class": "d-none d-md-flex
|
|
43305
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
43306
|
-
style: {
|
|
43307
|
-
background: sectionproperties.slideshow_btn_bg,
|
|
43308
|
-
color: sectionproperties.generalbtn_textColor,
|
|
43309
|
-
height: '40px'
|
|
43310
|
-
},
|
|
43311
|
-
"class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
|
|
43312
|
-
onClick: function onClick(e) {
|
|
43313
|
-
e.stopPropagation();
|
|
43314
|
-
setShowProductInfoModalContext(true);
|
|
43315
|
-
setProductIdProdutInfoModalContext(item.productid);
|
|
43316
|
-
}
|
|
43317
|
-
}, /*#__PURE__*/React.createElement(BsEye, {
|
|
43318
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
43319
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
43382
|
+
"class": "".concat(card_cssstyles.productcard_imgcontainer) + ' cursor-pointer d-none d-md-flex ',
|
|
43320
43383
|
style: {
|
|
43321
|
-
|
|
43322
|
-
|
|
43323
|
-
height: '
|
|
43324
|
-
},
|
|
43325
|
-
"class": "col-lg-6 p-0 d-flex align-items-center justify-content-center",
|
|
43326
|
-
onClick: function onClick(e) {
|
|
43327
|
-
e.stopPropagation();
|
|
43328
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
43384
|
+
position: 'relative',
|
|
43385
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
43386
|
+
height: sectionproperties.height_responsive + 'px'
|
|
43329
43387
|
}
|
|
43330
|
-
},
|
|
43331
|
-
"class": "",
|
|
43332
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
43333
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
43334
|
-
"class": "",
|
|
43335
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
43336
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
43337
|
-
"class": "",
|
|
43338
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
43339
|
-
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
43340
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
43341
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
43342
|
-
"class": "",
|
|
43343
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
43344
|
-
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
43345
|
-
size: sectionproperties.cartBtn_iconFontSize
|
|
43346
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
43388
|
+
}, ImageContent()), /*#__PURE__*/React.createElement("div", {
|
|
43347
43389
|
"class": 'row m-0 w-100 text-start d-flex justify-content-start mt-2'
|
|
43348
43390
|
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43349
43391
|
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
@@ -43356,7 +43398,10 @@ var NewProductcard = function NewProductcard(props) {
|
|
|
43356
43398
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
43357
43399
|
}
|
|
43358
43400
|
}, item.name)), /*#__PURE__*/React.createElement("div", {
|
|
43359
|
-
"class": "col-lg-12 d-flex align-items-center
|
|
43401
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
43402
|
+
style: {
|
|
43403
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
43404
|
+
}
|
|
43360
43405
|
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
43361
43406
|
"class": "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 '
|
|
43362
43407
|
}, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname, ' '), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
@@ -47193,7 +47238,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
47193
47238
|
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
47194
47239
|
}
|
|
47195
47240
|
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React.createElement("div", {
|
|
47196
|
-
"class": sectionproperties.image_show == '
|
|
47241
|
+
"class": sectionproperties.image_show == 'show' ? 'col-lg-8 col-md-8 col-sm-8 pt-2' : 'col-lg-12 col-md-12 col-sm-12 pt-2',
|
|
47197
47242
|
style: {
|
|
47198
47243
|
paddingRight: langdetect == 'en' ? 0 : '',
|
|
47199
47244
|
paddingLeft: langdetect == 'ar' ? 0 : '',
|