tabexseriescomponents 0.2.1007 → 0.2.1008
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 +300 -79
- package/dist/index.esm.js +299 -78
- package/dist/index.umd.js +303 -82
- package/package.json +1 -1
- package/yarn-error.log +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -50,6 +50,7 @@ require('@react-icons/all-files/hi/HiOutlineMinusCircle');
|
|
|
50
50
|
var TextareaAutosize = require('react-textarea-autosize');
|
|
51
51
|
var InputRange = require('react-input-range');
|
|
52
52
|
var ReactPlayer = require('react-player');
|
|
53
|
+
var axios = require('axios');
|
|
53
54
|
var AiOutlineClockCircle = require('@react-icons/all-files/ai/AiOutlineClockCircle');
|
|
54
55
|
var AiOutlinePlus = require('@react-icons/all-files/ai/AiOutlinePlus');
|
|
55
56
|
var AiOutlineCheck = require('@react-icons/all-files/ai/AiOutlineCheck');
|
|
@@ -161,7 +162,6 @@ var FaTripadvisor = require('@react-icons/all-files/fa/FaTripadvisor');
|
|
|
161
162
|
var FaBehance = require('@react-icons/all-files/fa/FaBehance');
|
|
162
163
|
var FaArrowAltCircleRight = require('@react-icons/all-files/fa/FaArrowAltCircleRight');
|
|
163
164
|
var FaArrowAltCircleLeft = require('@react-icons/all-files/fa/FaArrowAltCircleLeft');
|
|
164
|
-
var axios = require('axios');
|
|
165
165
|
var GoStar = require('@react-icons/all-files/go/GoStar');
|
|
166
166
|
var IoIosStar = require('@react-icons/all-files/io/IoIosStar');
|
|
167
167
|
var reactCountdownCircleTimer = require('react-countdown-circle-timer');
|
|
@@ -215,6 +215,7 @@ var ReactStars__default = /*#__PURE__*/_interopDefaultLegacy(ReactStars);
|
|
|
215
215
|
var TextareaAutosize__default = /*#__PURE__*/_interopDefaultLegacy(TextareaAutosize);
|
|
216
216
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
217
217
|
var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
|
|
218
|
+
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
218
219
|
var DatePicker__default = /*#__PURE__*/_interopDefaultLegacy(DatePicker);
|
|
219
220
|
var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
|
|
220
221
|
var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
|
|
@@ -222,7 +223,6 @@ var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regenerat
|
|
|
222
223
|
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$4);
|
|
223
224
|
var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
|
|
224
225
|
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
225
|
-
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
226
226
|
var AnimatedNumbers__default = /*#__PURE__*/_interopDefaultLegacy(AnimatedNumbers);
|
|
227
227
|
var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
|
|
228
228
|
|
|
@@ -3253,10 +3253,149 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
3253
3253
|
}))));
|
|
3254
3254
|
};
|
|
3255
3255
|
|
|
3256
|
+
var ProductFileUploader = function ProductFileUploader(props) {
|
|
3257
|
+
var _fetchProductInfoQuer;
|
|
3258
|
+
props.actions.lang;
|
|
3259
|
+
var langdetect = props.actions.langdetect;
|
|
3260
|
+
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
3261
|
+
props.actions.GeneralAPIMutationContext;
|
|
3262
|
+
var NotificationManager = props.actions.NotificationManager;
|
|
3263
|
+
var sectionproperties = props.actions.sectionproperties;
|
|
3264
|
+
props.actions.addtocardpayloadobj;
|
|
3265
|
+
props.actions.setaddtocardpayloadobj;
|
|
3266
|
+
var routingcountext = props.actions.routingcountext;
|
|
3267
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
3268
|
+
props.actions;
|
|
3269
|
+
fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.productid;
|
|
3270
|
+
// const templatepropcontext = props.actions.templatepropcontext;
|
|
3271
|
+
var fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
|
|
3272
|
+
props.addtocartfunc;
|
|
3273
|
+
props.actions.authdetailsContext;
|
|
3274
|
+
props.actions.productinfo_cssstyles;
|
|
3275
|
+
var _useState = React.useState([]),
|
|
3276
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
3277
|
+
_useState2[0];
|
|
3278
|
+
_useState2[1];
|
|
3279
|
+
var _useState3 = React.useState(false),
|
|
3280
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
3281
|
+
_useState4[0];
|
|
3282
|
+
_useState4[1];
|
|
3283
|
+
var _useState5 = React.useState(false),
|
|
3284
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
3285
|
+
_useState6[0];
|
|
3286
|
+
_useState6[1];
|
|
3287
|
+
var _useState7 = React.useState('all'),
|
|
3288
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
3289
|
+
_useState8[0];
|
|
3290
|
+
_useState8[1];
|
|
3291
|
+
var _useState9 = React.useState(null),
|
|
3292
|
+
_useState0 = _slicedToArray__default["default"](_useState9, 2),
|
|
3293
|
+
fileuploadinput = _useState0[0],
|
|
3294
|
+
setfileuploadinput = _useState0[1];
|
|
3295
|
+
var _useState1 = React.useState([]),
|
|
3296
|
+
_useState10 = _slicedToArray__default["default"](_useState1, 2);
|
|
3297
|
+
_useState10[0];
|
|
3298
|
+
_useState10[1];
|
|
3299
|
+
var _useState11 = React.useState([]),
|
|
3300
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
3301
|
+
_useState12[0];
|
|
3302
|
+
_useState12[1];
|
|
3303
|
+
var formstyles = {
|
|
3304
|
+
input_label_name: glamor.css({
|
|
3305
|
+
color: sectionproperties.form_labelcolor,
|
|
3306
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
3307
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
3308
|
+
fontSize: sectionproperties.form_labelfontsize + 'px'
|
|
3309
|
+
}),
|
|
3310
|
+
extracontainer: glamor.css({
|
|
3311
|
+
':hover': {
|
|
3312
|
+
transitions: '.3s',
|
|
3313
|
+
color: '#4faa47'
|
|
3314
|
+
}
|
|
3315
|
+
})
|
|
3316
|
+
};
|
|
3317
|
+
var submitform = function submitform() {
|
|
3318
|
+
var _fetchAuthorizationQu;
|
|
3319
|
+
// alert(fetchAuthorizationQueryContext?.data?.data?.loggedin);
|
|
3320
|
+
if ((fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu === void 0 || (_fetchAuthorizationQu = _fetchAuthorizationQu.data) === null || _fetchAuthorizationQu === void 0 ? void 0 : _fetchAuthorizationQu.loggedin) == true) {
|
|
3321
|
+
if (fileuploadinput != null) {
|
|
3322
|
+
var _fetchAuthorizationQu2, _fetchAuthorizationQu3, _fetchAuthorizationQu4;
|
|
3323
|
+
var fullUrl = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu2 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu2 === void 0 || (_fetchAuthorizationQu2 = _fetchAuthorizationQu2.config) === null || _fetchAuthorizationQu2 === void 0 ? void 0 : _fetchAuthorizationQu2.url;
|
|
3324
|
+
var baseUrl = fullUrl ? new URL(fullUrl).origin : null;
|
|
3325
|
+
var axiosheaders = {
|
|
3326
|
+
'Content-Type': 'multipart/form-data'
|
|
3327
|
+
};
|
|
3328
|
+
axios__default["default"]({
|
|
3329
|
+
method: 'post',
|
|
3330
|
+
url: baseUrl + '/customerapi/customer/webapp/uploadproductinfofile',
|
|
3331
|
+
data: {
|
|
3332
|
+
fileup: fileuploadinput,
|
|
3333
|
+
instapikey: fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu3 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.data) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.instinfo) === null || _fetchAuthorizationQu3 === void 0 || (_fetchAuthorizationQu3 = _fetchAuthorizationQu3.instcred) === null || _fetchAuthorizationQu3 === void 0 ? void 0 : _fetchAuthorizationQu3.webapp_apikey,
|
|
3334
|
+
userdata: fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 || (_fetchAuthorizationQu4 = fetchAuthorizationQueryContext.data) === null || _fetchAuthorizationQu4 === void 0 ? void 0 : _fetchAuthorizationQu4.data,
|
|
3335
|
+
endpointurl: '/uploadproductinfofile',
|
|
3336
|
+
lang: langdetect,
|
|
3337
|
+
cdata: localStorage.getItem('cdata'),
|
|
3338
|
+
currencyid: null
|
|
3339
|
+
},
|
|
3340
|
+
headers: axiosheaders
|
|
3341
|
+
}).then(function (response) {
|
|
3342
|
+
alert('Image Upload Successfully');
|
|
3343
|
+
// const data = response.data;
|
|
3344
|
+
// // if you want to handle status checks
|
|
3345
|
+
// if (data.status) {
|
|
3346
|
+
// clearform();
|
|
3347
|
+
// setshowpopup(true);
|
|
3348
|
+
// setconfirmationtext(langdetect == 'en' ? 'We have received your message' : 'تم استقبال رسالتك');
|
|
3349
|
+
// } else {
|
|
3350
|
+
// NotificationManager.warning('', data.reason || 'Something went wrong');
|
|
3351
|
+
// }
|
|
3352
|
+
})["catch"](function (error) {
|
|
3353
|
+
console.error(error);
|
|
3354
|
+
NotificationManager.error('', 'Server error occurred');
|
|
3355
|
+
});
|
|
3356
|
+
} else {
|
|
3357
|
+
alert('Please Choose File');
|
|
3358
|
+
}
|
|
3359
|
+
} else {
|
|
3360
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
3361
|
+
}
|
|
3362
|
+
};
|
|
3363
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3364
|
+
className: 'row w-100 ml-0 mr-0 mt-3 mb-4'
|
|
3365
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3366
|
+
"class": "col-lg-12 text-start p-3 mb-4",
|
|
3367
|
+
style: {
|
|
3368
|
+
border: '1px solid #ccc',
|
|
3369
|
+
borderRadius: 20
|
|
3370
|
+
}
|
|
3371
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
3372
|
+
type: 'file',
|
|
3373
|
+
onChange: function onChange(event) {
|
|
3374
|
+
setfileuploadinput(event.target.files[0]);
|
|
3375
|
+
}
|
|
3376
|
+
// placeholder={sectionproperties.form_labelfontsize != 0 ? '' : langdetect == 'en' ? item.title_en : item.title_ar}
|
|
3377
|
+
,
|
|
3378
|
+
className: "".concat(formstyles.form_control, " ")
|
|
3379
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3380
|
+
"class": "col-lg-12 text-start mb-1"
|
|
3381
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3382
|
+
onClick: function onClick() {
|
|
3383
|
+
submitform();
|
|
3384
|
+
},
|
|
3385
|
+
style: {
|
|
3386
|
+
width: '100%',
|
|
3387
|
+
height: 40,
|
|
3388
|
+
background: '#2c0b58',
|
|
3389
|
+
color: 'white',
|
|
3390
|
+
borderRadius: 100
|
|
3391
|
+
}
|
|
3392
|
+
}, langdetect == 'en' ? 'Upload File' : 'رفع الصورة')));
|
|
3393
|
+
};
|
|
3394
|
+
|
|
3256
3395
|
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; }
|
|
3257
3396
|
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; }
|
|
3258
3397
|
var Product_itemtype = function Product_itemtype(props) {
|
|
3259
|
-
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _authdetailsContext$
|
|
3398
|
+
var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _authdetailsContext$i1, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _authdetailsContext$i10, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _authdetailsContext$i11, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _authdetailsContext$i12, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _authdetailsContext$i13, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _fetchProductInfoQuer102, _fetchProductInfoQuer103, _fetchProductInfoQuer104, _fetchProductInfoQuer105, _fetchProductInfoQuer106, _fetchProductInfoQuer107, _fetchProductInfoQuer108, _fetchProductInfoQuer109, _fetchProductInfoQuer110, _fetchProductInfoQuer111, _fetchProductInfoQuer113, _fetchProductInfoQuer114, _fetchProductInfoQuer115, _fetchProductInfoQuer117, _fetchProductInfoQuer118, _fetchProductInfoQuer119, _fetchProductInfoQuer120, _fetchProductInfoQuer121, _fetchProductInfoQuer122, _fetchProductInfoQuer123, _fetchProductInfoQuer124, _fetchProductInfoQuer125, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _fetchProductInfoQuer126, _fetchProductInfoQuer127, _fetchProductInfoQuer128, _fetchProductInfoQuer129, _fetchProductInfoQuer130, _fetchProductInfoQuer131, _authdetailsContext$i14, _authdetailsContext$i15, _fetchProductInfoQuer132, _fetchProductInfoQuer133, _fetchProductInfoQuer134, _fetchProductInfoQuer135, _fetchProductInfoQuer136, _fetchProductInfoQuer137, _fetchProductInfoQuer138, _fetchProductInfoQuer139, _authdetailsContext$i16, _fetchProductInfoQuer140, _fetchProductInfoQuer141, _fetchProductInfoQuer142, _fetchProductInfoQuer143, _fetchProductInfoQuer144, _fetchProductInfoQuer147, _fetchProductInfoQuer148, _authdetailsContext$i17, _fetchProductInfoQuer149, _fetchProductInfoQuer150, _fetchProductInfoQuer151, _fetchProductInfoQuer152, _fetchProductInfoQuer153, _fetchProductInfoQuer154, _fetchProductInfoQuer155, _fetchProductInfoQuer158, _fetchProductInfoQuer159, _sizeguideimage$, _authdetailsContext$i18, _fetchProductInfoQuer161, _fetchProductInfoQuer162;
|
|
3260
3399
|
var lang = props.actions.lang;
|
|
3261
3400
|
var actions = props.actions;
|
|
3262
3401
|
var langdetect = props.actions.langdetect;
|
|
@@ -3266,6 +3405,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3266
3405
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
3267
3406
|
props.actions.selectproductoptionvalue;
|
|
3268
3407
|
props.actions.clearchoosenvaluesbutkeepcurrentvalue;
|
|
3408
|
+
props.actions.fetchAuthorizationQueryContext;
|
|
3269
3409
|
var productimagesarray = props.actions.productimagesarray;
|
|
3270
3410
|
var fetchProductInfoQueryContext = props.actions.fetchProductInfoQueryContext;
|
|
3271
3411
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -4294,7 +4434,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4294
4434
|
actions: props.actions
|
|
4295
4435
|
}), sectionproperties.gallerystyle != 'Style 1' && sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionposition != 'Top' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
4296
4436
|
actions: props.actions
|
|
4297
|
-
}),
|
|
4437
|
+
}), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68ada0669b7c7' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4438
|
+
"class": "col-lg-12 p-0"
|
|
4439
|
+
}, /*#__PURE__*/React__default["default"].createElement(ProductFileUploader, {
|
|
4440
|
+
actions: props.actions
|
|
4441
|
+
})), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4298
4442
|
"class": "col-lg-12 text-start p-md-0 mb-3"
|
|
4299
4443
|
}, ProductFeaturesArray()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4300
4444
|
className: "col-lg-12 p-0 mb-3",
|
|
@@ -4654,7 +4798,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4654
4798
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
4655
4799
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
4656
4800
|
"class": "m-0"
|
|
4657
|
-
})), sectionproperties.descriptionstyle == 'Style 2' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
4801
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) != '6852e5ed44e14' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4658
4802
|
"class": sectionproperties.eviewssectionstyle == 'In Collapse' ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mb-3'
|
|
4659
4803
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
4660
4804
|
allowMultipleExpanded: true,
|
|
@@ -4859,7 +5003,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4859
5003
|
}
|
|
4860
5004
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4861
5005
|
"class": "col-lg-12 mt-2 p-0"
|
|
4862
|
-
}, ShareButtonsContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5006
|
+
}, ShareButtonsContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '68a9e83c05b75' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4863
5007
|
"class": "row m-0 w-100 pt-4 mt-3 px-5 px-md-0"
|
|
4864
5008
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4865
5009
|
"class": "col-lg-12 p-0 mb-2"
|
|
@@ -4934,6 +5078,81 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4934
5078
|
controls: true,
|
|
4935
5079
|
loop: true,
|
|
4936
5080
|
muted: true
|
|
5081
|
+
})))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68c27b4570751' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5082
|
+
"class": "row m-0 w-100 pt-4 mt-3 px-5 px-md-0"
|
|
5083
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5084
|
+
"class": "col-lg-12 p-0 mb-2"
|
|
5085
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5086
|
+
className: 'm-0 p-0 wordbreak',
|
|
5087
|
+
style: {
|
|
5088
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
5089
|
+
color: sectionproperties.prodCatColor
|
|
5090
|
+
},
|
|
5091
|
+
dangerouslySetInnerHTML: {
|
|
5092
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer78 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.data) === null || _fetchProductInfoQuer78 === void 0 || (_fetchProductInfoQuer78 = _fetchProductInfoQuer78.productinfo) === null || _fetchProductInfoQuer78 === void 0 ? void 0 : _fetchProductInfoQuer78.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer79 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.data) === null || _fetchProductInfoQuer79 === void 0 || (_fetchProductInfoQuer79 = _fetchProductInfoQuer79.productinfo) === null || _fetchProductInfoQuer79 === void 0 ? void 0 : _fetchProductInfoQuer79.short_description_ar
|
|
5093
|
+
}
|
|
5094
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5095
|
+
className: "col-lg-12 m-0 w-100 p-0 mt-5"
|
|
5096
|
+
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
5097
|
+
className: 'table tablevertical'
|
|
5098
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer80 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.data) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productinfo) === null || _fetchProductInfoQuer80 === void 0 || (_fetchProductInfoQuer80 = _fetchProductInfoQuer80.productfeatures) === null || _fetchProductInfoQuer80 === void 0 ? void 0 : _fetchProductInfoQuer80.map(function (fitem, findex) {
|
|
5099
|
+
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5100
|
+
style: {
|
|
5101
|
+
textTransform: 'capitalize',
|
|
5102
|
+
// color: '#000',
|
|
5103
|
+
color: sectionproperties.featurecolor,
|
|
5104
|
+
fontWeight: sectionproperties.featurefontweight,
|
|
5105
|
+
fontSize: sectionproperties.featurefontsize
|
|
5106
|
+
}
|
|
5107
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5108
|
+
"class": "row m-0 d-flex align-items-center"
|
|
5109
|
+
}, (fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5110
|
+
style: {
|
|
5111
|
+
width: '20px'
|
|
5112
|
+
},
|
|
5113
|
+
"class": langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
5114
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
5115
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
5116
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
5117
|
+
path: fitem === null || fitem === void 0 ? void 0 : fitem.feature_image_url,
|
|
5118
|
+
loading: "lazy",
|
|
5119
|
+
style: {
|
|
5120
|
+
maxWidth: '100%',
|
|
5121
|
+
maxHeight: '100%'
|
|
5122
|
+
}
|
|
5123
|
+
})), langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.name_en : fitem === null || fitem === void 0 ? void 0 : fitem.name_ar)), /*#__PURE__*/React__default["default"].createElement("td", {
|
|
5124
|
+
style: {
|
|
5125
|
+
color: sectionproperties.featurevaluecolor,
|
|
5126
|
+
fontWeight: sectionproperties.featurevaluefontweight,
|
|
5127
|
+
fontSize: sectionproperties.featurevaluefontsize
|
|
5128
|
+
}
|
|
5129
|
+
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
5130
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5131
|
+
className: "col-6 col-md-12 mt-5"
|
|
5132
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5133
|
+
className: 'm-0 p-0 wordbreak',
|
|
5134
|
+
style: {
|
|
5135
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
5136
|
+
color: '#000000'
|
|
5137
|
+
},
|
|
5138
|
+
dangerouslySetInnerHTML: {
|
|
5139
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer81 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.data) === null || _fetchProductInfoQuer81 === void 0 || (_fetchProductInfoQuer81 = _fetchProductInfoQuer81.productinfo) === null || _fetchProductInfoQuer81 === void 0 ? void 0 : _fetchProductInfoQuer81.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer82 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.data) === null || _fetchProductInfoQuer82 === void 0 || (_fetchProductInfoQuer82 = _fetchProductInfoQuer82.productinfo) === null || _fetchProductInfoQuer82 === void 0 ? void 0 : _fetchProductInfoQuer82.description_ar
|
|
5140
|
+
}
|
|
5141
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5142
|
+
"class": "col-6 col-md-12 mt-5"
|
|
5143
|
+
}, productVideos.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5144
|
+
className: "w-100",
|
|
5145
|
+
style: {
|
|
5146
|
+
height: 400
|
|
5147
|
+
}
|
|
5148
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactPlayer__default["default"], {
|
|
5149
|
+
url: productVideos[0].videourl,
|
|
5150
|
+
height: '100%',
|
|
5151
|
+
width: '100%',
|
|
5152
|
+
playing: false,
|
|
5153
|
+
controls: true,
|
|
5154
|
+
loop: true,
|
|
5155
|
+
muted: true
|
|
4937
5156
|
})))))), sectionproperties.storeinfoposition == 'On The Right' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4938
5157
|
className: langdetect == 'en' ? 'col-lg-3 pr-0 border-md-none p-md-0 pt-4 pl-md-0 pr-md-0' : 'col-lg-3 pl-0 border-md-none md-0 pt-4 pl-md-0 pr-md-0',
|
|
4939
5158
|
style: {
|
|
@@ -4947,7 +5166,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4947
5166
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
4948
5167
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
4949
5168
|
}
|
|
4950
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5169
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer83 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.data) === null || _fetchProductInfoQuer83 === void 0 || (_fetchProductInfoQuer83 = _fetchProductInfoQuer83.productinfo) === null || _fetchProductInfoQuer83 === void 0 ? void 0 : _fetchProductInfoQuer83.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4951
5170
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
4952
5171
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
4953
5172
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -4969,7 +5188,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
4969
5188
|
"class": "my-3"
|
|
4970
5189
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4971
5190
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
4972
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
5191
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4973
5192
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
4974
5193
|
style: {
|
|
4975
5194
|
minHeight: sectionproperties.height + 'vh'
|
|
@@ -5131,15 +5350,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5131
5350
|
fontWeight: sectionproperties.quantityfontweight
|
|
5132
5351
|
}
|
|
5133
5352
|
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ":", ' ', fetchProductInfoQueryContext.data.data.productinfo.currentquantity)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5134
|
-
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5353
|
+
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex align-items-center' : 'col-lg-12 p-0 mb-1 d-flex align-items-center',
|
|
5135
5354
|
style: {
|
|
5136
5355
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
5137
5356
|
}
|
|
5138
|
-
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5357
|
+
}, ProductNameSection()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.productcanrate) == 1 && sectionproperties.showrating == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5139
5358
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
5140
5359
|
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
5141
5360
|
count: 5,
|
|
5142
|
-
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5361
|
+
value: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer86 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.data) === null || _fetchProductInfoQuer86 === void 0 || (_fetchProductInfoQuer86 = _fetchProductInfoQuer86.productinfo) === null || _fetchProductInfoQuer86 === void 0 ? void 0 : _fetchProductInfoQuer86.productoverallrate,
|
|
5143
5362
|
edit: false,
|
|
5144
5363
|
size: 18,
|
|
5145
5364
|
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
@@ -5160,7 +5379,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5160
5379
|
activeColor: "#ffd700"
|
|
5161
5380
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5162
5381
|
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
5163
|
-
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5382
|
+
}, sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer87 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.data) === null || _fetchProductInfoQuer87 === void 0 || (_fetchProductInfoQuer87 = _fetchProductInfoQuer87.productinfo) === null || _fetchProductInfoQuer87 === void 0 ? void 0 : _fetchProductInfoQuer87.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5164
5383
|
style: {
|
|
5165
5384
|
width: sectionproperties.availability_width + 'px',
|
|
5166
5385
|
height: sectionproperties.availability_height + 'px',
|
|
@@ -5213,7 +5432,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5213
5432
|
"class": "col-lg-12 text-start p-0"
|
|
5214
5433
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5215
5434
|
className: "row m-0 w-100"
|
|
5216
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5435
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer88 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.data) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productinfo) === null || _fetchProductInfoQuer88 === void 0 || (_fetchProductInfoQuer88 = _fetchProductInfoQuer88.productfeatures) === null || _fetchProductInfoQuer88 === void 0 ? void 0 : _fetchProductInfoQuer88.map(function (fitem, findex) {
|
|
5217
5436
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5218
5437
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5219
5438
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5271,7 +5490,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5271
5490
|
color: sectionproperties.prodCatColor
|
|
5272
5491
|
},
|
|
5273
5492
|
dangerouslySetInnerHTML: {
|
|
5274
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5493
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer89 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.data) === null || _fetchProductInfoQuer89 === void 0 || (_fetchProductInfoQuer89 = _fetchProductInfoQuer89.productinfo) === null || _fetchProductInfoQuer89 === void 0 ? void 0 : _fetchProductInfoQuer89.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer90 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.data) === null || _fetchProductInfoQuer90 === void 0 || (_fetchProductInfoQuer90 = _fetchProductInfoQuer90.productinfo) === null || _fetchProductInfoQuer90 === void 0 ? void 0 : _fetchProductInfoQuer90.short_description_ar
|
|
5275
5494
|
}
|
|
5276
5495
|
})))), sectionproperties.featuresposition == 'Under Name' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5277
5496
|
"class": "col-lg-12 text-start p-md-0"
|
|
@@ -5290,7 +5509,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5290
5509
|
className: "col-lg-12 m-0 w-100 p-0"
|
|
5291
5510
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
5292
5511
|
className: 'table tablevertical'
|
|
5293
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5512
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer91 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.data) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productinfo) === null || _fetchProductInfoQuer91 === void 0 || (_fetchProductInfoQuer91 = _fetchProductInfoQuer91.productfeatures) === null || _fetchProductInfoQuer91 === void 0 ? void 0 : _fetchProductInfoQuer91.map(function (fitem, findex) {
|
|
5294
5513
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
5295
5514
|
style: {
|
|
5296
5515
|
textTransform: 'capitalize',
|
|
@@ -5322,11 +5541,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5322
5541
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5323
5542
|
}
|
|
5324
5543
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar));
|
|
5325
|
-
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5544
|
+
}))))), sectionproperties.defaultpricingposition == 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer92 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.data) === null || _fetchProductInfoQuer92 === void 0 || (_fetchProductInfoQuer92 = _fetchProductInfoQuer92.productinfo) === null || _fetchProductInfoQuer92 === void 0 ? void 0 : _fetchProductInfoQuer92.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
5326
5545
|
actions: props.actions
|
|
5327
5546
|
}), sectionproperties.showmeasurementunit == 'Show' && sectionproperties.measurementunitposition == 'Above Name' && MeasurementUnitSection(), sectionproperties.featuresposition == 'Under Pricing' && sectionproperties.featurestyle == 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5328
5547
|
"class": "col-lg-12 text-start p-0"
|
|
5329
|
-
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5548
|
+
}, ProductFeaturesTable()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer93 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.data) === null || _fetchProductInfoQuer93 === void 0 || (_fetchProductInfoQuer93 = _fetchProductInfoQuer93.productinfo) === null || _fetchProductInfoQuer93 === void 0 ? void 0 : _fetchProductInfoQuer93.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5330
5549
|
"class": "col-lg-12 p-0"
|
|
5331
5550
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5332
5551
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -5336,9 +5555,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5336
5555
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5337
5556
|
},
|
|
5338
5557
|
dangerouslySetInnerHTML: {
|
|
5339
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5558
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer94 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.data) === null || _fetchProductInfoQuer94 === void 0 || (_fetchProductInfoQuer94 = _fetchProductInfoQuer94.productinfo) === null || _fetchProductInfoQuer94 === void 0 ? void 0 : _fetchProductInfoQuer94.short_description_en
|
|
5340
5559
|
}
|
|
5341
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5560
|
+
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer95 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.data) === null || _fetchProductInfoQuer95 === void 0 || (_fetchProductInfoQuer95 = _fetchProductInfoQuer95.productinfo) === null || _fetchProductInfoQuer95 === void 0 ? void 0 : _fetchProductInfoQuer95.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5342
5561
|
"class": "col-lg-12 p-0"
|
|
5343
5562
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5344
5563
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -5348,9 +5567,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5348
5567
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
5349
5568
|
},
|
|
5350
5569
|
dangerouslySetInnerHTML: {
|
|
5351
|
-
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5570
|
+
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer96 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.data) === null || _fetchProductInfoQuer96 === void 0 || (_fetchProductInfoQuer96 = _fetchProductInfoQuer96.productinfo) === null || _fetchProductInfoQuer96 === void 0 ? void 0 : _fetchProductInfoQuer96.short_description_ar
|
|
5352
5571
|
}
|
|
5353
|
-
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5572
|
+
}))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer97 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.data) === null || _fetchProductInfoQuer97 === void 0 || (_fetchProductInfoQuer97 = _fetchProductInfoQuer97.productinfo) === null || _fetchProductInfoQuer97 === void 0 ? void 0 : _fetchProductInfoQuer97.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5354
5573
|
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
5355
5574
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5356
5575
|
"class": "m-0 p-0",
|
|
@@ -5360,9 +5579,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5360
5579
|
},
|
|
5361
5580
|
onClick: function onClick() {
|
|
5362
5581
|
if (sectionproperties.vendornameclickable == 'Yes') {
|
|
5363
|
-
var
|
|
5582
|
+
var _fetchProductInfoQuer98;
|
|
5364
5583
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify({
|
|
5365
|
-
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5584
|
+
vendorsarr: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer98 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.data) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.productinfo) === null || _fetchProductInfoQuer98 === void 0 || (_fetchProductInfoQuer98 = _fetchProductInfoQuer98.vendorinfo) === null || _fetchProductInfoQuer98 === void 0 ? void 0 : _fetchProductInfoQuer98.vendorid]
|
|
5366
5585
|
})));
|
|
5367
5586
|
}
|
|
5368
5587
|
}
|
|
@@ -5370,15 +5589,15 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5370
5589
|
style: {
|
|
5371
5590
|
fontWeight: 600
|
|
5372
5591
|
}
|
|
5373
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5374
|
-
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5375
|
-
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5592
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer99 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.data) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.productinfo) === null || _fetchProductInfoQuer99 === void 0 || (_fetchProductInfoQuer99 = _fetchProductInfoQuer99.vendorinfo) === null || _fetchProductInfoQuer99 === void 0 ? void 0 : _fetchProductInfoQuer99.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.skuposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5593
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer100 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.data) === null || _fetchProductInfoQuer100 === void 0 || (_fetchProductInfoQuer100 = _fetchProductInfoQuer100.productinfo) === null || _fetchProductInfoQuer100 === void 0 ? void 0 : _fetchProductInfoQuer100.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
5594
|
+
}, ProductsSKUContainer()), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer101 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.data) === null || _fetchProductInfoQuer101 === void 0 || (_fetchProductInfoQuer101 = _fetchProductInfoQuer101.productinfo) === null || _fetchProductInfoQuer101 === void 0 ? void 0 : _fetchProductInfoQuer101.currentquantity) < 1 && sectionproperties.showoutofstock == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer102 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.data) === null || _fetchProductInfoQuer102 === void 0 || (_fetchProductInfoQuer102 = _fetchProductInfoQuer102.productinfo) === null || _fetchProductInfoQuer102 === void 0 ? void 0 : _fetchProductInfoQuer102.quantavailtype) == 'limit' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer103 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.data) === null || _fetchProductInfoQuer103 === void 0 || (_fetchProductInfoQuer103 = _fetchProductInfoQuer103.productinfo) === null || _fetchProductInfoQuer103 === void 0 ? void 0 : _fetchProductInfoQuer103.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5376
5595
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
5377
5596
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5378
5597
|
"class": "".concat(productinfo_cssstyles.outstockbadge) + ' allcentered '
|
|
5379
5598
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5380
5599
|
"class": "m-0 p-0"
|
|
5381
|
-
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5600
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer104 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.data) === null || _fetchProductInfoQuer104 === void 0 || (_fetchProductInfoQuer104 = _fetchProductInfoQuer104.productinfo) === null || _fetchProductInfoQuer104 === void 0 ? void 0 : _fetchProductInfoQuer104.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5382
5601
|
"class": "mb-4 col-lg-12 allcentered",
|
|
5383
5602
|
style: {
|
|
5384
5603
|
width: '100%',
|
|
@@ -5399,7 +5618,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5399
5618
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
5400
5619
|
color: sectionproperties.deliverytimecontainercolor
|
|
5401
5620
|
}
|
|
5402
|
-
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5621
|
+
}, sectionproperties.showdeliverytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.deliverycontent_en : sectionproperties.deliverycontent_ar, ": "), ' ', fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer105 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.data) === null || _fetchProductInfoQuer105 === void 0 || (_fetchProductInfoQuer105 = _fetchProductInfoQuer105.productinfo) === null || _fetchProductInfoQuer105 === void 0 ? void 0 : _fetchProductInfoQuer105.deliverydatetext)), sectionproperties.defaultpricingposition != 'Under Name' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer106 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.data) === null || _fetchProductInfoQuer106 === void 0 || (_fetchProductInfoQuer106 = _fetchProductInfoQuer106.productinfo) === null || _fetchProductInfoQuer106 === void 0 ? void 0 : _fetchProductInfoQuer106.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
5403
5622
|
actions: props.actions
|
|
5404
5623
|
}), sectionproperties.descriptionposition != 'Under Name' && sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5405
5624
|
"class": "col-lg-12 p-0"
|
|
@@ -5442,7 +5661,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5442
5661
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
5443
5662
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
5444
5663
|
}
|
|
5445
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5664
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer107 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.data) === null || _fetchProductInfoQuer107 === void 0 || (_fetchProductInfoQuer107 = _fetchProductInfoQuer107.productinfo) === null || _fetchProductInfoQuer107 === void 0 ? void 0 : _fetchProductInfoQuer107.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer108 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.data) === null || _fetchProductInfoQuer108 === void 0 || (_fetchProductInfoQuer108 = _fetchProductInfoQuer108.productinfo) === null || _fetchProductInfoQuer108 === void 0 ? void 0 : _fetchProductInfoQuer108.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5446
5665
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
5447
5666
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5448
5667
|
className: "m-0 p-0",
|
|
@@ -5459,14 +5678,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5459
5678
|
style: {
|
|
5460
5679
|
justifyContent: sectionproperties.cartbtncentered == 'Centered' ? 'center' : 'start'
|
|
5461
5680
|
}
|
|
5462
|
-
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5681
|
+
}, sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer109 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.data) === null || _fetchProductInfoQuer109 === void 0 || (_fetchProductInfoQuer109 = _fetchProductInfoQuer109.productinfo) === null || _fetchProductInfoQuer109 === void 0 ? void 0 : _fetchProductInfoQuer109.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer110 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.data) === null || _fetchProductInfoQuer110 === void 0 || (_fetchProductInfoQuer110 = _fetchProductInfoQuer110.productinfo) === null || _fetchProductInfoQuer110 === void 0 ? void 0 : _fetchProductInfoQuer110.isproducthasquantitychange) == 1 && QuantityButton(), sectionproperties.featuresposition != 'Under Name' && sectionproperties.featuresposition == 'Under Description' && sectionproperties.featurestyle != 'Table' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5463
5682
|
"class": "col-lg-12 text-start p-md-0"
|
|
5464
|
-
}, ProductFeaturesArray()), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5683
|
+
}, ProductFeaturesArray()), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer111 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.data) === null || _fetchProductInfoQuer111 === void 0 || (_fetchProductInfoQuer111 = _fetchProductInfoQuer111.productinfo) === null || _fetchProductInfoQuer111 === void 0 ? void 0 : _fetchProductInfoQuer111.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
5465
5684
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
5466
5685
|
onClick: function onClick() {
|
|
5467
5686
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5468
|
-
var
|
|
5469
|
-
window.open('tel:' + ((
|
|
5687
|
+
var _fetchProductInfoQuer112;
|
|
5688
|
+
window.open('tel:' + ((_fetchProductInfoQuer112 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer112 === void 0 ? void 0 : _fetchProductInfoQuer112.product_phonenumber), '_blank');
|
|
5470
5689
|
} else {
|
|
5471
5690
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5472
5691
|
addtocartfunc();
|
|
@@ -5497,7 +5716,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5497
5716
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5498
5717
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5499
5718
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5500
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5719
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer113 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.data) === null || _fetchProductInfoQuer113 === void 0 || (_fetchProductInfoQuer113 = _fetchProductInfoQuer113.productinfo) === null || _fetchProductInfoQuer113 === void 0 ? void 0 : _fetchProductInfoQuer113.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer114 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.data) === null || _fetchProductInfoQuer114 === void 0 || (_fetchProductInfoQuer114 = _fetchProductInfoQuer114.productinfo) === null || _fetchProductInfoQuer114 === void 0 ? void 0 : _fetchProductInfoQuer114.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5501
5720
|
className: ' d-flex align-items-center justify-content-center '
|
|
5502
5721
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5503
5722
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5542,7 +5761,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5542
5761
|
style: {
|
|
5543
5762
|
fontSize: sectionproperties.favBtnTextfontsize + 'px'
|
|
5544
5763
|
}
|
|
5545
|
-
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5764
|
+
}, langdetect == 'en' ? sectionproperties.favbtnaddedcontent_en : sectionproperties.favbtnaddedcontent_ar))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer115 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.data) === null || _fetchProductInfoQuer115 === void 0 || (_fetchProductInfoQuer115 = _fetchProductInfoQuer115.productinfo) === null || _fetchProductInfoQuer115 === void 0 ? void 0 : _fetchProductInfoQuer115.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5546
5765
|
"class": "row m-0 w-100 mt-3",
|
|
5547
5766
|
style: {
|
|
5548
5767
|
overflow: 'hidden'
|
|
@@ -5554,8 +5773,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5554
5773
|
},
|
|
5555
5774
|
onClick: function onClick() {
|
|
5556
5775
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
5557
|
-
var
|
|
5558
|
-
window.open('tel:' + ((
|
|
5776
|
+
var _fetchProductInfoQuer116;
|
|
5777
|
+
window.open('tel:' + ((_fetchProductInfoQuer116 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer116 === void 0 ? void 0 : _fetchProductInfoQuer116.product_phonenumber), '_blank');
|
|
5559
5778
|
} else {
|
|
5560
5779
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
5561
5780
|
addtocartfunc();
|
|
@@ -5586,7 +5805,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5586
5805
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5587
5806
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
5588
5807
|
size: sectionproperties.cartBtn_iconFontSize
|
|
5589
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5808
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer117 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.data) === null || _fetchProductInfoQuer117 === void 0 || (_fetchProductInfoQuer117 = _fetchProductInfoQuer117.productinfo) === null || _fetchProductInfoQuer117 === void 0 ? void 0 : _fetchProductInfoQuer117.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer118 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.data) === null || _fetchProductInfoQuer118 === void 0 || (_fetchProductInfoQuer118 = _fetchProductInfoQuer118.productinfo) === null || _fetchProductInfoQuer118 === void 0 ? void 0 : _fetchProductInfoQuer118.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5590
5809
|
className: ' d-flex align-items-center justify-content-center '
|
|
5591
5810
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
5592
5811
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -5651,7 +5870,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5651
5870
|
style: {
|
|
5652
5871
|
width: sectionproperties.cartBtnWidth + '%'
|
|
5653
5872
|
}
|
|
5654
|
-
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5873
|
+
}, langdetect == 'en' ? sectionproperties.directwabtntitleen : sectionproperties.directwabtntitlear))), sectionproperties.cartbtnalone == 'Alone' && sectionproperties.showbuynowbtn == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer119 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.data) === null || _fetchProductInfoQuer119 === void 0 || (_fetchProductInfoQuer119 = _fetchProductInfoQuer119.productinfo) === null || _fetchProductInfoQuer119 === void 0 ? void 0 : _fetchProductInfoQuer119.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5655
5874
|
"class": "row m-0 w-100 mt-3",
|
|
5656
5875
|
style: {
|
|
5657
5876
|
overflow: 'hidden'
|
|
@@ -5687,7 +5906,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5687
5906
|
"class": "col-lg-12 text-start p-md-0"
|
|
5688
5907
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5689
5908
|
className: "row m-0 w-100"
|
|
5690
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5909
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer120 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.data) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.productinfo) === null || _fetchProductInfoQuer120 === void 0 || (_fetchProductInfoQuer120 = _fetchProductInfoQuer120.productfeatures) === null || _fetchProductInfoQuer120 === void 0 ? void 0 : _fetchProductInfoQuer120.map(function (fitem, findex) {
|
|
5691
5910
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5692
5911
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
5693
5912
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -5725,19 +5944,19 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5725
5944
|
fontSize: sectionproperties.featurevaluefontsize
|
|
5726
5945
|
}
|
|
5727
5946
|
}, langdetect == 'en' ? fitem === null || fitem === void 0 ? void 0 : fitem.value_en : fitem === null || fitem === void 0 ? void 0 : fitem.value_ar))));
|
|
5728
|
-
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5947
|
+
}))), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer121 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.data) === null || _fetchProductInfoQuer121 === void 0 || (_fetchProductInfoQuer121 = _fetchProductInfoQuer121.productinfo) === null || _fetchProductInfoQuer121 === void 0 ? void 0 : _fetchProductInfoQuer121.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5729
5948
|
"class": "col-12 text-start mt-3"
|
|
5730
5949
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5731
5950
|
"class": productinfo_cssstyles.sizeguidebtn + ' m-0 p-0 cursor-pointer mb-auto ',
|
|
5732
5951
|
onClick: function onClick() {
|
|
5733
5952
|
setopensizeguidemodal(true);
|
|
5734
5953
|
}
|
|
5735
|
-
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5954
|
+
}, langdetect == 'en' ? sectionproperties.sizeguidecontentenglish : sectionproperties.sizeguidecontentarabic)), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer122 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer122 === void 0 || (_fetchProductInfoQuer122 = _fetchProductInfoQuer122.data) === null || _fetchProductInfoQuer122 === void 0 || (_fetchProductInfoQuer122 = _fetchProductInfoQuer122.productinfo) === null || _fetchProductInfoQuer122 === void 0 ? void 0 : _fetchProductInfoQuer122.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5736
5955
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
5737
5956
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
5738
5957
|
"class": "m-0"
|
|
5739
5958
|
})), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5740
|
-
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
5959
|
+
"class": sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer123 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer123 === void 0 || (_fetchProductInfoQuer123 = _fetchProductInfoQuer123.data) === null || _fetchProductInfoQuer123 === void 0 || (_fetchProductInfoQuer123 = _fetchProductInfoQuer123.productinfo) === null || _fetchProductInfoQuer123 === void 0 ? void 0 : _fetchProductInfoQuer123.hasvariants) == 0 ? 'col-lg-12 col-md-12 p-md-0' : 'col-lg-12 col-md-12 p-md-0 mt-3'
|
|
5741
5960
|
}, sectionproperties.descriptioncollapseopen == 'Yes' && /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
5742
5961
|
allowMultipleExpanded: true,
|
|
5743
5962
|
allowZeroExpanded: true,
|
|
@@ -5785,7 +6004,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5785
6004
|
color: sectionproperties.prodCatColor
|
|
5786
6005
|
},
|
|
5787
6006
|
dangerouslySetInnerHTML: {
|
|
5788
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6007
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer124 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer124 === void 0 || (_fetchProductInfoQuer124 = _fetchProductInfoQuer124.data) === null || _fetchProductInfoQuer124 === void 0 || (_fetchProductInfoQuer124 = _fetchProductInfoQuer124.productinfo) === null || _fetchProductInfoQuer124 === void 0 ? void 0 : _fetchProductInfoQuer124.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer125 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.data) === null || _fetchProductInfoQuer125 === void 0 || (_fetchProductInfoQuer125 = _fetchProductInfoQuer125.productinfo) === null || _fetchProductInfoQuer125 === void 0 ? void 0 : _fetchProductInfoQuer125.short_description_ar
|
|
5789
6008
|
}
|
|
5790
6009
|
})))))), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5791
6010
|
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
@@ -5959,7 +6178,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5959
6178
|
})
|
|
5960
6179
|
// actions={props.actions}
|
|
5961
6180
|
// srcfromprops={'collapsepinfo'}
|
|
5962
|
-
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6181
|
+
})))))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer126 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer126 === void 0 || (_fetchProductInfoQuer126 = _fetchProductInfoQuer126.data) === null || _fetchProductInfoQuer126 === void 0 || (_fetchProductInfoQuer126 = _fetchProductInfoQuer126.productinfo) === null || _fetchProductInfoQuer126 === void 0 ? void 0 : _fetchProductInfoQuer126.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5963
6182
|
className: "col-lg-12 p-0 mb-3"
|
|
5964
6183
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5965
6184
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -5982,7 +6201,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5982
6201
|
}
|
|
5983
6202
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5984
6203
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
5985
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6204
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer127 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer127 === void 0 || (_fetchProductInfoQuer127 = _fetchProductInfoQuer127.data) === null || _fetchProductInfoQuer127 === void 0 || (_fetchProductInfoQuer127 = _fetchProductInfoQuer127.productinfo) === null || _fetchProductInfoQuer127 === void 0 || (_fetchProductInfoQuer127 = _fetchProductInfoQuer127.variants[variantindexcompleted]) === null || _fetchProductInfoQuer127 === void 0 ? void 0 : _fetchProductInfoQuer127.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer128 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer128 === void 0 || (_fetchProductInfoQuer128 = _fetchProductInfoQuer128.data) === null || _fetchProductInfoQuer128 === void 0 || (_fetchProductInfoQuer128 = _fetchProductInfoQuer128.productinfo) === null || _fetchProductInfoQuer128 === void 0 || (_fetchProductInfoQuer128 = _fetchProductInfoQuer128.variants[variantindexcompleted]) === null || _fetchProductInfoQuer128 === void 0 ? void 0 : _fetchProductInfoQuer128.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5986
6205
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
5987
6206
|
style: {
|
|
5988
6207
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -5996,14 +6215,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5996
6215
|
style: {
|
|
5997
6216
|
textDecoration: 'none'
|
|
5998
6217
|
}
|
|
5999
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6218
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer129 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.data) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.productinfo) === null || _fetchProductInfoQuer129 === void 0 || (_fetchProductInfoQuer129 = _fetchProductInfoQuer129.variants[variantindexcompleted]) === null || _fetchProductInfoQuer129 === void 0 ? void 0 : _fetchProductInfoQuer129.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6000
6219
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
6001
6220
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6002
6221
|
className: "ml-2 mr-2",
|
|
6003
6222
|
style: {
|
|
6004
6223
|
textDecoration: 'none'
|
|
6005
6224
|
}
|
|
6006
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6225
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer130 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer130 === void 0 || (_fetchProductInfoQuer130 = _fetchProductInfoQuer130.data) === null || _fetchProductInfoQuer130 === void 0 || (_fetchProductInfoQuer130 = _fetchProductInfoQuer130.productinfo) === null || _fetchProductInfoQuer130 === void 0 ? void 0 : _fetchProductInfoQuer130.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6007
6226
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
6008
6227
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6009
6228
|
style: {
|
|
@@ -6051,7 +6270,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6051
6270
|
paddingLeft: langdetect == 'en' ? '.5em' : 0,
|
|
6052
6271
|
paddingRight: langdetect == 'ar' ? '.5rem' : 0
|
|
6053
6272
|
}
|
|
6054
|
-
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6273
|
+
}, StoreInfoprops(), sectionproperties.showsizeguidebtn == 'Show' && sizeguideimage.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer131 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer131 === void 0 || (_fetchProductInfoQuer131 = _fetchProductInfoQuer131.data) === null || _fetchProductInfoQuer131 === void 0 || (_fetchProductInfoQuer131 = _fetchProductInfoQuer131.productinfo) === null || _fetchProductInfoQuer131 === void 0 ? void 0 : _fetchProductInfoQuer131.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6055
6274
|
"class": "col-lg-12 allcentered mb-2 p-sm-0 mt-2"
|
|
6056
6275
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
6057
6276
|
"class": productinfo_cssstyles.sizeguidebtn,
|
|
@@ -6073,7 +6292,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6073
6292
|
"class": "my-3"
|
|
6074
6293
|
})), sectionproperties.showShareButton == 'Show' && sectionproperties.sharebtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6075
6294
|
"class": "col-lg-12 p-0 allcentered mt-2"
|
|
6076
|
-
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6295
|
+
}, ShareButtonsContainer())))))), Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Portfolio' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) != '678d1831ef638' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) != '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6077
6296
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 ',
|
|
6078
6297
|
style: {
|
|
6079
6298
|
minHeight: sectionproperties.height + 'vh',
|
|
@@ -6090,7 +6309,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6090
6309
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
6091
6310
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
6092
6311
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
6093
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6312
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer132 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer132 === void 0 || (_fetchProductInfoQuer132 = _fetchProductInfoQuer132.data) === null || _fetchProductInfoQuer132 === void 0 || (_fetchProductInfoQuer132 = _fetchProductInfoQuer132.productinfo) === null || _fetchProductInfoQuer132 === void 0 ? void 0 : _fetchProductInfoQuer132.productmainimage),
|
|
6094
6313
|
style: {
|
|
6095
6314
|
width: '100%',
|
|
6096
6315
|
height: '100%',
|
|
@@ -6123,13 +6342,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6123
6342
|
color: sectionproperties.prodCatColor
|
|
6124
6343
|
},
|
|
6125
6344
|
dangerouslySetInnerHTML: {
|
|
6126
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6345
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer133 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer133 === void 0 || (_fetchProductInfoQuer133 = _fetchProductInfoQuer133.data) === null || _fetchProductInfoQuer133 === void 0 || (_fetchProductInfoQuer133 = _fetchProductInfoQuer133.productinfo) === null || _fetchProductInfoQuer133 === void 0 ? void 0 : _fetchProductInfoQuer133.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer134 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.data) === null || _fetchProductInfoQuer134 === void 0 || (_fetchProductInfoQuer134 = _fetchProductInfoQuer134.productinfo) === null || _fetchProductInfoQuer134 === void 0 ? void 0 : _fetchProductInfoQuer134.short_description_ar
|
|
6127
6346
|
}
|
|
6128
6347
|
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6129
6348
|
"class": "col-lg-12 text-start p-md-0"
|
|
6130
6349
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6131
6350
|
className: "row m-0 w-100"
|
|
6132
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6351
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer135 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.data) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.productinfo) === null || _fetchProductInfoQuer135 === void 0 || (_fetchProductInfoQuer135 = _fetchProductInfoQuer135.productfeatures) === null || _fetchProductInfoQuer135 === void 0 ? void 0 : _fetchProductInfoQuer135.map(function (fitem, findex) {
|
|
6133
6352
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6134
6353
|
"class": ' col-md-6 p-0 mb-3 mt-2 col-lg-' + sectionproperties.featuresnumcols
|
|
6135
6354
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6171,7 +6390,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6171
6390
|
"class": "col-lg-12 p-0 my-4"
|
|
6172
6391
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6173
6392
|
"class": "row m-0 w-100"
|
|
6174
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6393
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer136 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.data) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.productinfo) === null || _fetchProductInfoQuer136 === void 0 || (_fetchProductInfoQuer136 = _fetchProductInfoQuer136.productimages) === null || _fetchProductInfoQuer136 === void 0 ? void 0 : _fetchProductInfoQuer136.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer137 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer137 === void 0 || (_fetchProductInfoQuer137 = _fetchProductInfoQuer137.data) === null || _fetchProductInfoQuer137 === void 0 || (_fetchProductInfoQuer137 = _fetchProductInfoQuer137.productinfo) === null || _fetchProductInfoQuer137 === void 0 ? void 0 : _fetchProductInfoQuer137.productimages.map(function (item, index) {
|
|
6175
6394
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6176
6395
|
"class": "col-lg-4 col-sm-12 mb-md-2 p-md-0"
|
|
6177
6396
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6198,9 +6417,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6198
6417
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
6199
6418
|
},
|
|
6200
6419
|
dangerouslySetInnerHTML: {
|
|
6201
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6420
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer138 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer138 === void 0 || (_fetchProductInfoQuer138 = _fetchProductInfoQuer138.data) === null || _fetchProductInfoQuer138 === void 0 || (_fetchProductInfoQuer138 = _fetchProductInfoQuer138.productinfo) === null || _fetchProductInfoQuer138 === void 0 ? void 0 : _fetchProductInfoQuer138.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer139 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.data) === null || _fetchProductInfoQuer139 === void 0 || (_fetchProductInfoQuer139 = _fetchProductInfoQuer139.productinfo) === null || _fetchProductInfoQuer139 === void 0 ? void 0 : _fetchProductInfoQuer139.description_ar
|
|
6202
6421
|
}
|
|
6203
|
-
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6422
|
+
}))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '680a0b8a31930' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6204
6423
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
6205
6424
|
style: {
|
|
6206
6425
|
minHeight: '100vh'
|
|
@@ -6232,7 +6451,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6232
6451
|
duration: 1500,
|
|
6233
6452
|
arrow: true,
|
|
6234
6453
|
easing: "ease"
|
|
6235
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6454
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer140 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.data) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.productinfo) === null || _fetchProductInfoQuer140 === void 0 || (_fetchProductInfoQuer140 = _fetchProductInfoQuer140.productimages) === null || _fetchProductInfoQuer140 === void 0 ? void 0 : _fetchProductInfoQuer140.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer141 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer141 === void 0 || (_fetchProductInfoQuer141 = _fetchProductInfoQuer141.data) === null || _fetchProductInfoQuer141 === void 0 || (_fetchProductInfoQuer141 = _fetchProductInfoQuer141.productinfo) === null || _fetchProductInfoQuer141 === void 0 ? void 0 : _fetchProductInfoQuer141.productimages.map(function (item, index) {
|
|
6236
6455
|
if (item.is_size_guide != 1) {
|
|
6237
6456
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6238
6457
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -6287,7 +6506,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6287
6506
|
color: sectionproperties.prodCatColor
|
|
6288
6507
|
},
|
|
6289
6508
|
dangerouslySetInnerHTML: {
|
|
6290
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6509
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer142 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer142 === void 0 || (_fetchProductInfoQuer142 = _fetchProductInfoQuer142.data) === null || _fetchProductInfoQuer142 === void 0 || (_fetchProductInfoQuer142 = _fetchProductInfoQuer142.productinfo) === null || _fetchProductInfoQuer142 === void 0 ? void 0 : _fetchProductInfoQuer142.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer143 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer143 === void 0 || (_fetchProductInfoQuer143 = _fetchProductInfoQuer143.data) === null || _fetchProductInfoQuer143 === void 0 || (_fetchProductInfoQuer143 = _fetchProductInfoQuer143.productinfo) === null || _fetchProductInfoQuer143 === void 0 ? void 0 : _fetchProductInfoQuer143.description_ar
|
|
6291
6510
|
}
|
|
6292
6511
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6293
6512
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -6333,7 +6552,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6333
6552
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
6334
6553
|
}, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
6335
6554
|
className: 'table tablevertical'
|
|
6336
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6555
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer144 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer144 === void 0 || (_fetchProductInfoQuer144 = _fetchProductInfoQuer144.data) === null || _fetchProductInfoQuer144 === void 0 || (_fetchProductInfoQuer144 = _fetchProductInfoQuer144.productinfo) === null || _fetchProductInfoQuer144 === void 0 || (_fetchProductInfoQuer144 = _fetchProductInfoQuer144.productfeatures) === null || _fetchProductInfoQuer144 === void 0 ? void 0 : _fetchProductInfoQuer144.map(function (fitem, findex) {
|
|
6337
6556
|
return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("th", {
|
|
6338
6557
|
style: {
|
|
6339
6558
|
textTransform: 'capitalize',
|
|
@@ -6376,8 +6595,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6376
6595
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
6377
6596
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
6378
6597
|
onClick: function onClick() {
|
|
6379
|
-
var
|
|
6380
|
-
window.open('tel:' + ((
|
|
6598
|
+
var _fetchProductInfoQuer145;
|
|
6599
|
+
window.open('tel:' + ((_fetchProductInfoQuer145 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer145 === void 0 ? void 0 : _fetchProductInfoQuer145.product_phonenumber), '_blank');
|
|
6381
6600
|
},
|
|
6382
6601
|
style: {
|
|
6383
6602
|
width: '40%',
|
|
@@ -6428,8 +6647,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6428
6647
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
6429
6648
|
onClick: function onClick() {
|
|
6430
6649
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6431
|
-
var
|
|
6432
|
-
window.open('tel:' + ((
|
|
6650
|
+
var _fetchProductInfoQuer146;
|
|
6651
|
+
window.open('tel:' + ((_fetchProductInfoQuer146 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer146 === void 0 ? void 0 : _fetchProductInfoQuer146.product_phonenumber), '_blank');
|
|
6433
6652
|
} else {
|
|
6434
6653
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6435
6654
|
addtocartfunc();
|
|
@@ -6460,14 +6679,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6460
6679
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6461
6680
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6462
6681
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6463
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6682
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer147 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer147 === void 0 || (_fetchProductInfoQuer147 = _fetchProductInfoQuer147.data) === null || _fetchProductInfoQuer147 === void 0 || (_fetchProductInfoQuer147 = _fetchProductInfoQuer147.productinfo) === null || _fetchProductInfoQuer147 === void 0 ? void 0 : _fetchProductInfoQuer147.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer148 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer148 === void 0 || (_fetchProductInfoQuer148 = _fetchProductInfoQuer148.data) === null || _fetchProductInfoQuer148 === void 0 || (_fetchProductInfoQuer148 = _fetchProductInfoQuer148.productinfo) === null || _fetchProductInfoQuer148 === void 0 ? void 0 : _fetchProductInfoQuer148.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6464
6683
|
className: ' d-flex align-items-center justify-content-center '
|
|
6465
6684
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6466
6685
|
color: sectionproperties.cartBtnTextcolor,
|
|
6467
6686
|
width: "20px",
|
|
6468
6687
|
height: "20px",
|
|
6469
6688
|
duration: "1s"
|
|
6470
|
-
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
6689
|
+
}))))))))), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '678d1831ef638' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6471
6690
|
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-0 ',
|
|
6472
6691
|
style: {
|
|
6473
6692
|
minHeight: '100vh'
|
|
@@ -6499,7 +6718,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6499
6718
|
duration: 1500,
|
|
6500
6719
|
arrow: true,
|
|
6501
6720
|
easing: "ease"
|
|
6502
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6721
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer149 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer149 === void 0 || (_fetchProductInfoQuer149 = _fetchProductInfoQuer149.data) === null || _fetchProductInfoQuer149 === void 0 || (_fetchProductInfoQuer149 = _fetchProductInfoQuer149.productinfo) === null || _fetchProductInfoQuer149 === void 0 || (_fetchProductInfoQuer149 = _fetchProductInfoQuer149.productimages) === null || _fetchProductInfoQuer149 === void 0 ? void 0 : _fetchProductInfoQuer149.length) != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer150 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer150 === void 0 || (_fetchProductInfoQuer150 = _fetchProductInfoQuer150.data) === null || _fetchProductInfoQuer150 === void 0 || (_fetchProductInfoQuer150 = _fetchProductInfoQuer150.productinfo) === null || _fetchProductInfoQuer150 === void 0 ? void 0 : _fetchProductInfoQuer150.productimages.map(function (item, index) {
|
|
6503
6722
|
if (item.is_size_guide != 1) {
|
|
6504
6723
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6505
6724
|
"class": "row m-0 w-100 h-sm-auto",
|
|
@@ -6554,7 +6773,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6554
6773
|
color: sectionproperties.prodCatColor
|
|
6555
6774
|
},
|
|
6556
6775
|
dangerouslySetInnerHTML: {
|
|
6557
|
-
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6776
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer151 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer151 === void 0 || (_fetchProductInfoQuer151 = _fetchProductInfoQuer151.data) === null || _fetchProductInfoQuer151 === void 0 || (_fetchProductInfoQuer151 = _fetchProductInfoQuer151.productinfo) === null || _fetchProductInfoQuer151 === void 0 ? void 0 : _fetchProductInfoQuer151.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer152 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer152 === void 0 || (_fetchProductInfoQuer152 = _fetchProductInfoQuer152.data) === null || _fetchProductInfoQuer152 === void 0 || (_fetchProductInfoQuer152 = _fetchProductInfoQuer152.productinfo) === null || _fetchProductInfoQuer152 === void 0 ? void 0 : _fetchProductInfoQuer152.description_ar
|
|
6558
6777
|
}
|
|
6559
6778
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6560
6779
|
"class": "col-lg-12 col-md-12 p-0 mb-4"
|
|
@@ -6598,7 +6817,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6598
6817
|
className: "p-0"
|
|
6599
6818
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6600
6819
|
"class": "row m-0 w-100 pl-3 pr-3 mt-3"
|
|
6601
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6820
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer153 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer153 === void 0 || (_fetchProductInfoQuer153 = _fetchProductInfoQuer153.data) === null || _fetchProductInfoQuer153 === void 0 || (_fetchProductInfoQuer153 = _fetchProductInfoQuer153.productinfo) === null || _fetchProductInfoQuer153 === void 0 || (_fetchProductInfoQuer153 = _fetchProductInfoQuer153.productfeatures) === null || _fetchProductInfoQuer153 === void 0 ? void 0 : _fetchProductInfoQuer153.map(function (fitem, findex) {
|
|
6602
6821
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6603
6822
|
"class": ' col-md-12 p-0 mb-3 mt-2 col-xl-3 col-lg-4 col-md-6 col-sm-12 mb-3 d-flex align-items-center'
|
|
6604
6823
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -6694,7 +6913,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6694
6913
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
6695
6914
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
6696
6915
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
6697
|
-
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6916
|
+
path: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer154 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer154 === void 0 || (_fetchProductInfoQuer154 = _fetchProductInfoQuer154.data) === null || _fetchProductInfoQuer154 === void 0 || (_fetchProductInfoQuer154 = _fetchProductInfoQuer154.productinfo) === null || _fetchProductInfoQuer154 === void 0 || (_fetchProductInfoQuer154 = _fetchProductInfoQuer154.vendorinfo) === null || _fetchProductInfoQuer154 === void 0 ? void 0 : _fetchProductInfoQuer154.vendorlogourl,
|
|
6698
6917
|
loading: "lazy",
|
|
6699
6918
|
style: {
|
|
6700
6919
|
maxWidth: '100%',
|
|
@@ -6709,7 +6928,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6709
6928
|
fontSize: 17,
|
|
6710
6929
|
color: sectionproperties.featurecolor
|
|
6711
6930
|
}
|
|
6712
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6931
|
+
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer155 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer155 === void 0 || (_fetchProductInfoQuer155 = _fetchProductInfoQuer155.data) === null || _fetchProductInfoQuer155 === void 0 || (_fetchProductInfoQuer155 = _fetchProductInfoQuer155.productinfo) === null || _fetchProductInfoQuer155 === void 0 || (_fetchProductInfoQuer155 = _fetchProductInfoQuer155.vendorinfo) === null || _fetchProductInfoQuer155 === void 0 ? void 0 : _fetchProductInfoQuer155.address)))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6713
6932
|
"class": "col-lg-3"
|
|
6714
6933
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6715
6934
|
"class": "row m-0 w-100"
|
|
@@ -6718,8 +6937,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6718
6937
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
6719
6938
|
className: ' mx-4 mx-md-2 d-flex align-items-center justify-content-center ',
|
|
6720
6939
|
onClick: function onClick() {
|
|
6721
|
-
var
|
|
6722
|
-
window.open('tel:' + ((
|
|
6940
|
+
var _fetchProductInfoQuer156;
|
|
6941
|
+
window.open('tel:' + ((_fetchProductInfoQuer156 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer156 === void 0 ? void 0 : _fetchProductInfoQuer156.product_phonenumber), '_blank');
|
|
6723
6942
|
},
|
|
6724
6943
|
style: {
|
|
6725
6944
|
width: '40%',
|
|
@@ -6770,8 +6989,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6770
6989
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
6771
6990
|
onClick: function onClick() {
|
|
6772
6991
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6773
|
-
var
|
|
6774
|
-
window.open('tel:' + ((
|
|
6992
|
+
var _fetchProductInfoQuer157;
|
|
6993
|
+
window.open('tel:' + ((_fetchProductInfoQuer157 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer157 === void 0 ? void 0 : _fetchProductInfoQuer157.product_phonenumber), '_blank');
|
|
6775
6994
|
} else {
|
|
6776
6995
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6777
6996
|
addtocartfunc();
|
|
@@ -6802,7 +7021,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6802
7021
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6803
7022
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6804
7023
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6805
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7024
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer158 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer158 === void 0 || (_fetchProductInfoQuer158 = _fetchProductInfoQuer158.data) === null || _fetchProductInfoQuer158 === void 0 || (_fetchProductInfoQuer158 = _fetchProductInfoQuer158.productinfo) === null || _fetchProductInfoQuer158 === void 0 ? void 0 : _fetchProductInfoQuer158.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer159 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer159 === void 0 || (_fetchProductInfoQuer159 = _fetchProductInfoQuer159.data) === null || _fetchProductInfoQuer159 === void 0 || (_fetchProductInfoQuer159 = _fetchProductInfoQuer159.productinfo) === null || _fetchProductInfoQuer159 === void 0 ? void 0 : _fetchProductInfoQuer159.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6806
7025
|
className: ' d-flex align-items-center justify-content-center '
|
|
6807
7026
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6808
7027
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -6846,7 +7065,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6846
7065
|
objectFit: 'contain'
|
|
6847
7066
|
},
|
|
6848
7067
|
loading: "lazy"
|
|
6849
|
-
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
7068
|
+
}))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)), Object.keys(sectionproperties).length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '68319d088f13e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6850
7069
|
"class": "col-12 p-0",
|
|
6851
7070
|
style: {
|
|
6852
7071
|
position: 'fixed',
|
|
@@ -6873,8 +7092,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6873
7092
|
},
|
|
6874
7093
|
onClick: function onClick() {
|
|
6875
7094
|
if (fetchProductInfoQueryContext.data.data.productinfo.product_calltoaction == 'Call') {
|
|
6876
|
-
var
|
|
6877
|
-
window.open('tel:' + ((
|
|
7095
|
+
var _fetchProductInfoQuer160;
|
|
7096
|
+
window.open('tel:' + ((_fetchProductInfoQuer160 = fetchProductInfoQueryContext.data.data.productinfo) === null || _fetchProductInfoQuer160 === void 0 ? void 0 : _fetchProductInfoQuer160.product_phonenumber), '_blank');
|
|
6878
7097
|
} else {
|
|
6879
7098
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
6880
7099
|
addtocartfunc();
|
|
@@ -6905,7 +7124,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
6905
7124
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6906
7125
|
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
6907
7126
|
size: sectionproperties.cartBtn_iconFontSize
|
|
6908
|
-
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
7127
|
+
})), langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer161 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer161 === void 0 || (_fetchProductInfoQuer161 = _fetchProductInfoQuer161.data) === null || _fetchProductInfoQuer161 === void 0 || (_fetchProductInfoQuer161 = _fetchProductInfoQuer161.productinfo) === null || _fetchProductInfoQuer161 === void 0 ? void 0 : _fetchProductInfoQuer161.productactionbuttontext_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer162 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer162 === void 0 || (_fetchProductInfoQuer162 = _fetchProductInfoQuer162.data) === null || _fetchProductInfoQuer162 === void 0 || (_fetchProductInfoQuer162 = _fetchProductInfoQuer162.productinfo) === null || _fetchProductInfoQuer162 === void 0 ? void 0 : _fetchProductInfoQuer162.productactionbuttontext_ar), AddtoCartMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6909
7128
|
className: ' d-flex align-items-center justify-content-center '
|
|
6910
7129
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
6911
7130
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -9042,6 +9261,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9042
9261
|
var AddtoCartContext = props.actions.AddtoCartContext;
|
|
9043
9262
|
var addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
9044
9263
|
var fetchProductInfoQueryContextProps = props.actions.fetchProductInfoQueryContext;
|
|
9264
|
+
var fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
|
|
9045
9265
|
var _useState3 = React.useState({}),
|
|
9046
9266
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
9047
9267
|
fetchProductInfoQueryContext = _useState4[0],
|
|
@@ -10812,6 +11032,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10812
11032
|
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer64 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.data) === null || _fetchProductInfoQuer64 === void 0 || (_fetchProductInfoQuer64 = _fetchProductInfoQuer64.productinfo) === null || _fetchProductInfoQuer64 === void 0 ? void 0 : _fetchProductInfoQuer64.item_type) == 'product' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype, {
|
|
10813
11033
|
actions: (_ref = {
|
|
10814
11034
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
11035
|
+
fetchAuthorizationQueryContext: fetchAuthorizationQueryContext,
|
|
10815
11036
|
setisoutofstock: setisoutofstock,
|
|
10816
11037
|
isoutofstock: isoutofstock,
|
|
10817
11038
|
returnpolicyobj: returnpolicyobj,
|