tabexseriescomponents 0.0.252 → 0.0.255
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 +207 -82
- package/dist/index.esm.js +207 -82
- package/dist/index.umd.js +209 -86
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -79,6 +79,8 @@ var FaArrowAltCircleLeft = require('@react-icons/all-files/fa/FaArrowAltCircleLe
|
|
|
79
79
|
var FiFilter = require('@react-icons/all-files/fi/FiFilter');
|
|
80
80
|
var FiChevronLeft = require('@react-icons/all-files/fi/FiChevronLeft');
|
|
81
81
|
var FiChevronRight = require('@react-icons/all-files/fi/FiChevronRight');
|
|
82
|
+
var HiOutlineArrowRight = require('@react-icons/all-files/hi/HiOutlineArrowRight');
|
|
83
|
+
var HiOutlineArrowLeft = require('@react-icons/all-files/hi/HiOutlineArrowLeft');
|
|
82
84
|
var ReactPaginate = require('react-paginate');
|
|
83
85
|
var BiGlobe = require('@react-icons/all-files/bi/BiGlobe');
|
|
84
86
|
var MdKeyboardArrowDown = require('@react-icons/all-files/md/MdKeyboardArrowDown');
|
|
@@ -822,13 +824,7 @@ var Login = function Login(props) {
|
|
|
822
824
|
style: {
|
|
823
825
|
background: 'transparent'
|
|
824
826
|
}
|
|
825
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
826
|
-
className: langdetect == 'en' ? loginstyles$1.login_input_icon + ' login_input_icon ' : loginstyles$1.login_input_icontrans + ' login_input_icon '
|
|
827
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
828
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
829
|
-
}, /*#__PURE__*/React__default["default"].createElement(AiOutlineUser.AiOutlineUser, {
|
|
830
|
-
size: 18
|
|
831
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
827
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
832
828
|
className: "col-lg-12 col-md-12 col-sm-12 p-sm-0"
|
|
833
829
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
834
830
|
className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
@@ -842,11 +838,7 @@ var Login = function Login(props) {
|
|
|
842
838
|
temppayloadobj.password = event.target.value;
|
|
843
839
|
setpayloadobj(_objectSpread$21({}, temppayloadobj));
|
|
844
840
|
}
|
|
845
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
846
|
-
className: langdetect == 'en' ? loginstyles$1.login_input_icon : loginstyles$1.login_input_icontrans
|
|
847
|
-
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
848
|
-
className: "fa fa-at h-100 d-flex align-items-center justify-content-center ml-1"
|
|
849
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
841
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
850
842
|
className: "col-lg-12 col-md-12 col-sm-12 mb-3 d-flex justify-content-end mt-1 cursor-pointer text-light text-lighthover font-13 ",
|
|
851
843
|
onClick: function onClick() {
|
|
852
844
|
setforgetpasswordmodal(true);
|
|
@@ -1327,7 +1319,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1327
1319
|
function ownKeys$20(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; }
|
|
1328
1320
|
function _objectSpread$20(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$20(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$20(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1329
1321
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1330
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
|
|
1322
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36;
|
|
1331
1323
|
var lang = props.actions.lang;
|
|
1332
1324
|
var langdetect = props.actions.langdetect;
|
|
1333
1325
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -1585,7 +1577,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1585
1577
|
}
|
|
1586
1578
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1587
1579
|
className: "row m-0 w-100 d-flex align-items-center"
|
|
1588
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1580
|
+
}, (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.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1589
1581
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
1590
1582
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1591
1583
|
className: "m-0 p-0",
|
|
@@ -1595,7 +1587,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1595
1587
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
1596
1588
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1597
1589
|
}
|
|
1598
|
-
}, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1590
|
+
}, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && (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.isproducttobesold) == 1 && (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.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1599
1591
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
1600
1592
|
style: {
|
|
1601
1593
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -1631,11 +1623,16 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1631
1623
|
style: {
|
|
1632
1624
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
|
|
1633
1625
|
}
|
|
1634
|
-
}))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1626
|
+
}))), sectionproperties.cartBtnShow == 'Show' && (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.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
1635
1627
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
1636
1628
|
onClick: function onClick() {
|
|
1637
1629
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
1638
|
-
|
|
1630
|
+
var _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39;
|
|
1631
|
+
if ((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.isproductforcedtocheckout) == 0) {
|
|
1632
|
+
addtocartfunc();
|
|
1633
|
+
} else {
|
|
1634
|
+
routingcountext(StaticPagesLinksContext.Checkout);
|
|
1635
|
+
}
|
|
1639
1636
|
} else {
|
|
1640
1637
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
1641
1638
|
}
|
|
@@ -2425,7 +2422,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2425
2422
|
};
|
|
2426
2423
|
|
|
2427
2424
|
var Service_itemtype = function Service_itemtype(props) {
|
|
2428
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9;
|
|
2425
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18;
|
|
2429
2426
|
var lang = props.actions.lang;
|
|
2430
2427
|
var langdetect = props.actions.langdetect;
|
|
2431
2428
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2569,8 +2566,35 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2569
2566
|
"class": "row m-0 w-100"
|
|
2570
2567
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2571
2568
|
className: "col-lg-8 col-md-8 col-sm-12 p-0 mb-1 d-flex d-sm-none justify-content-start align-items-center"
|
|
2569
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2570
|
+
"class": "row m-0 w-100"
|
|
2571
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2572
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2572
2573
|
}, ProductName()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2573
|
-
"class": "col-lg-
|
|
2574
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2575
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
2576
|
+
count: 5,
|
|
2577
|
+
value: 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.productoverallrate,
|
|
2578
|
+
edit: false,
|
|
2579
|
+
size: 18,
|
|
2580
|
+
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2581
|
+
className: "far fa-star",
|
|
2582
|
+
style: {
|
|
2583
|
+
color: '#FAB400'
|
|
2584
|
+
}
|
|
2585
|
+
}),
|
|
2586
|
+
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2587
|
+
className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
|
|
2588
|
+
}),
|
|
2589
|
+
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2590
|
+
className: "fa fa-star",
|
|
2591
|
+
style: {
|
|
2592
|
+
color: '#FAB400'
|
|
2593
|
+
}
|
|
2594
|
+
}),
|
|
2595
|
+
activeColor: "#ffd700"
|
|
2596
|
+
})))), (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.productcanrate) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2597
|
+
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2574
2598
|
}, sectionproperties.show_availability == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2575
2599
|
"class": "d-flex justify-content-center align-items-center ml-2 mr-2",
|
|
2576
2600
|
style: {
|
|
@@ -2586,24 +2610,37 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2586
2610
|
color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
|
|
2587
2611
|
fontSize: sectionproperties.availability_fontsize + 'px'
|
|
2588
2612
|
}
|
|
2589
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)),
|
|
2590
|
-
"class": "allcentered",
|
|
2591
|
-
style: {
|
|
2592
|
-
width: sectionproperties.badge_width + 'px',
|
|
2593
|
-
height: sectionproperties.badge_height + 'px',
|
|
2594
|
-
background: sectionproperties.badge_bgcolor,
|
|
2595
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
2596
|
-
}
|
|
2597
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2598
|
-
"class": "m-0 p-0",
|
|
2599
|
-
style: {
|
|
2600
|
-
color: sectionproperties.badge_color,
|
|
2601
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
2602
|
-
}
|
|
2603
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2613
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2604
2614
|
className: "col-lg-8 col-md-8 col-sm-12 p-0 mb-1 d-none d-sm-flex justify-content-start align-items-center"
|
|
2605
|
-
},
|
|
2606
|
-
"class":
|
|
2615
|
+
}, ' ', /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2616
|
+
"class": "row m-0 w-100"
|
|
2617
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2618
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2619
|
+
}, ProductName()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2620
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2621
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
2622
|
+
count: 5,
|
|
2623
|
+
value: 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.productoverallrate,
|
|
2624
|
+
edit: false,
|
|
2625
|
+
size: 18,
|
|
2626
|
+
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2627
|
+
className: "far fa-star",
|
|
2628
|
+
style: {
|
|
2629
|
+
color: '#FAB400'
|
|
2630
|
+
}
|
|
2631
|
+
}),
|
|
2632
|
+
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2633
|
+
className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
|
|
2634
|
+
}),
|
|
2635
|
+
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2636
|
+
className: "fa fa-star",
|
|
2637
|
+
style: {
|
|
2638
|
+
color: '#FAB400'
|
|
2639
|
+
}
|
|
2640
|
+
}),
|
|
2641
|
+
activeColor: "#ffd700"
|
|
2642
|
+
})))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2643
|
+
"class": sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
|
|
2607
2644
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
2608
2645
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2609
2646
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -2621,7 +2658,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2621
2658
|
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2622
2659
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2623
2660
|
}
|
|
2624
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2661
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.deliverytimeshow == 'Show' && (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.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2625
2662
|
"class": "mb-4 col-lg-12 d-flex flex-row flex-sm-column allcentered",
|
|
2626
2663
|
style: {
|
|
2627
2664
|
width: '100%',
|
|
@@ -2646,7 +2683,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2646
2683
|
style: {
|
|
2647
2684
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2648
2685
|
}
|
|
2649
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2686
|
+
}, 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.deliverydatetext)), /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
|
|
2650
2687
|
actions: props.actions
|
|
2651
2688
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2652
2689
|
"class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
|
|
@@ -2962,6 +2999,7 @@ var AddReview = function AddReview(props) {
|
|
|
2962
2999
|
if (data.data.status) {
|
|
2963
3000
|
NotificationManager.success('', 'Success');
|
|
2964
3001
|
addreviewcallback();
|
|
3002
|
+
window.location.reload();
|
|
2965
3003
|
} else {
|
|
2966
3004
|
NotificationManager.warning('', data.data.reason);
|
|
2967
3005
|
}
|
|
@@ -6569,7 +6607,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
6569
6607
|
}, Summary()))))));
|
|
6570
6608
|
};
|
|
6571
6609
|
|
|
6572
|
-
var css_248z$F = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n /* height: 25px; */\n /* font-size: 1rem; */\n font-weight: 500;\n /* color: #444054; */\n /* background-color: white; */\n /* border-radius: 20px; */\n /* box-shadow: 0 0 10px #e6e6e6; */\n /* height: 40px; */\n padding-left: 0;\n padding-right: 0;\n /* font-size: 14px; */\n transition: background 0s ease-out;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n min-height: 100px !important;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n box-shadow: 0 0 10px #ccc
|
|
6610
|
+
var css_248z$F = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n /* height: 25px; */\n /* font-size: 1rem; */\n font-weight: 500;\n /* color: #444054; */\n /* background-color: white; */\n /* border-radius: 20px; */\n /* box-shadow: 0 0 10px #e6e6e6; */\n /* height: 40px; */\n padding-left: 0;\n padding-right: 0;\n /* font-size: 14px; */\n transition: background 0s ease-out;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n min-height: 100px !important;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n /* box-shadow: 0 0 10px #ccc; */\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkbox_sub__QWYil svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
|
|
6573
6611
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
6574
6612
|
styleInject(css_248z$F);
|
|
6575
6613
|
|
|
@@ -7075,7 +7113,10 @@ var Checkout = function Checkout(props) {
|
|
|
7075
7113
|
cartarr.data.customercart.couponname = event.target.value;
|
|
7076
7114
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
7077
7115
|
},
|
|
7078
|
-
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue39 !== void 0 && (_fetchcustomercartQue40 = _fetchcustomercartQue39.data) !== null && _fetchcustomercartQue40 !== void 0 && _fetchcustomercartQue40.customercart.couponexists ? true : false
|
|
7116
|
+
disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue39 !== void 0 && (_fetchcustomercartQue40 = _fetchcustomercartQue39.data) !== null && _fetchcustomercartQue40 !== void 0 && _fetchcustomercartQue40.customercart.couponexists ? true : false,
|
|
7117
|
+
style: {
|
|
7118
|
+
boxShadow: 'none'
|
|
7119
|
+
}
|
|
7079
7120
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7080
7121
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center"
|
|
7081
7122
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
@@ -7390,7 +7431,8 @@ var Checkout = function Checkout(props) {
|
|
|
7390
7431
|
cartinfoupdater('mobile', event.target.value);
|
|
7391
7432
|
},
|
|
7392
7433
|
style: {
|
|
7393
|
-
resize: 'none'
|
|
7434
|
+
resize: 'none',
|
|
7435
|
+
boxShadow: 'none'
|
|
7394
7436
|
}
|
|
7395
7437
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7396
7438
|
className: "col-lg-4 col-md-12 mb-3"
|
|
@@ -7402,6 +7444,9 @@ var Checkout = function Checkout(props) {
|
|
|
7402
7444
|
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : (_fetchcustomercartQue76 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.email,
|
|
7403
7445
|
onChange: function onChange(event) {
|
|
7404
7446
|
cartinfoupdater('email', event.target.value);
|
|
7447
|
+
},
|
|
7448
|
+
style: {
|
|
7449
|
+
boxShadow: 'none'
|
|
7405
7450
|
}
|
|
7406
7451
|
}))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7407
7452
|
"class": "col-lg-12 p-0"
|
|
@@ -7519,7 +7564,8 @@ var Checkout = function Checkout(props) {
|
|
|
7519
7564
|
cartinfoupdater('address', event.target.value);
|
|
7520
7565
|
},
|
|
7521
7566
|
style: {
|
|
7522
|
-
resize: 'none'
|
|
7567
|
+
resize: 'none',
|
|
7568
|
+
boxShadow: 'none'
|
|
7523
7569
|
}
|
|
7524
7570
|
})))), sectionproperties.shownotes == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7525
7571
|
className: "col-lg-12 mb-3"
|
|
@@ -7533,7 +7579,8 @@ var Checkout = function Checkout(props) {
|
|
|
7533
7579
|
cartinfoupdater('notes', event.target.value);
|
|
7534
7580
|
},
|
|
7535
7581
|
style: {
|
|
7536
|
-
resize: 'none'
|
|
7582
|
+
resize: 'none',
|
|
7583
|
+
boxShadow: 'none'
|
|
7537
7584
|
}
|
|
7538
7585
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7539
7586
|
className: "col-lg-12 p-0 w-100"
|
|
@@ -7730,7 +7777,7 @@ var Select = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
7730
7777
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
7731
7778
|
});
|
|
7732
7779
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
7733
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _fetchAuthorizationQu4, _fetchAuthorizationQu5, _fetchAuthorizationQu6, _css;
|
|
7780
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _fetchAuthorizationQu4, _fetchAuthorizationQu5, _fetchAuthorizationQu6, _css, _authdetailsContext$c, _authdetailsContext$c2;
|
|
7734
7781
|
var lang = props.actions.lang;
|
|
7735
7782
|
var langdetect = props.actions.langdetect;
|
|
7736
7783
|
props.actions.routingcountext;
|
|
@@ -8288,7 +8335,57 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8288
8335
|
className: "col-lg-12 p-0"
|
|
8289
8336
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8290
8337
|
className: "row ml-0 mr-0 w-100"
|
|
8338
|
+
}, sectionproperties.showsubscription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8339
|
+
className: "col-lg-6 col-md-6 col-sm-12 mb-3"
|
|
8291
8340
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8341
|
+
style: {
|
|
8342
|
+
background: sectionproperties.backgroundColor,
|
|
8343
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8344
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8345
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
8346
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
8347
|
+
},
|
|
8348
|
+
className: "px-2 py-3 flex-column"
|
|
8349
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8350
|
+
"class": "m-0 p-0 allcentered ",
|
|
8351
|
+
style: {
|
|
8352
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8353
|
+
color: sectionproperties.sectionTitleColor,
|
|
8354
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8355
|
+
}
|
|
8356
|
+
}, langdetect == 'en' ? 'Subscribed at' : 'مشترك فى'), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8357
|
+
"class": "m-0 p-0 allcentered ",
|
|
8358
|
+
style: {
|
|
8359
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8360
|
+
color: sectionproperties.sectionTitleColor,
|
|
8361
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8362
|
+
}
|
|
8363
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.subscription_name))), sectionproperties.showsubscription == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8364
|
+
className: "col-lg-6 col-md-6 col-sm-12 mb-3"
|
|
8365
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8366
|
+
style: {
|
|
8367
|
+
background: sectionproperties.backgroundColor,
|
|
8368
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8369
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8370
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
8371
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
8372
|
+
},
|
|
8373
|
+
className: "px-2 py-3 allcentered flex-column"
|
|
8374
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8375
|
+
"class": "m-0 p-0",
|
|
8376
|
+
style: {
|
|
8377
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8378
|
+
color: sectionproperties.sectionTitleColor,
|
|
8379
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8380
|
+
}
|
|
8381
|
+
}, langdetect == 'en' ? 'Subscription end on' : 'الإشتراك ينتهى فى'), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8382
|
+
"class": "m-0 p-0",
|
|
8383
|
+
style: {
|
|
8384
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8385
|
+
color: sectionproperties.sectionTitleColor,
|
|
8386
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8387
|
+
}
|
|
8388
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.subscrption_enddate))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8292
8389
|
className: "col-lg-12 mb-3 p-0"
|
|
8293
8390
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8294
8391
|
style: {
|
|
@@ -11521,15 +11618,27 @@ var CardsSection = function CardsSection(props) {
|
|
|
11521
11618
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
11522
11619
|
}
|
|
11523
11620
|
}
|
|
11524
|
-
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11621
|
+
}, sectionproperties.viewmorebtntype == 'Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11525
11622
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center' : 'd-flex justify-content-center align-items-center d-md-none'
|
|
11526
11623
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11527
11624
|
"class": sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''
|
|
11528
|
-
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar)), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11625
|
+
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar)), sectionproperties.viewmorebtntype == 'Icon' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11626
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center' : 'd-flex justify-content-center align-items-center d-md-none'
|
|
11627
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
11628
|
+
"class": "h-100 allcentered"
|
|
11629
|
+
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowRight.HiOutlineArrowRight, {
|
|
11630
|
+
size: sectionproperties.viewmorebtn_fontSize
|
|
11631
|
+
}) : /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowLeft.HiOutlineArrowLeft, {
|
|
11632
|
+
size: sectionproperties.viewmorebtn_fontSize
|
|
11633
|
+
}))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
11529
11634
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center'
|
|
11530
11635
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
11531
11636
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
11532
|
-
}, langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(
|
|
11637
|
+
}, ' ', langdetect == 'en' ? /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowRight.HiOutlineArrowRight, {
|
|
11638
|
+
size: sectionproperties.viewmorebtn_fontSize
|
|
11639
|
+
}) : /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowLeft.HiOutlineArrowLeft, {
|
|
11640
|
+
size: sectionproperties.viewmorebtn_fontSize
|
|
11641
|
+
})))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
11533
11642
|
"class": ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
|
|
11534
11643
|
onClick: function onClick() {
|
|
11535
11644
|
setopenFilterSlider(true);
|
|
@@ -12052,18 +12161,37 @@ var Subheader = function Subheader(props) {
|
|
|
12052
12161
|
}, (props === null || props === void 0 ? void 0 : (_props$subheaderprope3 = props.subheaderpropertiesprops) === null || _props$subheaderprope3 === void 0 ? void 0 : _props$subheaderprope3.subheaderpositionprops) == 'in nav' && (templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
12053
12162
|
if (item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex == 0) {
|
|
12054
12163
|
var _props$subheaderprope4, _props$subheaderprope5;
|
|
12055
|
-
return
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
}
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12164
|
+
return (
|
|
12165
|
+
/*#__PURE__*/
|
|
12166
|
+
// <p
|
|
12167
|
+
// class={`${headerstyles.link} ${header_cssstyles.subheader_category}` + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard '}
|
|
12168
|
+
// // onClick={() => {
|
|
12169
|
+
// // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
12170
|
+
// // }}
|
|
12171
|
+
// // onMouseEnter={() => {
|
|
12172
|
+
// // setshowdownheadermenu(true);
|
|
12173
|
+
// // setChoosenindex(index);
|
|
12174
|
+
// // }}
|
|
12175
|
+
// style={{
|
|
12176
|
+
// marginLeft: langdetect == 'ar' ? props.subheaderpropertiesprops?.paddingLeftprops : 0,
|
|
12177
|
+
// marginRight: langdetect == 'en' ? props.subheaderpropertiesprops?.paddingRightprops : 0,
|
|
12178
|
+
// }}
|
|
12179
|
+
// >
|
|
12180
|
+
// asd
|
|
12181
|
+
// </p>
|
|
12182
|
+
React__default["default"].createElement("p", {
|
|
12183
|
+
onClick: function onClick() {
|
|
12184
|
+
routingcountext(item.navigationroute);
|
|
12185
|
+
},
|
|
12186
|
+
"class": "scrollhorizontalcard mb-0 pb-0",
|
|
12187
|
+
style: {
|
|
12188
|
+
marginLeft: langdetect == 'ar' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope4 = props.subheaderpropertiesprops) === null || _props$subheaderprope4 === void 0 ? void 0 : _props$subheaderprope4.paddingLeftprops : 0,
|
|
12189
|
+
marginRight: langdetect == 'en' ? props === null || props === void 0 ? void 0 : (_props$subheaderprope5 = props.subheaderpropertiesprops) === null || _props$subheaderprope5 === void 0 ? void 0 : _props$subheaderprope5.paddingRightprops : 0
|
|
12190
|
+
}
|
|
12191
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12192
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
12193
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar))
|
|
12194
|
+
);
|
|
12067
12195
|
}
|
|
12068
12196
|
})), sectionproperties.subheaderParentType == 'Categories' && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 ? void 0 : (_fetchCategoriesQuery3 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery3 === void 0 ? void 0 : (_fetchCategoriesQuery4 = _fetchCategoriesQuery3.data) === null || _fetchCategoriesQuery4 === void 0 ? void 0 : _fetchCategoriesQuery4.categories.map(function (item, index) {
|
|
12069
12197
|
if (item.isshowntocustomers == 1) {
|
|
@@ -29708,7 +29836,7 @@ var Footer3 = function Footer3(props) {
|
|
|
29708
29836
|
onClick: function onClick() {
|
|
29709
29837
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
29710
29838
|
}
|
|
29711
|
-
},
|
|
29839
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
29712
29840
|
"class": "".concat(footerStyles.footertitlestyles) + ' pb-0 mb-0 mb-md-3 ml-3 mr-3 ml-md-0 mr-md-0 ',
|
|
29713
29841
|
onClick: function onClick() {
|
|
29714
29842
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
@@ -36037,23 +36165,15 @@ var BackgroundFiveImageStructure = function BackgroundFiveImageStructure(props)
|
|
|
36037
36165
|
imagesarray = _useState4[0],
|
|
36038
36166
|
setimagesarray = _useState4[1];
|
|
36039
36167
|
React.useEffect(function () {
|
|
36040
|
-
|
|
36041
|
-
|
|
36042
|
-
|
|
36043
|
-
|
|
36044
|
-
|
|
36045
|
-
|
|
36046
|
-
|
|
36047
|
-
|
|
36048
|
-
|
|
36049
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
36050
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
36051
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
36052
|
-
});
|
|
36053
|
-
}
|
|
36054
|
-
});
|
|
36055
|
-
setsectionproperties(_objectSpread$15({}, secpropobj));
|
|
36056
|
-
}
|
|
36168
|
+
var secpropobj = {};
|
|
36169
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
36170
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
36171
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
36172
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
36173
|
+
});
|
|
36174
|
+
}
|
|
36175
|
+
});
|
|
36176
|
+
setsectionproperties(_objectSpread$15({}, secpropobj));
|
|
36057
36177
|
}, [StatePagePropertiesContext]);
|
|
36058
36178
|
React.useEffect(function () {
|
|
36059
36179
|
if (sectionproperties.length != 0) {
|
|
@@ -43854,7 +43974,8 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
43854
43974
|
transition: '.3s',
|
|
43855
43975
|
':hover': {
|
|
43856
43976
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
43857
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
43977
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
43978
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
43858
43979
|
}
|
|
43859
43980
|
}),
|
|
43860
43981
|
button_styles: glamor.css({
|
|
@@ -44081,7 +44202,12 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
44081
44202
|
height: sectionproperties.image_height + 'px',
|
|
44082
44203
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
44083
44204
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
44084
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
44205
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
44206
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
|
|
44207
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44208
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
44209
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44210
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
44085
44211
|
},
|
|
44086
44212
|
onClick: function onClick(e) {
|
|
44087
44213
|
event.stopPropagation();
|
|
@@ -44092,10 +44218,9 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
44092
44218
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
44093
44219
|
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44094
44220
|
style: {
|
|
44095
|
-
width: '
|
|
44096
|
-
height: '
|
|
44221
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
44222
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
44097
44223
|
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
44098
|
-
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
|
|
44099
44224
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44100
44225
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
44101
44226
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|