tabexseriescomponents 0.0.418 → 0.0.420
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 +92 -34
- package/dist/index.esm.js +92 -34
- package/dist/index.umd.js +92 -34
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2517,7 +2517,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2517
2517
|
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
2518
2518
|
items: productimagesarray,
|
|
2519
2519
|
thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
|
|
2520
|
-
showNav:
|
|
2520
|
+
showNav: true,
|
|
2521
2521
|
showPlayButton: false,
|
|
2522
2522
|
showFullscreenButton: sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false,
|
|
2523
2523
|
startIndex: currentshowingimageindex
|
|
@@ -8649,7 +8649,7 @@ var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
8649
8649
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
8650
8650
|
});
|
|
8651
8651
|
var Checkout = function Checkout(props) {
|
|
8652
|
-
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75;
|
|
8652
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _authdetailsContext$i4, _fetchcustomercartQue75, _authdetailsContext$i5, _fetchcustomercartQue77, _fetchcustomercartQue79;
|
|
8653
8653
|
var _useState = React.useState(null),
|
|
8654
8654
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
8655
8655
|
_useState2[0];
|
|
@@ -9878,7 +9878,49 @@ var Checkout = function Checkout(props) {
|
|
|
9878
9878
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9879
9879
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9880
9880
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9881
|
-
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية')))
|
|
9881
|
+
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9882
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9883
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9884
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
9885
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9886
|
+
type: "checkbox",
|
|
9887
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9888
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.customercart) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.paymentmethod) == 'forsa' ? true : false,
|
|
9889
|
+
onChange: function onChange() {
|
|
9890
|
+
var _fetchcustomercartQue76;
|
|
9891
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.customercart) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.paymentmethod) != 'forsa') {
|
|
9892
|
+
cartinfoupdater('paymentmethod', 'forsa');
|
|
9893
|
+
}
|
|
9894
|
+
}
|
|
9895
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9896
|
+
viewBox: "0 0 21 21",
|
|
9897
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9898
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
9899
|
+
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9900
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9901
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9902
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9903
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9904
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9905
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
9906
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9907
|
+
type: "checkbox",
|
|
9908
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9909
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.paymentmethod) == 'bankinstallments' ? true : false,
|
|
9910
|
+
onChange: function onChange() {
|
|
9911
|
+
var _fetchcustomercartQue78;
|
|
9912
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) != 'bankinstallments') {
|
|
9913
|
+
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
9914
|
+
}
|
|
9915
|
+
}
|
|
9916
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9917
|
+
viewBox: "0 0 21 21",
|
|
9918
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9919
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
9920
|
+
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9921
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9922
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9923
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9882
9924
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9883
9925
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9884
9926
|
style: {
|
|
@@ -13783,7 +13825,12 @@ var Filter$1 = function Filter(props) {
|
|
|
13783
13825
|
});
|
|
13784
13826
|
if (!CollectionExists) {
|
|
13785
13827
|
if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
|
|
13786
|
-
|
|
13828
|
+
if (sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal') {
|
|
13829
|
+
tempfetchproductsfilerobjcontext.collections = [];
|
|
13830
|
+
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
13831
|
+
} else {
|
|
13832
|
+
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
13833
|
+
}
|
|
13787
13834
|
} else {
|
|
13788
13835
|
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
13789
13836
|
}
|
|
@@ -14603,7 +14650,7 @@ var Filter$1 = function Filter(props) {
|
|
|
14603
14650
|
wrapperClassName: '',
|
|
14604
14651
|
itemClassName: 'filtercard',
|
|
14605
14652
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
14606
|
-
},
|
|
14653
|
+
}, collectionstobevisible.map(function (item, index) {
|
|
14607
14654
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14608
14655
|
className: filter_cssstyles.timeline_text + ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 cursor-pointer ',
|
|
14609
14656
|
onClick: function onClick() {
|
|
@@ -15700,6 +15747,12 @@ var CardsSection = function CardsSection(props) {
|
|
|
15700
15747
|
}));
|
|
15701
15748
|
}
|
|
15702
15749
|
var section_cssstyles = {
|
|
15750
|
+
sectioncontainerr: glamor.css({
|
|
15751
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
15752
|
+
'@media (max-width: 800px)': {
|
|
15753
|
+
marginTop: sectionproperties.marginTopResp != undefined && sectionproperties.marginTopResp != undefined ? sectionproperties.marginTopResp + 'px' : sectionproperties.marginTop + 'px'
|
|
15754
|
+
}
|
|
15755
|
+
}),
|
|
15703
15756
|
innercardssection: glamor.css({
|
|
15704
15757
|
paddingLeft: sectionproperties.showFilter == 'show' ? langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px' : 0,
|
|
15705
15758
|
paddingRight: sectionproperties.showFilter == 'show' ? langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px' : 0,
|
|
@@ -16425,7 +16478,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
16425
16478
|
};
|
|
16426
16479
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16427
16480
|
ref: refscr,
|
|
16428
|
-
"class": ' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
|
|
16481
|
+
"class": section_cssstyles.sectioncontainerr + ' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
|
|
16429
16482
|
style: {
|
|
16430
16483
|
zIndex: 2,
|
|
16431
16484
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -16437,7 +16490,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
16437
16490
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
16438
16491
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
16439
16492
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
16440
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
16441
16493
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
16442
16494
|
minHeight: sectionproperties.height == null || sectionproperties.height == 0 ? 'auto' : sectionproperties.height + 'vh'
|
|
16443
16495
|
}
|
|
@@ -17640,6 +17692,7 @@ var Subheader = function Subheader(props) {
|
|
|
17640
17692
|
_useState10[0];
|
|
17641
17693
|
_useState10[1];
|
|
17642
17694
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
17695
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17643
17696
|
React.useEffect(function () {
|
|
17644
17697
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
17645
17698
|
tempFetchQueriesEngineContext.categories = true;
|
|
@@ -18094,12 +18147,32 @@ var Subheader = function Subheader(props) {
|
|
|
18094
18147
|
onClick: function onClick() {
|
|
18095
18148
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
18096
18149
|
}
|
|
18150
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18151
|
+
"class": "row m-0 w-100"
|
|
18152
|
+
}, sectionproperties.showsubheadercollimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18153
|
+
"class": "col-lg-12 allcentered p-0"
|
|
18154
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18155
|
+
style: {
|
|
18156
|
+
width: '90%',
|
|
18157
|
+
height: '90%'
|
|
18158
|
+
}
|
|
18159
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
18160
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
18161
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
18162
|
+
path: '/tr:w-500,h-500/' + item.collectionlogo,
|
|
18163
|
+
style: {
|
|
18164
|
+
width: '100%',
|
|
18165
|
+
height: '100%',
|
|
18166
|
+
objectFit: 'contain'
|
|
18167
|
+
}
|
|
18168
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18169
|
+
"class": "col-lg-12 allcentered p-0"
|
|
18097
18170
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18098
18171
|
"class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
|
|
18099
18172
|
style: {
|
|
18100
18173
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
18101
18174
|
}
|
|
18102
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18175
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)))), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18103
18176
|
"class": "col-lg-12 p-0 d-none d-sm-block"
|
|
18104
18177
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18105
18178
|
"class": "mt-3 mb-0"
|
|
@@ -18560,22 +18633,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18560
18633
|
className: langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
18561
18634
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18562
18635
|
className: "text-transform-none"
|
|
18563
|
-
}, lang.signup)))),
|
|
18564
|
-
style: {
|
|
18565
|
-
marginBottom: 0,
|
|
18566
|
-
marginTop: 0
|
|
18567
|
-
}
|
|
18568
|
-
}), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
18569
|
-
onClick: function onClick() {
|
|
18570
|
-
routingcountext(StaticPagesLinksContext.viewcart);
|
|
18571
|
-
}
|
|
18572
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18573
|
-
className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
18574
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18575
|
-
className: ' d-flex align-items-center m-0 p-0 '
|
|
18576
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18577
|
-
className: "ml-2 mr-2"
|
|
18578
|
-
}, lang.viewcart))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
18636
|
+
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
18579
18637
|
style: {
|
|
18580
18638
|
minWidth: '200px'
|
|
18581
18639
|
}
|
|
@@ -18752,7 +18810,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18752
18810
|
display: sectionproperties.searchbar_show == 'Hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) == 1 ? 'none' : 'flex'
|
|
18753
18811
|
}
|
|
18754
18812
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18755
|
-
className: authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? 'col-md-8 p-0' : 'col-md-10 p-0',
|
|
18813
|
+
className: authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? 'col-md-8 p-0' : sectionproperties.showlanuagecontainer == 'Show' ? 'col-md-10 p-0' : 'col-md-12 p-0',
|
|
18756
18814
|
style: {
|
|
18757
18815
|
borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
|
|
18758
18816
|
borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive
|
|
@@ -18833,7 +18891,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18833
18891
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18834
18892
|
"class": "m-0"
|
|
18835
18893
|
}))));
|
|
18836
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18894
|
+
})))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18837
18895
|
className: sectionproperties.searchbar_show == 'Show' ? langdetect == 'en' ? 'col-md-2 allcentered pl-1 pr-1 pt-1 resposiveheader_languagedropdown' : 'col-md-2 allcentered pl-1 pr-1 pt-1' : 'allcentered pl-1 pr-1 pt-2 pb-2 resposiveheader_languagedropdown',
|
|
18838
18896
|
style: {
|
|
18839
18897
|
flex: sectionproperties.searchbar_show == 'Show' ? '' : 1
|
|
@@ -26531,17 +26589,17 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26531
26589
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26532
26590
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26533
26591
|
}
|
|
26592
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26593
|
+
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26594
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26595
|
+
"class": "row m-0 w-100 "
|
|
26534
26596
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26535
26597
|
"class": "col-lg-12 p-0"
|
|
26536
26598
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
26537
26599
|
sectionpropertiesprops: sectionproperties,
|
|
26538
26600
|
templateproperties_contextprops: templateproperties_context,
|
|
26539
26601
|
actions: actions
|
|
26540
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26541
|
-
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26542
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26543
|
-
"class": "row m-0 w-100 "
|
|
26544
|
-
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26602
|
+
})), sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26545
26603
|
"class": "w-100 d-flex d-md-none"
|
|
26546
26604
|
}, /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
26547
26605
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -26566,7 +26624,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26566
26624
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26567
26625
|
"class": " ".concat(headerstyles$9.navbar) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
|
|
26568
26626
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26569
|
-
"class":
|
|
26627
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0' : 'col-lg-4 p-0'
|
|
26570
26628
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26571
26629
|
"class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
|
|
26572
26630
|
style: {
|
|
@@ -26584,7 +26642,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26584
26642
|
maxHeight: '100%'
|
|
26585
26643
|
}
|
|
26586
26644
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26587
|
-
"class": "".concat(headerstyles$9.nav__item) + ' col-lg-
|
|
26645
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-2 p-0 d-flex flex-row align-items-center ',
|
|
26588
26646
|
style: {
|
|
26589
26647
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
26590
26648
|
}
|
|
@@ -26616,7 +26674,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26616
26674
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
26617
26675
|
}
|
|
26618
26676
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26619
|
-
"class":
|
|
26677
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-4 p-0 d-flex align-items-center justify-content-end'
|
|
26620
26678
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
26621
26679
|
className: header_cssstyles.searchicon + ' h-100 allcentered ',
|
|
26622
26680
|
onClick: function onClick() {
|
package/dist/index.esm.js
CHANGED
|
@@ -2468,7 +2468,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2468
2468
|
}, /*#__PURE__*/React.createElement(ImageGallery, {
|
|
2469
2469
|
items: productimagesarray,
|
|
2470
2470
|
thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
|
|
2471
|
-
showNav:
|
|
2471
|
+
showNav: true,
|
|
2472
2472
|
showPlayButton: false,
|
|
2473
2473
|
showFullscreenButton: sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false,
|
|
2474
2474
|
startIndex: currentshowingimageindex
|
|
@@ -8600,7 +8600,7 @@ var Select$3 = /*#__PURE__*/React.lazy(function () {
|
|
|
8600
8600
|
return import('react-select');
|
|
8601
8601
|
});
|
|
8602
8602
|
var Checkout = function Checkout(props) {
|
|
8603
|
-
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75;
|
|
8603
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _authdetailsContext$i4, _fetchcustomercartQue75, _authdetailsContext$i5, _fetchcustomercartQue77, _fetchcustomercartQue79;
|
|
8604
8604
|
var _useState = useState(null),
|
|
8605
8605
|
_useState2 = _slicedToArray(_useState, 2);
|
|
8606
8606
|
_useState2[0];
|
|
@@ -9829,7 +9829,49 @@ var Checkout = function Checkout(props) {
|
|
|
9829
9829
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9830
9830
|
})), /*#__PURE__*/React.createElement("p", {
|
|
9831
9831
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9832
|
-
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية')))
|
|
9832
|
+
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.acceptForsaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
9833
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9834
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
9835
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
9836
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
9837
|
+
type: "checkbox",
|
|
9838
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9839
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.customercart) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.paymentmethod) == 'forsa' ? true : false,
|
|
9840
|
+
onChange: function onChange() {
|
|
9841
|
+
var _fetchcustomercartQue76;
|
|
9842
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.customercart) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.paymentmethod) != 'forsa') {
|
|
9843
|
+
cartinfoupdater('paymentmethod', 'forsa');
|
|
9844
|
+
}
|
|
9845
|
+
}
|
|
9846
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
9847
|
+
viewBox: "0 0 21 21",
|
|
9848
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9849
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
9850
|
+
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9851
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
9852
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9853
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
9854
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9855
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
9856
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
9857
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
9858
|
+
type: "checkbox",
|
|
9859
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9860
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.paymentmethod) == 'bankinstallments' ? true : false,
|
|
9861
|
+
onChange: function onChange() {
|
|
9862
|
+
var _fetchcustomercartQue78;
|
|
9863
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) != 'bankinstallments') {
|
|
9864
|
+
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
9865
|
+
}
|
|
9866
|
+
}
|
|
9867
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
9868
|
+
viewBox: "0 0 21 21",
|
|
9869
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9870
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
9871
|
+
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9872
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
9873
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9874
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React.createElement("div", {
|
|
9833
9875
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9834
9876
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9835
9877
|
style: {
|
|
@@ -13734,7 +13776,12 @@ var Filter$1 = function Filter(props) {
|
|
|
13734
13776
|
});
|
|
13735
13777
|
if (!CollectionExists) {
|
|
13736
13778
|
if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
|
|
13737
|
-
|
|
13779
|
+
if (sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal') {
|
|
13780
|
+
tempfetchproductsfilerobjcontext.collections = [];
|
|
13781
|
+
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
13782
|
+
} else {
|
|
13783
|
+
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
13784
|
+
}
|
|
13738
13785
|
} else {
|
|
13739
13786
|
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
13740
13787
|
}
|
|
@@ -14554,7 +14601,7 @@ var Filter$1 = function Filter(props) {
|
|
|
14554
14601
|
wrapperClassName: '',
|
|
14555
14602
|
itemClassName: 'filtercard',
|
|
14556
14603
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
14557
|
-
},
|
|
14604
|
+
}, collectionstobevisible.map(function (item, index) {
|
|
14558
14605
|
return /*#__PURE__*/React.createElement("div", {
|
|
14559
14606
|
className: filter_cssstyles.timeline_text + ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 cursor-pointer ',
|
|
14560
14607
|
onClick: function onClick() {
|
|
@@ -15651,6 +15698,12 @@ var CardsSection = function CardsSection(props) {
|
|
|
15651
15698
|
}));
|
|
15652
15699
|
}
|
|
15653
15700
|
var section_cssstyles = {
|
|
15701
|
+
sectioncontainerr: css({
|
|
15702
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
15703
|
+
'@media (max-width: 800px)': {
|
|
15704
|
+
marginTop: sectionproperties.marginTopResp != undefined && sectionproperties.marginTopResp != undefined ? sectionproperties.marginTopResp + 'px' : sectionproperties.marginTop + 'px'
|
|
15705
|
+
}
|
|
15706
|
+
}),
|
|
15654
15707
|
innercardssection: css({
|
|
15655
15708
|
paddingLeft: sectionproperties.showFilter == 'show' ? langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px' : 0,
|
|
15656
15709
|
paddingRight: sectionproperties.showFilter == 'show' ? langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px' : 0,
|
|
@@ -16376,7 +16429,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
16376
16429
|
};
|
|
16377
16430
|
return /*#__PURE__*/React.createElement("div", {
|
|
16378
16431
|
ref: refscr,
|
|
16379
|
-
"class": ' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
|
|
16432
|
+
"class": section_cssstyles.sectioncontainerr + ' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
|
|
16380
16433
|
style: {
|
|
16381
16434
|
zIndex: 2,
|
|
16382
16435
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -16388,7 +16441,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
16388
16441
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
16389
16442
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
16390
16443
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
16391
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
16392
16444
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
16393
16445
|
minHeight: sectionproperties.height == null || sectionproperties.height == 0 ? 'auto' : sectionproperties.height + 'vh'
|
|
16394
16446
|
}
|
|
@@ -17591,6 +17643,7 @@ var Subheader = function Subheader(props) {
|
|
|
17591
17643
|
_useState10[0];
|
|
17592
17644
|
_useState10[1];
|
|
17593
17645
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
17646
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17594
17647
|
useEffect(function () {
|
|
17595
17648
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
17596
17649
|
tempFetchQueriesEngineContext.categories = true;
|
|
@@ -18045,12 +18098,32 @@ var Subheader = function Subheader(props) {
|
|
|
18045
18098
|
onClick: function onClick() {
|
|
18046
18099
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
18047
18100
|
}
|
|
18101
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
18102
|
+
"class": "row m-0 w-100"
|
|
18103
|
+
}, sectionproperties.showsubheadercollimage == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18104
|
+
"class": "col-lg-12 allcentered p-0"
|
|
18105
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
18106
|
+
style: {
|
|
18107
|
+
width: '90%',
|
|
18108
|
+
height: '90%'
|
|
18109
|
+
}
|
|
18110
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
18111
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
18112
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
18113
|
+
path: '/tr:w-500,h-500/' + item.collectionlogo,
|
|
18114
|
+
style: {
|
|
18115
|
+
width: '100%',
|
|
18116
|
+
height: '100%',
|
|
18117
|
+
objectFit: 'contain'
|
|
18118
|
+
}
|
|
18119
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
18120
|
+
"class": "col-lg-12 allcentered p-0"
|
|
18048
18121
|
}, /*#__PURE__*/React.createElement("p", {
|
|
18049
18122
|
"class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
|
|
18050
18123
|
style: {
|
|
18051
18124
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
18052
18125
|
}
|
|
18053
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React.createElement("div", {
|
|
18126
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)))), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React.createElement("div", {
|
|
18054
18127
|
"class": "col-lg-12 p-0 d-none d-sm-block"
|
|
18055
18128
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
18056
18129
|
"class": "mt-3 mb-0"
|
|
@@ -18511,22 +18584,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18511
18584
|
className: langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
18512
18585
|
}), /*#__PURE__*/React.createElement("span", {
|
|
18513
18586
|
className: "text-transform-none"
|
|
18514
|
-
}, lang.signup)))),
|
|
18515
|
-
style: {
|
|
18516
|
-
marginBottom: 0,
|
|
18517
|
-
marginTop: 0
|
|
18518
|
-
}
|
|
18519
|
-
}), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement(Dropdown.Item, {
|
|
18520
|
-
onClick: function onClick() {
|
|
18521
|
-
routingcountext(StaticPagesLinksContext.viewcart);
|
|
18522
|
-
}
|
|
18523
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
18524
|
-
className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
18525
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
18526
|
-
className: ' d-flex align-items-center m-0 p-0 '
|
|
18527
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
|
|
18528
|
-
className: "ml-2 mr-2"
|
|
18529
|
-
}, lang.viewcart))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
18587
|
+
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
|
|
18530
18588
|
style: {
|
|
18531
18589
|
minWidth: '200px'
|
|
18532
18590
|
}
|
|
@@ -18703,7 +18761,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18703
18761
|
display: sectionproperties.searchbar_show == 'Hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) == 1 ? 'none' : 'flex'
|
|
18704
18762
|
}
|
|
18705
18763
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18706
|
-
className: authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? 'col-md-8 p-0' : 'col-md-10 p-0',
|
|
18764
|
+
className: authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? 'col-md-8 p-0' : sectionproperties.showlanuagecontainer == 'Show' ? 'col-md-10 p-0' : 'col-md-12 p-0',
|
|
18707
18765
|
style: {
|
|
18708
18766
|
borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
|
|
18709
18767
|
borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive
|
|
@@ -18784,7 +18842,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18784
18842
|
}, /*#__PURE__*/React.createElement("hr", {
|
|
18785
18843
|
"class": "m-0"
|
|
18786
18844
|
}))));
|
|
18787
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
18845
|
+
})))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
18788
18846
|
className: sectionproperties.searchbar_show == 'Show' ? langdetect == 'en' ? 'col-md-2 allcentered pl-1 pr-1 pt-1 resposiveheader_languagedropdown' : 'col-md-2 allcentered pl-1 pr-1 pt-1' : 'allcentered pl-1 pr-1 pt-2 pb-2 resposiveheader_languagedropdown',
|
|
18789
18847
|
style: {
|
|
18790
18848
|
flex: sectionproperties.searchbar_show == 'Show' ? '' : 1
|
|
@@ -26482,17 +26540,17 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26482
26540
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26483
26541
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26484
26542
|
}
|
|
26543
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
26544
|
+
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26545
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
26546
|
+
"class": "row m-0 w-100 "
|
|
26485
26547
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
26486
26548
|
"class": "col-lg-12 p-0"
|
|
26487
26549
|
}, /*#__PURE__*/React.createElement(MarqueeHeader, {
|
|
26488
26550
|
sectionpropertiesprops: sectionproperties,
|
|
26489
26551
|
templateproperties_contextprops: templateproperties_context,
|
|
26490
26552
|
actions: actions
|
|
26491
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
26492
|
-
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26493
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
26494
|
-
"class": "row m-0 w-100 "
|
|
26495
|
-
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
26553
|
+
})), sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
26496
26554
|
"class": "w-100 d-flex d-md-none"
|
|
26497
26555
|
}, /*#__PURE__*/React.createElement(DownloadApp, {
|
|
26498
26556
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -26517,7 +26575,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26517
26575
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26518
26576
|
"class": " ".concat(headerstyles$9.navbar) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
|
|
26519
26577
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26520
|
-
"class":
|
|
26578
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0' : 'col-lg-4 p-0'
|
|
26521
26579
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26522
26580
|
"class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
|
|
26523
26581
|
style: {
|
|
@@ -26535,7 +26593,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26535
26593
|
maxHeight: '100%'
|
|
26536
26594
|
}
|
|
26537
26595
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
26538
|
-
"class": "".concat(headerstyles$9.nav__item) + ' col-lg-
|
|
26596
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-2 p-0 d-flex flex-row align-items-center ',
|
|
26539
26597
|
style: {
|
|
26540
26598
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
26541
26599
|
}
|
|
@@ -26567,7 +26625,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26567
26625
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
26568
26626
|
}
|
|
26569
26627
|
})), /*#__PURE__*/React.createElement("div", {
|
|
26570
|
-
"class":
|
|
26628
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-4 p-0 d-flex align-items-center justify-content-end'
|
|
26571
26629
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React.createElement("i", {
|
|
26572
26630
|
className: header_cssstyles.searchicon + ' h-100 allcentered ',
|
|
26573
26631
|
onClick: function onClick() {
|
package/dist/index.umd.js
CHANGED
|
@@ -2349,7 +2349,7 @@
|
|
|
2349
2349
|
}, /*#__PURE__*/React__default["default"].createElement(ImageGallery__default["default"], {
|
|
2350
2350
|
items: productimagesarray,
|
|
2351
2351
|
thumbnailPosition: sectionproperties.thumbnailposition == 'Bottom' ? 'bottom' : 'left',
|
|
2352
|
-
showNav:
|
|
2352
|
+
showNav: true,
|
|
2353
2353
|
showPlayButton: false,
|
|
2354
2354
|
showFullscreenButton: sectionproperties.showgalleryfullscreenbtn == 'Yes' ? true : false,
|
|
2355
2355
|
startIndex: currentshowingimageindex
|
|
@@ -8481,7 +8481,7 @@
|
|
|
8481
8481
|
return import('react-select');
|
|
8482
8482
|
});
|
|
8483
8483
|
var Checkout = function Checkout(props) {
|
|
8484
|
-
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75;
|
|
8484
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _authdetailsContext$i4, _fetchcustomercartQue75, _authdetailsContext$i5, _fetchcustomercartQue77, _fetchcustomercartQue79;
|
|
8485
8485
|
var _useState = React.useState(null),
|
|
8486
8486
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
8487
8487
|
_useState2[0];
|
|
@@ -9710,7 +9710,49 @@
|
|
|
9710
9710
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9711
9711
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9712
9712
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9713
|
-
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية')))
|
|
9713
|
+
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9714
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9715
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9716
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
9717
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9718
|
+
type: "checkbox",
|
|
9719
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9720
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.customercart) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.paymentmethod) == 'forsa' ? true : false,
|
|
9721
|
+
onChange: function onChange() {
|
|
9722
|
+
var _fetchcustomercartQue76;
|
|
9723
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.customercart) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.paymentmethod) != 'forsa') {
|
|
9724
|
+
cartinfoupdater('paymentmethod', 'forsa');
|
|
9725
|
+
}
|
|
9726
|
+
}
|
|
9727
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9728
|
+
viewBox: "0 0 21 21",
|
|
9729
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9730
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
9731
|
+
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9732
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9733
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9734
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9735
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9736
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9737
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
9738
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9739
|
+
type: "checkbox",
|
|
9740
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9741
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.paymentmethod) == 'bankinstallments' ? true : false,
|
|
9742
|
+
onChange: function onChange() {
|
|
9743
|
+
var _fetchcustomercartQue78;
|
|
9744
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) != 'bankinstallments') {
|
|
9745
|
+
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
9746
|
+
}
|
|
9747
|
+
}
|
|
9748
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9749
|
+
viewBox: "0 0 21 21",
|
|
9750
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9751
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
9752
|
+
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9753
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9754
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9755
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9714
9756
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9715
9757
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9716
9758
|
style: {
|
|
@@ -13615,7 +13657,12 @@
|
|
|
13615
13657
|
});
|
|
13616
13658
|
if (!CollectionExists) {
|
|
13617
13659
|
if (tempfetchproductsfilerobjcontext.collections != undefined && Array.isArray(tempfetchproductsfilerobjcontext.collections)) {
|
|
13618
|
-
|
|
13660
|
+
if (sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal') {
|
|
13661
|
+
tempfetchproductsfilerobjcontext.collections = [];
|
|
13662
|
+
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
13663
|
+
} else {
|
|
13664
|
+
tempfetchproductsfilerobjcontext.collections.push(collectionid);
|
|
13665
|
+
}
|
|
13619
13666
|
} else {
|
|
13620
13667
|
tempfetchproductsfilerobjcontext.collections = [collectionid];
|
|
13621
13668
|
}
|
|
@@ -14435,7 +14482,7 @@
|
|
|
14435
14482
|
wrapperClassName: '',
|
|
14436
14483
|
itemClassName: 'filtercard',
|
|
14437
14484
|
scrollContainerClassName: 'scrollmenuclasssubscrollbar'
|
|
14438
|
-
},
|
|
14485
|
+
}, collectionstobevisible.map(function (item, index) {
|
|
14439
14486
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14440
14487
|
className: filter_cssstyles.timeline_text + ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 cursor-pointer ',
|
|
14441
14488
|
onClick: function onClick() {
|
|
@@ -15532,6 +15579,12 @@
|
|
|
15532
15579
|
}));
|
|
15533
15580
|
}
|
|
15534
15581
|
var section_cssstyles = {
|
|
15582
|
+
sectioncontainerr: glamor.css({
|
|
15583
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
15584
|
+
'@media (max-width: 800px)': {
|
|
15585
|
+
marginTop: sectionproperties.marginTopResp != undefined && sectionproperties.marginTopResp != undefined ? sectionproperties.marginTopResp + 'px' : sectionproperties.marginTop + 'px'
|
|
15586
|
+
}
|
|
15587
|
+
}),
|
|
15535
15588
|
innercardssection: glamor.css({
|
|
15536
15589
|
paddingLeft: sectionproperties.showFilter == 'show' ? langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px' : 0,
|
|
15537
15590
|
paddingRight: sectionproperties.showFilter == 'show' ? langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px' : 0,
|
|
@@ -16257,7 +16310,7 @@
|
|
|
16257
16310
|
};
|
|
16258
16311
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16259
16312
|
ref: refscr,
|
|
16260
|
-
"class": ' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
|
|
16313
|
+
"class": section_cssstyles.sectioncontainerr + ' row ml-0 mr-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
|
|
16261
16314
|
style: {
|
|
16262
16315
|
zIndex: 2,
|
|
16263
16316
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
@@ -16269,7 +16322,6 @@
|
|
|
16269
16322
|
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
16270
16323
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
16271
16324
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
16272
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
16273
16325
|
marginBottom: sectionproperties.marginBottom + 'px',
|
|
16274
16326
|
minHeight: sectionproperties.height == null || sectionproperties.height == 0 ? 'auto' : sectionproperties.height + 'vh'
|
|
16275
16327
|
}
|
|
@@ -17472,6 +17524,7 @@
|
|
|
17472
17524
|
_useState10[0];
|
|
17473
17525
|
_useState10[1];
|
|
17474
17526
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
17527
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17475
17528
|
React.useEffect(function () {
|
|
17476
17529
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
17477
17530
|
tempFetchQueriesEngineContext.categories = true;
|
|
@@ -17926,12 +17979,32 @@
|
|
|
17926
17979
|
onClick: function onClick() {
|
|
17927
17980
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
17928
17981
|
}
|
|
17982
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17983
|
+
"class": "row m-0 w-100"
|
|
17984
|
+
}, sectionproperties.showsubheadercollimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17985
|
+
"class": "col-lg-12 allcentered p-0"
|
|
17986
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17987
|
+
style: {
|
|
17988
|
+
width: '90%',
|
|
17989
|
+
height: '90%'
|
|
17990
|
+
}
|
|
17991
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
17992
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
17993
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
17994
|
+
path: '/tr:w-500,h-500/' + item.collectionlogo,
|
|
17995
|
+
style: {
|
|
17996
|
+
width: '100%',
|
|
17997
|
+
height: '100%',
|
|
17998
|
+
objectFit: 'contain'
|
|
17999
|
+
}
|
|
18000
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18001
|
+
"class": "col-lg-12 allcentered p-0"
|
|
17929
18002
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17930
18003
|
"class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
|
|
17931
18004
|
style: {
|
|
17932
18005
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
17933
18006
|
}
|
|
17934
|
-
}, langdetect == 'en' ? item.title_en : item.title_ar)), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18007
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)))), index != pcollarray[Choosenindex].collections != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17935
18008
|
"class": "col-lg-12 p-0 d-none d-sm-block"
|
|
17936
18009
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
17937
18010
|
"class": "mt-3 mb-0"
|
|
@@ -18392,22 +18465,7 @@
|
|
|
18392
18465
|
className: langdetect == 'en' ? 'mr-2' : 'ml-2'
|
|
18393
18466
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18394
18467
|
className: "text-transform-none"
|
|
18395
|
-
}, lang.signup)))),
|
|
18396
|
-
style: {
|
|
18397
|
-
marginBottom: 0,
|
|
18398
|
-
marginTop: 0
|
|
18399
|
-
}
|
|
18400
|
-
}), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
|
|
18401
|
-
onClick: function onClick() {
|
|
18402
|
-
routingcountext(StaticPagesLinksContext.viewcart);
|
|
18403
|
-
}
|
|
18404
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18405
|
-
className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
|
|
18406
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18407
|
-
className: ' d-flex align-items-center m-0 p-0 '
|
|
18408
|
-
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(HiOutlineShoppingBag.HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React__default["default"].createElement(FiCalendar.FiCalendar, null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
18409
|
-
className: "ml-2 mr-2"
|
|
18410
|
-
}, lang.viewcart))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
18468
|
+
}, lang.signup))))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, {
|
|
18411
18469
|
style: {
|
|
18412
18470
|
minWidth: '200px'
|
|
18413
18471
|
}
|
|
@@ -18584,7 +18642,7 @@
|
|
|
18584
18642
|
display: sectionproperties.searchbar_show == 'Hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) == 1 ? 'none' : 'flex'
|
|
18585
18643
|
}
|
|
18586
18644
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18587
|
-
className: authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? 'col-md-8 p-0' : 'col-md-10 p-0',
|
|
18645
|
+
className: authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.length) > 1 ? 'col-md-8 p-0' : sectionproperties.showlanuagecontainer == 'Show' ? 'col-md-10 p-0' : 'col-md-12 p-0',
|
|
18588
18646
|
style: {
|
|
18589
18647
|
borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
|
|
18590
18648
|
borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive
|
|
@@ -18665,7 +18723,7 @@
|
|
|
18665
18723
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
18666
18724
|
"class": "m-0"
|
|
18667
18725
|
}))));
|
|
18668
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18726
|
+
})))), sectionproperties.showlanuagecontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18669
18727
|
className: sectionproperties.searchbar_show == 'Show' ? langdetect == 'en' ? 'col-md-2 allcentered pl-1 pr-1 pt-1 resposiveheader_languagedropdown' : 'col-md-2 allcentered pl-1 pr-1 pt-1' : 'allcentered pl-1 pr-1 pt-2 pb-2 resposiveheader_languagedropdown',
|
|
18670
18728
|
style: {
|
|
18671
18729
|
flex: sectionproperties.searchbar_show == 'Show' ? '' : 1
|
|
@@ -26363,17 +26421,17 @@
|
|
|
26363
26421
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26364
26422
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26365
26423
|
}
|
|
26424
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26425
|
+
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26426
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26427
|
+
"class": "row m-0 w-100 "
|
|
26366
26428
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26367
26429
|
"class": "col-lg-12 p-0"
|
|
26368
26430
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
26369
26431
|
sectionpropertiesprops: sectionproperties,
|
|
26370
26432
|
templateproperties_contextprops: templateproperties_context,
|
|
26371
26433
|
actions: actions
|
|
26372
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26373
|
-
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26374
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26375
|
-
"class": "row m-0 w-100 "
|
|
26376
|
-
}, sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26434
|
+
})), sectionproperties.showdownloadapp == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26377
26435
|
"class": "w-100 d-flex d-md-none"
|
|
26378
26436
|
}, /*#__PURE__*/React__default["default"].createElement(DownloadApp, {
|
|
26379
26437
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -26398,7 +26456,7 @@
|
|
|
26398
26456
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26399
26457
|
"class": " ".concat(headerstyles$9.navbar) + ' row m-0 w-100 d-flex flex-row align-items-center h-100 '
|
|
26400
26458
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26401
|
-
"class":
|
|
26459
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0' : 'col-lg-4 p-0'
|
|
26402
26460
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26403
26461
|
"class": "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
|
|
26404
26462
|
style: {
|
|
@@ -26416,7 +26474,7 @@
|
|
|
26416
26474
|
maxHeight: '100%'
|
|
26417
26475
|
}
|
|
26418
26476
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26419
|
-
"class": "".concat(headerstyles$9.nav__item) + ' col-lg-
|
|
26477
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? "".concat(headerstyles$9.nav__item) + ' col-lg-8 p-0 d-flex flex-row align-items-center ' : "".concat(headerstyles$9.nav__item) + ' col-lg-2 p-0 d-flex flex-row align-items-center ',
|
|
26420
26478
|
style: {
|
|
26421
26479
|
justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
26422
26480
|
}
|
|
@@ -26448,7 +26506,7 @@
|
|
|
26448
26506
|
subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start'
|
|
26449
26507
|
}
|
|
26450
26508
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26451
|
-
"class":
|
|
26509
|
+
"class": sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'col-lg-2 p-0 d-flex align-items-center justify-content-end' : 'col-lg-4 p-0 d-flex align-items-center justify-content-end'
|
|
26452
26510
|
}, sectionproperties.searchbar_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
26453
26511
|
className: header_cssstyles.searchicon + ' h-100 allcentered ',
|
|
26454
26512
|
onClick: function onClick() {
|