tabexseriescomponents 0.2.807 → 0.2.809
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 +61 -98
- package/dist/index.esm.js +61 -98
- package/dist/index.umd.js +61 -98
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2422,7 +2422,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2422
2422
|
function ownKeys$2A(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; }
|
|
2423
2423
|
function _objectSpread$2A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2424
2424
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2425
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _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, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$
|
|
2425
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _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, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$i5, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _authdetailsContext$i6, _authdetailsContext$i7, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _authdetailsContext$i8, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _authdetailsContext$i9, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _sizeguideimage$;
|
|
2426
2426
|
var lang = props.actions.lang;
|
|
2427
2427
|
var langdetect = props.actions.langdetect;
|
|
2428
2428
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2733,7 +2733,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2733
2733
|
}
|
|
2734
2734
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2735
2735
|
"class": ' col-lg-12 p-0 '
|
|
2736
|
-
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2736
|
+
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2737
2737
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
2738
2738
|
style: {
|
|
2739
2739
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -3253,7 +3253,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3253
3253
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
3254
3254
|
}))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3255
3255
|
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
3256
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3256
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(3) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3257
3257
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3258
3258
|
onClick: function onClick() {
|
|
3259
3259
|
var _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41;
|
|
@@ -3925,7 +3925,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3925
3925
|
"class": "my-3"
|
|
3926
3926
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3927
3927
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
3928
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3928
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3929
3929
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
3930
3930
|
style: {
|
|
3931
3931
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -4052,7 +4052,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4052
4052
|
dangerouslySetInnerHTML: {
|
|
4053
4053
|
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.description_ar
|
|
4054
4054
|
}
|
|
4055
|
-
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4055
|
+
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4056
4056
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
4057
4057
|
style: {
|
|
4058
4058
|
minHeight: '100vh'
|
|
@@ -4179,7 +4179,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4179
4179
|
// fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
4180
4180
|
fontSize: '24px'
|
|
4181
4181
|
}
|
|
4182
|
-
}, langdetect == 'en' ? 'Facilities' : '
|
|
4182
|
+
}, langdetect == 'en' ? 'Facilities' : 'المرافق')))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
4183
4183
|
className: "p-0"
|
|
4184
4184
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4185
4185
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
@@ -4219,78 +4219,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4219
4219
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4220
4220
|
}
|
|
4221
4221
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
4222
|
-
})))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4223
|
-
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
4224
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4225
|
-
"class": "row m-0 w-100"
|
|
4226
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
4227
|
-
allowMultipleExpanded: true,
|
|
4228
|
-
allowZeroExpanded: true,
|
|
4229
|
-
preExpanded: [0]
|
|
4230
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
4231
|
-
uuid: 0
|
|
4232
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4233
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
|
|
4234
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
4235
|
-
if (state.expanded == true) {
|
|
4236
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4237
|
-
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4238
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
4239
|
-
color: sectionproperties.prodCatColor,
|
|
4240
|
-
size: 20
|
|
4241
|
-
}));
|
|
4242
|
-
} else {
|
|
4243
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4244
|
-
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4245
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
4246
|
-
color: sectionproperties.prodCatColor,
|
|
4247
|
-
size: 20
|
|
4248
|
-
}));
|
|
4249
|
-
}
|
|
4250
|
-
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4251
|
-
className: "m-0 p-0 mx-4",
|
|
4252
|
-
style: {
|
|
4253
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4254
|
-
fontWeight: 500,
|
|
4255
|
-
// fontWeight: sectionproperties.prodCatFontWeight,
|
|
4256
|
-
color: sectionproperties.prodCatColor,
|
|
4257
|
-
// fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
4258
|
-
fontSize: '24px'
|
|
4259
|
-
}
|
|
4260
|
-
}, langdetect == 'en' ? 'Developer' : 'Developer')))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
4261
|
-
className: "p-0"
|
|
4262
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4263
|
-
"class": "row m-0 w-100 px-2 mt-3 d-flex flex-row",
|
|
4264
|
-
style: {
|
|
4265
|
-
color: '#000'
|
|
4266
|
-
}
|
|
4267
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4268
|
-
"class": "col-lg-2 col-md-12 mb-md-3"
|
|
4269
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4270
|
-
style: {
|
|
4271
|
-
width: '100px',
|
|
4272
|
-
borderRadius: 100,
|
|
4273
|
-
border: '1px solid #ccc'
|
|
4274
|
-
},
|
|
4275
|
-
"class": langdetect == 'en' ? 'mr-3' : 'ml-3'
|
|
4276
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
4277
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4278
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4279
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.vendorinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.vendorlogourl,
|
|
4280
|
-
loading: "lazy",
|
|
4281
|
-
style: {
|
|
4282
|
-
maxWidth: '100%',
|
|
4283
|
-
maxHeight: '100%',
|
|
4284
|
-
borderRadius: 100
|
|
4285
|
-
}
|
|
4286
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4287
|
-
"class": "col-lg-10 col-md-12"
|
|
4288
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4289
|
-
"class": "m-0 p-0",
|
|
4290
|
-
style: {
|
|
4291
|
-
fontSize: 17
|
|
4292
|
-
}
|
|
4293
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.vendorinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4222
|
+
})))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4294
4223
|
"class": "col-lg-3"
|
|
4295
4224
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4296
4225
|
"class": "row m-0 w-100"
|
|
@@ -4299,8 +4228,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4299
4228
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4300
4229
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
4301
4230
|
onClick: function onClick() {
|
|
4302
|
-
var
|
|
4303
|
-
window.open('tel:' + ((
|
|
4231
|
+
var _fetchProductInfoQuer78;
|
|
4232
|
+
window.open('tel:' + ((_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.product_phonenumber), '_blank');
|
|
4304
4233
|
},
|
|
4305
4234
|
style: {
|
|
4306
4235
|
width: '40%',
|
|
@@ -4351,8 +4280,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4351
4280
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4352
4281
|
onClick: function onClick() {
|
|
4353
4282
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4354
|
-
var
|
|
4355
|
-
window.open('tel:' + ((
|
|
4283
|
+
var _fetchProductInfoQuer79;
|
|
4284
|
+
window.open('tel:' + ((_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.product_phonenumber), '_blank');
|
|
4356
4285
|
} else {
|
|
4357
4286
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4358
4287
|
addtocartfunc();
|
|
@@ -4383,14 +4312,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4383
4312
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4384
4313
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4385
4314
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4386
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4315
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4387
4316
|
className: ' d-flex align-items-center justify-content-center '
|
|
4388
4317
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4389
4318
|
color: sectionproperties.cartBtnTextcolor,
|
|
4390
4319
|
width: "20px",
|
|
4391
4320
|
height: "20px",
|
|
4392
4321
|
duration: "1s"
|
|
4393
|
-
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4322
|
+
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4394
4323
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
4395
4324
|
style: {
|
|
4396
4325
|
minHeight: '100vh'
|
|
@@ -4422,7 +4351,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4422
4351
|
duration: 1500,
|
|
4423
4352
|
arrow: true,
|
|
4424
4353
|
easing: "ease"
|
|
4425
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4354
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productimages) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.productimages.map(function (item, index) {
|
|
4426
4355
|
if (item.is_size_guide != 1) {
|
|
4427
4356
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4428
4357
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -4477,7 +4406,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4477
4406
|
color: sectionproperties.prodCatColor
|
|
4478
4407
|
},
|
|
4479
4408
|
dangerouslySetInnerHTML: {
|
|
4480
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4409
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.description_ar
|
|
4481
4410
|
}
|
|
4482
4411
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4483
4412
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -4521,7 +4450,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4521
4450
|
className: "p-0"
|
|
4522
4451
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4523
4452
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
4524
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4453
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productfeatures) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.map(function (fitem, findex) {
|
|
4525
4454
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4526
4455
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'
|
|
4527
4456
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4617,7 +4546,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4617
4546
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
4618
4547
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4619
4548
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4620
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4549
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.vendorinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.vendorlogourl,
|
|
4621
4550
|
loading: "lazy",
|
|
4622
4551
|
style: {
|
|
4623
4552
|
maxWidth: '100%',
|
|
@@ -4631,7 +4560,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4631
4560
|
style: {
|
|
4632
4561
|
fontSize: 17
|
|
4633
4562
|
}
|
|
4634
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4563
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.vendorinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4635
4564
|
"class": "col-lg-3"
|
|
4636
4565
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4637
4566
|
"class": "row m-0 w-100"
|
|
@@ -4640,8 +4569,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4640
4569
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4641
4570
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
4642
4571
|
onClick: function onClick() {
|
|
4643
|
-
var
|
|
4644
|
-
window.open('tel:' + ((
|
|
4572
|
+
var _fetchProductInfoQuer89;
|
|
4573
|
+
window.open('tel:' + ((_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.product_phonenumber), '_blank');
|
|
4645
4574
|
},
|
|
4646
4575
|
style: {
|
|
4647
4576
|
width: '40%',
|
|
@@ -4692,8 +4621,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4692
4621
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4693
4622
|
onClick: function onClick() {
|
|
4694
4623
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4695
|
-
var
|
|
4696
|
-
window.open('tel:' + ((
|
|
4624
|
+
var _fetchProductInfoQuer90;
|
|
4625
|
+
window.open('tel:' + ((_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.product_phonenumber), '_blank');
|
|
4697
4626
|
} else {
|
|
4698
4627
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4699
4628
|
addtocartfunc();
|
|
@@ -4724,7 +4653,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4724
4653
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4725
4654
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4726
4655
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4727
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4656
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4728
4657
|
className: ' d-flex align-items-center justify-content-center '
|
|
4729
4658
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4730
4659
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -61128,7 +61057,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
|
|
|
61128
61057
|
function ownKeys$1f(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; }
|
|
61129
61058
|
function _objectSpread$1f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
61130
61059
|
var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
|
|
61131
|
-
var _css;
|
|
61060
|
+
var _css, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
61132
61061
|
var _useState = React.useState(''),
|
|
61133
61062
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
61134
61063
|
sectionproperties = _useState2[0],
|
|
@@ -61144,7 +61073,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61144
61073
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
61145
61074
|
imagesarray = _useState6[0],
|
|
61146
61075
|
setimagesarray = _useState6[1];
|
|
61147
|
-
props.actions.lang;
|
|
61076
|
+
var lang = props.actions.lang;
|
|
61148
61077
|
var langdetect = props.actions.langdetect;
|
|
61149
61078
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
61150
61079
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -61229,6 +61158,17 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61229
61158
|
}
|
|
61230
61159
|
}
|
|
61231
61160
|
}, [sectionproperties]);
|
|
61161
|
+
var options = [{
|
|
61162
|
+
value: 'chocolate',
|
|
61163
|
+
label: 'السعودية'
|
|
61164
|
+
}];
|
|
61165
|
+
var optionsSTATE = [{
|
|
61166
|
+
value: 'chocolate',
|
|
61167
|
+
label: 'جدة'
|
|
61168
|
+
}, {
|
|
61169
|
+
value: 'chocolate',
|
|
61170
|
+
label: 'مكة'
|
|
61171
|
+
}];
|
|
61232
61172
|
var sectionstyles = {
|
|
61233
61173
|
form_control: glamor.css((_css = {
|
|
61234
61174
|
position: 'relative',
|
|
@@ -61475,7 +61415,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61475
61415
|
placeholder: ''
|
|
61476
61416
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61477
61417
|
"class": sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? 'col-lg-8 p-0' : sectionproperties.showpricerange == 'Show' ? 'col-lg-9 p-0' : sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Hide' ? 'col-lg-8 p-0' : 'col-lg-12 p-0'
|
|
61478
|
-
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
61418
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
61479
61419
|
payloadobj: payloadobj,
|
|
61480
61420
|
setpayloadobj: setpayloadobj,
|
|
61481
61421
|
sectionproperties: sectionproperties
|
|
@@ -61488,7 +61428,30 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61488
61428
|
fetchTabexCountriesQueryContext: fetchTabexCountriesQueryContext,
|
|
61489
61429
|
fetchTabexStatesQueryContext: fetchTabexStatesQueryContext,
|
|
61490
61430
|
fetchTabexCitiesQueryContext: fetchTabexCitiesQueryContext
|
|
61491
|
-
})
|
|
61431
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61432
|
+
className: "row m-0 w-100",
|
|
61433
|
+
style: {
|
|
61434
|
+
display: sectionproperties.hidecountrystatecity == 'Show' ? 'flex' : sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
61435
|
+
}
|
|
61436
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61437
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
61438
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61439
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
61440
|
+
}, lang.country), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
61441
|
+
options: options,
|
|
61442
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
61443
|
+
placeholder: '',
|
|
61444
|
+
isSearchable: true
|
|
61445
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61446
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
61447
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61448
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
61449
|
+
}, 'المنطقة'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
61450
|
+
options: optionsSTATE,
|
|
61451
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
61452
|
+
placeholder: '',
|
|
61453
|
+
isSearchable: true
|
|
61454
|
+
})))), sectionproperties.showpricerange == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61492
61455
|
className: sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-2 col-md-12 col-sm-12 mb-sm-3 ' : "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
|
|
61493
61456
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61494
61457
|
className: "".concat(sectionstyles.input_label_name) + ' mb-3 '
|
package/dist/index.esm.js
CHANGED
|
@@ -2374,7 +2374,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2374
2374
|
function ownKeys$2A(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; }
|
|
2375
2375
|
function _objectSpread$2A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2376
2376
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2377
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _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, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$
|
|
2377
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _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, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$i5, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _authdetailsContext$i6, _authdetailsContext$i7, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _authdetailsContext$i8, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _authdetailsContext$i9, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _sizeguideimage$;
|
|
2378
2378
|
var lang = props.actions.lang;
|
|
2379
2379
|
var langdetect = props.actions.langdetect;
|
|
2380
2380
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2685,7 +2685,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2685
2685
|
}
|
|
2686
2686
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2687
2687
|
"class": ' col-lg-12 p-0 '
|
|
2688
|
-
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '678d1831ef638' && /*#__PURE__*/React.createElement("div", {
|
|
2688
|
+
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React.createElement("div", {
|
|
2689
2689
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
2690
2690
|
style: {
|
|
2691
2691
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -3205,7 +3205,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3205
3205
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
3206
3206
|
}))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
|
|
3207
3207
|
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
3208
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3208
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(3) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React.createElement("span", {
|
|
3209
3209
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3210
3210
|
onClick: function onClick() {
|
|
3211
3211
|
var _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41;
|
|
@@ -3877,7 +3877,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3877
3877
|
"class": "my-3"
|
|
3878
3878
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
3879
3879
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
3880
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3880
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React.createElement("div", {
|
|
3881
3881
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
3882
3882
|
style: {
|
|
3883
3883
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -4004,7 +4004,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4004
4004
|
dangerouslySetInnerHTML: {
|
|
4005
4005
|
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.description_ar
|
|
4006
4006
|
}
|
|
4007
|
-
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4007
|
+
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React.createElement("div", {
|
|
4008
4008
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
4009
4009
|
style: {
|
|
4010
4010
|
minHeight: '100vh'
|
|
@@ -4131,7 +4131,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4131
4131
|
// fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
4132
4132
|
fontSize: '24px'
|
|
4133
4133
|
}
|
|
4134
|
-
}, langdetect == 'en' ? 'Facilities' : '
|
|
4134
|
+
}, langdetect == 'en' ? 'Facilities' : 'المرافق')))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
4135
4135
|
className: "p-0"
|
|
4136
4136
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4137
4137
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
@@ -4171,78 +4171,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4171
4171
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4172
4172
|
}
|
|
4173
4173
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
4174
|
-
})))))))), /*#__PURE__*/React.createElement("div", {
|
|
4175
|
-
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
4176
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
4177
|
-
"class": "row m-0 w-100"
|
|
4178
|
-
}, /*#__PURE__*/React.createElement(Accordion, {
|
|
4179
|
-
allowMultipleExpanded: true,
|
|
4180
|
-
allowZeroExpanded: true,
|
|
4181
|
-
preExpanded: [0]
|
|
4182
|
-
}, /*#__PURE__*/React.createElement(AccordionItem, {
|
|
4183
|
-
uuid: 0
|
|
4184
|
-
}, /*#__PURE__*/React.createElement(AccordionItemHeading, null, /*#__PURE__*/React.createElement(AccordionItemButton, null, /*#__PURE__*/React.createElement("div", {
|
|
4185
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
|
|
4186
|
-
}, /*#__PURE__*/React.createElement(AccordionItemState, null, function (state) {
|
|
4187
|
-
if (state.expanded == true) {
|
|
4188
|
-
return /*#__PURE__*/React.createElement("i", {
|
|
4189
|
-
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4190
|
-
}, /*#__PURE__*/React.createElement(FaMinus, {
|
|
4191
|
-
color: sectionproperties.prodCatColor,
|
|
4192
|
-
size: 20
|
|
4193
|
-
}));
|
|
4194
|
-
} else {
|
|
4195
|
-
return /*#__PURE__*/React.createElement("i", {
|
|
4196
|
-
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4197
|
-
}, /*#__PURE__*/React.createElement(FaPlus, {
|
|
4198
|
-
color: sectionproperties.prodCatColor,
|
|
4199
|
-
size: 20
|
|
4200
|
-
}));
|
|
4201
|
-
}
|
|
4202
|
-
}), /*#__PURE__*/React.createElement("p", {
|
|
4203
|
-
className: "m-0 p-0 mx-4",
|
|
4204
|
-
style: {
|
|
4205
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4206
|
-
fontWeight: 500,
|
|
4207
|
-
// fontWeight: sectionproperties.prodCatFontWeight,
|
|
4208
|
-
color: sectionproperties.prodCatColor,
|
|
4209
|
-
// fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
4210
|
-
fontSize: '24px'
|
|
4211
|
-
}
|
|
4212
|
-
}, langdetect == 'en' ? 'Developer' : 'Developer')))), /*#__PURE__*/React.createElement(AccordionItemPanel, {
|
|
4213
|
-
className: "p-0"
|
|
4214
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
4215
|
-
"class": "row m-0 w-100 px-2 mt-3 d-flex flex-row",
|
|
4216
|
-
style: {
|
|
4217
|
-
color: '#000'
|
|
4218
|
-
}
|
|
4219
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
4220
|
-
"class": "col-lg-2 col-md-12 mb-md-3"
|
|
4221
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
4222
|
-
style: {
|
|
4223
|
-
width: '100px',
|
|
4224
|
-
borderRadius: 100,
|
|
4225
|
-
border: '1px solid #ccc'
|
|
4226
|
-
},
|
|
4227
|
-
"class": langdetect == 'en' ? 'mr-3' : 'ml-3'
|
|
4228
|
-
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
4229
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4230
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4231
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.vendorinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.vendorlogourl,
|
|
4232
|
-
loading: "lazy",
|
|
4233
|
-
style: {
|
|
4234
|
-
maxWidth: '100%',
|
|
4235
|
-
maxHeight: '100%',
|
|
4236
|
-
borderRadius: 100
|
|
4237
|
-
}
|
|
4238
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
4239
|
-
"class": "col-lg-10 col-md-12"
|
|
4240
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
4241
|
-
"class": "m-0 p-0",
|
|
4242
|
-
style: {
|
|
4243
|
-
fontSize: 17
|
|
4244
|
-
}
|
|
4245
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.vendorinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.address)))))))))), /*#__PURE__*/React.createElement("div", {
|
|
4174
|
+
})))))))))), /*#__PURE__*/React.createElement("div", {
|
|
4246
4175
|
"class": "col-lg-3"
|
|
4247
4176
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4248
4177
|
"class": "row m-0 w-100"
|
|
@@ -4251,8 +4180,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4251
4180
|
}, /*#__PURE__*/React.createElement("button", {
|
|
4252
4181
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
4253
4182
|
onClick: function onClick() {
|
|
4254
|
-
var
|
|
4255
|
-
window.open('tel:' + ((
|
|
4183
|
+
var _fetchProductInfoQuer78;
|
|
4184
|
+
window.open('tel:' + ((_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.product_phonenumber), '_blank');
|
|
4256
4185
|
},
|
|
4257
4186
|
style: {
|
|
4258
4187
|
width: '40%',
|
|
@@ -4303,8 +4232,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4303
4232
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4304
4233
|
onClick: function onClick() {
|
|
4305
4234
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4306
|
-
var
|
|
4307
|
-
window.open('tel:' + ((
|
|
4235
|
+
var _fetchProductInfoQuer79;
|
|
4236
|
+
window.open('tel:' + ((_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.product_phonenumber), '_blank');
|
|
4308
4237
|
} else {
|
|
4309
4238
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4310
4239
|
addtocartfunc();
|
|
@@ -4335,14 +4264,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4335
4264
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4336
4265
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
4337
4266
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4338
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4267
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
4339
4268
|
className: ' d-flex align-items-center justify-content-center '
|
|
4340
4269
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
4341
4270
|
color: sectionproperties.cartBtnTextcolor,
|
|
4342
4271
|
width: "20px",
|
|
4343
4272
|
height: "20px",
|
|
4344
4273
|
duration: "1s"
|
|
4345
|
-
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4274
|
+
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React.createElement("div", {
|
|
4346
4275
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
4347
4276
|
style: {
|
|
4348
4277
|
minHeight: '100vh'
|
|
@@ -4374,7 +4303,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4374
4303
|
duration: 1500,
|
|
4375
4304
|
arrow: true,
|
|
4376
4305
|
easing: "ease"
|
|
4377
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4306
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productimages) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.productimages.map(function (item, index) {
|
|
4378
4307
|
if (item.is_size_guide != 1) {
|
|
4379
4308
|
return /*#__PURE__*/React.createElement("div", {
|
|
4380
4309
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -4429,7 +4358,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4429
4358
|
color: sectionproperties.prodCatColor
|
|
4430
4359
|
},
|
|
4431
4360
|
dangerouslySetInnerHTML: {
|
|
4432
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4361
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.description_ar
|
|
4433
4362
|
}
|
|
4434
4363
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4435
4364
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -4473,7 +4402,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4473
4402
|
className: "p-0"
|
|
4474
4403
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4475
4404
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
4476
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4405
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productfeatures) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.map(function (fitem, findex) {
|
|
4477
4406
|
return /*#__PURE__*/React.createElement("div", {
|
|
4478
4407
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'
|
|
4479
4408
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -4569,7 +4498,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4569
4498
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
4570
4499
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4571
4500
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4572
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4501
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.vendorinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.vendorlogourl,
|
|
4573
4502
|
loading: "lazy",
|
|
4574
4503
|
style: {
|
|
4575
4504
|
maxWidth: '100%',
|
|
@@ -4583,7 +4512,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4583
4512
|
style: {
|
|
4584
4513
|
fontSize: 17
|
|
4585
4514
|
}
|
|
4586
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4515
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.vendorinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.address)))))))))), /*#__PURE__*/React.createElement("div", {
|
|
4587
4516
|
"class": "col-lg-3"
|
|
4588
4517
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4589
4518
|
"class": "row m-0 w-100"
|
|
@@ -4592,8 +4521,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4592
4521
|
}, /*#__PURE__*/React.createElement("button", {
|
|
4593
4522
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
4594
4523
|
onClick: function onClick() {
|
|
4595
|
-
var
|
|
4596
|
-
window.open('tel:' + ((
|
|
4524
|
+
var _fetchProductInfoQuer89;
|
|
4525
|
+
window.open('tel:' + ((_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.product_phonenumber), '_blank');
|
|
4597
4526
|
},
|
|
4598
4527
|
style: {
|
|
4599
4528
|
width: '40%',
|
|
@@ -4644,8 +4573,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4644
4573
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4645
4574
|
onClick: function onClick() {
|
|
4646
4575
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4647
|
-
var
|
|
4648
|
-
window.open('tel:' + ((
|
|
4576
|
+
var _fetchProductInfoQuer90;
|
|
4577
|
+
window.open('tel:' + ((_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.product_phonenumber), '_blank');
|
|
4649
4578
|
} else {
|
|
4650
4579
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4651
4580
|
addtocartfunc();
|
|
@@ -4676,7 +4605,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4676
4605
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4677
4606
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
4678
4607
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4679
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4608
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
4680
4609
|
className: ' d-flex align-items-center justify-content-center '
|
|
4681
4610
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
4682
4611
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -61080,7 +61009,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
|
|
|
61080
61009
|
function ownKeys$1f(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; }
|
|
61081
61010
|
function _objectSpread$1f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
61082
61011
|
var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
|
|
61083
|
-
var _css;
|
|
61012
|
+
var _css, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
61084
61013
|
var _useState = useState(''),
|
|
61085
61014
|
_useState2 = _slicedToArray(_useState, 2),
|
|
61086
61015
|
sectionproperties = _useState2[0],
|
|
@@ -61096,7 +61025,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61096
61025
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
61097
61026
|
imagesarray = _useState6[0],
|
|
61098
61027
|
setimagesarray = _useState6[1];
|
|
61099
|
-
props.actions.lang;
|
|
61028
|
+
var lang = props.actions.lang;
|
|
61100
61029
|
var langdetect = props.actions.langdetect;
|
|
61101
61030
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
61102
61031
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -61181,6 +61110,17 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61181
61110
|
}
|
|
61182
61111
|
}
|
|
61183
61112
|
}, [sectionproperties]);
|
|
61113
|
+
var options = [{
|
|
61114
|
+
value: 'chocolate',
|
|
61115
|
+
label: 'السعودية'
|
|
61116
|
+
}];
|
|
61117
|
+
var optionsSTATE = [{
|
|
61118
|
+
value: 'chocolate',
|
|
61119
|
+
label: 'جدة'
|
|
61120
|
+
}, {
|
|
61121
|
+
value: 'chocolate',
|
|
61122
|
+
label: 'مكة'
|
|
61123
|
+
}];
|
|
61184
61124
|
var sectionstyles = {
|
|
61185
61125
|
form_control: css((_css = {
|
|
61186
61126
|
position: 'relative',
|
|
@@ -61427,7 +61367,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61427
61367
|
placeholder: ''
|
|
61428
61368
|
})), /*#__PURE__*/React.createElement("div", {
|
|
61429
61369
|
"class": sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? 'col-lg-8 p-0' : sectionproperties.showpricerange == 'Show' ? 'col-lg-9 p-0' : sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Hide' ? 'col-lg-8 p-0' : 'col-lg-12 p-0'
|
|
61430
|
-
}, /*#__PURE__*/React.createElement(CustomerAddressForm, {
|
|
61370
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React.createElement(CustomerAddressForm, {
|
|
61431
61371
|
payloadobj: payloadobj,
|
|
61432
61372
|
setpayloadobj: setpayloadobj,
|
|
61433
61373
|
sectionproperties: sectionproperties
|
|
@@ -61440,7 +61380,30 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61440
61380
|
fetchTabexCountriesQueryContext: fetchTabexCountriesQueryContext,
|
|
61441
61381
|
fetchTabexStatesQueryContext: fetchTabexStatesQueryContext,
|
|
61442
61382
|
fetchTabexCitiesQueryContext: fetchTabexCitiesQueryContext
|
|
61443
|
-
})
|
|
61383
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React.createElement("div", {
|
|
61384
|
+
className: "row m-0 w-100",
|
|
61385
|
+
style: {
|
|
61386
|
+
display: sectionproperties.hidecountrystatecity == 'Show' ? 'flex' : sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
61387
|
+
}
|
|
61388
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
61389
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
61390
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
61391
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
61392
|
+
}, lang.country), /*#__PURE__*/React.createElement(Select$4, {
|
|
61393
|
+
options: options,
|
|
61394
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
61395
|
+
placeholder: '',
|
|
61396
|
+
isSearchable: true
|
|
61397
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
61398
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
61399
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
61400
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
61401
|
+
}, 'المنطقة'), /*#__PURE__*/React.createElement(Select$4, {
|
|
61402
|
+
options: optionsSTATE,
|
|
61403
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
61404
|
+
placeholder: '',
|
|
61405
|
+
isSearchable: true
|
|
61406
|
+
})))), sectionproperties.showpricerange == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
61444
61407
|
className: sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-2 col-md-12 col-sm-12 mb-sm-3 ' : "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
|
|
61445
61408
|
}, /*#__PURE__*/React.createElement("label", {
|
|
61446
61409
|
className: "".concat(sectionstyles.input_label_name) + ' mb-3 '
|
package/dist/index.umd.js
CHANGED
|
@@ -2235,7 +2235,7 @@
|
|
|
2235
2235
|
function ownKeys$2A(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; }
|
|
2236
2236
|
function _objectSpread$2A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2237
2237
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2238
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _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, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$
|
|
2238
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _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, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _authdetailsContext$i5, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _authdetailsContext$i6, _authdetailsContext$i7, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _authdetailsContext$i8, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _authdetailsContext$i9, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _sizeguideimage$;
|
|
2239
2239
|
var lang = props.actions.lang;
|
|
2240
2240
|
var langdetect = props.actions.langdetect;
|
|
2241
2241
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2546,7 +2546,7 @@
|
|
|
2546
2546
|
}
|
|
2547
2547
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2548
2548
|
"class": ' col-lg-12 p-0 '
|
|
2549
|
-
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2549
|
+
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2550
2550
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
2551
2551
|
style: {
|
|
2552
2552
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -3066,7 +3066,7 @@
|
|
|
3066
3066
|
size: sectionproperties.remove_quantitybtn_textfontsize
|
|
3067
3067
|
}))), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3068
3068
|
className: "".concat(productinfo_cssstyles.quantitybtn_text)
|
|
3069
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3069
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '66d6de1a1e04a' ? parseFloat(addtocardpayloadobj.quantity).toFixed(3) : parseInt(addtocardpayloadobj.quantity)), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3070
3070
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
3071
3071
|
onClick: function onClick() {
|
|
3072
3072
|
var _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41;
|
|
@@ -3738,7 +3738,7 @@
|
|
|
3738
3738
|
"class": "my-3"
|
|
3739
3739
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3740
3740
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
3741
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3741
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3742
3742
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
3743
3743
|
style: {
|
|
3744
3744
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -3865,7 +3865,7 @@
|
|
|
3865
3865
|
dangerouslySetInnerHTML: {
|
|
3866
3866
|
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer71 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.data) === null || _fetchProductInfoQuer71 === void 0 || (_fetchProductInfoQuer71 = _fetchProductInfoQuer71.productinfo) === null || _fetchProductInfoQuer71 === void 0 ? void 0 : _fetchProductInfoQuer71.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer72 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.data) === null || _fetchProductInfoQuer72 === void 0 || (_fetchProductInfoQuer72 = _fetchProductInfoQuer72.productinfo) === null || _fetchProductInfoQuer72 === void 0 ? void 0 : _fetchProductInfoQuer72.description_ar
|
|
3867
3867
|
}
|
|
3868
|
-
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
3868
|
+
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3869
3869
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
3870
3870
|
style: {
|
|
3871
3871
|
minHeight: '100vh'
|
|
@@ -3992,7 +3992,7 @@
|
|
|
3992
3992
|
// fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
3993
3993
|
fontSize: '24px'
|
|
3994
3994
|
}
|
|
3995
|
-
}, langdetect == 'en' ? 'Facilities' : '
|
|
3995
|
+
}, langdetect == 'en' ? 'Facilities' : 'المرافق')))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
3996
3996
|
className: "p-0"
|
|
3997
3997
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3998
3998
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
@@ -4032,78 +4032,7 @@
|
|
|
4032
4032
|
fontSize: sectionproperties.featurevaluefontsize
|
|
4033
4033
|
}
|
|
4034
4034
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
4035
|
-
})))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4036
|
-
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
4037
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4038
|
-
"class": "row m-0 w-100"
|
|
4039
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
4040
|
-
allowMultipleExpanded: true,
|
|
4041
|
-
allowZeroExpanded: true,
|
|
4042
|
-
preExpanded: [0]
|
|
4043
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
4044
|
-
uuid: 0
|
|
4045
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4046
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center"
|
|
4047
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
4048
|
-
if (state.expanded == true) {
|
|
4049
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4050
|
-
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4051
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
4052
|
-
color: sectionproperties.prodCatColor,
|
|
4053
|
-
size: 20
|
|
4054
|
-
}));
|
|
4055
|
-
} else {
|
|
4056
|
-
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4057
|
-
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
4058
|
-
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
4059
|
-
color: sectionproperties.prodCatColor,
|
|
4060
|
-
size: 20
|
|
4061
|
-
}));
|
|
4062
|
-
}
|
|
4063
|
-
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4064
|
-
className: "m-0 p-0 mx-4",
|
|
4065
|
-
style: {
|
|
4066
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
4067
|
-
fontWeight: 500,
|
|
4068
|
-
// fontWeight: sectionproperties.prodCatFontWeight,
|
|
4069
|
-
color: sectionproperties.prodCatColor,
|
|
4070
|
-
// fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
4071
|
-
fontSize: '24px'
|
|
4072
|
-
}
|
|
4073
|
-
}, langdetect == 'en' ? 'Developer' : 'Developer')))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
4074
|
-
className: "p-0"
|
|
4075
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4076
|
-
"class": "row m-0 w-100 px-2 mt-3 d-flex flex-row",
|
|
4077
|
-
style: {
|
|
4078
|
-
color: '#000'
|
|
4079
|
-
}
|
|
4080
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4081
|
-
"class": "col-lg-2 col-md-12 mb-md-3"
|
|
4082
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4083
|
-
style: {
|
|
4084
|
-
width: '100px',
|
|
4085
|
-
borderRadius: 100,
|
|
4086
|
-
border: '1px solid #ccc'
|
|
4087
|
-
},
|
|
4088
|
-
"class": langdetect == 'en' ? 'mr-3' : 'ml-3'
|
|
4089
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
4090
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4091
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4092
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.vendorinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.vendorlogourl,
|
|
4093
|
-
loading: "lazy",
|
|
4094
|
-
style: {
|
|
4095
|
-
maxWidth: '100%',
|
|
4096
|
-
maxHeight: '100%',
|
|
4097
|
-
borderRadius: 100
|
|
4098
|
-
}
|
|
4099
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4100
|
-
"class": "col-lg-10 col-md-12"
|
|
4101
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4102
|
-
"class": "m-0 p-0",
|
|
4103
|
-
style: {
|
|
4104
|
-
fontSize: 17
|
|
4105
|
-
}
|
|
4106
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.vendorinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4035
|
+
})))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4107
4036
|
"class": "col-lg-3"
|
|
4108
4037
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4109
4038
|
"class": "row m-0 w-100"
|
|
@@ -4112,8 +4041,8 @@
|
|
|
4112
4041
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4113
4042
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
4114
4043
|
onClick: function onClick() {
|
|
4115
|
-
var
|
|
4116
|
-
window.open('tel:' + ((
|
|
4044
|
+
var _fetchProductInfoQuer78;
|
|
4045
|
+
window.open('tel:' + ((_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.product_phonenumber), '_blank');
|
|
4117
4046
|
},
|
|
4118
4047
|
style: {
|
|
4119
4048
|
width: '40%',
|
|
@@ -4164,8 +4093,8 @@
|
|
|
4164
4093
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4165
4094
|
onClick: function onClick() {
|
|
4166
4095
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4167
|
-
var
|
|
4168
|
-
window.open('tel:' + ((
|
|
4096
|
+
var _fetchProductInfoQuer79;
|
|
4097
|
+
window.open('tel:' + ((_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.product_phonenumber), '_blank');
|
|
4169
4098
|
} else {
|
|
4170
4099
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4171
4100
|
addtocartfunc();
|
|
@@ -4196,14 +4125,14 @@
|
|
|
4196
4125
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4197
4126
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4198
4127
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4199
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4128
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4200
4129
|
className: ' d-flex align-items-center justify-content-center '
|
|
4201
4130
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4202
4131
|
color: sectionproperties.cartBtnTextcolor,
|
|
4203
4132
|
width: "20px",
|
|
4204
4133
|
height: "20px",
|
|
4205
4134
|
duration: "1s"
|
|
4206
|
-
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4135
|
+
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4207
4136
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
4208
4137
|
style: {
|
|
4209
4138
|
minHeight: '100vh'
|
|
@@ -4235,7 +4164,7 @@
|
|
|
4235
4164
|
duration: 1500,
|
|
4236
4165
|
arrow: true,
|
|
4237
4166
|
easing: "ease"
|
|
4238
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4167
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productimages) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.productimages.map(function (item, index) {
|
|
4239
4168
|
if (item.is_size_guide != 1) {
|
|
4240
4169
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4241
4170
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -4290,7 +4219,7 @@
|
|
|
4290
4219
|
color: sectionproperties.prodCatColor
|
|
4291
4220
|
},
|
|
4292
4221
|
dangerouslySetInnerHTML: {
|
|
4293
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4222
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.description_ar
|
|
4294
4223
|
}
|
|
4295
4224
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4296
4225
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -4334,7 +4263,7 @@
|
|
|
4334
4263
|
className: "p-0"
|
|
4335
4264
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4336
4265
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
4337
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4266
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productfeatures) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.map(function (fitem, findex) {
|
|
4338
4267
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4339
4268
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'
|
|
4340
4269
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -4430,7 +4359,7 @@
|
|
|
4430
4359
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
4431
4360
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
4432
4361
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
4433
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4362
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.vendorinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.vendorlogourl,
|
|
4434
4363
|
loading: "lazy",
|
|
4435
4364
|
style: {
|
|
4436
4365
|
maxWidth: '100%',
|
|
@@ -4444,7 +4373,7 @@
|
|
|
4444
4373
|
style: {
|
|
4445
4374
|
fontSize: 17
|
|
4446
4375
|
}
|
|
4447
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4376
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.vendorinfo) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4448
4377
|
"class": "col-lg-3"
|
|
4449
4378
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4450
4379
|
"class": "row m-0 w-100"
|
|
@@ -4453,8 +4382,8 @@
|
|
|
4453
4382
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4454
4383
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
4455
4384
|
onClick: function onClick() {
|
|
4456
|
-
var
|
|
4457
|
-
window.open('tel:' + ((
|
|
4385
|
+
var _fetchProductInfoQuer89;
|
|
4386
|
+
window.open('tel:' + ((_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.product_phonenumber), '_blank');
|
|
4458
4387
|
},
|
|
4459
4388
|
style: {
|
|
4460
4389
|
width: '40%',
|
|
@@ -4505,8 +4434,8 @@
|
|
|
4505
4434
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
4506
4435
|
onClick: function onClick() {
|
|
4507
4436
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
4508
|
-
var
|
|
4509
|
-
window.open('tel:' + ((
|
|
4437
|
+
var _fetchProductInfoQuer90;
|
|
4438
|
+
window.open('tel:' + ((_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.product_phonenumber), '_blank');
|
|
4510
4439
|
} else {
|
|
4511
4440
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
4512
4441
|
addtocartfunc();
|
|
@@ -4537,7 +4466,7 @@
|
|
|
4537
4466
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4538
4467
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
4539
4468
|
size: sectionproperties.cartBtn_iconFontSize
|
|
4540
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
4469
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4541
4470
|
className: ' d-flex align-items-center justify-content-center '
|
|
4542
4471
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
4543
4472
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -60941,7 +60870,7 @@
|
|
|
60941
60870
|
function ownKeys$1f(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; }
|
|
60942
60871
|
function _objectSpread$1f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
60943
60872
|
var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
|
|
60944
|
-
var _css;
|
|
60873
|
+
var _css, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
60945
60874
|
var _useState = React.useState(''),
|
|
60946
60875
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
60947
60876
|
sectionproperties = _useState2[0],
|
|
@@ -60957,7 +60886,7 @@
|
|
|
60957
60886
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
60958
60887
|
imagesarray = _useState6[0],
|
|
60959
60888
|
setimagesarray = _useState6[1];
|
|
60960
|
-
props.actions.lang;
|
|
60889
|
+
var lang = props.actions.lang;
|
|
60961
60890
|
var langdetect = props.actions.langdetect;
|
|
60962
60891
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
60963
60892
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -61042,6 +60971,17 @@
|
|
|
61042
60971
|
}
|
|
61043
60972
|
}
|
|
61044
60973
|
}, [sectionproperties]);
|
|
60974
|
+
var options = [{
|
|
60975
|
+
value: 'chocolate',
|
|
60976
|
+
label: 'السعودية'
|
|
60977
|
+
}];
|
|
60978
|
+
var optionsSTATE = [{
|
|
60979
|
+
value: 'chocolate',
|
|
60980
|
+
label: 'جدة'
|
|
60981
|
+
}, {
|
|
60982
|
+
value: 'chocolate',
|
|
60983
|
+
label: 'مكة'
|
|
60984
|
+
}];
|
|
61045
60985
|
var sectionstyles = {
|
|
61046
60986
|
form_control: glamor.css((_css = {
|
|
61047
60987
|
position: 'relative',
|
|
@@ -61288,7 +61228,7 @@
|
|
|
61288
61228
|
placeholder: ''
|
|
61289
61229
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61290
61230
|
"class": sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? 'col-lg-8 p-0' : sectionproperties.showpricerange == 'Show' ? 'col-lg-9 p-0' : sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Hide' ? 'col-lg-8 p-0' : 'col-lg-12 p-0'
|
|
61291
|
-
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
61231
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
61292
61232
|
payloadobj: payloadobj,
|
|
61293
61233
|
setpayloadobj: setpayloadobj,
|
|
61294
61234
|
sectionproperties: sectionproperties
|
|
@@ -61301,7 +61241,30 @@
|
|
|
61301
61241
|
fetchTabexCountriesQueryContext: fetchTabexCountriesQueryContext,
|
|
61302
61242
|
fetchTabexStatesQueryContext: fetchTabexStatesQueryContext,
|
|
61303
61243
|
fetchTabexCitiesQueryContext: fetchTabexCitiesQueryContext
|
|
61304
|
-
})
|
|
61244
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61245
|
+
className: "row m-0 w-100",
|
|
61246
|
+
style: {
|
|
61247
|
+
display: sectionproperties.hidecountrystatecity == 'Show' ? 'flex' : sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
61248
|
+
}
|
|
61249
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61250
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
61251
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61252
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
61253
|
+
}, lang.country), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
61254
|
+
options: options,
|
|
61255
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
61256
|
+
placeholder: '',
|
|
61257
|
+
isSearchable: true
|
|
61258
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61259
|
+
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
61260
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61261
|
+
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
61262
|
+
}, 'المنطقة'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
61263
|
+
options: optionsSTATE,
|
|
61264
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
61265
|
+
placeholder: '',
|
|
61266
|
+
isSearchable: true
|
|
61267
|
+
})))), sectionproperties.showpricerange == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61305
61268
|
className: sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-2 col-md-12 col-sm-12 mb-sm-3 ' : "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
|
|
61306
61269
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61307
61270
|
className: "".concat(sectionstyles.input_label_name) + ' mb-3 '
|