tabexseriescomponents 0.0.205 → 0.0.206
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 +62 -53
- package/dist/index.esm.js +62 -53
- package/dist/index.umd.js +62 -53
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1056,7 +1056,7 @@ styleInject(css_248z$K);
|
|
|
1056
1056
|
function ownKeys$1Z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1057
1057
|
function _objectSpread$1Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1Z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1058
1058
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1059
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2,
|
|
1059
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _ProductInfoObj$data2, _ProductInfoObj$data3, _ProductInfoObj$data4, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _authdetailsContext$c, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
1060
1060
|
var lang = props.actions.lang;
|
|
1061
1061
|
var langdetect = props.actions.langdetect;
|
|
1062
1062
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -1200,8 +1200,6 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1200
1200
|
className: langdetect == 'en' ? 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-3 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-3 p-md-0'
|
|
1201
1201
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1202
1202
|
className: "row m-0 w-100"
|
|
1203
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1204
|
-
className: "row m-0 w-100"
|
|
1205
1203
|
}, srcfromprops != 'templatdraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1206
1204
|
className: "col-lg-10 col-md-10 col-sm-10 p-0 mb-2 d-flex justify-content-start align-items-center"
|
|
1207
1205
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -1246,14 +1244,42 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1246
1244
|
size: sectionproperties.favBtnIconfontsize
|
|
1247
1245
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
1248
1246
|
size: sectionproperties.favBtnIconfontsize
|
|
1249
|
-
})))))
|
|
1247
|
+
}))))), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1248
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
1249
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1250
|
+
"class": "m-0 p-0"
|
|
1251
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1252
|
+
style: {
|
|
1253
|
+
fontSize: sectionproperties.defaultPriceFontSize + 'px',
|
|
1254
|
+
fontWeight: sectionproperties.defaultPriceFontWeight,
|
|
1255
|
+
color: sectionproperties.defaultPriceColor
|
|
1256
|
+
}
|
|
1257
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.defaultprice : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : (_fetchProductInfoQuer5 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1258
|
+
style: {
|
|
1259
|
+
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1260
|
+
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1261
|
+
color: sectionproperties.defaultSalePriceColor
|
|
1262
|
+
}
|
|
1263
|
+
}, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1264
|
+
"class": "linethrough",
|
|
1265
|
+
style: {
|
|
1266
|
+
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1267
|
+
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1268
|
+
color: sectionproperties.defaultSalePriceColor
|
|
1269
|
+
}
|
|
1270
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.description_en) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.description_en) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1250
1271
|
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
1251
1272
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1252
1273
|
className: "row m-0 w-100 d-flex"
|
|
1253
1274
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1254
1275
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
1255
1276
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1256
|
-
className: "m-0 p-0
|
|
1277
|
+
className: "m-0 p-0",
|
|
1278
|
+
style: {
|
|
1279
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
1280
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
1281
|
+
color: sectionproperties.prodCatColor
|
|
1282
|
+
}
|
|
1257
1283
|
}, lang.description, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1258
1284
|
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
|
|
1259
1285
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -1262,21 +1288,26 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1262
1288
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1263
1289
|
},
|
|
1264
1290
|
dangerouslySetInnerHTML: {
|
|
1265
|
-
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1291
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : (_fetchProductInfoQuer17 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : (_fetchProductInfoQuer21 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.description_en.slice(0, 1000)
|
|
1266
1292
|
}
|
|
1267
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1293
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : (_fetchProductInfoQuer23 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.description_en.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1268
1294
|
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600",
|
|
1269
1295
|
onClick: function onClick() {
|
|
1270
1296
|
return setShowMore(!showMore);
|
|
1271
1297
|
}
|
|
1272
|
-
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1298
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.description_ar) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : (_fetchProductInfoQuer29 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : (_fetchProductInfoQuer30 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.description_ar) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1273
1299
|
className: "col-lg-12 p-0 mb-5 d-flex justify-content-center"
|
|
1274
1300
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1275
1301
|
className: "row m-0 w-100 d-flex"
|
|
1276
1302
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1277
1303
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
1278
1304
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1279
|
-
className: "m-0 p-0 text-light font-15"
|
|
1305
|
+
className: "m-0 p-0 text-light font-15",
|
|
1306
|
+
style: {
|
|
1307
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
1308
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
1309
|
+
color: sectionproperties.prodCatColor
|
|
1310
|
+
}
|
|
1280
1311
|
}, lang.description, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1281
1312
|
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
|
|
1282
1313
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -1285,14 +1316,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1285
1316
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1286
1317
|
},
|
|
1287
1318
|
dangerouslySetInnerHTML: {
|
|
1288
|
-
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1319
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : (_fetchProductInfoQuer32 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : (_fetchProductInfoQuer33 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.description_ar : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : (_fetchProductInfoQuer35 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : (_fetchProductInfoQuer36 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.description_ar.slice(0, 1000)
|
|
1289
1320
|
}
|
|
1290
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1321
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : (_fetchProductInfoQuer38 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : (_fetchProductInfoQuer39 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1291
1322
|
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
|
|
1292
1323
|
onClick: function onClick() {
|
|
1293
1324
|
return setShowMore(!showMore);
|
|
1294
1325
|
}
|
|
1295
|
-
}, showMore ? lang.showless : lang.showmore)))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1326
|
+
}, showMore ? lang.showless : lang.showmore)))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : (_fetchProductInfoQuer41 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : (_fetchProductInfoQuer42 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1296
1327
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1297
1328
|
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1298
1329
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1349,7 +1380,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1349
1380
|
}
|
|
1350
1381
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1351
1382
|
})));
|
|
1352
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1383
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : (_fetchProductInfoQuer45 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1353
1384
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1354
1385
|
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : (_ProductInfoObj$data3 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : (_ProductInfoObj$data4 = _ProductInfoObj$data3.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
|
|
1355
1386
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1506,8 +1537,10 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1506
1537
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1507
1538
|
className: "m-0 p-0",
|
|
1508
1539
|
style: {
|
|
1509
|
-
color: sectionproperties.
|
|
1510
|
-
fontSize: sectionproperties.
|
|
1540
|
+
color: sectionproperties.generaltext_fontColor,
|
|
1541
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
1542
|
+
textTransform: sectionproperties.generaltext_textTransform,
|
|
1543
|
+
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1511
1544
|
}
|
|
1512
1545
|
}, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1513
1546
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
@@ -1598,32 +1631,28 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1598
1631
|
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
1599
1632
|
color: sectionproperties.prodPriceColor
|
|
1600
1633
|
}
|
|
1601
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1634
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : (_fetchProductInfoQuer47 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : (_fetchProductInfoQuer48 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.hasvariants) == 1 && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1602
1635
|
"class": "m-0 p-0"
|
|
1603
|
-
},
|
|
1636
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? fetchProductInfoQueryContext.data.data.productinfo.defaultprice : fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : (_fetchProductInfoQuer50 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : (_fetchProductInfoQuer51 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.hasvariants) == 1 && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1604
1637
|
className: langdetect == 'en' ? ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-right ' : ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-left '
|
|
1605
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar),
|
|
1606
|
-
className: langdetect == 'en' ? ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
1607
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : (_fetchProductInfoQuer45 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1608
|
-
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 '
|
|
1609
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext.data.data.productinfo.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1638
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].hassale == 1 ? fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantsaleprice : fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : (_fetchProductInfoQuer53 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : (_fetchProductInfoQuer54 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1610
1639
|
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 '
|
|
1611
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))
|
|
1640
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? fetchProductInfoQueryContext.data.data.productinfo.defaultprice : fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1612
1641
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
1613
1642
|
style: {
|
|
1614
1643
|
color: sectionproperties.prodsalePriceColor,
|
|
1615
1644
|
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
1616
1645
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
1617
1646
|
}
|
|
1618
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1647
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : (_fetchProductInfoQuer56 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : (_fetchProductInfoQuer57 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.hasvariants) == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1619
1648
|
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 '
|
|
1620
1649
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1621
1650
|
className: "ml-2 mr-2"
|
|
1622
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext.data.data.productinfo.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1651
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext.data.data.productinfo.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : (_fetchProductInfoQuer59 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : (_fetchProductInfoQuer60 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1623
1652
|
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 '
|
|
1624
1653
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1625
1654
|
className: "ml-2 mr-2"
|
|
1626
|
-
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.defaultprice, " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1655
|
+
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.defaultprice, " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : (_fetchProductInfoQuer62 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : (_fetchProductInfoQuer63 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.hasvariants) == 1 && variantindexcompleted.length != 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1627
1656
|
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 '
|
|
1628
1657
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1629
1658
|
className: "ml-2 mr-2"
|
|
@@ -1692,7 +1721,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1692
1721
|
}, /*#__PURE__*/React__default["default"].createElement(FiMapPin.FiMapPin, {
|
|
1693
1722
|
size: 20,
|
|
1694
1723
|
style: {
|
|
1695
|
-
color: sectionproperties.
|
|
1724
|
+
color: sectionproperties.storeinfoiconcolor
|
|
1696
1725
|
}
|
|
1697
1726
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1698
1727
|
className: "col-lg-10 col-md-10 col-sm-10 d-flex justify-content-start flex-column"
|
|
@@ -1701,21 +1730,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1701
1730
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1702
1731
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1703
1732
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1704
|
-
className:
|
|
1705
|
-
style: {
|
|
1706
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
1707
|
-
color: sectionproperties.generaltext_fontColor,
|
|
1708
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
1709
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1710
|
-
}
|
|
1733
|
+
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '
|
|
1711
1734
|
}, lang.deliverto)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1712
1735
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1713
1736
|
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1714
|
-
className:
|
|
1715
|
-
style: {
|
|
1716
|
-
color: sectionproperties.text_secondarycolor,
|
|
1717
|
-
fontSize: sectionproperties.secondaryfontsize + 'px'
|
|
1718
|
-
}
|
|
1737
|
+
className: productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '
|
|
1719
1738
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showPolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1720
1739
|
className: "".concat(productinfo_cssstyles.cardcontainer) + ' mb-3 '
|
|
1721
1740
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1787,7 +1806,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1787
1806
|
}, /*#__PURE__*/React__default["default"].createElement(HiOutlinePhone.HiOutlinePhone, {
|
|
1788
1807
|
size: 20,
|
|
1789
1808
|
style: {
|
|
1790
|
-
color: sectionproperties.
|
|
1809
|
+
color: sectionproperties.storeinfoiconcolor
|
|
1791
1810
|
}
|
|
1792
1811
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1793
1812
|
className: "col-lg-10 col-md-10 col-sm-10 d-flex justify-content-start"
|
|
@@ -1796,22 +1815,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1796
1815
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1797
1816
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1798
1817
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1799
|
-
className:
|
|
1800
|
-
style: {
|
|
1801
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
1802
|
-
color: sectionproperties.generaltext_fontColor,
|
|
1803
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
1804
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1805
|
-
}
|
|
1818
|
+
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '
|
|
1806
1819
|
}, lang.callus)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1807
1820
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1808
1821
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1809
|
-
className:
|
|
1810
|
-
|
|
1811
|
-
fontSize: sectionproperties.secondaryfontsize + 'px',
|
|
1812
|
-
color: sectionproperties.text_secondarycolor
|
|
1813
|
-
}
|
|
1814
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.contactinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.mobile))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1822
|
+
className: productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '
|
|
1823
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1815
1824
|
"class": "col-lg-12"
|
|
1816
1825
|
}, relatedproducts()));
|
|
1817
1826
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -1012,7 +1012,7 @@ styleInject(css_248z$K);
|
|
|
1012
1012
|
function ownKeys$1Z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1013
1013
|
function _objectSpread$1Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1Z(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1014
1014
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1015
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2,
|
|
1015
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _ProductInfoObj$data2, _ProductInfoObj$data3, _ProductInfoObj$data4, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _authdetailsContext$c, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
1016
1016
|
var lang = props.actions.lang;
|
|
1017
1017
|
var langdetect = props.actions.langdetect;
|
|
1018
1018
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -1156,8 +1156,6 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1156
1156
|
className: langdetect == 'en' ? 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-3 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-3 p-md-0'
|
|
1157
1157
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1158
1158
|
className: "row m-0 w-100"
|
|
1159
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
1160
|
-
className: "row m-0 w-100"
|
|
1161
1159
|
}, srcfromprops != 'templatdraftrouter' && /*#__PURE__*/React.createElement("div", {
|
|
1162
1160
|
className: "col-lg-10 col-md-10 col-sm-10 p-0 mb-2 d-flex justify-content-start align-items-center"
|
|
1163
1161
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -1202,14 +1200,42 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1202
1200
|
size: sectionproperties.favBtnIconfontsize
|
|
1203
1201
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
1204
1202
|
size: sectionproperties.favBtnIconfontsize
|
|
1205
|
-
})))))
|
|
1203
|
+
}))))), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1204
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
1205
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
1206
|
+
"class": "m-0 p-0"
|
|
1207
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1208
|
+
style: {
|
|
1209
|
+
fontSize: sectionproperties.defaultPriceFontSize + 'px',
|
|
1210
|
+
fontWeight: sectionproperties.defaultPriceFontWeight,
|
|
1211
|
+
color: sectionproperties.defaultPriceColor
|
|
1212
|
+
}
|
|
1213
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.defaultprice : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : (_fetchProductInfoQuer5 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1214
|
+
style: {
|
|
1215
|
+
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1216
|
+
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1217
|
+
color: sectionproperties.defaultSalePriceColor
|
|
1218
|
+
}
|
|
1219
|
+
}, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1220
|
+
"class": "linethrough",
|
|
1221
|
+
style: {
|
|
1222
|
+
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1223
|
+
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1224
|
+
color: sectionproperties.defaultSalePriceColor
|
|
1225
|
+
}
|
|
1226
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.description_en) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.description_en) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1206
1227
|
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
1207
1228
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1208
1229
|
className: "row m-0 w-100 d-flex"
|
|
1209
1230
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1210
1231
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
1211
1232
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1212
|
-
className: "m-0 p-0
|
|
1233
|
+
className: "m-0 p-0",
|
|
1234
|
+
style: {
|
|
1235
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
1236
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
1237
|
+
color: sectionproperties.prodCatColor
|
|
1238
|
+
}
|
|
1213
1239
|
}, lang.description, ":")), /*#__PURE__*/React.createElement("div", {
|
|
1214
1240
|
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
|
|
1215
1241
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -1218,21 +1244,26 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1218
1244
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1219
1245
|
},
|
|
1220
1246
|
dangerouslySetInnerHTML: {
|
|
1221
|
-
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1247
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : (_fetchProductInfoQuer17 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : (_fetchProductInfoQuer21 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.description_en.slice(0, 1000)
|
|
1222
1248
|
}
|
|
1223
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1249
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : (_fetchProductInfoQuer23 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.description_en.length) > 1000 && /*#__PURE__*/React.createElement("p", {
|
|
1224
1250
|
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600",
|
|
1225
1251
|
onClick: function onClick() {
|
|
1226
1252
|
return setShowMore(!showMore);
|
|
1227
1253
|
}
|
|
1228
|
-
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1254
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.description_ar) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : (_fetchProductInfoQuer29 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : (_fetchProductInfoQuer30 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.description_ar) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1229
1255
|
className: "col-lg-12 p-0 mb-5 d-flex justify-content-center"
|
|
1230
1256
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1231
1257
|
className: "row m-0 w-100 d-flex"
|
|
1232
1258
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1233
1259
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
1234
1260
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1235
|
-
className: "m-0 p-0 text-light font-15"
|
|
1261
|
+
className: "m-0 p-0 text-light font-15",
|
|
1262
|
+
style: {
|
|
1263
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
1264
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
1265
|
+
color: sectionproperties.prodCatColor
|
|
1266
|
+
}
|
|
1236
1267
|
}, lang.description, ":")), /*#__PURE__*/React.createElement("div", {
|
|
1237
1268
|
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
|
|
1238
1269
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -1241,14 +1272,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1241
1272
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1242
1273
|
},
|
|
1243
1274
|
dangerouslySetInnerHTML: {
|
|
1244
|
-
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1275
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : (_fetchProductInfoQuer32 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : (_fetchProductInfoQuer33 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.description_ar : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : (_fetchProductInfoQuer35 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : (_fetchProductInfoQuer36 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.description_ar.slice(0, 1000)
|
|
1245
1276
|
}
|
|
1246
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1277
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : (_fetchProductInfoQuer38 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : (_fetchProductInfoQuer39 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.description_ar.length) > 1000 && /*#__PURE__*/React.createElement("p", {
|
|
1247
1278
|
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
|
|
1248
1279
|
onClick: function onClick() {
|
|
1249
1280
|
return setShowMore(!showMore);
|
|
1250
1281
|
}
|
|
1251
|
-
}, showMore ? lang.showless : lang.showmore)))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1282
|
+
}, showMore ? lang.showless : lang.showmore)))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : (_fetchProductInfoQuer41 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : (_fetchProductInfoQuer42 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React.createElement("div", {
|
|
1252
1283
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1253
1284
|
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1254
1285
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -1305,7 +1336,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1305
1336
|
}
|
|
1306
1337
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1307
1338
|
})));
|
|
1308
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1339
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : (_fetchProductInfoQuer45 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
1309
1340
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1310
1341
|
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : (_ProductInfoObj$data3 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : (_ProductInfoObj$data4 = _ProductInfoObj$data3.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
|
|
1311
1342
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -1462,8 +1493,10 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1462
1493
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1463
1494
|
className: "m-0 p-0",
|
|
1464
1495
|
style: {
|
|
1465
|
-
color: sectionproperties.
|
|
1466
|
-
fontSize: sectionproperties.
|
|
1496
|
+
color: sectionproperties.generaltext_fontColor,
|
|
1497
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
1498
|
+
textTransform: sectionproperties.generaltext_textTransform,
|
|
1499
|
+
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1467
1500
|
}
|
|
1468
1501
|
}, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
1469
1502
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
@@ -1554,32 +1587,28 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1554
1587
|
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
1555
1588
|
color: sectionproperties.prodPriceColor
|
|
1556
1589
|
}
|
|
1557
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1590
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : (_fetchProductInfoQuer47 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : (_fetchProductInfoQuer48 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.hasvariants) == 1 && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) == 0 && /*#__PURE__*/React.createElement("span", {
|
|
1558
1591
|
"class": "m-0 p-0"
|
|
1559
|
-
},
|
|
1592
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? fetchProductInfoQueryContext.data.data.productinfo.defaultprice : fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : (_fetchProductInfoQuer50 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : (_fetchProductInfoQuer51 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.hasvariants) == 1 && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) != 0 && /*#__PURE__*/React.createElement("p", {
|
|
1560
1593
|
className: langdetect == 'en' ? ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-right ' : ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-left '
|
|
1561
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar),
|
|
1562
|
-
className: langdetect == 'en' ? ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
1563
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : (_fetchProductInfoQuer45 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.hasvariants) == 0 && /*#__PURE__*/React.createElement(React.Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && /*#__PURE__*/React.createElement("span", {
|
|
1564
|
-
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 '
|
|
1565
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext.data.data.productinfo.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React.createElement(React.Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1594
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].hassale == 1 ? fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantsaleprice : fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : (_fetchProductInfoQuer53 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : (_fetchProductInfoQuer54 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.hasvariants) == 0 && /*#__PURE__*/React.createElement("span", {
|
|
1566
1595
|
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 '
|
|
1567
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))
|
|
1596
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? fetchProductInfoQueryContext.data.data.productinfo.defaultprice : fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React.createElement("p", {
|
|
1568
1597
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
1569
1598
|
style: {
|
|
1570
1599
|
color: sectionproperties.prodsalePriceColor,
|
|
1571
1600
|
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
1572
1601
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
1573
1602
|
}
|
|
1574
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1603
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : (_fetchProductInfoQuer56 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : (_fetchProductInfoQuer57 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.hasvariants) == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React.createElement(React.Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1575
1604
|
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 '
|
|
1576
1605
|
}, /*#__PURE__*/React.createElement("span", {
|
|
1577
1606
|
className: "ml-2 mr-2"
|
|
1578
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext.data.data.productinfo.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1607
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext.data.data.productinfo.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : (_fetchProductInfoQuer59 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : (_fetchProductInfoQuer60 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.hasvariants) == 0 && /*#__PURE__*/React.createElement(React.Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1579
1608
|
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 '
|
|
1580
1609
|
}, /*#__PURE__*/React.createElement("span", {
|
|
1581
1610
|
className: "ml-2 mr-2"
|
|
1582
|
-
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.defaultprice, " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1611
|
+
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.defaultprice, " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : (_fetchProductInfoQuer62 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : (_fetchProductInfoQuer63 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.hasvariants) == 1 && variantindexcompleted.length != 0 && /*#__PURE__*/React.createElement(React.Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].hassale == 1 && /*#__PURE__*/React.createElement("span", {
|
|
1583
1612
|
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 '
|
|
1584
1613
|
}, /*#__PURE__*/React.createElement("span", {
|
|
1585
1614
|
className: "ml-2 mr-2"
|
|
@@ -1648,7 +1677,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1648
1677
|
}, /*#__PURE__*/React.createElement(FiMapPin, {
|
|
1649
1678
|
size: 20,
|
|
1650
1679
|
style: {
|
|
1651
|
-
color: sectionproperties.
|
|
1680
|
+
color: sectionproperties.storeinfoiconcolor
|
|
1652
1681
|
}
|
|
1653
1682
|
})), /*#__PURE__*/React.createElement("div", {
|
|
1654
1683
|
className: "col-lg-10 col-md-10 col-sm-10 d-flex justify-content-start flex-column"
|
|
@@ -1657,21 +1686,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1657
1686
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1658
1687
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1659
1688
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1660
|
-
className:
|
|
1661
|
-
style: {
|
|
1662
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
1663
|
-
color: sectionproperties.generaltext_fontColor,
|
|
1664
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
1665
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1666
|
-
}
|
|
1689
|
+
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '
|
|
1667
1690
|
}, lang.deliverto)), /*#__PURE__*/React.createElement("div", {
|
|
1668
1691
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1669
1692
|
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) && /*#__PURE__*/React.createElement("p", {
|
|
1670
|
-
className:
|
|
1671
|
-
style: {
|
|
1672
|
-
color: sectionproperties.text_secondarycolor,
|
|
1673
|
-
fontSize: sectionproperties.secondaryfontsize + 'px'
|
|
1674
|
-
}
|
|
1693
|
+
className: productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '
|
|
1675
1694
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showPolicy == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
1676
1695
|
className: "".concat(productinfo_cssstyles.cardcontainer) + ' mb-3 '
|
|
1677
1696
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -1743,7 +1762,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1743
1762
|
}, /*#__PURE__*/React.createElement(HiOutlinePhone, {
|
|
1744
1763
|
size: 20,
|
|
1745
1764
|
style: {
|
|
1746
|
-
color: sectionproperties.
|
|
1765
|
+
color: sectionproperties.storeinfoiconcolor
|
|
1747
1766
|
}
|
|
1748
1767
|
})), /*#__PURE__*/React.createElement("div", {
|
|
1749
1768
|
className: "col-lg-10 col-md-10 col-sm-10 d-flex justify-content-start"
|
|
@@ -1752,22 +1771,12 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1752
1771
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1753
1772
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1754
1773
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1755
|
-
className:
|
|
1756
|
-
style: {
|
|
1757
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
1758
|
-
color: sectionproperties.generaltext_fontColor,
|
|
1759
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
1760
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1761
|
-
}
|
|
1774
|
+
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '
|
|
1762
1775
|
}, lang.callus)), /*#__PURE__*/React.createElement("div", {
|
|
1763
1776
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1764
1777
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1765
|
-
className:
|
|
1766
|
-
|
|
1767
|
-
fontSize: sectionproperties.secondaryfontsize + 'px',
|
|
1768
|
-
color: sectionproperties.text_secondarycolor
|
|
1769
|
-
}
|
|
1770
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.contactinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.mobile))))))), /*#__PURE__*/React.createElement("div", {
|
|
1778
|
+
className: productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '
|
|
1779
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))))))), /*#__PURE__*/React.createElement("div", {
|
|
1771
1780
|
"class": "col-lg-12"
|
|
1772
1781
|
}, relatedproducts()));
|
|
1773
1782
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -912,7 +912,7 @@
|
|
|
912
912
|
function ownKeys$1Z(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
913
913
|
function _objectSpread$1Z(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1Z(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1Z(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
914
914
|
var Product_itemtype = function Product_itemtype(props) {
|
|
915
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2,
|
|
915
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _ProductInfoObj$data2, _ProductInfoObj$data3, _ProductInfoObj$data4, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52, _fetchProductInfoQuer53, _fetchProductInfoQuer54, _fetchProductInfoQuer55, _fetchProductInfoQuer56, _fetchProductInfoQuer57, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _authdetailsContext$c, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8;
|
|
916
916
|
var lang = props.actions.lang;
|
|
917
917
|
var langdetect = props.actions.langdetect;
|
|
918
918
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -1056,8 +1056,6 @@
|
|
|
1056
1056
|
className: langdetect == 'en' ? 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-3 pr-0 p-md-0' : 'col-xl-7 col-lg-8 col-md-12 col-sm-12 pl-0 pr-3 p-md-0'
|
|
1057
1057
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1058
1058
|
className: "row m-0 w-100"
|
|
1059
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1060
|
-
className: "row m-0 w-100"
|
|
1061
1059
|
}, srcfromprops != 'templatdraftrouter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1062
1060
|
className: "col-lg-10 col-md-10 col-sm-10 p-0 mb-2 d-flex justify-content-start align-items-center"
|
|
1063
1061
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -1102,14 +1100,42 @@
|
|
|
1102
1100
|
size: sectionproperties.favBtnIconfontsize
|
|
1103
1101
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
1104
1102
|
size: sectionproperties.favBtnIconfontsize
|
|
1105
|
-
})))))
|
|
1103
|
+
}))))), sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1104
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
1105
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1106
|
+
"class": "m-0 p-0"
|
|
1107
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1108
|
+
style: {
|
|
1109
|
+
fontSize: sectionproperties.defaultPriceFontSize + 'px',
|
|
1110
|
+
fontWeight: sectionproperties.defaultPriceFontWeight,
|
|
1111
|
+
color: sectionproperties.defaultPriceColor
|
|
1112
|
+
}
|
|
1113
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.defaultprice : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : (_fetchProductInfoQuer5 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : _fetchProductInfoQuer6.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1114
|
+
style: {
|
|
1115
|
+
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1116
|
+
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1117
|
+
color: sectionproperties.defaultSalePriceColor
|
|
1118
|
+
}
|
|
1119
|
+
}, ' ', "-", ' '), fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1120
|
+
"class": "linethrough",
|
|
1121
|
+
style: {
|
|
1122
|
+
fontSize: sectionproperties.defaultSalePriceFontSize + 'px',
|
|
1123
|
+
fontWeight: sectionproperties.defaultSalePriceFontWeight,
|
|
1124
|
+
color: sectionproperties.defaultSalePriceColor
|
|
1125
|
+
}
|
|
1126
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : (_fetchProductInfoQuer8 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : (_fetchProductInfoQuer9 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.description_en) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.description_en) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1106
1127
|
className: "col-lg-12 p-0 mb-4 d-flex justify-content-center"
|
|
1107
1128
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1108
1129
|
className: "row m-0 w-100 d-flex"
|
|
1109
1130
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1110
1131
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
1111
1132
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1112
|
-
className: "m-0 p-0
|
|
1133
|
+
className: "m-0 p-0",
|
|
1134
|
+
style: {
|
|
1135
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
1136
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
1137
|
+
color: sectionproperties.prodCatColor
|
|
1138
|
+
}
|
|
1113
1139
|
}, lang.description, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1114
1140
|
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
|
|
1115
1141
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -1118,21 +1144,26 @@
|
|
|
1118
1144
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1119
1145
|
},
|
|
1120
1146
|
dangerouslySetInnerHTML: {
|
|
1121
|
-
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1147
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : (_fetchProductInfoQuer17 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : (_fetchProductInfoQuer21 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.description_en.slice(0, 1000)
|
|
1122
1148
|
}
|
|
1123
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1149
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : (_fetchProductInfoQuer23 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.description_en.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1124
1150
|
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600",
|
|
1125
1151
|
onClick: function onClick() {
|
|
1126
1152
|
return setShowMore(!showMore);
|
|
1127
1153
|
}
|
|
1128
|
-
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1154
|
+
}, showMore ? lang.showless : lang.showmore)))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.description_ar) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : (_fetchProductInfoQuer29 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : (_fetchProductInfoQuer30 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.description_ar) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1129
1155
|
className: "col-lg-12 p-0 mb-5 d-flex justify-content-center"
|
|
1130
1156
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1131
1157
|
className: "row m-0 w-100 d-flex"
|
|
1132
1158
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1133
1159
|
"class": "col-lg-12 p-0 d-flex justify-content-start mb-2"
|
|
1134
1160
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1135
|
-
className: "m-0 p-0 text-light font-15"
|
|
1161
|
+
className: "m-0 p-0 text-light font-15",
|
|
1162
|
+
style: {
|
|
1163
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
1164
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
1165
|
+
color: sectionproperties.prodCatColor
|
|
1166
|
+
}
|
|
1136
1167
|
}, lang.description, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1137
1168
|
"class": "col-lg-12 p-0 d-flex justify-content-start flex-column"
|
|
1138
1169
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -1141,14 +1172,14 @@
|
|
|
1141
1172
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1142
1173
|
},
|
|
1143
1174
|
dangerouslySetInnerHTML: {
|
|
1144
|
-
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1175
|
+
__html: showMore == true ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : (_fetchProductInfoQuer32 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : (_fetchProductInfoQuer33 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.description_ar : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : (_fetchProductInfoQuer35 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : (_fetchProductInfoQuer36 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.description_ar.slice(0, 1000)
|
|
1145
1176
|
}
|
|
1146
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1177
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : (_fetchProductInfoQuer38 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : (_fetchProductInfoQuer39 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.description_ar.length) > 1000 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1147
1178
|
"class": "m-0 p-0 cursor-pointer text-grey font-weight-600 text-right",
|
|
1148
1179
|
onClick: function onClick() {
|
|
1149
1180
|
return setShowMore(!showMore);
|
|
1150
1181
|
}
|
|
1151
|
-
}, showMore ? lang.showless : lang.showmore)))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1182
|
+
}, showMore ? lang.showless : lang.showmore)))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : (_fetchProductInfoQuer41 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : (_fetchProductInfoQuer42 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1152
1183
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1153
1184
|
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
|
|
1154
1185
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1205,7 +1236,7 @@
|
|
|
1205
1236
|
}
|
|
1206
1237
|
}, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
|
|
1207
1238
|
})));
|
|
1208
|
-
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1239
|
+
})), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : (_fetchProductInfoQuer45 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.hasvariants) == 1 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1209
1240
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1210
1241
|
}, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : (_ProductInfoObj$data3 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : (_ProductInfoObj$data4 = _ProductInfoObj$data3.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
|
|
1211
1242
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1362,8 +1393,10 @@
|
|
|
1362
1393
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1363
1394
|
className: "m-0 p-0",
|
|
1364
1395
|
style: {
|
|
1365
|
-
color: sectionproperties.
|
|
1366
|
-
fontSize: sectionproperties.
|
|
1396
|
+
color: sectionproperties.generaltext_fontColor,
|
|
1397
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
1398
|
+
textTransform: sectionproperties.generaltext_textTransform,
|
|
1399
|
+
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1367
1400
|
}
|
|
1368
1401
|
}, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1369
1402
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center ml-sm-auto mr-sm-auto mb-sm-2 ',
|
|
@@ -1454,32 +1487,28 @@
|
|
|
1454
1487
|
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
1455
1488
|
color: sectionproperties.prodPriceColor
|
|
1456
1489
|
}
|
|
1457
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1490
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer46 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : (_fetchProductInfoQuer47 = _fetchProductInfoQuer46.data) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : (_fetchProductInfoQuer48 = _fetchProductInfoQuer47.productinfo) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : _fetchProductInfoQuer48.hasvariants) == 1 && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1458
1491
|
"class": "m-0 p-0"
|
|
1459
|
-
},
|
|
1492
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? fetchProductInfoQueryContext.data.data.productinfo.defaultprice : fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer49 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : (_fetchProductInfoQuer50 = _fetchProductInfoQuer49.data) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : (_fetchProductInfoQuer51 = _fetchProductInfoQuer50.productinfo) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : _fetchProductInfoQuer51.hasvariants) == 1 && (variantindexcompleted === null || variantindexcompleted === void 0 ? void 0 : variantindexcompleted.length) != 0 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1460
1493
|
className: langdetect == 'en' ? ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-right ' : ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-left '
|
|
1461
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar),
|
|
1462
|
-
className: langdetect == 'en' ? ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-right wordbreak ' : ' m-0 p-0 d-flex align-items-center justify-content-end wordbreak text-left wordbreak '
|
|
1463
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : (_fetchProductInfoQuer45 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1464
|
-
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 '
|
|
1465
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext.data.data.productinfo.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1494
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].hassale == 1 ? fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantsaleprice : fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].variantprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer52 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : (_fetchProductInfoQuer53 = _fetchProductInfoQuer52.data) === null || _fetchProductInfoQuer53 === void 0 ? void 0 : (_fetchProductInfoQuer54 = _fetchProductInfoQuer53.productinfo) === null || _fetchProductInfoQuer54 === void 0 ? void 0 : _fetchProductInfoQuer54.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1466
1495
|
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 '
|
|
1467
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))
|
|
1496
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? fetchProductInfoQueryContext.data.data.productinfo.defaultprice : fetchProductInfoQueryContext.data.data.productinfo.defaultsaleprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1468
1497
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
1469
1498
|
style: {
|
|
1470
1499
|
color: sectionproperties.prodsalePriceColor,
|
|
1471
1500
|
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
1472
1501
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
1473
1502
|
}
|
|
1474
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1503
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer55 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer55 === void 0 ? void 0 : (_fetchProductInfoQuer56 = _fetchProductInfoQuer55.data) === null || _fetchProductInfoQuer56 === void 0 ? void 0 : (_fetchProductInfoQuer57 = _fetchProductInfoQuer56.productinfo) === null || _fetchProductInfoQuer57 === void 0 ? void 0 : _fetchProductInfoQuer57.hasvariants) == 1 && variantindexcompleted.length == 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1475
1504
|
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 '
|
|
1476
1505
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1477
1506
|
className: "ml-2 mr-2"
|
|
1478
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext.data.data.productinfo.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1507
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchProductInfoQueryContext.data.data.productinfo.defaultprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer58 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer58 === void 0 ? void 0 : (_fetchProductInfoQuer59 = _fetchProductInfoQuer58.data) === null || _fetchProductInfoQuer59 === void 0 ? void 0 : (_fetchProductInfoQuer60 = _fetchProductInfoQuer59.productinfo) === null || _fetchProductInfoQuer60 === void 0 ? void 0 : _fetchProductInfoQuer60.hasvariants) == 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1479
1508
|
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 '
|
|
1480
1509
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1481
1510
|
className: "ml-2 mr-2"
|
|
1482
|
-
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.defaultprice, " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1511
|
+
}, "-"), " ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchProductInfoQueryContext.data.data.productinfo.defaultprice, " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer61 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer61 === void 0 ? void 0 : (_fetchProductInfoQuer62 = _fetchProductInfoQuer61.data) === null || _fetchProductInfoQuer62 === void 0 ? void 0 : (_fetchProductInfoQuer63 = _fetchProductInfoQuer62.productinfo) === null || _fetchProductInfoQuer63 === void 0 ? void 0 : _fetchProductInfoQuer63.hasvariants) == 1 && variantindexcompleted.length != 0 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, fetchProductInfoQueryContext.data.data.productinfo.variants[variantindexcompleted].hassale == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1483
1512
|
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 '
|
|
1484
1513
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1485
1514
|
className: "ml-2 mr-2"
|
|
@@ -1548,7 +1577,7 @@
|
|
|
1548
1577
|
}, /*#__PURE__*/React__default["default"].createElement(FiMapPin.FiMapPin, {
|
|
1549
1578
|
size: 20,
|
|
1550
1579
|
style: {
|
|
1551
|
-
color: sectionproperties.
|
|
1580
|
+
color: sectionproperties.storeinfoiconcolor
|
|
1552
1581
|
}
|
|
1553
1582
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1554
1583
|
className: "col-lg-10 col-md-10 col-sm-10 d-flex justify-content-start flex-column"
|
|
@@ -1557,21 +1586,11 @@
|
|
|
1557
1586
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1558
1587
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1559
1588
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1560
|
-
className:
|
|
1561
|
-
style: {
|
|
1562
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
1563
|
-
color: sectionproperties.generaltext_fontColor,
|
|
1564
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
1565
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1566
|
-
}
|
|
1589
|
+
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '
|
|
1567
1590
|
}, lang.deliverto)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1568
1591
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1569
1592
|
}, (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1570
|
-
className:
|
|
1571
|
-
style: {
|
|
1572
|
-
color: sectionproperties.text_secondarycolor,
|
|
1573
|
-
fontSize: sectionproperties.secondaryfontsize + 'px'
|
|
1574
|
-
}
|
|
1593
|
+
className: productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '
|
|
1575
1594
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))))), sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.showPolicy == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1576
1595
|
className: "".concat(productinfo_cssstyles.cardcontainer) + ' mb-3 '
|
|
1577
1596
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1643,7 +1662,7 @@
|
|
|
1643
1662
|
}, /*#__PURE__*/React__default["default"].createElement(HiOutlinePhone.HiOutlinePhone, {
|
|
1644
1663
|
size: 20,
|
|
1645
1664
|
style: {
|
|
1646
|
-
color: sectionproperties.
|
|
1665
|
+
color: sectionproperties.storeinfoiconcolor
|
|
1647
1666
|
}
|
|
1648
1667
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1649
1668
|
className: "col-lg-10 col-md-10 col-sm-10 d-flex justify-content-start"
|
|
@@ -1652,22 +1671,12 @@
|
|
|
1652
1671
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1653
1672
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1654
1673
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1655
|
-
className:
|
|
1656
|
-
style: {
|
|
1657
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
1658
|
-
color: sectionproperties.generaltext_fontColor,
|
|
1659
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
1660
|
-
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1661
|
-
}
|
|
1674
|
+
className: productinfo_cssstyles.storeInfo + ' m-0 p-0 wordbreak '
|
|
1662
1675
|
}, lang.callus)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1663
1676
|
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
1664
1677
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1665
|
-
className:
|
|
1666
|
-
|
|
1667
|
-
fontSize: sectionproperties.secondaryfontsize + 'px',
|
|
1668
|
-
color: sectionproperties.text_secondarycolor
|
|
1669
|
-
}
|
|
1670
|
-
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : (_authdetailsContext$i2 = _authdetailsContext$i.contactinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.mobile))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1678
|
+
className: productinfo_cssstyles.storeInfoContent + ' m-0 p-0 wordbreak '
|
|
1679
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1671
1680
|
"class": "col-lg-12"
|
|
1672
1681
|
}, relatedproducts()));
|
|
1673
1682
|
};
|