tabexseriescomponents 0.0.433 → 0.0.434
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 +331 -40
- package/dist/index.esm.js +331 -40
- package/dist/index.umd.js +330 -41
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -32,6 +32,11 @@ var FiShoppingBag = require('@react-icons/all-files/fi/FiShoppingBag');
|
|
|
32
32
|
var FiShoppingCart = require('@react-icons/all-files/fi/FiShoppingCart');
|
|
33
33
|
var AiFillStar$1 = require('@react-icons/all-files/ai/AiFillStar');
|
|
34
34
|
var AiOutlineStar = require('@react-icons/all-files/ai/AiOutlineStar');
|
|
35
|
+
var FaPlus = require('@react-icons/all-files/fa/FaPlus');
|
|
36
|
+
var FaMinus = require('@react-icons/all-files/fa/FaMinus');
|
|
37
|
+
var FiBox = require('@react-icons/all-files/fi/FiBox');
|
|
38
|
+
var RiArrowGoBackLine = require('@react-icons/all-files/ri/RiArrowGoBackLine');
|
|
39
|
+
var reactAccessibleAccordion = require('react-accessible-accordion');
|
|
35
40
|
var reactShare = require('react-share');
|
|
36
41
|
var FiMinus = require('@react-icons/all-files/fi/FiMinus');
|
|
37
42
|
var FiPlus = require('@react-icons/all-files/fi/FiPlus');
|
|
@@ -72,7 +77,6 @@ require('@react-icons/all-files/ri/RiArrowUpSLine');
|
|
|
72
77
|
require('@react-icons/all-files/ri/RiArrowDownSLine');
|
|
73
78
|
var IoIosArrowRoundForward = require('@react-icons/all-files/io/IoIosArrowRoundForward');
|
|
74
79
|
var IoIosArrowRoundBack = require('@react-icons/all-files/io/IoIosArrowRoundBack');
|
|
75
|
-
var reactAccessibleAccordion = require('react-accessible-accordion');
|
|
76
80
|
var FiChevronUp = require('@react-icons/all-files/fi/FiChevronUp');
|
|
77
81
|
var FiChevronDown = require('@react-icons/all-files/fi/FiChevronDown');
|
|
78
82
|
var HiOutlinePlus = require('@react-icons/all-files/hi/HiOutlinePlus');
|
|
@@ -139,8 +143,6 @@ var FaLinkedinIn = require('@react-icons/all-files/fa/FaLinkedinIn');
|
|
|
139
143
|
var RiRoadMapLine = require('@react-icons/all-files/ri/RiRoadMapLine');
|
|
140
144
|
var HiOutlineClock = require('@react-icons/all-files/hi/HiOutlineClock');
|
|
141
145
|
var AiOutlineLinkedin = require('@react-icons/all-files/ai/AiOutlineLinkedin');
|
|
142
|
-
var FaPlus = require('@react-icons/all-files/fa/FaPlus');
|
|
143
|
-
var FaMinus = require('@react-icons/all-files/fa/FaMinus');
|
|
144
146
|
var FaArrowAltCircleRight = require('@react-icons/all-files/fa/FaArrowAltCircleRight');
|
|
145
147
|
var FaArrowAltCircleLeft = require('@react-icons/all-files/fa/FaArrowAltCircleLeft');
|
|
146
148
|
var Select$5 = require('react-select');
|
|
@@ -2199,7 +2201,7 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2199
2201
|
setShowMore = _useState2[1];
|
|
2200
2202
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
2201
2203
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2202
|
-
"class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
2204
|
+
"class": props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : props.srcfromprops == 'undername' ? 'col-lg-12 p-0 w-100' : sectionproperties.gallerystyle == 'Style 1' ? 'col-lg-12 pl-5 pr-5 p-md-0 w-100' : 'col-lg-12 p-0 w-100'
|
|
2203
2205
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2204
2206
|
"class": "row m-0 w-100"
|
|
2205
2207
|
}, sectionproperties.gallerystyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -2212,13 +2214,13 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2212
2214
|
fontWeight: sectionproperties.prodCatFontWeight
|
|
2213
2215
|
}
|
|
2214
2216
|
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer === void 0 || (_fetchProductInfoQuer = _fetchProductInfoQuer.productinfo) === null || _fetchProductInfoQuer === void 0 ? void 0 : _fetchProductInfoQuer.description_en) != '' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer2 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.data) === null || _fetchProductInfoQuer2 === void 0 || (_fetchProductInfoQuer2 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : _fetchProductInfoQuer2.description_en) != null && sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2215
|
-
className:
|
|
2217
|
+
className: props.srcfromprops == 'collap' ? 'col-lg-12 p-0 d-flex justify-content-center' : 'col-lg-12 p-0 mb-4 d-flex justify-content-center'
|
|
2216
2218
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2217
2219
|
className: "row m-0 w-100 d-flex"
|
|
2218
2220
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2219
2221
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2220
2222
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2221
|
-
className: '
|
|
2223
|
+
className: 'm-0 p-0 wordbreak',
|
|
2222
2224
|
style: {
|
|
2223
2225
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2224
2226
|
},
|
|
@@ -2286,11 +2288,11 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2286
2288
|
function ownKeys$2t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2287
2289
|
function _objectSpread$2t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2t(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2288
2290
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2289
|
-
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
2291
|
+
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42;
|
|
2290
2292
|
var lang = props.actions.lang;
|
|
2291
2293
|
var langdetect = props.actions.langdetect;
|
|
2292
2294
|
var srcfromprops = props.actions.srcfromprops;
|
|
2293
|
-
props.actions.returnpolicyobj;
|
|
2295
|
+
var returnpolicyobj = props.actions.returnpolicyobj;
|
|
2294
2296
|
var productinfo_cssstyles = props.actions.productinfo_cssstyles;
|
|
2295
2297
|
var addtocartfunc = props.actions.addtocartfunc;
|
|
2296
2298
|
props.actions.selectproductoptionvalue;
|
|
@@ -2555,7 +2557,17 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2555
2557
|
// }
|
|
2556
2558
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2557
2559
|
className: sectionproperties.evencols == 'Yes' ? 'row m-0 w-100 mt-md-5' : 'row m-0 w-100'
|
|
2558
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2560
|
+
}, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2561
|
+
className: 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center mb-1 mt-3'
|
|
2562
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2563
|
+
className: ' m-0 p-0 wordbreak d-flex justify-content-start ',
|
|
2564
|
+
style: {
|
|
2565
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
2566
|
+
fontWeight: 400,
|
|
2567
|
+
color: sectionproperties.measurementunitcolor,
|
|
2568
|
+
fontSize: sectionproperties.measurementunitcolor + 'px'
|
|
2569
|
+
}
|
|
2570
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.measurmentunit)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2559
2571
|
className: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.productcanrate) == 1 ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.btnposition == 'Top' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : sectionproperties.availabilitybtnposition == 'Top' && sectionproperties.show_availability == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 p-0 mb-1 d-flex justify-content-start align-items-center' : 'col-lg-12 p-0 mb-1 d-flex justify-content-start align-items-center'
|
|
2560
2572
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2561
2573
|
className: props.srcfromprops != 'templatedraftrouter' ? "".concat(productinfo_cssstyles.productname, " ").concat(productinfo_cssstyles.productnamehover) + ' m-0 p-0 wordbreak d-flex justify-content-start cursor-pointer font-sm-15 ' : "".concat(productinfo_cssstyles.productname) + ' m-0 p-0 wordbreak d-flex justify-content-start font-sm-15 ',
|
|
@@ -2641,7 +2653,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2641
2653
|
size: sectionproperties.favBtnIconfontsize
|
|
2642
2654
|
}))))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && sectionproperties.skuposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2643
2655
|
"class": 'col-lg-12 p-0 my-3 d-flex justify-content-start'
|
|
2644
|
-
}, ProductsSKUContainer()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.short_description_en) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2656
|
+
}, ProductsSKUContainer()), langdetect == 'en' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.short_description_en) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2645
2657
|
"class": "col-lg-12 p-0"
|
|
2646
2658
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2647
2659
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -2653,7 +2665,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2653
2665
|
dangerouslySetInnerHTML: {
|
|
2654
2666
|
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer9 === void 0 || (_fetchProductInfoQuer9 = _fetchProductInfoQuer9.productinfo) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : _fetchProductInfoQuer9.short_description_en
|
|
2655
2667
|
}
|
|
2656
|
-
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.short_description_ar) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2668
|
+
}))), langdetect == 'ar' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer10 === void 0 || (_fetchProductInfoQuer10 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : _fetchProductInfoQuer10.short_description_ar) != null && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2657
2669
|
"class": "col-lg-12 p-0"
|
|
2658
2670
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2659
2671
|
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
@@ -2665,7 +2677,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2665
2677
|
dangerouslySetInnerHTML: {
|
|
2666
2678
|
__html: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer11 === void 0 || (_fetchProductInfoQuer11 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : _fetchProductInfoQuer11.short_description_ar
|
|
2667
2679
|
}
|
|
2668
|
-
}))), sectionproperties.descriptionposition == 'Top' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2680
|
+
}))), sectionproperties.descriptionposition == 'Top' && sectionproperties.descriptionstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2669
2681
|
"class": "col-lg-12 p-0"
|
|
2670
2682
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2671
2683
|
"class": "row m-0 w-100"
|
|
@@ -2803,7 +2815,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2803
2815
|
marginTop: sectionproperties.ctabuttnnsmarginvertical + 'px',
|
|
2804
2816
|
marginBottom: sectionproperties.ctabuttnnsmarginvertical + 'px'
|
|
2805
2817
|
}
|
|
2806
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2818
|
+
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.isproducthasquantitychange) == 1 && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2807
2819
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
2808
2820
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2809
2821
|
className: "m-0 p-0",
|
|
@@ -3068,7 +3080,219 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3068
3080
|
width: "20px",
|
|
3069
3081
|
height: "20px",
|
|
3070
3082
|
duration: "1s"
|
|
3071
|
-
}))))))), sectionproperties.
|
|
3083
|
+
}))))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3084
|
+
"class": "col-lg-12 col-md-12 p-md-0 mt-3"
|
|
3085
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
3086
|
+
allowMultipleExpanded: true,
|
|
3087
|
+
allowZeroExpanded: true
|
|
3088
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3089
|
+
"class": "row m-0 w-100"
|
|
3090
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3091
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
3092
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3093
|
+
"class": "m-0 p-0",
|
|
3094
|
+
style: {
|
|
3095
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3096
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3097
|
+
color: sectionproperties.prodCatColor,
|
|
3098
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
3099
|
+
}
|
|
3100
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3101
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
3102
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
3103
|
+
if (state.expanded == true) {
|
|
3104
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3105
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3106
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
3107
|
+
color: sectionproperties.prodCatColor
|
|
3108
|
+
}));
|
|
3109
|
+
} else {
|
|
3110
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3111
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3112
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
3113
|
+
color: sectionproperties.prodCatColor
|
|
3114
|
+
}));
|
|
3115
|
+
}
|
|
3116
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
3117
|
+
className: "p-0"
|
|
3118
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3119
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
3120
|
+
}, /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
3121
|
+
actions: props.actions,
|
|
3122
|
+
srcfromprops: 'collap'
|
|
3123
|
+
})))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3124
|
+
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
3125
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
3126
|
+
"class": "m-0"
|
|
3127
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3128
|
+
"class": "col-lg-12 col-md-12 p-md-0"
|
|
3129
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
3130
|
+
allowMultipleExpanded: true,
|
|
3131
|
+
allowZeroExpanded: true
|
|
3132
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3133
|
+
"class": "row m-0 w-100"
|
|
3134
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3135
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
3136
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3137
|
+
"class": "m-0 p-0",
|
|
3138
|
+
style: {
|
|
3139
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3140
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3141
|
+
color: sectionproperties.prodCatColor,
|
|
3142
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
3143
|
+
}
|
|
3144
|
+
}, langdetect == 'en' ? sectionproperties.shortdescriptiontitle_en : sectionproperties.shortdescriptiontitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3145
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
3146
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
3147
|
+
if (state.expanded == true) {
|
|
3148
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3149
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3150
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
3151
|
+
color: sectionproperties.prodCatColor
|
|
3152
|
+
}));
|
|
3153
|
+
} else {
|
|
3154
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3155
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3156
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
3157
|
+
color: sectionproperties.prodCatColor
|
|
3158
|
+
}));
|
|
3159
|
+
}
|
|
3160
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
3161
|
+
className: "p-0"
|
|
3162
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3163
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
3164
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3165
|
+
className: 'm-0 p-0 wordbreak',
|
|
3166
|
+
style: {
|
|
3167
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
3168
|
+
},
|
|
3169
|
+
dangerouslySetInnerHTML: {
|
|
3170
|
+
__html: langdetect == 'en' ? fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer36 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.data) === null || _fetchProductInfoQuer36 === void 0 || (_fetchProductInfoQuer36 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.short_description_en : fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer37 === void 0 || (_fetchProductInfoQuer37 = _fetchProductInfoQuer37.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.short_description_ar
|
|
3171
|
+
}
|
|
3172
|
+
})))))), sectionproperties.descriptionstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3173
|
+
"class": "col-lg-12 col-md-12 my-3 p-md-0"
|
|
3174
|
+
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
3175
|
+
"class": "m-0"
|
|
3176
|
+
})), sectionproperties.descriptionstyle == 'Style 2' && sectionproperties.showshortdescription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3177
|
+
"class": "col-lg-12 col-md-12 p-md-0"
|
|
3178
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
3179
|
+
allowMultipleExpanded: true,
|
|
3180
|
+
allowZeroExpanded: true
|
|
3181
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3182
|
+
"class": "row m-0 w-100"
|
|
3183
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3184
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0 d-flex align-items-center justify-content-start"
|
|
3185
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3186
|
+
"class": "m-0 p-0 ",
|
|
3187
|
+
style: {
|
|
3188
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3189
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3190
|
+
color: sectionproperties.prodCatColor,
|
|
3191
|
+
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
3192
|
+
}
|
|
3193
|
+
}, langdetect == 'en' ? sectionproperties.policiestitleen : sectionproperties.policiestitlear)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3194
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
3195
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
3196
|
+
if (state.expanded == true) {
|
|
3197
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3198
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3199
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaMinus.FaMinus, {
|
|
3200
|
+
color: sectionproperties.prodCatColor
|
|
3201
|
+
}));
|
|
3202
|
+
} else {
|
|
3203
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3204
|
+
className: ' h-100 d-flex align-items-center justify-content-end '
|
|
3205
|
+
}, /*#__PURE__*/React__default["default"].createElement(FaPlus.FaPlus, {
|
|
3206
|
+
color: sectionproperties.prodCatColor
|
|
3207
|
+
}));
|
|
3208
|
+
}
|
|
3209
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
3210
|
+
className: "p-0"
|
|
3211
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3212
|
+
"class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center mt-3"
|
|
3213
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3214
|
+
"class": "h-100 allcentered mx-2"
|
|
3215
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiBox.FiBox, {
|
|
3216
|
+
size: 15,
|
|
3217
|
+
style: {
|
|
3218
|
+
color: sectionproperties.prodCatColor
|
|
3219
|
+
}
|
|
3220
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3221
|
+
"class": "m-0 p-0 text-uppercase",
|
|
3222
|
+
style: {
|
|
3223
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3224
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3225
|
+
color: sectionproperties.prodCatColor,
|
|
3226
|
+
fontSize: '14px'
|
|
3227
|
+
}
|
|
3228
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3229
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
3230
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3231
|
+
className: ' m-0 p-0 wordbreak ',
|
|
3232
|
+
style: {
|
|
3233
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3234
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3235
|
+
color: sectionproperties.prodCatColor,
|
|
3236
|
+
fontSize: '15px'
|
|
3237
|
+
},
|
|
3238
|
+
dangerouslySetInnerHTML: {
|
|
3239
|
+
__html: langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policysummary_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policysummary_ar
|
|
3240
|
+
}
|
|
3241
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3242
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
3243
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3244
|
+
className: ' m-0 p-0 wordbreak cursor-pointer ',
|
|
3245
|
+
style: {
|
|
3246
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3247
|
+
textDecoration: 'underline',
|
|
3248
|
+
color: sectionproperties.prodCatColor
|
|
3249
|
+
},
|
|
3250
|
+
onClick: function onClick() {
|
|
3251
|
+
routingcountext(StaticPagesLinksContext.ShippingPolicy);
|
|
3252
|
+
}
|
|
3253
|
+
}, "SEE MORE")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3254
|
+
"class": "col-lg-12 p-0 mb-3 d-flex flex-row text-start align-items-center"
|
|
3255
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
3256
|
+
"class": "h-100 allcentered mx-2"
|
|
3257
|
+
}, /*#__PURE__*/React__default["default"].createElement(RiArrowGoBackLine.RiArrowGoBackLine, {
|
|
3258
|
+
size: 15,
|
|
3259
|
+
style: {
|
|
3260
|
+
color: sectionproperties.prodCatColor
|
|
3261
|
+
}
|
|
3262
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3263
|
+
"class": "m-0 p-0 text-uppercase",
|
|
3264
|
+
style: {
|
|
3265
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3266
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3267
|
+
color: sectionproperties.prodCatColor,
|
|
3268
|
+
fontSize: '14px'
|
|
3269
|
+
}
|
|
3270
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3271
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
3272
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3273
|
+
className: ' m-0 p-0 wordbreak ',
|
|
3274
|
+
style: {
|
|
3275
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3276
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
3277
|
+
color: sectionproperties.prodCatColor,
|
|
3278
|
+
fontSize: '15px'
|
|
3279
|
+
},
|
|
3280
|
+
dangerouslySetInnerHTML: {
|
|
3281
|
+
__html: langdetect == 'en' ? (_returnpolicyobj7 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj7 === void 0 ? void 0 : _returnpolicyobj7.policysummary_en : (_returnpolicyobj8 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj8 === void 0 ? void 0 : _returnpolicyobj8.policysummary_ar
|
|
3282
|
+
}
|
|
3283
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3284
|
+
"class": "col-lg-12 p-0 mb-4 px-4"
|
|
3285
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3286
|
+
className: ' m-0 p-0 wordbreak cursor-pointer ',
|
|
3287
|
+
style: {
|
|
3288
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
3289
|
+
textDecoration: 'underline',
|
|
3290
|
+
color: sectionproperties.prodCatColor
|
|
3291
|
+
},
|
|
3292
|
+
onClick: function onClick() {
|
|
3293
|
+
routingcountext(StaticPagesLinksContext.RefundPolicy);
|
|
3294
|
+
}
|
|
3295
|
+
}, "SEE MORE")))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer38 === void 0 || (_fetchProductInfoQuer38 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : _fetchProductInfoQuer38.isproducttobesold) == 1 && sectionproperties.showtotalsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3072
3296
|
className: "col-lg-12 p-0 mb-3"
|
|
3073
3297
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3074
3298
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -3091,7 +3315,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3091
3315
|
}
|
|
3092
3316
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3093
3317
|
className: langdetect == 'en' ? ' d-flex align-items-center justify-content-end wordbreak text-right ' : ' d-flex align-items-center justify-content-end wordbreak text-left '
|
|
3094
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3318
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length == 0 && fetchProductInfoQueryContext.data.data.productinfo.hassale == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer39 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.data) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer39 === void 0 || (_fetchProductInfoQuer39 = _fetchProductInfoQuer39.variants[variantindexcompleted]) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.hassale) == 1 && parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.productinfo) === null || _fetchProductInfoQuer40 === void 0 || (_fetchProductInfoQuer40 = _fetchProductInfoQuer40.variants[variantindexcompleted]) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.hassale) == 0 && parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2), langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3095
3319
|
className: 'm-0 p-0 linethrough wordbreak',
|
|
3096
3320
|
style: {
|
|
3097
3321
|
color: sectionproperties.prodsalePriceColor,
|
|
@@ -3105,14 +3329,14 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3105
3329
|
style: {
|
|
3106
3330
|
textDecoration: 'none'
|
|
3107
3331
|
}
|
|
3108
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3332
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), variantindexcompleted != undefined && variantindexcompleted.length != 0 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer41 === void 0 || (_fetchProductInfoQuer41 = _fetchProductInfoQuer41.variants[variantindexcompleted]) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : _fetchProductInfoQuer41.hassale) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3109
3333
|
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 '
|
|
3110
3334
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3111
3335
|
className: "ml-2 mr-2",
|
|
3112
3336
|
style: {
|
|
3113
3337
|
textDecoration: 'none'
|
|
3114
3338
|
}
|
|
3115
|
-
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
3339
|
+
}, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.availabilitybtnposition == 'Bottom' && sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer42 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.data) === null || _fetchProductInfoQuer42 === void 0 || (_fetchProductInfoQuer42 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3116
3340
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
3117
3341
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3118
3342
|
style: {
|
|
@@ -45124,8 +45348,9 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
45124
45348
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45125
45349
|
"class": "row m-0 w-100 d-none d-md-flex editor-accordion"
|
|
45126
45350
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
45351
|
+
"class": "w-100",
|
|
45127
45352
|
allowMultipleExpanded: true,
|
|
45128
|
-
|
|
45353
|
+
allowZeroExpanded: true
|
|
45129
45354
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45130
45355
|
"class": "row m-0 w-100"
|
|
45131
45356
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -45156,6 +45381,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
45156
45381
|
"class": "row m-0 w-100 d-none d-md-flex editor-accordion"
|
|
45157
45382
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
45158
45383
|
allowMultipleExpanded: true,
|
|
45384
|
+
allowZeroExpanded: true,
|
|
45159
45385
|
"class": "w-100"
|
|
45160
45386
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45161
45387
|
"class": "row m-0 w-100"
|
|
@@ -45678,7 +45904,9 @@ var Newsletterincenter = function Newsletterincenter(props) {
|
|
|
45678
45904
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45679
45905
|
"class": "col-lg-12 col-md-12 d-none d-md-flex"
|
|
45680
45906
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
45681
|
-
"class": "w-100"
|
|
45907
|
+
"class": "w-100",
|
|
45908
|
+
allowMultipleExpanded: true,
|
|
45909
|
+
allowZeroExpanded: true
|
|
45682
45910
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45683
45911
|
"class": "row m-0 w-100"
|
|
45684
45912
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -45706,7 +45934,9 @@ var Newsletterincenter = function Newsletterincenter(props) {
|
|
|
45706
45934
|
}, /*#__PURE__*/React__default["default"].createElement("hr", null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45707
45935
|
"class": "col-lg-12 col-md-12 d-none d-md-flex"
|
|
45708
45936
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
45709
|
-
"class": "w-100"
|
|
45937
|
+
"class": "w-100",
|
|
45938
|
+
allowMultipleExpanded: true,
|
|
45939
|
+
allowZeroExpanded: true
|
|
45710
45940
|
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45711
45941
|
"class": "row m-0 w-100"
|
|
45712
45942
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -71100,6 +71330,82 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
71100
71330
|
fontWeight: sectionproperties.prodCatFontWeight
|
|
71101
71331
|
})
|
|
71102
71332
|
};
|
|
71333
|
+
var _useState5 = React.useState(''),
|
|
71334
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
71335
|
+
secondimage = _useState6[0],
|
|
71336
|
+
setsecondimage = _useState6[1];
|
|
71337
|
+
React.useEffect(function () {
|
|
71338
|
+
var _props$cardinfoitempr;
|
|
71339
|
+
setitem(props.cardinfoitemprops);
|
|
71340
|
+
if ((props === null || props === void 0 || (_props$cardinfoitempr = props.cardinfoitemprops) === null || _props$cardinfoitempr === void 0 || (_props$cardinfoitempr = _props$cardinfoitempr.productimages) === null || _props$cardinfoitempr === void 0 ? void 0 : _props$cardinfoitempr.length) == 1) {
|
|
71341
|
+
var _props$cardinfoitempr2;
|
|
71342
|
+
setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr2 = props.cardinfoitemprops) === null || _props$cardinfoitempr2 === void 0 ? void 0 : _props$cardinfoitempr2.image);
|
|
71343
|
+
} else {
|
|
71344
|
+
var _props$cardinfoitempr3, _props$cardinfoitempr4;
|
|
71345
|
+
if ((props === null || props === void 0 ? void 0 : props.cardinfoitemprops) != undefined && (props === null || props === void 0 || (_props$cardinfoitempr3 = props.cardinfoitemprops) === null || _props$cardinfoitempr3 === void 0 ? void 0 : _props$cardinfoitempr3.productimages) != undefined && Array.isArray(props === null || props === void 0 || (_props$cardinfoitempr4 = props.cardinfoitemprops) === null || _props$cardinfoitempr4 === void 0 ? void 0 : _props$cardinfoitempr4.productimages)) {
|
|
71346
|
+
var _props$cardinfoitempr5, _props$cardinfoitempr6, _props$cardinfoitempr7;
|
|
71347
|
+
if ((props === null || props === void 0 || (_props$cardinfoitempr5 = props.cardinfoitemprops) === null || _props$cardinfoitempr5 === void 0 ? void 0 : _props$cardinfoitempr5.productimages[0]) != undefined && (props === null || props === void 0 || (_props$cardinfoitempr6 = props.cardinfoitemprops) === null || _props$cardinfoitempr6 === void 0 || (_props$cardinfoitempr6 = _props$cardinfoitempr6.productimages[0]) === null || _props$cardinfoitempr6 === void 0 ? void 0 : _props$cardinfoitempr6.path) == (props === null || props === void 0 || (_props$cardinfoitempr7 = props.cardinfoitemprops) === null || _props$cardinfoitempr7 === void 0 ? void 0 : _props$cardinfoitempr7.image)) {
|
|
71348
|
+
var _props$cardinfoitempr8;
|
|
71349
|
+
if ((props === null || props === void 0 || (_props$cardinfoitempr8 = props.cardinfoitemprops) === null || _props$cardinfoitempr8 === void 0 || (_props$cardinfoitempr8 = _props$cardinfoitempr8.productimages[1]) === null || _props$cardinfoitempr8 === void 0 ? void 0 : _props$cardinfoitempr8.length) != 0) {
|
|
71350
|
+
var _props$cardinfoitempr9;
|
|
71351
|
+
setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr9 = props.cardinfoitemprops) === null || _props$cardinfoitempr9 === void 0 || (_props$cardinfoitempr9 = _props$cardinfoitempr9.productimages[1]) === null || _props$cardinfoitempr9 === void 0 ? void 0 : _props$cardinfoitempr9.path);
|
|
71352
|
+
} else {
|
|
71353
|
+
var _props$cardinfoitempr10;
|
|
71354
|
+
setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr10 = props.cardinfoitemprops) === null || _props$cardinfoitempr10 === void 0 ? void 0 : _props$cardinfoitempr10.image);
|
|
71355
|
+
}
|
|
71356
|
+
} else {
|
|
71357
|
+
var _props$cardinfoitempr11;
|
|
71358
|
+
setsecondimage(props === null || props === void 0 || (_props$cardinfoitempr11 = props.cardinfoitemprops) === null || _props$cardinfoitempr11 === void 0 || (_props$cardinfoitempr11 = _props$cardinfoitempr11.productimages[0]) === null || _props$cardinfoitempr11 === void 0 ? void 0 : _props$cardinfoitempr11.path);
|
|
71359
|
+
}
|
|
71360
|
+
}
|
|
71361
|
+
}
|
|
71362
|
+
}, [props.cardinfoitemprops]);
|
|
71363
|
+
var Image = function Image(type) {
|
|
71364
|
+
var transition = false;
|
|
71365
|
+
if (sectionproperties.hideshowcardtransition == 'Show' && type != 'responsive') {
|
|
71366
|
+
transition = true;
|
|
71367
|
+
}
|
|
71368
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71369
|
+
"class": "w-100 cursor-pointer",
|
|
71370
|
+
style: {
|
|
71371
|
+
position: 'relative'
|
|
71372
|
+
}
|
|
71373
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
71374
|
+
"class": transition ? cardstyles$7.intialimage : '',
|
|
71375
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
71376
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
71377
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
71378
|
+
loading: "lazy",
|
|
71379
|
+
style: {
|
|
71380
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
71381
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71382
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71383
|
+
},
|
|
71384
|
+
onClick: function onClick(e) {
|
|
71385
|
+
e.stopPropagation();
|
|
71386
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71387
|
+
}
|
|
71388
|
+
}), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
71389
|
+
"class": cardstyles$7.secondaryimage,
|
|
71390
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
71391
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
71392
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
|
|
71393
|
+
loading: "lazy",
|
|
71394
|
+
style: {
|
|
71395
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
71396
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71397
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71398
|
+
},
|
|
71399
|
+
onClick: function onClick(e) {
|
|
71400
|
+
e.stopPropagation();
|
|
71401
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71402
|
+
|
|
71403
|
+
// setShowProductInfoModalContext(true);
|
|
71404
|
+
// setProductIdProdutInfoModalContext(item.productid);
|
|
71405
|
+
}
|
|
71406
|
+
}));
|
|
71407
|
+
};
|
|
71408
|
+
|
|
71103
71409
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71104
71410
|
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 px-md-1 ' : " ".concat(card_cssstyles.productcard),
|
|
71105
71411
|
style: {
|
|
@@ -71215,31 +71521,16 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
71215
71521
|
direction: 'ltr'
|
|
71216
71522
|
}
|
|
71217
71523
|
}, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71218
|
-
|
|
71219
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
|
|
71220
|
-
// setShowProductInfoModalContext(true);
|
|
71221
|
-
// setProductIdProdutInfoModalContext(item.productid);
|
|
71222
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71223
|
-
} else {
|
|
71224
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
71225
|
-
}
|
|
71226
|
-
},
|
|
71227
|
-
"class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
|
|
71524
|
+
"class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
|
|
71228
71525
|
style: {
|
|
71229
|
-
zIndex: 1,
|
|
71230
71526
|
marginBottom: sectionproperties.image_mb + 'px'
|
|
71231
71527
|
}
|
|
71232
|
-
},
|
|
71233
|
-
|
|
71234
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
71235
|
-
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
71236
|
-
loading: "lazy",
|
|
71528
|
+
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71529
|
+
"class": card_cssstyles.productcardimagecont + ' d-none d-md-flex ',
|
|
71237
71530
|
style: {
|
|
71238
|
-
|
|
71239
|
-
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
71240
|
-
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
71531
|
+
marginBottom: sectionproperties.image_mb + 'px'
|
|
71241
71532
|
}
|
|
71242
|
-
})), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71533
|
+
}, Image('responsive')), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
71243
71534
|
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
71244
71535
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
71245
71536
|
"class": "m-0 p-0"
|