tabexseriescomponents 0.50.177 → 0.50.178
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 +59 -55
- package/dist/index.esm.js +59 -55
- package/dist/index.umd.js +59 -55
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4144,7 +4144,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4144
4144
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
4145
4145
|
openreviewmodal = _useState4[0],
|
|
4146
4146
|
setopenreviewmodal = _useState4[1];
|
|
4147
|
-
var _useState5 = React.useState(
|
|
4147
|
+
var _useState5 = React.useState('all'),
|
|
4148
4148
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
4149
4149
|
filterproductreviews = _useState6[0],
|
|
4150
4150
|
setfilterproductreviews = _useState6[1];
|
|
@@ -4160,7 +4160,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4160
4160
|
var getreviewsassignermutationfunc = function getreviewsassignermutationfunc() {
|
|
4161
4161
|
var _fetchProductInfoQuer2;
|
|
4162
4162
|
GeneralAPIMutationContext.mutate({
|
|
4163
|
-
endpointurl:
|
|
4163
|
+
endpointurl: '/fetchproductreviews',
|
|
4164
4164
|
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.productid,
|
|
4165
4165
|
filterproductreviews: filterproductreviews,
|
|
4166
4166
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
@@ -4177,18 +4177,19 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4177
4177
|
fetchProductInfoQueryContext.refetch();
|
|
4178
4178
|
};
|
|
4179
4179
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4180
|
-
className:
|
|
4180
|
+
className: 'row w-100 ml-0 mr-0',
|
|
4181
4181
|
style: {
|
|
4182
|
-
marginTop: props.actions.srcfrom ==
|
|
4183
|
-
maxHeight: props.actions.srcfrom ==
|
|
4184
|
-
overflowY:
|
|
4182
|
+
marginTop: props.actions.srcfrom == 'collapsepinfo' ? 0 : sectionproperties.marginTop + 'px',
|
|
4183
|
+
maxHeight: props.actions.srcfrom == 'collapsepinfo' ? '30vh' : 'auto',
|
|
4184
|
+
overflowY: 'auto',
|
|
4185
|
+
color: '#000'
|
|
4185
4186
|
}
|
|
4186
4187
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4187
|
-
"class": props.actions.srcfrom ==
|
|
4188
|
+
"class": props.actions.srcfrom == 'collapsepinfo' ? 'col-lg-12 p-0 w-100 p-0 p-md-0 plr-1025-0' : 'col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0 plr-1025-0'
|
|
4188
4189
|
}, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4189
4190
|
"class": "col-lg-12 allcentered",
|
|
4190
4191
|
style: {
|
|
4191
|
-
height:
|
|
4192
|
+
height: '20vh'
|
|
4192
4193
|
}
|
|
4193
4194
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
|
|
4194
4195
|
color: "#ccc",
|
|
@@ -4197,40 +4198,40 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4197
4198
|
duration: "1s"
|
|
4198
4199
|
})), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4199
4200
|
"class": "row m-0 w-100"
|
|
4200
|
-
}, props.actions.srcfrom !=
|
|
4201
|
-
"class": props.actions.srcfrom !=
|
|
4201
|
+
}, props.actions.srcfrom != 'collapsepinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4202
|
+
"class": props.actions.srcfrom != 'collapsepinfo' ? 'col-lg-3' : 'col-12'
|
|
4202
4203
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4203
4204
|
"class": "row m-0 w-100 allcentered"
|
|
4204
4205
|
}, canuserreview && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4205
|
-
"class": props.actions.srcfrom !=
|
|
4206
|
+
"class": props.actions.srcfrom != 'collapsepinfo' ? 'col-lg-12 allcentered mb-3 p-0' : 'col-lg-12 text-end mb-3 p-0'
|
|
4206
4207
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4207
|
-
"class": "".concat(productinfo_cssstyles.reviewbutton) +
|
|
4208
|
+
"class": "".concat(productinfo_cssstyles.reviewbutton) + ' ',
|
|
4208
4209
|
onClick: function onClick() {
|
|
4209
4210
|
setopenreviewmodal(true);
|
|
4210
4211
|
}
|
|
4211
|
-
}, langdetect !=
|
|
4212
|
+
}, langdetect != 'ar' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)), props.actions.srcfrom != 'collapsepinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4212
4213
|
"class": "col-lg-12 p-0 mb-3"
|
|
4213
4214
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4214
4215
|
"class": "row m-0 w-100 py-3 px-2",
|
|
4215
4216
|
style: {
|
|
4216
4217
|
borderRadius: 10,
|
|
4217
|
-
background:
|
|
4218
|
+
background: '#eee'
|
|
4218
4219
|
}
|
|
4219
4220
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4220
4221
|
"class": "col-lg-12 p-0 allcentered"
|
|
4221
4222
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4222
4223
|
"class": "m-0 font-weight-600 text-uppercase",
|
|
4223
4224
|
style: {
|
|
4224
|
-
fontSize:
|
|
4225
|
+
fontSize: '17px'
|
|
4225
4226
|
}
|
|
4226
|
-
}, langdetect !=
|
|
4227
|
+
}, langdetect != 'ar' ? 'Overall Ratings' : 'جميع التقييمات')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4227
4228
|
"class": "col-lg-12 pl-3 pr-3"
|
|
4228
4229
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4229
4230
|
"class": "col-lg-12 p-0 allcentered"
|
|
4230
4231
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4231
4232
|
"class": "m-0 p-0 font-weight-600",
|
|
4232
4233
|
style: {
|
|
4233
|
-
fontSize:
|
|
4234
|
+
fontSize: '20px'
|
|
4234
4235
|
}
|
|
4235
4236
|
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productoverallrate, "/5")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4236
4237
|
"class": "col-lg-12 p-0 allcentered"
|
|
@@ -4242,7 +4243,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4242
4243
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4243
4244
|
className: "far fa-star",
|
|
4244
4245
|
style: {
|
|
4245
|
-
color:
|
|
4246
|
+
color: '#bfbfbf'
|
|
4246
4247
|
}
|
|
4247
4248
|
}),
|
|
4248
4249
|
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4251,26 +4252,26 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4251
4252
|
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4252
4253
|
className: "fa fa-star",
|
|
4253
4254
|
style: {
|
|
4254
|
-
color:
|
|
4255
|
+
color: '#FAB400'
|
|
4255
4256
|
}
|
|
4256
4257
|
}),
|
|
4257
4258
|
activeColor: "#ffd700"
|
|
4258
|
-
})))), props.actions.srcfrom !=
|
|
4259
|
+
})))), props.actions.srcfrom != 'collapsepinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4259
4260
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
4260
4261
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4261
4262
|
"class": "row m-0 w-100 py-3 px-2",
|
|
4262
4263
|
style: {
|
|
4263
4264
|
borderRadius: 10,
|
|
4264
|
-
background:
|
|
4265
|
+
background: '#eee'
|
|
4265
4266
|
}
|
|
4266
4267
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4267
4268
|
"class": "col-lg-12 p-0 allcentered"
|
|
4268
4269
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4269
4270
|
"class": "m-0 font-weight-600 text-uppercase",
|
|
4270
4271
|
style: {
|
|
4271
|
-
fontSize:
|
|
4272
|
+
fontSize: '17px'
|
|
4272
4273
|
}
|
|
4273
|
-
}, langdetect ===
|
|
4274
|
+
}, langdetect === 'ar' ? 'فلترة' : langdetect === 'chin' ? '筛选' : langdetect === 'es' ? 'Filtrar' : langdetect === 'fr' ? 'Filtrer' : langdetect === 'rus' ? 'Фильтр' : 'Filter')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4274
4275
|
"class": "col-lg-12 pl-3 pr-3"
|
|
4275
4276
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4276
4277
|
"class": "col-lg-12 d-flex justify-content-center"
|
|
@@ -4283,7 +4284,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4283
4284
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4284
4285
|
className: "far fa-star",
|
|
4285
4286
|
style: {
|
|
4286
|
-
color:
|
|
4287
|
+
color: '#bfbfbf'
|
|
4287
4288
|
}
|
|
4288
4289
|
}),
|
|
4289
4290
|
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4292,7 +4293,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4292
4293
|
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4293
4294
|
className: "fa fa-star",
|
|
4294
4295
|
style: {
|
|
4295
|
-
color:
|
|
4296
|
+
color: '#FAB400'
|
|
4296
4297
|
}
|
|
4297
4298
|
}),
|
|
4298
4299
|
activeColor: "#ffd700",
|
|
@@ -4300,14 +4301,14 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4300
4301
|
setfilterproductreviews(event);
|
|
4301
4302
|
}
|
|
4302
4303
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4303
|
-
"class": props.actions.srcfrom !=
|
|
4304
|
+
"class": props.actions.srcfrom != 'collapsepinfo' ? 'col-lg-9' : 'col-12 p-0'
|
|
4304
4305
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4305
4306
|
"class": "row m-0 w-100"
|
|
4306
4307
|
}, productreviews === null || productreviews === void 0 ? void 0 : productreviews.map(function (reviewitem, reviewindex) {
|
|
4307
4308
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4308
4309
|
"class": "col-lg-12 flex-column",
|
|
4309
4310
|
style: {
|
|
4310
|
-
color:
|
|
4311
|
+
color: '#000'
|
|
4311
4312
|
}
|
|
4312
4313
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4313
4314
|
"class": "row m-0 w-100"
|
|
@@ -4321,7 +4322,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4321
4322
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4322
4323
|
className: "far fa-star",
|
|
4323
4324
|
style: {
|
|
4324
|
-
color:
|
|
4325
|
+
color: '#bfbfbf'
|
|
4325
4326
|
}
|
|
4326
4327
|
}),
|
|
4327
4328
|
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4330,7 +4331,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4330
4331
|
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4331
4332
|
className: "fa fa-star",
|
|
4332
4333
|
style: {
|
|
4333
|
-
color:
|
|
4334
|
+
color: '#FAB400'
|
|
4334
4335
|
}
|
|
4335
4336
|
}),
|
|
4336
4337
|
activeColor: "#ffd700"
|
|
@@ -4339,7 +4340,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4339
4340
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4340
4341
|
"class": "m-0 p-0 font-weight-600",
|
|
4341
4342
|
style: {
|
|
4342
|
-
fontSize:
|
|
4343
|
+
fontSize: '15px'
|
|
4343
4344
|
}
|
|
4344
4345
|
}, reviewitem.reviewtitle)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4345
4346
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2",
|
|
@@ -4355,7 +4356,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4355
4356
|
style: {
|
|
4356
4357
|
fontSize: 14
|
|
4357
4358
|
}
|
|
4358
|
-
}, (langdetect ===
|
|
4359
|
+
}, (langdetect === 'ar' ? 'عن طريق' : langdetect === 'chin' ? '通过' : langdetect === 'es' ? 'Por' : langdetect === 'fr' ? 'Par' : langdetect === 'rus' ? 'По' : 'By') + ': ', reviewitem.review_name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4359
4360
|
"class": "col-lg-6 d-flex align-items-center justify-content-end justify-content-md-start p-0 font-weight-400 text-light",
|
|
4360
4361
|
style: {
|
|
4361
4362
|
fontSize: 13
|
|
@@ -9626,7 +9627,7 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
9626
9627
|
function ownKeys$2C(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; }
|
|
9627
9628
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9628
9629
|
var Productinfo = function Productinfo(props) {
|
|
9629
|
-
var _css, _fetchProductInfoQuer64, _ref, _fetchProductInfoQuer65, _ref2, _fetchProductInfoQuer66, _ref3, _authdetailsContext$
|
|
9630
|
+
var _css, _fetchProductInfoQuer64, _ref, _fetchProductInfoQuer65, _ref2, _fetchProductInfoQuer66, _ref3, _authdetailsContext$i12, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj0, _authdetailsContext$i13, _fetchProductInfoQuer74, _fetchProductInfoQuer75;
|
|
9630
9631
|
var _useState = React.useState({}),
|
|
9631
9632
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
9632
9633
|
ProductInfoObj = _useState2[0],
|
|
@@ -9834,7 +9835,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9834
9835
|
};
|
|
9835
9836
|
React.useEffect(function () {
|
|
9836
9837
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
9837
|
-
var _authdetailsContext$i;
|
|
9838
|
+
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
9838
9839
|
var secpropobj = {};
|
|
9839
9840
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
9840
9841
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -9845,6 +9846,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9845
9846
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
9846
9847
|
settabname('descriptiontab');
|
|
9847
9848
|
// alert('sd');
|
|
9849
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '693fdc5a14f45') {
|
|
9850
|
+
settabname('descriptiontab');
|
|
9851
|
+
// alert('sd');
|
|
9848
9852
|
} else {
|
|
9849
9853
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
9850
9854
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.product_videos) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) == 0) {
|
|
@@ -10052,8 +10056,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10052
10056
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
10053
10057
|
}
|
|
10054
10058
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.quantitystepincrearse) != '') {
|
|
10055
|
-
var _authdetailsContext$
|
|
10056
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10059
|
+
var _authdetailsContext$i3;
|
|
10060
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '66d6de1a1e04a') {
|
|
10057
10061
|
var _fetchProductInfoQuer29;
|
|
10058
10062
|
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.quantitystepincrearse);
|
|
10059
10063
|
} else {
|
|
@@ -10272,10 +10276,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10272
10276
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10273
10277
|
runfunc = true;
|
|
10274
10278
|
} else {
|
|
10275
|
-
var _authdetailsContext$
|
|
10279
|
+
var _authdetailsContext$i4;
|
|
10276
10280
|
// here
|
|
10277
10281
|
setvariantnotchosendisclaimer('This field is required');
|
|
10278
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10282
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
10279
10283
|
}
|
|
10280
10284
|
} else {
|
|
10281
10285
|
runfunc = true;
|
|
@@ -10359,9 +10363,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10359
10363
|
};
|
|
10360
10364
|
};
|
|
10361
10365
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10362
|
-
var _authdetailsContext$
|
|
10366
|
+
var _authdetailsContext$i5;
|
|
10363
10367
|
var policyobj = {};
|
|
10364
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10368
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instpolicies) === null || _authdetailsContext$i5 === void 0 || _authdetailsContext$i5.forEach(function (item, index) {
|
|
10365
10369
|
if (item.policytype == policytype) {
|
|
10366
10370
|
policyobj = item;
|
|
10367
10371
|
}
|
|
@@ -10370,7 +10374,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10370
10374
|
};
|
|
10371
10375
|
var relatedproducts = function relatedproducts() {
|
|
10372
10376
|
if (Relatedproducts.length != 0) {
|
|
10373
|
-
var _authdetailsContext$
|
|
10377
|
+
var _authdetailsContext$i6;
|
|
10374
10378
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10375
10379
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
10376
10380
|
style: {
|
|
@@ -10417,7 +10421,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10417
10421
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
10418
10422
|
transitionBehavior: 'auto',
|
|
10419
10423
|
wrapperClassName: '',
|
|
10420
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10424
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10421
10425
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10422
10426
|
}, Relatedproducts.map(function (item, index) {
|
|
10423
10427
|
if (item.productinfo != null) {
|
|
@@ -11117,7 +11121,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11117
11121
|
})));
|
|
11118
11122
|
};
|
|
11119
11123
|
var StoreInfo = function StoreInfo(position) {
|
|
11120
|
-
var _fetchProductInfoQuer58, _authdetailsContext$
|
|
11124
|
+
var _fetchProductInfoQuer58, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i1;
|
|
11121
11125
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11122
11126
|
"class": "row m-0 w-100"
|
|
11123
11127
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11192,8 +11196,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11192
11196
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11193
11197
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
11194
11198
|
onClick: function onClick() {
|
|
11195
|
-
var _authdetailsContext$
|
|
11196
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11199
|
+
var _authdetailsContext$i7;
|
|
11200
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email), '_self');
|
|
11197
11201
|
}
|
|
11198
11202
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11199
11203
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -11213,7 +11217,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11213
11217
|
style: {
|
|
11214
11218
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
11215
11219
|
}
|
|
11216
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11220
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11217
11221
|
"class": "row m-0 w-100"
|
|
11218
11222
|
}, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11219
11223
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
@@ -11224,25 +11228,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
11224
11228
|
}
|
|
11225
11229
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11226
11230
|
"class": "m-0 p-0"
|
|
11227
|
-
}, sectionproperties["phonetitle_".concat(langdetect)] || sectionproperties.phonetitle_en))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11231
|
+
}, sectionproperties["phonetitle_".concat(langdetect)] || sectionproperties.phonetitle_en))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11228
11232
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11229
11233
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11230
11234
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11231
11235
|
onClick: function onClick() {
|
|
11232
|
-
var _authdetailsContext$
|
|
11233
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11236
|
+
var _authdetailsContext$i0;
|
|
11237
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.contactinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.email), '_self');
|
|
11234
11238
|
}
|
|
11235
11239
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11236
11240
|
"class": "m-0 p-0"
|
|
11237
|
-
}, sectionproperties["emailtitle_".concat(langdetect)] || sectionproperties.emailtitle_en))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11241
|
+
}, sectionproperties["emailtitle_".concat(langdetect)] || sectionproperties.emailtitle_en))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11238
11242
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11239
11243
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11240
11244
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11241
11245
|
onClick: function onClick() {
|
|
11242
|
-
var _authdetailsContext$
|
|
11243
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11244
|
-
var _authdetailsContext$
|
|
11245
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11246
|
+
var _authdetailsContext$i10;
|
|
11247
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber) != null) {
|
|
11248
|
+
var _authdetailsContext$i11;
|
|
11249
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.whatsappnumber), '_blank');
|
|
11246
11250
|
}
|
|
11247
11251
|
}
|
|
11248
11252
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -11347,7 +11351,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11347
11351
|
lang: lang,
|
|
11348
11352
|
srcfromprops: props.srcfromprops
|
|
11349
11353
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
|
|
11350
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11354
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11351
11355
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11352
11356
|
style: {
|
|
11353
11357
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11538,7 +11542,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11538
11542
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11539
11543
|
sectionproperties: sectionproperties
|
|
11540
11544
|
})
|
|
11541
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11545
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11542
11546
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11543
11547
|
style: {
|
|
11544
11548
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
package/dist/index.esm.js
CHANGED
|
@@ -4092,7 +4092,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4092
4092
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
4093
4093
|
openreviewmodal = _useState4[0],
|
|
4094
4094
|
setopenreviewmodal = _useState4[1];
|
|
4095
|
-
var _useState5 = useState(
|
|
4095
|
+
var _useState5 = useState('all'),
|
|
4096
4096
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
4097
4097
|
filterproductreviews = _useState6[0],
|
|
4098
4098
|
setfilterproductreviews = _useState6[1];
|
|
@@ -4108,7 +4108,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4108
4108
|
var getreviewsassignermutationfunc = function getreviewsassignermutationfunc() {
|
|
4109
4109
|
var _fetchProductInfoQuer2;
|
|
4110
4110
|
GeneralAPIMutationContext.mutate({
|
|
4111
|
-
endpointurl:
|
|
4111
|
+
endpointurl: '/fetchproductreviews',
|
|
4112
4112
|
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.productid,
|
|
4113
4113
|
filterproductreviews: filterproductreviews,
|
|
4114
4114
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
@@ -4125,18 +4125,19 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4125
4125
|
fetchProductInfoQueryContext.refetch();
|
|
4126
4126
|
};
|
|
4127
4127
|
return /*#__PURE__*/React.createElement("div", {
|
|
4128
|
-
className:
|
|
4128
|
+
className: 'row w-100 ml-0 mr-0',
|
|
4129
4129
|
style: {
|
|
4130
|
-
marginTop: props.actions.srcfrom ==
|
|
4131
|
-
maxHeight: props.actions.srcfrom ==
|
|
4132
|
-
overflowY:
|
|
4130
|
+
marginTop: props.actions.srcfrom == 'collapsepinfo' ? 0 : sectionproperties.marginTop + 'px',
|
|
4131
|
+
maxHeight: props.actions.srcfrom == 'collapsepinfo' ? '30vh' : 'auto',
|
|
4132
|
+
overflowY: 'auto',
|
|
4133
|
+
color: '#000'
|
|
4133
4134
|
}
|
|
4134
4135
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4135
|
-
"class": props.actions.srcfrom ==
|
|
4136
|
+
"class": props.actions.srcfrom == 'collapsepinfo' ? 'col-lg-12 p-0 w-100 p-0 p-md-0 plr-1025-0' : 'col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0 plr-1025-0'
|
|
4136
4137
|
}, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
4137
4138
|
"class": "col-lg-12 allcentered",
|
|
4138
4139
|
style: {
|
|
4139
|
-
height:
|
|
4140
|
+
height: '20vh'
|
|
4140
4141
|
}
|
|
4141
4142
|
}, /*#__PURE__*/React.createElement(Messaging, {
|
|
4142
4143
|
color: "#ccc",
|
|
@@ -4145,40 +4146,40 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4145
4146
|
duration: "1s"
|
|
4146
4147
|
})), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
|
|
4147
4148
|
"class": "row m-0 w-100"
|
|
4148
|
-
}, props.actions.srcfrom !=
|
|
4149
|
-
"class": props.actions.srcfrom !=
|
|
4149
|
+
}, props.actions.srcfrom != 'collapsepinfo' && /*#__PURE__*/React.createElement("div", {
|
|
4150
|
+
"class": props.actions.srcfrom != 'collapsepinfo' ? 'col-lg-3' : 'col-12'
|
|
4150
4151
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4151
4152
|
"class": "row m-0 w-100 allcentered"
|
|
4152
4153
|
}, canuserreview && /*#__PURE__*/React.createElement("div", {
|
|
4153
|
-
"class": props.actions.srcfrom !=
|
|
4154
|
+
"class": props.actions.srcfrom != 'collapsepinfo' ? 'col-lg-12 allcentered mb-3 p-0' : 'col-lg-12 text-end mb-3 p-0'
|
|
4154
4155
|
}, /*#__PURE__*/React.createElement("button", {
|
|
4155
|
-
"class": "".concat(productinfo_cssstyles.reviewbutton) +
|
|
4156
|
+
"class": "".concat(productinfo_cssstyles.reviewbutton) + ' ',
|
|
4156
4157
|
onClick: function onClick() {
|
|
4157
4158
|
setopenreviewmodal(true);
|
|
4158
4159
|
}
|
|
4159
|
-
}, langdetect !=
|
|
4160
|
+
}, langdetect != 'ar' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)), props.actions.srcfrom != 'collapsepinfo' && /*#__PURE__*/React.createElement("div", {
|
|
4160
4161
|
"class": "col-lg-12 p-0 mb-3"
|
|
4161
4162
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4162
4163
|
"class": "row m-0 w-100 py-3 px-2",
|
|
4163
4164
|
style: {
|
|
4164
4165
|
borderRadius: 10,
|
|
4165
|
-
background:
|
|
4166
|
+
background: '#eee'
|
|
4166
4167
|
}
|
|
4167
4168
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4168
4169
|
"class": "col-lg-12 p-0 allcentered"
|
|
4169
4170
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4170
4171
|
"class": "m-0 font-weight-600 text-uppercase",
|
|
4171
4172
|
style: {
|
|
4172
|
-
fontSize:
|
|
4173
|
+
fontSize: '17px'
|
|
4173
4174
|
}
|
|
4174
|
-
}, langdetect !=
|
|
4175
|
+
}, langdetect != 'ar' ? 'Overall Ratings' : 'جميع التقييمات')), /*#__PURE__*/React.createElement("div", {
|
|
4175
4176
|
"class": "col-lg-12 pl-3 pr-3"
|
|
4176
4177
|
}, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement("div", {
|
|
4177
4178
|
"class": "col-lg-12 p-0 allcentered"
|
|
4178
4179
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4179
4180
|
"class": "m-0 p-0 font-weight-600",
|
|
4180
4181
|
style: {
|
|
4181
|
-
fontSize:
|
|
4182
|
+
fontSize: '20px'
|
|
4182
4183
|
}
|
|
4183
4184
|
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productoverallrate, "/5")), /*#__PURE__*/React.createElement("div", {
|
|
4184
4185
|
"class": "col-lg-12 p-0 allcentered"
|
|
@@ -4190,7 +4191,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4190
4191
|
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
4191
4192
|
className: "far fa-star",
|
|
4192
4193
|
style: {
|
|
4193
|
-
color:
|
|
4194
|
+
color: '#bfbfbf'
|
|
4194
4195
|
}
|
|
4195
4196
|
}),
|
|
4196
4197
|
halfIcon: /*#__PURE__*/React.createElement("i", {
|
|
@@ -4199,26 +4200,26 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4199
4200
|
filledIcon: /*#__PURE__*/React.createElement("i", {
|
|
4200
4201
|
className: "fa fa-star",
|
|
4201
4202
|
style: {
|
|
4202
|
-
color:
|
|
4203
|
+
color: '#FAB400'
|
|
4203
4204
|
}
|
|
4204
4205
|
}),
|
|
4205
4206
|
activeColor: "#ffd700"
|
|
4206
|
-
})))), props.actions.srcfrom !=
|
|
4207
|
+
})))), props.actions.srcfrom != 'collapsepinfo' && /*#__PURE__*/React.createElement("div", {
|
|
4207
4208
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
4208
4209
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4209
4210
|
"class": "row m-0 w-100 py-3 px-2",
|
|
4210
4211
|
style: {
|
|
4211
4212
|
borderRadius: 10,
|
|
4212
|
-
background:
|
|
4213
|
+
background: '#eee'
|
|
4213
4214
|
}
|
|
4214
4215
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4215
4216
|
"class": "col-lg-12 p-0 allcentered"
|
|
4216
4217
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4217
4218
|
"class": "m-0 font-weight-600 text-uppercase",
|
|
4218
4219
|
style: {
|
|
4219
|
-
fontSize:
|
|
4220
|
+
fontSize: '17px'
|
|
4220
4221
|
}
|
|
4221
|
-
}, langdetect ===
|
|
4222
|
+
}, langdetect === 'ar' ? 'فلترة' : langdetect === 'chin' ? '筛选' : langdetect === 'es' ? 'Filtrar' : langdetect === 'fr' ? 'Filtrer' : langdetect === 'rus' ? 'Фильтр' : 'Filter')), /*#__PURE__*/React.createElement("div", {
|
|
4222
4223
|
"class": "col-lg-12 pl-3 pr-3"
|
|
4223
4224
|
}, /*#__PURE__*/React.createElement("hr", null)), /*#__PURE__*/React.createElement("div", {
|
|
4224
4225
|
"class": "col-lg-12 d-flex justify-content-center"
|
|
@@ -4231,7 +4232,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4231
4232
|
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
4232
4233
|
className: "far fa-star",
|
|
4233
4234
|
style: {
|
|
4234
|
-
color:
|
|
4235
|
+
color: '#bfbfbf'
|
|
4235
4236
|
}
|
|
4236
4237
|
}),
|
|
4237
4238
|
halfIcon: /*#__PURE__*/React.createElement("i", {
|
|
@@ -4240,7 +4241,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4240
4241
|
filledIcon: /*#__PURE__*/React.createElement("i", {
|
|
4241
4242
|
className: "fa fa-star",
|
|
4242
4243
|
style: {
|
|
4243
|
-
color:
|
|
4244
|
+
color: '#FAB400'
|
|
4244
4245
|
}
|
|
4245
4246
|
}),
|
|
4246
4247
|
activeColor: "#ffd700",
|
|
@@ -4248,14 +4249,14 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4248
4249
|
setfilterproductreviews(event);
|
|
4249
4250
|
}
|
|
4250
4251
|
})))))), /*#__PURE__*/React.createElement("div", {
|
|
4251
|
-
"class": props.actions.srcfrom !=
|
|
4252
|
+
"class": props.actions.srcfrom != 'collapsepinfo' ? 'col-lg-9' : 'col-12 p-0'
|
|
4252
4253
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4253
4254
|
"class": "row m-0 w-100"
|
|
4254
4255
|
}, productreviews === null || productreviews === void 0 ? void 0 : productreviews.map(function (reviewitem, reviewindex) {
|
|
4255
4256
|
return /*#__PURE__*/React.createElement("div", {
|
|
4256
4257
|
"class": "col-lg-12 flex-column",
|
|
4257
4258
|
style: {
|
|
4258
|
-
color:
|
|
4259
|
+
color: '#000'
|
|
4259
4260
|
}
|
|
4260
4261
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4261
4262
|
"class": "row m-0 w-100"
|
|
@@ -4269,7 +4270,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4269
4270
|
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
4270
4271
|
className: "far fa-star",
|
|
4271
4272
|
style: {
|
|
4272
|
-
color:
|
|
4273
|
+
color: '#bfbfbf'
|
|
4273
4274
|
}
|
|
4274
4275
|
}),
|
|
4275
4276
|
halfIcon: /*#__PURE__*/React.createElement("i", {
|
|
@@ -4278,7 +4279,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4278
4279
|
filledIcon: /*#__PURE__*/React.createElement("i", {
|
|
4279
4280
|
className: "fa fa-star",
|
|
4280
4281
|
style: {
|
|
4281
|
-
color:
|
|
4282
|
+
color: '#FAB400'
|
|
4282
4283
|
}
|
|
4283
4284
|
}),
|
|
4284
4285
|
activeColor: "#ffd700"
|
|
@@ -4287,7 +4288,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4287
4288
|
}, /*#__PURE__*/React.createElement("p", {
|
|
4288
4289
|
"class": "m-0 p-0 font-weight-600",
|
|
4289
4290
|
style: {
|
|
4290
|
-
fontSize:
|
|
4291
|
+
fontSize: '15px'
|
|
4291
4292
|
}
|
|
4292
4293
|
}, reviewitem.reviewtitle)), /*#__PURE__*/React.createElement("div", {
|
|
4293
4294
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2",
|
|
@@ -4303,7 +4304,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4303
4304
|
style: {
|
|
4304
4305
|
fontSize: 14
|
|
4305
4306
|
}
|
|
4306
|
-
}, (langdetect ===
|
|
4307
|
+
}, (langdetect === 'ar' ? 'عن طريق' : langdetect === 'chin' ? '通过' : langdetect === 'es' ? 'Por' : langdetect === 'fr' ? 'Par' : langdetect === 'rus' ? 'По' : 'By') + ': ', reviewitem.review_name)), /*#__PURE__*/React.createElement("div", {
|
|
4307
4308
|
"class": "col-lg-6 d-flex align-items-center justify-content-end justify-content-md-start p-0 font-weight-400 text-light",
|
|
4308
4309
|
style: {
|
|
4309
4310
|
fontSize: 13
|
|
@@ -9574,7 +9575,7 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
9574
9575
|
function ownKeys$2C(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; }
|
|
9575
9576
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9576
9577
|
var Productinfo = function Productinfo(props) {
|
|
9577
|
-
var _css, _fetchProductInfoQuer64, _ref, _fetchProductInfoQuer65, _ref2, _fetchProductInfoQuer66, _ref3, _authdetailsContext$
|
|
9578
|
+
var _css, _fetchProductInfoQuer64, _ref, _fetchProductInfoQuer65, _ref2, _fetchProductInfoQuer66, _ref3, _authdetailsContext$i12, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj0, _authdetailsContext$i13, _fetchProductInfoQuer74, _fetchProductInfoQuer75;
|
|
9578
9579
|
var _useState = useState({}),
|
|
9579
9580
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9580
9581
|
ProductInfoObj = _useState2[0],
|
|
@@ -9782,7 +9783,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9782
9783
|
};
|
|
9783
9784
|
useEffect(function () {
|
|
9784
9785
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
9785
|
-
var _authdetailsContext$i;
|
|
9786
|
+
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
9786
9787
|
var secpropobj = {};
|
|
9787
9788
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
9788
9789
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -9793,6 +9794,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
9793
9794
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
9794
9795
|
settabname('descriptiontab');
|
|
9795
9796
|
// alert('sd');
|
|
9797
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '693fdc5a14f45') {
|
|
9798
|
+
settabname('descriptiontab');
|
|
9799
|
+
// alert('sd');
|
|
9796
9800
|
} else {
|
|
9797
9801
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
9798
9802
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.product_videos) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) == 0) {
|
|
@@ -10000,8 +10004,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
10000
10004
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
10001
10005
|
}
|
|
10002
10006
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.quantitystepincrearse) != '') {
|
|
10003
|
-
var _authdetailsContext$
|
|
10004
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10007
|
+
var _authdetailsContext$i3;
|
|
10008
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '66d6de1a1e04a') {
|
|
10005
10009
|
var _fetchProductInfoQuer29;
|
|
10006
10010
|
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.quantitystepincrearse);
|
|
10007
10011
|
} else {
|
|
@@ -10220,10 +10224,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
10220
10224
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10221
10225
|
runfunc = true;
|
|
10222
10226
|
} else {
|
|
10223
|
-
var _authdetailsContext$
|
|
10227
|
+
var _authdetailsContext$i4;
|
|
10224
10228
|
// here
|
|
10225
10229
|
setvariantnotchosendisclaimer('This field is required');
|
|
10226
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10230
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
10227
10231
|
}
|
|
10228
10232
|
} else {
|
|
10229
10233
|
runfunc = true;
|
|
@@ -10307,9 +10311,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
10307
10311
|
};
|
|
10308
10312
|
};
|
|
10309
10313
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10310
|
-
var _authdetailsContext$
|
|
10314
|
+
var _authdetailsContext$i5;
|
|
10311
10315
|
var policyobj = {};
|
|
10312
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10316
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instpolicies) === null || _authdetailsContext$i5 === void 0 || _authdetailsContext$i5.forEach(function (item, index) {
|
|
10313
10317
|
if (item.policytype == policytype) {
|
|
10314
10318
|
policyobj = item;
|
|
10315
10319
|
}
|
|
@@ -10318,7 +10322,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10318
10322
|
};
|
|
10319
10323
|
var relatedproducts = function relatedproducts() {
|
|
10320
10324
|
if (Relatedproducts.length != 0) {
|
|
10321
|
-
var _authdetailsContext$
|
|
10325
|
+
var _authdetailsContext$i6;
|
|
10322
10326
|
return /*#__PURE__*/React.createElement("div", {
|
|
10323
10327
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
10324
10328
|
style: {
|
|
@@ -10365,7 +10369,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10365
10369
|
}, /*#__PURE__*/React.createElement(ScrollMenu, {
|
|
10366
10370
|
transitionBehavior: 'auto',
|
|
10367
10371
|
wrapperClassName: '',
|
|
10368
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10372
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10369
10373
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10370
10374
|
}, Relatedproducts.map(function (item, index) {
|
|
10371
10375
|
if (item.productinfo != null) {
|
|
@@ -11065,7 +11069,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11065
11069
|
})));
|
|
11066
11070
|
};
|
|
11067
11071
|
var StoreInfo = function StoreInfo(position) {
|
|
11068
|
-
var _fetchProductInfoQuer58, _authdetailsContext$
|
|
11072
|
+
var _fetchProductInfoQuer58, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i1;
|
|
11069
11073
|
return /*#__PURE__*/React.createElement("div", {
|
|
11070
11074
|
"class": "row m-0 w-100"
|
|
11071
11075
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -11140,8 +11144,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
11140
11144
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
11141
11145
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
11142
11146
|
onClick: function onClick() {
|
|
11143
|
-
var _authdetailsContext$
|
|
11144
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11147
|
+
var _authdetailsContext$i7;
|
|
11148
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email), '_self');
|
|
11145
11149
|
}
|
|
11146
11150
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11147
11151
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -11161,7 +11165,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11161
11165
|
style: {
|
|
11162
11166
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
11163
11167
|
}
|
|
11164
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11168
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
11165
11169
|
"class": "row m-0 w-100"
|
|
11166
11170
|
}, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
11167
11171
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
@@ -11172,25 +11176,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
11172
11176
|
}
|
|
11173
11177
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11174
11178
|
"class": "m-0 p-0"
|
|
11175
|
-
}, sectionproperties["phonetitle_".concat(langdetect)] || sectionproperties.phonetitle_en))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11179
|
+
}, sectionproperties["phonetitle_".concat(langdetect)] || sectionproperties.phonetitle_en))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.email) != null && /*#__PURE__*/React.createElement("div", {
|
|
11176
11180
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11177
11181
|
}, /*#__PURE__*/React.createElement("button", {
|
|
11178
11182
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11179
11183
|
onClick: function onClick() {
|
|
11180
|
-
var _authdetailsContext$
|
|
11181
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11184
|
+
var _authdetailsContext$i0;
|
|
11185
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.contactinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.email), '_self');
|
|
11182
11186
|
}
|
|
11183
11187
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11184
11188
|
"class": "m-0 p-0"
|
|
11185
|
-
}, sectionproperties["emailtitle_".concat(langdetect)] || sectionproperties.emailtitle_en))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11189
|
+
}, sectionproperties["emailtitle_".concat(langdetect)] || sectionproperties.emailtitle_en))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.whatsappnumber) != null && /*#__PURE__*/React.createElement("div", {
|
|
11186
11190
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11187
11191
|
}, /*#__PURE__*/React.createElement("button", {
|
|
11188
11192
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11189
11193
|
onClick: function onClick() {
|
|
11190
|
-
var _authdetailsContext$
|
|
11191
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11192
|
-
var _authdetailsContext$
|
|
11193
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11194
|
+
var _authdetailsContext$i10;
|
|
11195
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber) != null) {
|
|
11196
|
+
var _authdetailsContext$i11;
|
|
11197
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.whatsappnumber), '_blank');
|
|
11194
11198
|
}
|
|
11195
11199
|
}
|
|
11196
11200
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -11295,7 +11299,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11295
11299
|
lang: lang,
|
|
11296
11300
|
srcfromprops: props.srcfromprops
|
|
11297
11301
|
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
|
|
11298
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11302
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
11299
11303
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11300
11304
|
style: {
|
|
11301
11305
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11486,7 +11490,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
11486
11490
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11487
11491
|
sectionproperties: sectionproperties
|
|
11488
11492
|
})
|
|
11489
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11493
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '68e4efe8cb18e' && /*#__PURE__*/React.createElement("div", {
|
|
11490
11494
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11491
11495
|
style: {
|
|
11492
11496
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
package/dist/index.umd.js
CHANGED
|
@@ -3950,7 +3950,7 @@
|
|
|
3950
3950
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
3951
3951
|
openreviewmodal = _useState4[0],
|
|
3952
3952
|
setopenreviewmodal = _useState4[1];
|
|
3953
|
-
var _useState5 = React.useState(
|
|
3953
|
+
var _useState5 = React.useState('all'),
|
|
3954
3954
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
3955
3955
|
filterproductreviews = _useState6[0],
|
|
3956
3956
|
setfilterproductreviews = _useState6[1];
|
|
@@ -3966,7 +3966,7 @@
|
|
|
3966
3966
|
var getreviewsassignermutationfunc = function getreviewsassignermutationfunc() {
|
|
3967
3967
|
var _fetchProductInfoQuer2;
|
|
3968
3968
|
GeneralAPIMutationContext.mutate({
|
|
3969
|
-
endpointurl:
|
|
3969
|
+
endpointurl: '/fetchproductreviews',
|
|
3970
3970
|
productid: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.productid,
|
|
3971
3971
|
filterproductreviews: filterproductreviews,
|
|
3972
3972
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
@@ -3983,18 +3983,19 @@
|
|
|
3983
3983
|
fetchProductInfoQueryContext.refetch();
|
|
3984
3984
|
};
|
|
3985
3985
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3986
|
-
className:
|
|
3986
|
+
className: 'row w-100 ml-0 mr-0',
|
|
3987
3987
|
style: {
|
|
3988
|
-
marginTop: props.actions.srcfrom ==
|
|
3989
|
-
maxHeight: props.actions.srcfrom ==
|
|
3990
|
-
overflowY:
|
|
3988
|
+
marginTop: props.actions.srcfrom == 'collapsepinfo' ? 0 : sectionproperties.marginTop + 'px',
|
|
3989
|
+
maxHeight: props.actions.srcfrom == 'collapsepinfo' ? '30vh' : 'auto',
|
|
3990
|
+
overflowY: 'auto',
|
|
3991
|
+
color: '#000'
|
|
3991
3992
|
}
|
|
3992
3993
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3993
|
-
"class": props.actions.srcfrom ==
|
|
3994
|
+
"class": props.actions.srcfrom == 'collapsepinfo' ? 'col-lg-12 p-0 w-100 p-0 p-md-0 plr-1025-0' : 'col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0 plr-1025-0'
|
|
3994
3995
|
}, GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3995
3996
|
"class": "col-lg-12 allcentered",
|
|
3996
3997
|
style: {
|
|
3997
|
-
height:
|
|
3998
|
+
height: '20vh'
|
|
3998
3999
|
}
|
|
3999
4000
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.Messaging, {
|
|
4000
4001
|
color: "#ccc",
|
|
@@ -4003,40 +4004,40 @@
|
|
|
4003
4004
|
duration: "1s"
|
|
4004
4005
|
})), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4005
4006
|
"class": "row m-0 w-100"
|
|
4006
|
-
}, props.actions.srcfrom !=
|
|
4007
|
-
"class": props.actions.srcfrom !=
|
|
4007
|
+
}, props.actions.srcfrom != 'collapsepinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4008
|
+
"class": props.actions.srcfrom != 'collapsepinfo' ? 'col-lg-3' : 'col-12'
|
|
4008
4009
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4009
4010
|
"class": "row m-0 w-100 allcentered"
|
|
4010
4011
|
}, canuserreview && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4011
|
-
"class": props.actions.srcfrom !=
|
|
4012
|
+
"class": props.actions.srcfrom != 'collapsepinfo' ? 'col-lg-12 allcentered mb-3 p-0' : 'col-lg-12 text-end mb-3 p-0'
|
|
4012
4013
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4013
|
-
"class": "".concat(productinfo_cssstyles.reviewbutton) +
|
|
4014
|
+
"class": "".concat(productinfo_cssstyles.reviewbutton) + ' ',
|
|
4014
4015
|
onClick: function onClick() {
|
|
4015
4016
|
setopenreviewmodal(true);
|
|
4016
4017
|
}
|
|
4017
|
-
}, langdetect !=
|
|
4018
|
+
}, langdetect != 'ar' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)), props.actions.srcfrom != 'collapsepinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4018
4019
|
"class": "col-lg-12 p-0 mb-3"
|
|
4019
4020
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4020
4021
|
"class": "row m-0 w-100 py-3 px-2",
|
|
4021
4022
|
style: {
|
|
4022
4023
|
borderRadius: 10,
|
|
4023
|
-
background:
|
|
4024
|
+
background: '#eee'
|
|
4024
4025
|
}
|
|
4025
4026
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4026
4027
|
"class": "col-lg-12 p-0 allcentered"
|
|
4027
4028
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4028
4029
|
"class": "m-0 font-weight-600 text-uppercase",
|
|
4029
4030
|
style: {
|
|
4030
|
-
fontSize:
|
|
4031
|
+
fontSize: '17px'
|
|
4031
4032
|
}
|
|
4032
|
-
}, langdetect !=
|
|
4033
|
+
}, langdetect != 'ar' ? 'Overall Ratings' : 'جميع التقييمات')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4033
4034
|
"class": "col-lg-12 pl-3 pr-3"
|
|
4034
4035
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4035
4036
|
"class": "col-lg-12 p-0 allcentered"
|
|
4036
4037
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4037
4038
|
"class": "m-0 p-0 font-weight-600",
|
|
4038
4039
|
style: {
|
|
4039
|
-
fontSize:
|
|
4040
|
+
fontSize: '20px'
|
|
4040
4041
|
}
|
|
4041
4042
|
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.productoverallrate, "/5")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4042
4043
|
"class": "col-lg-12 p-0 allcentered"
|
|
@@ -4048,7 +4049,7 @@
|
|
|
4048
4049
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4049
4050
|
className: "far fa-star",
|
|
4050
4051
|
style: {
|
|
4051
|
-
color:
|
|
4052
|
+
color: '#bfbfbf'
|
|
4052
4053
|
}
|
|
4053
4054
|
}),
|
|
4054
4055
|
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4057,26 +4058,26 @@
|
|
|
4057
4058
|
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4058
4059
|
className: "fa fa-star",
|
|
4059
4060
|
style: {
|
|
4060
|
-
color:
|
|
4061
|
+
color: '#FAB400'
|
|
4061
4062
|
}
|
|
4062
4063
|
}),
|
|
4063
4064
|
activeColor: "#ffd700"
|
|
4064
|
-
})))), props.actions.srcfrom !=
|
|
4065
|
+
})))), props.actions.srcfrom != 'collapsepinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4065
4066
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-3"
|
|
4066
4067
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4067
4068
|
"class": "row m-0 w-100 py-3 px-2",
|
|
4068
4069
|
style: {
|
|
4069
4070
|
borderRadius: 10,
|
|
4070
|
-
background:
|
|
4071
|
+
background: '#eee'
|
|
4071
4072
|
}
|
|
4072
4073
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4073
4074
|
"class": "col-lg-12 p-0 allcentered"
|
|
4074
4075
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4075
4076
|
"class": "m-0 font-weight-600 text-uppercase",
|
|
4076
4077
|
style: {
|
|
4077
|
-
fontSize:
|
|
4078
|
+
fontSize: '17px'
|
|
4078
4079
|
}
|
|
4079
|
-
}, langdetect ===
|
|
4080
|
+
}, langdetect === 'ar' ? 'فلترة' : langdetect === 'chin' ? '筛选' : langdetect === 'es' ? 'Filtrar' : langdetect === 'fr' ? 'Filtrer' : langdetect === 'rus' ? 'Фильтр' : 'Filter')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4080
4081
|
"class": "col-lg-12 pl-3 pr-3"
|
|
4081
4082
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4082
4083
|
"class": "col-lg-12 d-flex justify-content-center"
|
|
@@ -4089,7 +4090,7 @@
|
|
|
4089
4090
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4090
4091
|
className: "far fa-star",
|
|
4091
4092
|
style: {
|
|
4092
|
-
color:
|
|
4093
|
+
color: '#bfbfbf'
|
|
4093
4094
|
}
|
|
4094
4095
|
}),
|
|
4095
4096
|
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4098,7 +4099,7 @@
|
|
|
4098
4099
|
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4099
4100
|
className: "fa fa-star",
|
|
4100
4101
|
style: {
|
|
4101
|
-
color:
|
|
4102
|
+
color: '#FAB400'
|
|
4102
4103
|
}
|
|
4103
4104
|
}),
|
|
4104
4105
|
activeColor: "#ffd700",
|
|
@@ -4106,14 +4107,14 @@
|
|
|
4106
4107
|
setfilterproductreviews(event);
|
|
4107
4108
|
}
|
|
4108
4109
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4109
|
-
"class": props.actions.srcfrom !=
|
|
4110
|
+
"class": props.actions.srcfrom != 'collapsepinfo' ? 'col-lg-9' : 'col-12 p-0'
|
|
4110
4111
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4111
4112
|
"class": "row m-0 w-100"
|
|
4112
4113
|
}, productreviews === null || productreviews === void 0 ? void 0 : productreviews.map(function (reviewitem, reviewindex) {
|
|
4113
4114
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4114
4115
|
"class": "col-lg-12 flex-column",
|
|
4115
4116
|
style: {
|
|
4116
|
-
color:
|
|
4117
|
+
color: '#000'
|
|
4117
4118
|
}
|
|
4118
4119
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4119
4120
|
"class": "row m-0 w-100"
|
|
@@ -4127,7 +4128,7 @@
|
|
|
4127
4128
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4128
4129
|
className: "far fa-star",
|
|
4129
4130
|
style: {
|
|
4130
|
-
color:
|
|
4131
|
+
color: '#bfbfbf'
|
|
4131
4132
|
}
|
|
4132
4133
|
}),
|
|
4133
4134
|
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -4136,7 +4137,7 @@
|
|
|
4136
4137
|
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
4137
4138
|
className: "fa fa-star",
|
|
4138
4139
|
style: {
|
|
4139
|
-
color:
|
|
4140
|
+
color: '#FAB400'
|
|
4140
4141
|
}
|
|
4141
4142
|
}),
|
|
4142
4143
|
activeColor: "#ffd700"
|
|
@@ -4145,7 +4146,7 @@
|
|
|
4145
4146
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4146
4147
|
"class": "m-0 p-0 font-weight-600",
|
|
4147
4148
|
style: {
|
|
4148
|
-
fontSize:
|
|
4149
|
+
fontSize: '15px'
|
|
4149
4150
|
}
|
|
4150
4151
|
}, reviewitem.reviewtitle)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4151
4152
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2",
|
|
@@ -4161,7 +4162,7 @@
|
|
|
4161
4162
|
style: {
|
|
4162
4163
|
fontSize: 14
|
|
4163
4164
|
}
|
|
4164
|
-
}, (langdetect ===
|
|
4165
|
+
}, (langdetect === 'ar' ? 'عن طريق' : langdetect === 'chin' ? '通过' : langdetect === 'es' ? 'Por' : langdetect === 'fr' ? 'Par' : langdetect === 'rus' ? 'По' : 'By') + ': ', reviewitem.review_name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4165
4166
|
"class": "col-lg-6 d-flex align-items-center justify-content-end justify-content-md-start p-0 font-weight-400 text-light",
|
|
4166
4167
|
style: {
|
|
4167
4168
|
fontSize: 13
|
|
@@ -9432,7 +9433,7 @@
|
|
|
9432
9433
|
function ownKeys$2C(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; }
|
|
9433
9434
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9434
9435
|
var Productinfo = function Productinfo(props) {
|
|
9435
|
-
var _css, _fetchProductInfoQuer64, _ref, _fetchProductInfoQuer65, _ref2, _fetchProductInfoQuer66, _ref3, _authdetailsContext$
|
|
9436
|
+
var _css, _fetchProductInfoQuer64, _ref, _fetchProductInfoQuer65, _ref2, _fetchProductInfoQuer66, _ref3, _authdetailsContext$i12, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj0, _authdetailsContext$i13, _fetchProductInfoQuer74, _fetchProductInfoQuer75;
|
|
9436
9437
|
var _useState = React.useState({}),
|
|
9437
9438
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
9438
9439
|
ProductInfoObj = _useState2[0],
|
|
@@ -9640,7 +9641,7 @@
|
|
|
9640
9641
|
};
|
|
9641
9642
|
React.useEffect(function () {
|
|
9642
9643
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
9643
|
-
var _authdetailsContext$i;
|
|
9644
|
+
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
9644
9645
|
var secpropobj = {};
|
|
9645
9646
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
9646
9647
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
@@ -9651,6 +9652,9 @@
|
|
|
9651
9652
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68e4efe8cb18e') {
|
|
9652
9653
|
settabname('descriptiontab');
|
|
9653
9654
|
// alert('sd');
|
|
9655
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '693fdc5a14f45') {
|
|
9656
|
+
settabname('descriptiontab');
|
|
9657
|
+
// alert('sd');
|
|
9654
9658
|
} else {
|
|
9655
9659
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
9656
9660
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.product_videos) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.length) == 0) {
|
|
@@ -9858,8 +9862,8 @@
|
|
|
9858
9862
|
tempaddtocardpayloadobj.item_type = 'product';
|
|
9859
9863
|
}
|
|
9860
9864
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer25 === void 0 || (_fetchProductInfoQuer25 = _fetchProductInfoQuer25.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.quantitystepincrearse) != undefined && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer26 === void 0 || (_fetchProductInfoQuer26 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : _fetchProductInfoQuer26.quantitystepincrearse) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.quantitystepincrearse) != 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer28 === void 0 || (_fetchProductInfoQuer28 = _fetchProductInfoQuer28.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.quantitystepincrearse) != '') {
|
|
9861
|
-
var _authdetailsContext$
|
|
9862
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9865
|
+
var _authdetailsContext$i3;
|
|
9866
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '66d6de1a1e04a') {
|
|
9863
9867
|
var _fetchProductInfoQuer29;
|
|
9864
9868
|
quantitystepincrearse = parseFloat(fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer29 === void 0 || (_fetchProductInfoQuer29 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : _fetchProductInfoQuer29.quantitystepincrearse);
|
|
9865
9869
|
} else {
|
|
@@ -10078,10 +10082,10 @@
|
|
|
10078
10082
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
10079
10083
|
runfunc = true;
|
|
10080
10084
|
} else {
|
|
10081
|
-
var _authdetailsContext$
|
|
10085
|
+
var _authdetailsContext$i4;
|
|
10082
10086
|
// here
|
|
10083
10087
|
setvariantnotchosendisclaimer('This field is required');
|
|
10084
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10088
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
10085
10089
|
}
|
|
10086
10090
|
} else {
|
|
10087
10091
|
runfunc = true;
|
|
@@ -10165,9 +10169,9 @@
|
|
|
10165
10169
|
};
|
|
10166
10170
|
};
|
|
10167
10171
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
10168
|
-
var _authdetailsContext$
|
|
10172
|
+
var _authdetailsContext$i5;
|
|
10169
10173
|
var policyobj = {};
|
|
10170
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10174
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 || (_authdetailsContext$i5 = _authdetailsContext$i5.instpolicies) === null || _authdetailsContext$i5 === void 0 || _authdetailsContext$i5.forEach(function (item, index) {
|
|
10171
10175
|
if (item.policytype == policytype) {
|
|
10172
10176
|
policyobj = item;
|
|
10173
10177
|
}
|
|
@@ -10176,7 +10180,7 @@
|
|
|
10176
10180
|
};
|
|
10177
10181
|
var relatedproducts = function relatedproducts() {
|
|
10178
10182
|
if (Relatedproducts.length != 0) {
|
|
10179
|
-
var _authdetailsContext$
|
|
10183
|
+
var _authdetailsContext$i6;
|
|
10180
10184
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10181
10185
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
10182
10186
|
style: {
|
|
@@ -10223,7 +10227,7 @@
|
|
|
10223
10227
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
10224
10228
|
transitionBehavior: 'auto',
|
|
10225
10229
|
wrapperClassName: '',
|
|
10226
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10230
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
10227
10231
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
10228
10232
|
}, Relatedproducts.map(function (item, index) {
|
|
10229
10233
|
if (item.productinfo != null) {
|
|
@@ -10923,7 +10927,7 @@
|
|
|
10923
10927
|
})));
|
|
10924
10928
|
};
|
|
10925
10929
|
var StoreInfo = function StoreInfo(position) {
|
|
10926
|
-
var _fetchProductInfoQuer58, _authdetailsContext$
|
|
10930
|
+
var _fetchProductInfoQuer58, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i1;
|
|
10927
10931
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10928
10932
|
"class": "row m-0 w-100"
|
|
10929
10933
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10998,8 +11002,8 @@
|
|
|
10998
11002
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10999
11003
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-4 col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
11000
11004
|
onClick: function onClick() {
|
|
11001
|
-
var _authdetailsContext$
|
|
11002
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11005
|
+
var _authdetailsContext$i7;
|
|
11006
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email), '_self');
|
|
11003
11007
|
}
|
|
11004
11008
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11005
11009
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -11019,7 +11023,7 @@
|
|
|
11019
11023
|
style: {
|
|
11020
11024
|
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
11021
11025
|
}
|
|
11022
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11026
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email)))), sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11023
11027
|
"class": "row m-0 w-100"
|
|
11024
11028
|
}, sectionproperties.showfooterphonenumber == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11025
11029
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
@@ -11030,25 +11034,25 @@
|
|
|
11030
11034
|
}
|
|
11031
11035
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11032
11036
|
"class": "m-0 p-0"
|
|
11033
|
-
}, sectionproperties["phonetitle_".concat(langdetect)] || sectionproperties.phonetitle_en))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11037
|
+
}, sectionproperties["phonetitle_".concat(langdetect)] || sectionproperties.phonetitle_en))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.contactinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11034
11038
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11035
11039
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11036
11040
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11037
11041
|
onClick: function onClick() {
|
|
11038
|
-
var _authdetailsContext$
|
|
11039
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11042
|
+
var _authdetailsContext$i0;
|
|
11043
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 || (_authdetailsContext$i0 = _authdetailsContext$i0.contactinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.email), '_self');
|
|
11040
11044
|
}
|
|
11041
11045
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11042
11046
|
"class": "m-0 p-0"
|
|
11043
|
-
}, sectionproperties["emailtitle_".concat(langdetect)] || sectionproperties.emailtitle_en))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11047
|
+
}, sectionproperties["emailtitle_".concat(langdetect)] || sectionproperties.emailtitle_en))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11044
11048
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
11045
11049
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11046
11050
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
11047
11051
|
onClick: function onClick() {
|
|
11048
|
-
var _authdetailsContext$
|
|
11049
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11050
|
-
var _authdetailsContext$
|
|
11051
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11052
|
+
var _authdetailsContext$i10;
|
|
11053
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.whatsappnumber) != null) {
|
|
11054
|
+
var _authdetailsContext$i11;
|
|
11055
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.whatsappnumber), '_blank');
|
|
11052
11056
|
}
|
|
11053
11057
|
}
|
|
11054
11058
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -11153,7 +11157,7 @@
|
|
|
11153
11157
|
lang: lang,
|
|
11154
11158
|
srcfromprops: props.srcfromprops
|
|
11155
11159
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref3, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal))
|
|
11156
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11160
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.instid) != '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11157
11161
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11158
11162
|
style: {
|
|
11159
11163
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -11344,7 +11348,7 @@
|
|
|
11344
11348
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
11345
11349
|
sectionproperties: sectionproperties
|
|
11346
11350
|
})
|
|
11347
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
11351
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11348
11352
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
11349
11353
|
style: {
|
|
11350
11354
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|