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.esm.js
CHANGED
|
@@ -77,6 +77,8 @@ import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircle
|
|
|
77
77
|
import { FiFilter } from '@react-icons/all-files/fi/FiFilter';
|
|
78
78
|
import { FiChevronLeft } from '@react-icons/all-files/fi/FiChevronLeft';
|
|
79
79
|
import { FiChevronRight } from '@react-icons/all-files/fi/FiChevronRight';
|
|
80
|
+
import { HiOutlineArrowRight } from '@react-icons/all-files/hi/HiOutlineArrowRight';
|
|
81
|
+
import { HiOutlineArrowLeft } from '@react-icons/all-files/hi/HiOutlineArrowLeft';
|
|
80
82
|
import ReactPaginate from 'react-paginate';
|
|
81
83
|
import { BiGlobe } from '@react-icons/all-files/bi/BiGlobe';
|
|
82
84
|
import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
|
|
@@ -775,13 +777,7 @@ var Login = function Login(props) {
|
|
|
775
777
|
style: {
|
|
776
778
|
background: 'transparent'
|
|
777
779
|
}
|
|
778
|
-
}), /*#__PURE__*/React.createElement("
|
|
779
|
-
className: langdetect == 'en' ? loginstyles$1.login_input_icon + ' login_input_icon ' : loginstyles$1.login_input_icontrans + ' login_input_icon '
|
|
780
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
781
|
-
className: "h-100 d-flex align-items-center justify-content-center"
|
|
782
|
-
}, /*#__PURE__*/React.createElement(AiOutlineUser, {
|
|
783
|
-
size: 18
|
|
784
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
780
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
785
781
|
className: "col-lg-12 col-md-12 col-sm-12 p-sm-0"
|
|
786
782
|
}, /*#__PURE__*/React.createElement("label", {
|
|
787
783
|
className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
|
|
@@ -795,11 +791,7 @@ var Login = function Login(props) {
|
|
|
795
791
|
temppayloadobj.password = event.target.value;
|
|
796
792
|
setpayloadobj(_objectSpread$21({}, temppayloadobj));
|
|
797
793
|
}
|
|
798
|
-
}), /*#__PURE__*/React.createElement("
|
|
799
|
-
className: langdetect == 'en' ? loginstyles$1.login_input_icon : loginstyles$1.login_input_icontrans
|
|
800
|
-
}, /*#__PURE__*/React.createElement("i", {
|
|
801
|
-
className: "fa fa-at h-100 d-flex align-items-center justify-content-center ml-1"
|
|
802
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
794
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
803
795
|
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 ",
|
|
804
796
|
onClick: function onClick() {
|
|
805
797
|
setforgetpasswordmodal(true);
|
|
@@ -1280,7 +1272,7 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1280
1272
|
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; }
|
|
1281
1273
|
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(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; }
|
|
1282
1274
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1283
|
-
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;
|
|
1275
|
+
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;
|
|
1284
1276
|
var lang = props.actions.lang;
|
|
1285
1277
|
var langdetect = props.actions.langdetect;
|
|
1286
1278
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -1538,7 +1530,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1538
1530
|
}
|
|
1539
1531
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1540
1532
|
className: "row m-0 w-100 d-flex align-items-center"
|
|
1541
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
1533
|
+
}, (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.createElement("div", {
|
|
1542
1534
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
1543
1535
|
}, /*#__PURE__*/React.createElement("p", {
|
|
1544
1536
|
className: "m-0 p-0",
|
|
@@ -1548,7 +1540,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1548
1540
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
1549
1541
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1550
1542
|
}
|
|
1551
|
-
}, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
1543
|
+
}, 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.createElement("button", {
|
|
1552
1544
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
1553
1545
|
style: {
|
|
1554
1546
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -1584,11 +1576,16 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
1584
1576
|
style: {
|
|
1585
1577
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
|
|
1586
1578
|
}
|
|
1587
|
-
}))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
1579
|
+
}))), 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.createElement("button", {
|
|
1588
1580
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
1589
1581
|
onClick: function onClick() {
|
|
1590
1582
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
1591
|
-
|
|
1583
|
+
var _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39;
|
|
1584
|
+
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) {
|
|
1585
|
+
addtocartfunc();
|
|
1586
|
+
} else {
|
|
1587
|
+
routingcountext(StaticPagesLinksContext.Checkout);
|
|
1588
|
+
}
|
|
1592
1589
|
} else {
|
|
1593
1590
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
1594
1591
|
}
|
|
@@ -2378,7 +2375,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
2378
2375
|
};
|
|
2379
2376
|
|
|
2380
2377
|
var Service_itemtype = function Service_itemtype(props) {
|
|
2381
|
-
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9;
|
|
2378
|
+
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18;
|
|
2382
2379
|
var lang = props.actions.lang;
|
|
2383
2380
|
var langdetect = props.actions.langdetect;
|
|
2384
2381
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -2522,8 +2519,35 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2522
2519
|
"class": "row m-0 w-100"
|
|
2523
2520
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2524
2521
|
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"
|
|
2522
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2523
|
+
"class": "row m-0 w-100"
|
|
2524
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2525
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2525
2526
|
}, ProductName()), /*#__PURE__*/React.createElement("div", {
|
|
2526
|
-
"class": "col-lg-
|
|
2527
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2528
|
+
}, /*#__PURE__*/React.createElement(ReactStars, {
|
|
2529
|
+
count: 5,
|
|
2530
|
+
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,
|
|
2531
|
+
edit: false,
|
|
2532
|
+
size: 18,
|
|
2533
|
+
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
2534
|
+
className: "far fa-star",
|
|
2535
|
+
style: {
|
|
2536
|
+
color: '#FAB400'
|
|
2537
|
+
}
|
|
2538
|
+
}),
|
|
2539
|
+
halfIcon: /*#__PURE__*/React.createElement("i", {
|
|
2540
|
+
className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
|
|
2541
|
+
}),
|
|
2542
|
+
filledIcon: /*#__PURE__*/React.createElement("i", {
|
|
2543
|
+
className: "fa fa-star",
|
|
2544
|
+
style: {
|
|
2545
|
+
color: '#FAB400'
|
|
2546
|
+
}
|
|
2547
|
+
}),
|
|
2548
|
+
activeColor: "#ffd700"
|
|
2549
|
+
})))), (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.createElement("div", {
|
|
2550
|
+
className: "col-lg-4 col-md-4 col-sm-4 p-0 mb-1 d-flex justify-content-end align-items-center"
|
|
2527
2551
|
}, sectionproperties.show_availability == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
2528
2552
|
"class": "d-flex justify-content-center align-items-center ml-2 mr-2",
|
|
2529
2553
|
style: {
|
|
@@ -2539,24 +2563,37 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2539
2563
|
color: fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? sectionproperties.availability_availabletextcolor : sectionproperties.availability_limitedtextcolor,
|
|
2540
2564
|
fontSize: sectionproperties.availability_fontsize + 'px'
|
|
2541
2565
|
}
|
|
2542
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity)),
|
|
2543
|
-
"class": "allcentered",
|
|
2544
|
-
style: {
|
|
2545
|
-
width: sectionproperties.badge_width + 'px',
|
|
2546
|
-
height: sectionproperties.badge_height + 'px',
|
|
2547
|
-
background: sectionproperties.badge_bgcolor,
|
|
2548
|
-
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
2549
|
-
}
|
|
2550
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
2551
|
-
"class": "m-0 p-0",
|
|
2552
|
-
style: {
|
|
2553
|
-
color: sectionproperties.badge_color,
|
|
2554
|
-
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
2555
|
-
}
|
|
2556
|
-
}, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React.createElement("div", {
|
|
2566
|
+
}, fetchProductInfoQueryContext.data.data.productinfo.quantavailtype == 'nolimit' ? lang.available : lang.limitedquantity))), /*#__PURE__*/React.createElement("div", {
|
|
2557
2567
|
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"
|
|
2558
|
-
},
|
|
2559
|
-
"class":
|
|
2568
|
+
}, ' ', /*#__PURE__*/React.createElement("div", {
|
|
2569
|
+
"class": "row m-0 w-100"
|
|
2570
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
2571
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2572
|
+
}, ProductName()), /*#__PURE__*/React.createElement("div", {
|
|
2573
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start"
|
|
2574
|
+
}, /*#__PURE__*/React.createElement(ReactStars, {
|
|
2575
|
+
count: 5,
|
|
2576
|
+
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,
|
|
2577
|
+
edit: false,
|
|
2578
|
+
size: 18,
|
|
2579
|
+
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
2580
|
+
className: "far fa-star",
|
|
2581
|
+
style: {
|
|
2582
|
+
color: '#FAB400'
|
|
2583
|
+
}
|
|
2584
|
+
}),
|
|
2585
|
+
halfIcon: /*#__PURE__*/React.createElement("i", {
|
|
2586
|
+
className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
|
|
2587
|
+
}),
|
|
2588
|
+
filledIcon: /*#__PURE__*/React.createElement("i", {
|
|
2589
|
+
className: "fa fa-star",
|
|
2590
|
+
style: {
|
|
2591
|
+
color: '#FAB400'
|
|
2592
|
+
}
|
|
2593
|
+
}),
|
|
2594
|
+
activeColor: "#ffd700"
|
|
2595
|
+
})))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
2596
|
+
"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'
|
|
2560
2597
|
}, /*#__PURE__*/React.createElement("p", {
|
|
2561
2598
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
2562
2599
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -2574,7 +2611,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2574
2611
|
fontSize: sectionproperties.skuFontSize + 'px',
|
|
2575
2612
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2576
2613
|
}
|
|
2577
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2614
|
+
}, 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.createElement("div", {
|
|
2578
2615
|
"class": "mb-4 col-lg-12 d-flex flex-row flex-sm-column allcentered",
|
|
2579
2616
|
style: {
|
|
2580
2617
|
width: '100%',
|
|
@@ -2599,7 +2636,7 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
2599
2636
|
style: {
|
|
2600
2637
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
2601
2638
|
}
|
|
2602
|
-
}, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
2639
|
+
}, 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.createElement(ProductHeaderPricing, {
|
|
2603
2640
|
actions: props.actions
|
|
2604
2641
|
}), /*#__PURE__*/React.createElement("div", {
|
|
2605
2642
|
"class": "col-lg-12 d-flex align-items-center justify-content-start p-0 flex-column"
|
|
@@ -2915,6 +2952,7 @@ var AddReview = function AddReview(props) {
|
|
|
2915
2952
|
if (data.data.status) {
|
|
2916
2953
|
NotificationManager.success('', 'Success');
|
|
2917
2954
|
addreviewcallback();
|
|
2955
|
+
window.location.reload();
|
|
2918
2956
|
} else {
|
|
2919
2957
|
NotificationManager.warning('', data.data.reason);
|
|
2920
2958
|
}
|
|
@@ -6522,7 +6560,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
6522
6560
|
}, Summary()))))));
|
|
6523
6561
|
};
|
|
6524
6562
|
|
|
6525
|
-
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
|
|
6563
|
+
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";
|
|
6526
6564
|
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-"};
|
|
6527
6565
|
styleInject(css_248z$F);
|
|
6528
6566
|
|
|
@@ -7028,7 +7066,10 @@ var Checkout = function Checkout(props) {
|
|
|
7028
7066
|
cartarr.data.customercart.couponname = event.target.value;
|
|
7029
7067
|
queryClient.setQueryData('fetchcustomercart_API', cartarr);
|
|
7030
7068
|
},
|
|
7031
|
-
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
|
|
7069
|
+
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,
|
|
7070
|
+
style: {
|
|
7071
|
+
boxShadow: 'none'
|
|
7072
|
+
}
|
|
7032
7073
|
})), /*#__PURE__*/React.createElement("div", {
|
|
7033
7074
|
className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center"
|
|
7034
7075
|
}, /*#__PURE__*/React.createElement("button", {
|
|
@@ -7343,7 +7384,8 @@ var Checkout = function Checkout(props) {
|
|
|
7343
7384
|
cartinfoupdater('mobile', event.target.value);
|
|
7344
7385
|
},
|
|
7345
7386
|
style: {
|
|
7346
|
-
resize: 'none'
|
|
7387
|
+
resize: 'none',
|
|
7388
|
+
boxShadow: 'none'
|
|
7347
7389
|
}
|
|
7348
7390
|
})), /*#__PURE__*/React.createElement("div", {
|
|
7349
7391
|
className: "col-lg-4 col-md-12 mb-3"
|
|
@@ -7355,6 +7397,9 @@ var Checkout = function Checkout(props) {
|
|
|
7355
7397
|
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,
|
|
7356
7398
|
onChange: function onChange(event) {
|
|
7357
7399
|
cartinfoupdater('email', event.target.value);
|
|
7400
|
+
},
|
|
7401
|
+
style: {
|
|
7402
|
+
boxShadow: 'none'
|
|
7358
7403
|
}
|
|
7359
7404
|
}))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
7360
7405
|
"class": "col-lg-12 p-0"
|
|
@@ -7472,7 +7517,8 @@ var Checkout = function Checkout(props) {
|
|
|
7472
7517
|
cartinfoupdater('address', event.target.value);
|
|
7473
7518
|
},
|
|
7474
7519
|
style: {
|
|
7475
|
-
resize: 'none'
|
|
7520
|
+
resize: 'none',
|
|
7521
|
+
boxShadow: 'none'
|
|
7476
7522
|
}
|
|
7477
7523
|
})))), sectionproperties.shownotes == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
7478
7524
|
className: "col-lg-12 mb-3"
|
|
@@ -7486,7 +7532,8 @@ var Checkout = function Checkout(props) {
|
|
|
7486
7532
|
cartinfoupdater('notes', event.target.value);
|
|
7487
7533
|
},
|
|
7488
7534
|
style: {
|
|
7489
|
-
resize: 'none'
|
|
7535
|
+
resize: 'none',
|
|
7536
|
+
boxShadow: 'none'
|
|
7490
7537
|
}
|
|
7491
7538
|
}))))), /*#__PURE__*/React.createElement("div", {
|
|
7492
7539
|
className: "col-lg-12 p-0 w-100"
|
|
@@ -7683,7 +7730,7 @@ var Select = /*#__PURE__*/React.lazy(function () {
|
|
|
7683
7730
|
return import('react-select');
|
|
7684
7731
|
});
|
|
7685
7732
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
7686
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _fetchAuthorizationQu4, _fetchAuthorizationQu5, _fetchAuthorizationQu6, _css;
|
|
7733
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _fetchAuthorizationQu4, _fetchAuthorizationQu5, _fetchAuthorizationQu6, _css, _authdetailsContext$c, _authdetailsContext$c2;
|
|
7687
7734
|
var lang = props.actions.lang;
|
|
7688
7735
|
var langdetect = props.actions.langdetect;
|
|
7689
7736
|
props.actions.routingcountext;
|
|
@@ -8241,7 +8288,57 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
8241
8288
|
className: "col-lg-12 p-0"
|
|
8242
8289
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8243
8290
|
className: "row ml-0 mr-0 w-100"
|
|
8291
|
+
}, sectionproperties.showsubscription == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
8292
|
+
className: "col-lg-6 col-md-6 col-sm-12 mb-3"
|
|
8244
8293
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8294
|
+
style: {
|
|
8295
|
+
background: sectionproperties.backgroundColor,
|
|
8296
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8297
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8298
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
8299
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
8300
|
+
},
|
|
8301
|
+
className: "px-2 py-3 flex-column"
|
|
8302
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8303
|
+
"class": "m-0 p-0 allcentered ",
|
|
8304
|
+
style: {
|
|
8305
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8306
|
+
color: sectionproperties.sectionTitleColor,
|
|
8307
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8308
|
+
}
|
|
8309
|
+
}, langdetect == 'en' ? 'Subscribed at' : 'مشترك فى'), /*#__PURE__*/React.createElement("p", {
|
|
8310
|
+
"class": "m-0 p-0 allcentered ",
|
|
8311
|
+
style: {
|
|
8312
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8313
|
+
color: sectionproperties.sectionTitleColor,
|
|
8314
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8315
|
+
}
|
|
8316
|
+
}, 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.createElement("div", {
|
|
8317
|
+
className: "col-lg-6 col-md-6 col-sm-12 mb-3"
|
|
8318
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8319
|
+
style: {
|
|
8320
|
+
background: sectionproperties.backgroundColor,
|
|
8321
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
8322
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
8323
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
8324
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px'
|
|
8325
|
+
},
|
|
8326
|
+
className: "px-2 py-3 allcentered flex-column"
|
|
8327
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8328
|
+
"class": "m-0 p-0",
|
|
8329
|
+
style: {
|
|
8330
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8331
|
+
color: sectionproperties.sectionTitleColor,
|
|
8332
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8333
|
+
}
|
|
8334
|
+
}, langdetect == 'en' ? 'Subscription end on' : 'الإشتراك ينتهى فى'), /*#__PURE__*/React.createElement("p", {
|
|
8335
|
+
"class": "m-0 p-0",
|
|
8336
|
+
style: {
|
|
8337
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
8338
|
+
color: sectionproperties.sectionTitleColor,
|
|
8339
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
8340
|
+
}
|
|
8341
|
+
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c2 = authdetailsContext.customerinfo) === null || _authdetailsContext$c2 === void 0 ? void 0 : _authdetailsContext$c2.subscrption_enddate))), /*#__PURE__*/React.createElement("div", {
|
|
8245
8342
|
className: "col-lg-12 mb-3 p-0"
|
|
8246
8343
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8247
8344
|
style: {
|
|
@@ -11474,15 +11571,27 @@ var CardsSection = function CardsSection(props) {
|
|
|
11474
11571
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
11475
11572
|
}
|
|
11476
11573
|
}
|
|
11477
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
11574
|
+
}, sectionproperties.viewmorebtntype == 'Text' && /*#__PURE__*/React.createElement("span", {
|
|
11478
11575
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center' : 'd-flex justify-content-center align-items-center d-md-none'
|
|
11479
11576
|
}, /*#__PURE__*/React.createElement("span", {
|
|
11480
11577
|
"class": sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''
|
|
11481
|
-
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar)), /*#__PURE__*/React.createElement("span", {
|
|
11578
|
+
}, langdetect == 'en' ? sectionproperties.viewmorebtn_text : sectionproperties.viewmorebtn_text_ar)), sectionproperties.viewmorebtntype == 'Icon' && /*#__PURE__*/React.createElement("span", {
|
|
11579
|
+
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-flex justify-content-center align-items-center' : 'd-flex justify-content-center align-items-center d-md-none'
|
|
11580
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
11581
|
+
"class": "h-100 allcentered"
|
|
11582
|
+
}, langdetect == 'en' ? /*#__PURE__*/React.createElement(HiOutlineArrowRight, {
|
|
11583
|
+
size: sectionproperties.viewmorebtn_fontSize
|
|
11584
|
+
}) : /*#__PURE__*/React.createElement(HiOutlineArrowLeft, {
|
|
11585
|
+
size: sectionproperties.viewmorebtn_fontSize
|
|
11586
|
+
}))), /*#__PURE__*/React.createElement("span", {
|
|
11482
11587
|
"class": sectionproperties.sectiontitleposition == 'Centered' ? 'd-none align-items-center justify-content-center' : 'd-none d-md-flex align-items-center justify-content-center'
|
|
11483
11588
|
}, /*#__PURE__*/React.createElement("i", {
|
|
11484
11589
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
11485
|
-
},
|
|
11590
|
+
}, ' ', langdetect == 'en' ? /*#__PURE__*/React.createElement(HiOutlineArrowRight, {
|
|
11591
|
+
size: sectionproperties.viewmorebtn_fontSize
|
|
11592
|
+
}) : /*#__PURE__*/React.createElement(HiOutlineArrowLeft, {
|
|
11593
|
+
size: sectionproperties.viewmorebtn_fontSize
|
|
11594
|
+
})))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React.createElement("button", {
|
|
11486
11595
|
"class": ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
|
|
11487
11596
|
onClick: function onClick() {
|
|
11488
11597
|
setopenFilterSlider(true);
|
|
@@ -12005,18 +12114,37 @@ var Subheader = function Subheader(props) {
|
|
|
12005
12114
|
}, (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) {
|
|
12006
12115
|
if (item.isnavigation == 1 && item.isactive == 1 && item.pageorderindex == 0) {
|
|
12007
12116
|
var _props$subheaderprope4, _props$subheaderprope5;
|
|
12008
|
-
return
|
|
12009
|
-
|
|
12010
|
-
|
|
12011
|
-
}
|
|
12012
|
-
|
|
12013
|
-
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
12117
|
+
return (
|
|
12118
|
+
/*#__PURE__*/
|
|
12119
|
+
// <p
|
|
12120
|
+
// class={`${headerstyles.link} ${header_cssstyles.subheader_category}` + ' mb-0 p-0 ml-md-3 mr-md-3 scrollhorizontalcard '}
|
|
12121
|
+
// // onClick={() => {
|
|
12122
|
+
// // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
|
|
12123
|
+
// // }}
|
|
12124
|
+
// // onMouseEnter={() => {
|
|
12125
|
+
// // setshowdownheadermenu(true);
|
|
12126
|
+
// // setChoosenindex(index);
|
|
12127
|
+
// // }}
|
|
12128
|
+
// style={{
|
|
12129
|
+
// marginLeft: langdetect == 'ar' ? props.subheaderpropertiesprops?.paddingLeftprops : 0,
|
|
12130
|
+
// marginRight: langdetect == 'en' ? props.subheaderpropertiesprops?.paddingRightprops : 0,
|
|
12131
|
+
// }}
|
|
12132
|
+
// >
|
|
12133
|
+
// asd
|
|
12134
|
+
// </p>
|
|
12135
|
+
React.createElement("p", {
|
|
12136
|
+
onClick: function onClick() {
|
|
12137
|
+
routingcountext(item.navigationroute);
|
|
12138
|
+
},
|
|
12139
|
+
"class": "scrollhorizontalcard mb-0 pb-0",
|
|
12140
|
+
style: {
|
|
12141
|
+
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,
|
|
12142
|
+
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
|
|
12143
|
+
}
|
|
12144
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
12145
|
+
"class": "".concat(headerstyles$f.link, " ").concat(header_cssstyles.subheader_category) + ' mb-0 p-0 ml-md-3 mr-md-3 '
|
|
12146
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar))
|
|
12147
|
+
);
|
|
12020
12148
|
}
|
|
12021
12149
|
})), 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) {
|
|
12022
12150
|
if (item.isshowntocustomers == 1) {
|
|
@@ -29661,7 +29789,7 @@ var Footer3 = function Footer3(props) {
|
|
|
29661
29789
|
onClick: function onClick() {
|
|
29662
29790
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
29663
29791
|
}
|
|
29664
|
-
},
|
|
29792
|
+
}, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear), /*#__PURE__*/React.createElement("p", {
|
|
29665
29793
|
"class": "".concat(footerStyles.footertitlestyles) + ' pb-0 mb-0 mb-md-3 ml-3 mr-3 ml-md-0 mr-md-0 ',
|
|
29666
29794
|
onClick: function onClick() {
|
|
29667
29795
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
@@ -35990,23 +36118,15 @@ var BackgroundFiveImageStructure = function BackgroundFiveImageStructure(props)
|
|
|
35990
36118
|
imagesarray = _useState4[0],
|
|
35991
36119
|
setimagesarray = _useState4[1];
|
|
35992
36120
|
useEffect(function () {
|
|
35993
|
-
|
|
35994
|
-
|
|
35995
|
-
|
|
35996
|
-
|
|
35997
|
-
|
|
35998
|
-
|
|
35999
|
-
|
|
36000
|
-
|
|
36001
|
-
|
|
36002
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
36003
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
36004
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
36005
|
-
});
|
|
36006
|
-
}
|
|
36007
|
-
});
|
|
36008
|
-
setsectionproperties(_objectSpread$15({}, secpropobj));
|
|
36009
|
-
}
|
|
36121
|
+
var secpropobj = {};
|
|
36122
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
36123
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
36124
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
36125
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
36126
|
+
});
|
|
36127
|
+
}
|
|
36128
|
+
});
|
|
36129
|
+
setsectionproperties(_objectSpread$15({}, secpropobj));
|
|
36010
36130
|
}, [StatePagePropertiesContext]);
|
|
36011
36131
|
useEffect(function () {
|
|
36012
36132
|
if (sectionproperties.length != 0) {
|
|
@@ -43807,7 +43927,8 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
43807
43927
|
transition: '.3s',
|
|
43808
43928
|
':hover': {
|
|
43809
43929
|
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
43810
|
-
color: sectionproperties.cartBtnTextcoloronhover
|
|
43930
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
43931
|
+
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
43811
43932
|
}
|
|
43812
43933
|
}),
|
|
43813
43934
|
button_styles: css({
|
|
@@ -44034,7 +44155,12 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
44034
44155
|
height: sectionproperties.image_height + 'px',
|
|
44035
44156
|
marginBottom: sectionproperties.image_mb + 'px',
|
|
44036
44157
|
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
44037
|
-
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px'
|
|
44158
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
44159
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
|
|
44160
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44161
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
44162
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
44163
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'
|
|
44038
44164
|
},
|
|
44039
44165
|
onClick: function onClick(e) {
|
|
44040
44166
|
event.stopPropagation();
|
|
@@ -44045,10 +44171,9 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
|
|
|
44045
44171
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
44046
44172
|
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
44047
44173
|
style: {
|
|
44048
|
-
width: '
|
|
44049
|
-
height: '
|
|
44174
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
44175
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
44050
44176
|
objectFit: sectionproperties.bgcovercontain == 'Contain' ? 'contain' : 'cover',
|
|
44051
|
-
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
|
|
44052
44177
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
44053
44178
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
44054
44179
|
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|