tabexseriescomponents 0.0.687 → 0.0.688
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +107 -4
- package/dist/index.esm.js +107 -4
- package/dist/index.umd.js +107 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2416,7 +2416,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2416
2416
|
function ownKeys$2u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2417
2417
|
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2418
2418
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2419
|
-
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58;
|
|
2419
|
+
var _authdetailsContext$i, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _authdetailsContext$i2, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65;
|
|
2420
2420
|
var lang = props.actions.lang;
|
|
2421
2421
|
var langdetect = props.actions.langdetect;
|
|
2422
2422
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2607,7 +2607,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2607
2607
|
}
|
|
2608
2608
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2609
2609
|
"class": ' col-lg-12 p-0 '
|
|
2610
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2610
|
+
}, Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '673ca821296ee' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2611
2611
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2612
2612
|
style: {
|
|
2613
2613
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -3749,7 +3749,109 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3749
3749
|
"class": "my-3"
|
|
3750
3750
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3751
3751
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
3752
|
-
}, ShareButtonsContainer()))))))))
|
|
3752
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '673ca821296ee' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3753
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
3754
|
+
style: {
|
|
3755
|
+
minHeight: sectionproperties.height + 'vh'
|
|
3756
|
+
// paddingLeft: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
3757
|
+
// paddingRight: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
3758
|
+
}
|
|
3759
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3760
|
+
"class": "col-lg-12 allcentered p-0 mb-2"
|
|
3761
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3762
|
+
className: "w-100 h-100",
|
|
3763
|
+
style: {}
|
|
3764
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
3765
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3766
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3767
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.productmainimage),
|
|
3768
|
+
style: {
|
|
3769
|
+
width: '100%',
|
|
3770
|
+
height: '100%',
|
|
3771
|
+
objectFit: 'contain'
|
|
3772
|
+
},
|
|
3773
|
+
loading: "lazy"
|
|
3774
|
+
}))), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3775
|
+
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-2 mt-3'
|
|
3776
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3777
|
+
className: ' m-0 p-0 wordbreak d-flex justify-content-start ',
|
|
3778
|
+
style: {
|
|
3779
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3780
|
+
fontWeight: 400,
|
|
3781
|
+
color: sectionproperties.measurementunitcolor,
|
|
3782
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px'
|
|
3783
|
+
}
|
|
3784
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3785
|
+
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
3786
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3787
|
+
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
3788
|
+
onClick: function onClick() {
|
|
3789
|
+
if (props.srcfromprops != 'templatedraftrouter') {
|
|
3790
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
3791
|
+
}
|
|
3792
|
+
},
|
|
3793
|
+
style: {
|
|
3794
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3795
|
+
}
|
|
3796
|
+
}, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3797
|
+
"class": "col-lg-12 col-md-12 p-0"
|
|
3798
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3799
|
+
"class": "row m-0 w-100"
|
|
3800
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3801
|
+
className: "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
3802
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3803
|
+
"class": "m-0 p-0",
|
|
3804
|
+
style: {
|
|
3805
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3806
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3807
|
+
color: sectionproperties.prodCatColor,
|
|
3808
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
3809
|
+
}
|
|
3810
|
+
}, langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3811
|
+
"class": "col-lg-12 mt-3"
|
|
3812
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3813
|
+
className: 'm-0 p-0 wordbreak',
|
|
3814
|
+
style: {
|
|
3815
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3816
|
+
color: sectionproperties.prodCatColor
|
|
3817
|
+
},
|
|
3818
|
+
dangerouslySetInnerHTML: {
|
|
3819
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.short_description_ar
|
|
3820
|
+
}
|
|
3821
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3822
|
+
"class": "col-lg-12 p-0 my-4"
|
|
3823
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3824
|
+
"class": "row m-0 w-100"
|
|
3825
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productimages) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productimages.map(function (item, index) {
|
|
3826
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3827
|
+
"class": "col-lg-4 col-sm-12"
|
|
3828
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3829
|
+
"class": ' mx-2 w-100 h-100',
|
|
3830
|
+
style: {}
|
|
3831
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
3832
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3833
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3834
|
+
path: '/tr:w-500,h-500/' + item.path,
|
|
3835
|
+
style: {
|
|
3836
|
+
width: '100%',
|
|
3837
|
+
height: '100%',
|
|
3838
|
+
objectFit: 'contain'
|
|
3839
|
+
},
|
|
3840
|
+
loading: "lazy"
|
|
3841
|
+
})));
|
|
3842
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3843
|
+
"class": "col-lg-12 p-0 my-3"
|
|
3844
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3845
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
3846
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3847
|
+
className: 'text-black m-0 p-0 wordbreak',
|
|
3848
|
+
style: {
|
|
3849
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3850
|
+
},
|
|
3851
|
+
dangerouslySetInnerHTML: {
|
|
3852
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.description_ar
|
|
3853
|
+
}
|
|
3854
|
+
}))))));
|
|
3753
3855
|
};
|
|
3754
3856
|
|
|
3755
3857
|
function ownKeys$2t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -6614,7 +6716,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
6614
6716
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
6615
6717
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
6616
6718
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
6617
|
-
|
|
6719
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
6720
|
+
borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
6618
6721
|
marginBottom: sectionproperties.relatedProductsMb + 'px'
|
|
6619
6722
|
}
|
|
6620
6723
|
}, Relatedproducts.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
package/dist/index.esm.js
CHANGED
|
@@ -2367,7 +2367,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2367
2367
|
function ownKeys$2u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2368
2368
|
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2369
2369
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2370
|
-
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58;
|
|
2370
|
+
var _authdetailsContext$i, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _authdetailsContext$i2, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65;
|
|
2371
2371
|
var lang = props.actions.lang;
|
|
2372
2372
|
var langdetect = props.actions.langdetect;
|
|
2373
2373
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2558,7 +2558,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2558
2558
|
}
|
|
2559
2559
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2560
2560
|
"class": ' col-lg-12 p-0 '
|
|
2561
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
2561
|
+
}, Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '673ca821296ee' && /*#__PURE__*/React.createElement("div", {
|
|
2562
2562
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2563
2563
|
style: {
|
|
2564
2564
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -3700,7 +3700,109 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3700
3700
|
"class": "my-3"
|
|
3701
3701
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
3702
3702
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
3703
|
-
}, ShareButtonsContainer()))))))))
|
|
3703
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '673ca821296ee' && /*#__PURE__*/React.createElement("div", {
|
|
3704
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
3705
|
+
style: {
|
|
3706
|
+
minHeight: sectionproperties.height + 'vh'
|
|
3707
|
+
// paddingLeft: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
3708
|
+
// paddingRight: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
3709
|
+
}
|
|
3710
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3711
|
+
"class": "col-lg-12 allcentered p-0 mb-2"
|
|
3712
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3713
|
+
className: "w-100 h-100",
|
|
3714
|
+
style: {}
|
|
3715
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
3716
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3717
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3718
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.productmainimage),
|
|
3719
|
+
style: {
|
|
3720
|
+
width: '100%',
|
|
3721
|
+
height: '100%',
|
|
3722
|
+
objectFit: 'contain'
|
|
3723
|
+
},
|
|
3724
|
+
loading: "lazy"
|
|
3725
|
+
}))), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
3726
|
+
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-2 mt-3'
|
|
3727
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
3728
|
+
className: ' m-0 p-0 wordbreak d-flex justify-content-start ',
|
|
3729
|
+
style: {
|
|
3730
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3731
|
+
fontWeight: 400,
|
|
3732
|
+
color: sectionproperties.measurementunitcolor,
|
|
3733
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px'
|
|
3734
|
+
}
|
|
3735
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React.createElement("div", {
|
|
3736
|
+
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
3737
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
3738
|
+
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
3739
|
+
onClick: function onClick() {
|
|
3740
|
+
if (props.srcfromprops != 'templatedraftrouter') {
|
|
3741
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
3742
|
+
}
|
|
3743
|
+
},
|
|
3744
|
+
style: {
|
|
3745
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3746
|
+
}
|
|
3747
|
+
}, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), /*#__PURE__*/React.createElement("div", {
|
|
3748
|
+
"class": "col-lg-12 col-md-12 p-0"
|
|
3749
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3750
|
+
"class": "row m-0 w-100"
|
|
3751
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3752
|
+
className: "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
3753
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
3754
|
+
"class": "m-0 p-0",
|
|
3755
|
+
style: {
|
|
3756
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3757
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3758
|
+
color: sectionproperties.prodCatColor,
|
|
3759
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
3760
|
+
}
|
|
3761
|
+
}, langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar)), /*#__PURE__*/React.createElement("div", {
|
|
3762
|
+
"class": "col-lg-12 mt-3"
|
|
3763
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
3764
|
+
className: 'm-0 p-0 wordbreak',
|
|
3765
|
+
style: {
|
|
3766
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3767
|
+
color: sectionproperties.prodCatColor
|
|
3768
|
+
},
|
|
3769
|
+
dangerouslySetInnerHTML: {
|
|
3770
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.short_description_ar
|
|
3771
|
+
}
|
|
3772
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
3773
|
+
"class": "col-lg-12 p-0 my-4"
|
|
3774
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3775
|
+
"class": "row m-0 w-100"
|
|
3776
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productimages) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productimages.map(function (item, index) {
|
|
3777
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
3778
|
+
"class": "col-lg-4 col-sm-12"
|
|
3779
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3780
|
+
"class": ' mx-2 w-100 h-100',
|
|
3781
|
+
style: {}
|
|
3782
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
3783
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3784
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3785
|
+
path: '/tr:w-500,h-500/' + item.path,
|
|
3786
|
+
style: {
|
|
3787
|
+
width: '100%',
|
|
3788
|
+
height: '100%',
|
|
3789
|
+
objectFit: 'contain'
|
|
3790
|
+
},
|
|
3791
|
+
loading: "lazy"
|
|
3792
|
+
})));
|
|
3793
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
3794
|
+
"class": "col-lg-12 p-0 my-3"
|
|
3795
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3796
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
3797
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
3798
|
+
className: 'text-black m-0 p-0 wordbreak',
|
|
3799
|
+
style: {
|
|
3800
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3801
|
+
},
|
|
3802
|
+
dangerouslySetInnerHTML: {
|
|
3803
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.description_ar
|
|
3804
|
+
}
|
|
3805
|
+
}))))));
|
|
3704
3806
|
};
|
|
3705
3807
|
|
|
3706
3808
|
function ownKeys$2t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -6565,7 +6667,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
6565
6667
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
6566
6668
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
6567
6669
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
6568
|
-
|
|
6670
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
6671
|
+
borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
6569
6672
|
marginBottom: sectionproperties.relatedProductsMb + 'px'
|
|
6570
6673
|
}
|
|
6571
6674
|
}, Relatedproducts.length != 0 && /*#__PURE__*/React.createElement("div", {
|
package/dist/index.umd.js
CHANGED
|
@@ -2240,7 +2240,7 @@
|
|
|
2240
2240
|
function ownKeys$2u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2241
2241
|
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2242
2242
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2243
|
-
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58;
|
|
2243
|
+
var _authdetailsContext$i, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _authdetailsContext$i2, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65;
|
|
2244
2244
|
var lang = props.actions.lang;
|
|
2245
2245
|
var langdetect = props.actions.langdetect;
|
|
2246
2246
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2431,7 +2431,7 @@
|
|
|
2431
2431
|
}
|
|
2432
2432
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2433
2433
|
"class": ' col-lg-12 p-0 '
|
|
2434
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2434
|
+
}, Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '673ca821296ee' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2435
2435
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
2436
2436
|
style: {
|
|
2437
2437
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -3573,7 +3573,109 @@
|
|
|
3573
3573
|
"class": "my-3"
|
|
3574
3574
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3575
3575
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
3576
|
-
}, ShareButtonsContainer()))))))))
|
|
3576
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '673ca821296ee' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3577
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-3 pr-md-3 px-1025-1 ',
|
|
3578
|
+
style: {
|
|
3579
|
+
minHeight: sectionproperties.height + 'vh'
|
|
3580
|
+
// paddingLeft: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
3581
|
+
// paddingRight: srcfromprops == 'templatedraftrouter' ? 0 : langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
3582
|
+
}
|
|
3583
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3584
|
+
"class": "col-lg-12 allcentered p-0 mb-2"
|
|
3585
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3586
|
+
className: "w-100 h-100",
|
|
3587
|
+
style: {}
|
|
3588
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
3589
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3590
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3591
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer59 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.data) === null || _fetchProductInfoQuer59 === void 0 || (_fetchProductInfoQuer59 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : _fetchProductInfoQuer59.productmainimage),
|
|
3592
|
+
style: {
|
|
3593
|
+
width: '100%',
|
|
3594
|
+
height: '100%',
|
|
3595
|
+
objectFit: 'contain'
|
|
3596
|
+
},
|
|
3597
|
+
loading: "lazy"
|
|
3598
|
+
}))), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3599
|
+
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-2 mt-3'
|
|
3600
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3601
|
+
className: ' m-0 p-0 wordbreak d-flex justify-content-start ',
|
|
3602
|
+
style: {
|
|
3603
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3604
|
+
fontWeight: 400,
|
|
3605
|
+
color: sectionproperties.measurementunitcolor,
|
|
3606
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px'
|
|
3607
|
+
}
|
|
3608
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3609
|
+
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
3610
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3611
|
+
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
3612
|
+
onClick: function onClick() {
|
|
3613
|
+
if (props.srcfromprops != 'templatedraftrouter') {
|
|
3614
|
+
routingcountext(StaticPagesLinksContext.productinfo, true, fetchProductInfoQueryContext.data.data.productinfo.productid);
|
|
3615
|
+
}
|
|
3616
|
+
},
|
|
3617
|
+
style: {
|
|
3618
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3619
|
+
}
|
|
3620
|
+
}, langdetect == 'en' ? fetchProductInfoQueryContext.data.data.productinfo.name_en : fetchProductInfoQueryContext.data.data.productinfo.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3621
|
+
"class": "col-lg-12 col-md-12 p-0"
|
|
3622
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3623
|
+
"class": "row m-0 w-100"
|
|
3624
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3625
|
+
className: "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
3626
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3627
|
+
"class": "m-0 p-0",
|
|
3628
|
+
style: {
|
|
3629
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3630
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3631
|
+
color: sectionproperties.prodCatColor,
|
|
3632
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
3633
|
+
}
|
|
3634
|
+
}, langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3635
|
+
"class": "col-lg-12 mt-3"
|
|
3636
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3637
|
+
className: 'm-0 p-0 wordbreak',
|
|
3638
|
+
style: {
|
|
3639
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3640
|
+
color: sectionproperties.prodCatColor
|
|
3641
|
+
},
|
|
3642
|
+
dangerouslySetInnerHTML: {
|
|
3643
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer60 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.data) === null || _fetchProductInfoQuer60 === void 0 || (_fetchProductInfoQuer60 = _fetchProductInfoQuer60.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer61 === void 0 || (_fetchProductInfoQuer61 = _fetchProductInfoQuer61.productinfo) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : _fetchProductInfoQuer61.short_description_ar
|
|
3644
|
+
}
|
|
3645
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3646
|
+
"class": "col-lg-12 p-0 my-4"
|
|
3647
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3648
|
+
"class": "row m-0 w-100"
|
|
3649
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer62 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.data) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer62 === void 0 || (_fetchProductInfoQuer62 = _fetchProductInfoQuer62.productimages) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : _fetchProductInfoQuer62.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer63 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.data) === null || _fetchProductInfoQuer63 === void 0 || (_fetchProductInfoQuer63 = _fetchProductInfoQuer63.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.productimages.map(function (item, index) {
|
|
3650
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3651
|
+
"class": "col-lg-4 col-sm-12"
|
|
3652
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3653
|
+
"class": ' mx-2 w-100 h-100',
|
|
3654
|
+
style: {}
|
|
3655
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
3656
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
3657
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
3658
|
+
path: '/tr:w-500,h-500/' + item.path,
|
|
3659
|
+
style: {
|
|
3660
|
+
width: '100%',
|
|
3661
|
+
height: '100%',
|
|
3662
|
+
objectFit: 'contain'
|
|
3663
|
+
},
|
|
3664
|
+
loading: "lazy"
|
|
3665
|
+
})));
|
|
3666
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3667
|
+
"class": "col-lg-12 p-0 my-3"
|
|
3668
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3669
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
3670
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3671
|
+
className: 'text-black m-0 p-0 wordbreak',
|
|
3672
|
+
style: {
|
|
3673
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3674
|
+
},
|
|
3675
|
+
dangerouslySetInnerHTML: {
|
|
3676
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer65 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.data) === null || _fetchProductInfoQuer65 === void 0 || (_fetchProductInfoQuer65 = _fetchProductInfoQuer65.productinfo) === null || _fetchProductInfoQuer65 === void 0 ? void 0 : _fetchProductInfoQuer65.description_ar
|
|
3677
|
+
}
|
|
3678
|
+
}))))));
|
|
3577
3679
|
};
|
|
3578
3680
|
|
|
3579
3681
|
function ownKeys$2t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -6438,7 +6540,8 @@
|
|
|
6438
6540
|
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
6439
6541
|
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
6440
6542
|
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
6441
|
-
|
|
6543
|
+
borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
6544
|
+
borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
6442
6545
|
marginBottom: sectionproperties.relatedProductsMb + 'px'
|
|
6443
6546
|
}
|
|
6444
6547
|
}, Relatedproducts.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|