tabexseriescomponents 0.0.746 → 0.0.748
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 +58 -10
- package/dist/index.esm.js +58 -10
- package/dist/index.umd.js +58 -10
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6724,13 +6724,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
6724
6724
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
6725
6725
|
if (Extrafieldvalidationresponse.status) {
|
|
6726
6726
|
var _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
|
|
6727
|
+
// Pixel_EventsContext('AddToCart', {
|
|
6728
|
+
// content_ids: [fetchProductInfoQueryContext?.data?.data?.productinfo?.productid],
|
|
6729
|
+
// content_name: fetchProductInfoQueryContext?.data?.data?.productinfo?.name_en + ' - ' + fetchProductInfoQueryContext?.data?.data?.productinfo?.name_ar,
|
|
6730
|
+
// content_sku: fetchProductInfoQueryContext?.data?.data?.productinfo?.sku,
|
|
6731
|
+
// content_type: 'product',
|
|
6732
|
+
// currency: fetchProductInfoQueryContext?.data?.data?.currencyname_en,
|
|
6733
|
+
// value: fetchProductInfoQueryContext?.data?.data?.productinfo?.defaultprice,
|
|
6734
|
+
// quantity: addtocardpayloadobj.quantity,
|
|
6735
|
+
// });
|
|
6736
|
+
var finalprice = 0;
|
|
6737
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.hassale) == 1) {
|
|
6738
|
+
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
6739
|
+
} else {
|
|
6740
|
+
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
6741
|
+
}
|
|
6727
6742
|
Pixel_EventsContext('AddToCart', {
|
|
6728
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6729
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6730
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6743
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.productid],
|
|
6744
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.name_ar),
|
|
6745
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.sku,
|
|
6731
6746
|
content_type: 'product',
|
|
6732
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6733
|
-
value:
|
|
6747
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.currencyname_en,
|
|
6748
|
+
value: finalprice,
|
|
6734
6749
|
quantity: addtocardpayloadobj.quantity
|
|
6735
6750
|
});
|
|
6736
6751
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
@@ -23782,7 +23797,31 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23782
23797
|
className: "h-100 allcentered"
|
|
23783
23798
|
}, /*#__PURE__*/React__default["default"].createElement(BiChevronDown.BiChevronDown, {
|
|
23784
23799
|
size: 20
|
|
23785
|
-
}))))
|
|
23800
|
+
})))), sectionproperties.langresponsiveposition == 'In Header' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23801
|
+
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-2 ' : ' m-0 cursor-pointer mr-2 ',
|
|
23802
|
+
style: {
|
|
23803
|
+
minWidth: '30px'
|
|
23804
|
+
},
|
|
23805
|
+
onClick: function onClick() {
|
|
23806
|
+
if (langdetect == 'en') {
|
|
23807
|
+
setlang('ar');
|
|
23808
|
+
} else {
|
|
23809
|
+
setlang('en');
|
|
23810
|
+
}
|
|
23811
|
+
}
|
|
23812
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23813
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
23814
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23815
|
+
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
23816
|
+
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
23817
|
+
"class": "h-100 allcentered ml-auto pl-1"
|
|
23818
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23819
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
23820
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23821
|
+
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
23822
|
+
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
23823
|
+
"class": "h-100 allcentered mr-auto pl-3"
|
|
23824
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), menuactive == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23786
23825
|
"class": "px-4 py-4 scrollvertical",
|
|
23787
23826
|
style: {
|
|
23788
23827
|
position: 'fixed',
|
|
@@ -23963,7 +24002,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23963
24002
|
style: {
|
|
23964
24003
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
23965
24004
|
}
|
|
23966
|
-
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24005
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23967
24006
|
className: "row m-0 w-100 anim"
|
|
23968
24007
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23969
24008
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
@@ -24340,7 +24379,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24340
24379
|
style: {
|
|
24341
24380
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
24342
24381
|
}
|
|
24343
|
-
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24382
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24344
24383
|
className: "row m-0 w-100 pl-3 pr-3"
|
|
24345
24384
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24346
24385
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
@@ -24764,7 +24803,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24764
24803
|
style: {
|
|
24765
24804
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
24766
24805
|
}
|
|
24767
|
-
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24806
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24768
24807
|
className: "row m-0 w-100 pl-3 pr-3"
|
|
24769
24808
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24770
24809
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
@@ -72820,7 +72859,16 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
72820
72859
|
"class": "m-0 p-0"
|
|
72821
72860
|
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72822
72861
|
"class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
|
|
72823
|
-
},
|
|
72862
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72863
|
+
"class": "col-lg-12 p-0 allcentered"
|
|
72864
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72865
|
+
"class": "m-0 p-0",
|
|
72866
|
+
style: {
|
|
72867
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
72868
|
+
color: sectionproperties.quantitycolor,
|
|
72869
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
72870
|
+
}
|
|
72871
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ": ", item.currentquantity)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72824
72872
|
"class": "col-lg-12"
|
|
72825
72873
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72826
72874
|
onClick: function onClick() {
|
package/dist/index.esm.js
CHANGED
|
@@ -6675,13 +6675,28 @@ var Productinfo = function Productinfo(props) {
|
|
|
6675
6675
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
6676
6676
|
if (Extrafieldvalidationresponse.status) {
|
|
6677
6677
|
var _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
|
|
6678
|
+
// Pixel_EventsContext('AddToCart', {
|
|
6679
|
+
// content_ids: [fetchProductInfoQueryContext?.data?.data?.productinfo?.productid],
|
|
6680
|
+
// content_name: fetchProductInfoQueryContext?.data?.data?.productinfo?.name_en + ' - ' + fetchProductInfoQueryContext?.data?.data?.productinfo?.name_ar,
|
|
6681
|
+
// content_sku: fetchProductInfoQueryContext?.data?.data?.productinfo?.sku,
|
|
6682
|
+
// content_type: 'product',
|
|
6683
|
+
// currency: fetchProductInfoQueryContext?.data?.data?.currencyname_en,
|
|
6684
|
+
// value: fetchProductInfoQueryContext?.data?.data?.productinfo?.defaultprice,
|
|
6685
|
+
// quantity: addtocardpayloadobj.quantity,
|
|
6686
|
+
// });
|
|
6687
|
+
var finalprice = 0;
|
|
6688
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.hassale) == 1) {
|
|
6689
|
+
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
6690
|
+
} else {
|
|
6691
|
+
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
6692
|
+
}
|
|
6678
6693
|
Pixel_EventsContext('AddToCart', {
|
|
6679
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6680
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6681
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6694
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.productid],
|
|
6695
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.name_ar),
|
|
6696
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.sku,
|
|
6682
6697
|
content_type: 'product',
|
|
6683
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6684
|
-
value:
|
|
6698
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.currencyname_en,
|
|
6699
|
+
value: finalprice,
|
|
6685
6700
|
quantity: addtocardpayloadobj.quantity
|
|
6686
6701
|
});
|
|
6687
6702
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
@@ -23733,7 +23748,31 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23733
23748
|
className: "h-100 allcentered"
|
|
23734
23749
|
}, /*#__PURE__*/React.createElement(BiChevronDown, {
|
|
23735
23750
|
size: 20
|
|
23736
|
-
}))))
|
|
23751
|
+
})))), sectionproperties.langresponsiveposition == 'In Header' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
23752
|
+
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-2 ' : ' m-0 cursor-pointer mr-2 ',
|
|
23753
|
+
style: {
|
|
23754
|
+
minWidth: '30px'
|
|
23755
|
+
},
|
|
23756
|
+
onClick: function onClick() {
|
|
23757
|
+
if (langdetect == 'en') {
|
|
23758
|
+
setlang('ar');
|
|
23759
|
+
} else {
|
|
23760
|
+
setlang('en');
|
|
23761
|
+
}
|
|
23762
|
+
}
|
|
23763
|
+
}, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
|
|
23764
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
23765
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
23766
|
+
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
23767
|
+
}, "En", ' ', /*#__PURE__*/React.createElement("i", {
|
|
23768
|
+
"class": "h-100 allcentered ml-auto pl-1"
|
|
23769
|
+
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
|
|
23770
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
23771
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
23772
|
+
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
23773
|
+
}, "\u0639", ' ', /*#__PURE__*/React.createElement("i", {
|
|
23774
|
+
"class": "h-100 allcentered mr-auto pl-3"
|
|
23775
|
+
}, /*#__PURE__*/React.createElement(BsChevronDown, null)))))), menuactive == true && /*#__PURE__*/React.createElement("div", {
|
|
23737
23776
|
"class": "px-4 py-4 scrollvertical",
|
|
23738
23777
|
style: {
|
|
23739
23778
|
position: 'fixed',
|
|
@@ -23914,7 +23953,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
23914
23953
|
style: {
|
|
23915
23954
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
23916
23955
|
}
|
|
23917
|
-
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
23956
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React.createElement("div", {
|
|
23918
23957
|
className: "row m-0 w-100 anim"
|
|
23919
23958
|
}, /*#__PURE__*/React.createElement("div", {
|
|
23920
23959
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
@@ -24291,7 +24330,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24291
24330
|
style: {
|
|
24292
24331
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
24293
24332
|
}
|
|
24294
|
-
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
24333
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React.createElement("div", {
|
|
24295
24334
|
className: "row m-0 w-100 pl-3 pr-3"
|
|
24296
24335
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24297
24336
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
@@ -24715,7 +24754,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
24715
24754
|
style: {
|
|
24716
24755
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
24717
24756
|
}
|
|
24718
|
-
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
24757
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React.createElement("div", {
|
|
24719
24758
|
className: "row m-0 w-100 pl-3 pr-3"
|
|
24720
24759
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24721
24760
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
@@ -72771,7 +72810,16 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
72771
72810
|
"class": "m-0 p-0"
|
|
72772
72811
|
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React.createElement("div", {
|
|
72773
72812
|
"class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
|
|
72774
|
-
},
|
|
72813
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
72814
|
+
"class": "col-lg-12 p-0 allcentered"
|
|
72815
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
72816
|
+
"class": "m-0 p-0",
|
|
72817
|
+
style: {
|
|
72818
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
72819
|
+
color: sectionproperties.quantitycolor,
|
|
72820
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
72821
|
+
}
|
|
72822
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ": ", item.currentquantity)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
72775
72823
|
"class": "col-lg-12"
|
|
72776
72824
|
}, /*#__PURE__*/React.createElement("p", {
|
|
72777
72825
|
onClick: function onClick() {
|
package/dist/index.umd.js
CHANGED
|
@@ -6545,13 +6545,28 @@
|
|
|
6545
6545
|
var Extrafieldvalidationresponse = validateextrafields();
|
|
6546
6546
|
if (Extrafieldvalidationresponse.status) {
|
|
6547
6547
|
var _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
|
|
6548
|
+
// Pixel_EventsContext('AddToCart', {
|
|
6549
|
+
// content_ids: [fetchProductInfoQueryContext?.data?.data?.productinfo?.productid],
|
|
6550
|
+
// content_name: fetchProductInfoQueryContext?.data?.data?.productinfo?.name_en + ' - ' + fetchProductInfoQueryContext?.data?.data?.productinfo?.name_ar,
|
|
6551
|
+
// content_sku: fetchProductInfoQueryContext?.data?.data?.productinfo?.sku,
|
|
6552
|
+
// content_type: 'product',
|
|
6553
|
+
// currency: fetchProductInfoQueryContext?.data?.data?.currencyname_en,
|
|
6554
|
+
// value: fetchProductInfoQueryContext?.data?.data?.productinfo?.defaultprice,
|
|
6555
|
+
// quantity: addtocardpayloadobj.quantity,
|
|
6556
|
+
// });
|
|
6557
|
+
var finalprice = 0;
|
|
6558
|
+
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer19 === void 0 || (_fetchProductInfoQuer19 = _fetchProductInfoQuer19.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.hassale) == 1) {
|
|
6559
|
+
finalprice = getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted);
|
|
6560
|
+
} else {
|
|
6561
|
+
finalprice = getprice_discountpriceprops('defaultprice', 0, variantindexcompleted);
|
|
6562
|
+
}
|
|
6548
6563
|
Pixel_EventsContext('AddToCart', {
|
|
6549
|
-
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6550
|
-
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6551
|
-
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6564
|
+
content_ids: [fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer20 === void 0 || (_fetchProductInfoQuer20 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : _fetchProductInfoQuer20.productid],
|
|
6565
|
+
content_name: (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer21 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.data) === null || _fetchProductInfoQuer21 === void 0 || (_fetchProductInfoQuer21 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.name_en) + ' - ' + (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer22 === void 0 || (_fetchProductInfoQuer22 = _fetchProductInfoQuer22.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.name_ar),
|
|
6566
|
+
content_sku: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer23 === void 0 || (_fetchProductInfoQuer23 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : _fetchProductInfoQuer23.sku,
|
|
6552
6567
|
content_type: 'product',
|
|
6553
|
-
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (
|
|
6554
|
-
value:
|
|
6568
|
+
currency: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer24 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer24 === void 0 || (_fetchProductInfoQuer24 = _fetchProductInfoQuer24.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.currencyname_en,
|
|
6569
|
+
value: finalprice,
|
|
6555
6570
|
quantity: addtocardpayloadobj.quantity
|
|
6556
6571
|
});
|
|
6557
6572
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
@@ -23603,7 +23618,31 @@
|
|
|
23603
23618
|
className: "h-100 allcentered"
|
|
23604
23619
|
}, /*#__PURE__*/React__default["default"].createElement(BiChevronDown.BiChevronDown, {
|
|
23605
23620
|
size: 20
|
|
23606
|
-
}))))
|
|
23621
|
+
})))), sectionproperties.langresponsiveposition == 'In Header' && sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23622
|
+
"class": langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-2 ' : ' m-0 cursor-pointer mr-2 ',
|
|
23623
|
+
style: {
|
|
23624
|
+
minWidth: '30px'
|
|
23625
|
+
},
|
|
23626
|
+
onClick: function onClick() {
|
|
23627
|
+
if (langdetect == 'en') {
|
|
23628
|
+
setlang('ar');
|
|
23629
|
+
} else {
|
|
23630
|
+
setlang('en');
|
|
23631
|
+
}
|
|
23632
|
+
}
|
|
23633
|
+
}, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23634
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
23635
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23636
|
+
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
23637
|
+
}, "En", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
23638
|
+
"class": "h-100 allcentered ml-auto pl-1"
|
|
23639
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23640
|
+
"class": "".concat(header_cssstyles.languagecontainer) + ' row m-0 allcentered w-100 '
|
|
23641
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23642
|
+
"class": "m-0 p-0 d-flex align-items-center w-100"
|
|
23643
|
+
}, "\u0639", ' ', /*#__PURE__*/React__default["default"].createElement("i", {
|
|
23644
|
+
"class": "h-100 allcentered mr-auto pl-3"
|
|
23645
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronDown.BsChevronDown, null)))))), menuactive == true && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23607
23646
|
"class": "px-4 py-4 scrollvertical",
|
|
23608
23647
|
style: {
|
|
23609
23648
|
position: 'fixed',
|
|
@@ -23784,7 +23823,7 @@
|
|
|
23784
23823
|
style: {
|
|
23785
23824
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
23786
23825
|
}
|
|
23787
|
-
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23826
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23788
23827
|
className: "row m-0 w-100 anim"
|
|
23789
23828
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23790
23829
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
@@ -24161,7 +24200,7 @@
|
|
|
24161
24200
|
style: {
|
|
24162
24201
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
24163
24202
|
}
|
|
24164
|
-
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24203
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24165
24204
|
className: "row m-0 w-100 pl-3 pr-3"
|
|
24166
24205
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24167
24206
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
@@ -24585,7 +24624,7 @@
|
|
|
24585
24624
|
style: {
|
|
24586
24625
|
borderColor: sectionproperties.resp_header_separatorbg
|
|
24587
24626
|
}
|
|
24588
|
-
}))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24627
|
+
}))), sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.langresponsiveposition == 'In Menu' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24589
24628
|
className: "row m-0 w-100 pl-3 pr-3"
|
|
24590
24629
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
24591
24630
|
"class": header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 ',
|
|
@@ -72641,7 +72680,16 @@
|
|
|
72641
72680
|
"class": "m-0 p-0"
|
|
72642
72681
|
}, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72643
72682
|
"class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
|
|
72644
|
-
},
|
|
72683
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72684
|
+
"class": "col-lg-12 p-0 allcentered"
|
|
72685
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72686
|
+
"class": "m-0 p-0",
|
|
72687
|
+
style: {
|
|
72688
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
72689
|
+
color: sectionproperties.quantitycolor,
|
|
72690
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
72691
|
+
}
|
|
72692
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, ": ", item.currentquantity)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72645
72693
|
"class": "col-lg-12"
|
|
72646
72694
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
72647
72695
|
onClick: function onClick() {
|